Share via


PurchLineType_WithMultipleDeliveries.update Method [AX 2012]

Updates the order line record in the PurchLine table.

Syntax

public void update(
   [boolean _dropInvent, 
    boolean _forceInterCompanyMirror, 
    boolean _updateOrderLineOfDeliverySchedule])

Run On

Called

Parameters

  • _dropInvent
    Type: boolean
    This parameter is used by other PurchLineType subclasses for lines that have associated inventory movements; optional.
  • _forceInterCompanyMirror
    Type: boolean
    A Boolean value that indicates whether the line must be InterCompany-mirrored; optional.
  • _updateOrderLineOfDeliverySchedule
    Type: boolean
    A Boolean value that indicates whether order line should be updated after the update of its delivery line; optional.

Exceptions

Exception Condition
Error

The quantity cannot be changed on an order line with multiple deliveries.

-or-

The unit cannot be changed on a delivery schedule.

Remarks

A delivery schedule synchronization update is represented by setting the _updateOrderLineOfDeliverySchedule parameter to false.

See Also

Reference

PurchLineType_WithMultipleDeliveries Class