Share via


SalesLineType.update Method [AX 2012]

Updates the sales line record in the SalesLine table.

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
          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
    A Boolean value that indicates whether the inventory movement that is associated with the line must be updated; 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 must be intercompany-mirrored; optional.
  • _updateOrderLineOfDeliverySchedule
    Type: boolean
    A Boolean value that specifies whether the order line should be updated after its delivery line is updated; optional.

Remarks

When this method is called and the _updateOrderLineOfDeliverySchedule parameter is set to false, it is the responsibility of the caller to update the order line. This is typically performed when multiple delivery lines are updated in a single transaction and the order line recalculation is performed only one time.

See Also

Reference

SalesLineType Class