HelperStable

Get line items

Loads business lines of the selected document from a platform object already available in the process.

checkout, order, or invoice
Get line items
Business relationship
lignes

Overview

get_line_items follows a canonical Ormuz relationship instead of requiring the designer to carry or rebuild technical identifiers between objects.

Example

The process has a checkout, order, or invoice and must work with its lignes. The node resolves the relationship from the source object and returns directly usable platform objects.

Parameters 1

sourceRequiredCheckout session
Source object checkout, order, or invoice whose relationships the node must resolve. The type must be checkout_session, order, or invoice.

Outputs 2

line_itemsLine item[]
Lignes currently linked to the source under the configured filters.
countinteger
Number of lignes present in this output.

Behavior

Validate the source

The node requires an addressable checkout, order, or invoice with an ID. Supported source types are checkout_session, order, or invoice.

Resolve the relationship

Ormuz looks up the lignes linked by the business relationship and the configured filters.

Expose the results

The lignes become available to downstream bindings.

Limits and responsibilities

  • The node neither creates nor modifies linked resources; it reads an existing relationship.
  • An empty collection is a valid result when the relationship currently contains no object.
  • The output represents the relationship as visible at execution time.