InventItemSalesSetup.editATPApplyDemandTimeFence Method

Edits or displays the ATPApplyDemandTimeFence field from the InventItemSalesSetup table.

Syntax

edit SalesATPApplyDemandTimeFence editATPApplyDemandTimeFence(boolean _set, SalesATPApplyDemandTimeFence _atpApplyDemandTimeFence)

Run On

Called

Parameters

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

Return Value

Type: SalesATPApplyDemandTimeFence Extended Data Type
An integer that holds the ATP time fence for applying delayed demand.

Remarks

If the Override field for the specified InventItemSalesSetup record is false, the method displays the ATPApplyDemandTimeFence field from the default InventItemSalesSetup record.

This applies when the Override field is true on this record. If the Override field is false on both records then the ATPApplyDemandTimeFence field from the SalesParameters table is returned.

See Also

Reference

InventItemSalesSetup Table