SalesLineType_WithMultipleDeliveries.update Method [AX 2012]

Updates the order line record in the SalesLine table.

NoteNote

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


  Microsoft Dynamics AX 2012 R3
          public void update(
           [boolean _dropInvent, 
            Common _childBuffer, 
            boolean _forceInterCompanyMirror, 
            boolean _updateOrderLineOfDeliverySchedule, 
            boolean _mcrAutoallocate, 
            boolean _cameFromCreate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void update(
           [boolean _dropInvent, 
            Common _childBuffer, 
            boolean _forceInterCompanyMirror, 
            boolean _updateOrderLineOfDeliverySchedule])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void update(
           [boolean _dropInvent, 
            Common _childBuffer, 
            boolean _forceInterCompanyMirror, 
            boolean _updateOrderLineOfDeliverySchedule])

  Microsoft Dynamics AX 2012 (FPK)
          public void update(
           [boolean _dropInvent, 
            Common _childBuffer, 
            boolean _forceInterCompanyMirror, 
            boolean _updateOrderLineOfDeliverySchedule])

  Microsoft Dynamics AX 2012 (SYS)
          public void update(
           [boolean _dropInvent, 
            Common _childBuffer, 
            boolean _forceInterCompanyMirror, 
            boolean _updateOrderLineOfDeliverySchedule])

Run On

Called

Parameters

_dropInvent
Type: boolean
This parameter is ignored. It is used by other SalesLineType subclasses for lines that have associated inventory movements; optional.
_childBuffer
Type: Common Table
The child record that is associated with the line; optional.
_forceInterCompanyMirror
Type: boolean
A Boolean value that indicates whether the line has to be Intercompany-mirrored; optional.
_updateOrderLineOfDeliverySchedule
Type: boolean
A Boolean value that indicates whether an order line should be updated after update of its delivery line; optional.
_mcrAutoallocate
Type: boolean
_cameFromCreate
Type: boolean

ExceptionCondition
Error

Quantity cannot be changed on an order line with multiple deliveries.

–or–

Unit cannot be changed on a Delivery Schedule.

Parameter _updateOrderLineOfDeliverySchedule set to false represents a Delivery Schedule synchronization update.

Show: