InventSplitTrans.settlementQueryRun Method [AX 2012]

Creates a QueryRun object to select the inventory settlement records that are related to an inventory transaction.

Syntax

protected QueryRun settlementQueryRun(InventTrans _transFrom, InventTrans _transTo)

Run On

Called

Parameters

  • _transFrom
    Type: InventTrans Table
    The InventTrans record for which to query for inventory settlements.
  • _transTo
    Type: InventTrans Table
    The InventTrans record that contains the split amounts and quantities.

Return Value

Type: QueryRun Class
A QueryRun object that selects the inventory settlements related to the inventory transaction.

Remarks

The InventTrans record specified by the _transFrom parameter is also the record that should be split.

See Also

Reference

InventSplitTrans Class