Share via


InventItemInventSetup.editATPInclPlannedOrders Method

Edits or displays the atpInclPlannedOrders field from the InventItemInventSetup table.

Syntax

edit SalesATPInclPlannedOrders editATPInclPlannedOrders(boolean _set, SalesATPInclPlannedOrders _atpInclPlannedOrders)

Run On

Called

Parameters

  • _set
    Type: boolean
    A Boolean value that specifies whether to assign a new value to the atpInclPlannedOrders field.

Return Value

Type: SalesATPInclPlannedOrders Extended Data Type
true if planned orders should be included in the ATP calculation; otherwise, false.

Remarks

If the Override field for the specified InventItemInventSetup record is false, the method displays the atpInclPlannedOrders field from the default InventItemInventSetup record.

This applies only if the Override field is true on this record. If the field Override is false on both records, the atpInclPlannedOrders field from the SalesParameters table is returned.

See Also

Reference

InventItemInventSetup Table