Share via


InventTransOrigin::updateMarking Method

Updates marking for the specified inventory transaction originator.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          server public static InventQty updateMarking(
            InventTransOriginId _inventTransOriginId, 
            InventTransOriginId _markingRefInventTransOrigin, 
            InventQty _markQty, 
           [Voucher _voucherId, 
            SortOrder _sortOrder, 
            boolean _preferPhysicalBeforeExpected, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm, 
            PdsCWInventQty _cwMarkQty, 
            PmfQtyDataCarrier _outQuantities])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static InventQty updateMarking(
            InventTransOriginId _inventTransOriginId, 
            InventTransOriginId _markingRefInventTransOrigin, 
            InventQty _markQty, 
           [Voucher _voucherId, 
            SortOrder _sortOrder, 
            boolean _preferPhysicalBeforeExpected, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm, 
            PdsCWInventQty _cwMarkQty, 
            PmfQtyDataCarrier _outQuantities])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static InventQty updateMarking(
            InventTransOriginId _inventTransOriginId, 
            InventTransOriginId _markingRefInventTransOrigin, 
            InventQty _markQty, 
           [Voucher _voucherId, 
            SortOrder _sortOrder, 
            boolean _preferPhysicalBeforeExpected, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm, 
            PdsCWInventQty _cwMarkQty, 
            PmfQtyDataCarrier _outQuantities])

  Microsoft Dynamics AX 2012 (FPK)
          server public static InventQty updateMarking(
            InventTransOriginId _inventTransOriginId, 
            InventTransOriginId _markingRefInventTransOrigin, 
            InventQty _markQty, 
           [Voucher _voucherId, 
            SortOrder _sortOrder, 
            boolean _preferPhysicalBeforeExpected, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm])

  Microsoft Dynamics AX 2012 (SYS)
          server public static InventQty updateMarking(
            InventTransOriginId _inventTransOriginId, 
            InventTransOriginId _markingRefInventTransOrigin, 
            InventQty _markQty, 
           [Voucher _voucherId, 
            SortOrder _sortOrder, 
            boolean _preferPhysicalBeforeExpected, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm])

Run On

Server

Parameters

  • _sortOrder
    Type: SortOrder Enumeration
    The sort order for the status fields to use when finding transactions to mark.
  • _preferPhysicalBeforeExpected
    Type: boolean
    A Boolean value that indicates whether transactions which contribute to physical on hand should be preferred over expected transactions.
  • _inventDimCriteria
    Type: InventDim Table
    The inventory dimension values to match with when finding transactions to mark.
  • _inventDimParm
    Type: InventDimParm Table
    The inventory dimensions to match with when finding transactions to mark.
  • _outQuantities
    Type: PmfQtyDataCarrier Class
    A variable that will be updated by using the marked inventory and catch-weight quantities.

Return Value

Type: InventQty Extended Data Type
The marked quantity.

See Also

Reference

InventTransOrigin Table