InventItemSalesSetup.editATPInclPlannedOrders Method

Edits or displays the atpInclPlannedOrders field from the InventItemSalesSetup 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 InventItemSalesSetup record is false, the method displays the atpInclPlannedOrders field from the default InventItemSalesSetup record.

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

See Also

Reference

InventItemSalesSetup Table