InventItemSalesSetup.editATPBackwardDemandTimeFence Method
Edits or displays the ATPBackwardDemandTimeFence field from the InventItemSalesSetup table.
Syntax
edit SalesATPBackwardDemandTimeFence editATPBackwardDemandTimeFence(boolean _set, SalesATPBackwardDemandTimeFence _atpBackwardDemandTimeFence)
Run On
Called
Parameters
- _set
Type: boolean
A boolean value that specifies whether to assign a new value to the ATPBackwardDemandTimeFence field.
- _atpBackwardDemandTimeFence
Type: SalesATPBackwardDemandTimeFence Extended Data Type
An integer used to assign a new value to the ATPBackwardDemandTimeFence field.
Return Value
Type: SalesATPBackwardDemandTimeFence Extended Data Type
An integer that holds the ATP time fence for considering delayed demand.
Remarks
If the Override field for the specified InventItemSalesSetup record is false then the method displays the ATPBackwardDemandTimeFence field from the default InventItemSalesSetup record.
This applies only if the Override field is true on this record. If the Override field is false on both records then the ATPBackwardDemandTimeFence field from the SalesParameters table is returned.