InventItemInventSetup.editATPBackwardSupplyTimeFence Method
Edits or displays the ATPBackwardSupplyTimeFence field from the InventItemInventSetup table.
Syntax
edit SalesATPBackwardSupplyTimeFence editATPBackwardSupplyTimeFence(boolean _set, SalesATPBackwardSupplyTimeFence _atpBackwardSupplyTimeFence)
Run On
Called
Parameters
- _set
Type: boolean
A Boolean value that specifies whether to assign a new value to the ATPBackwardSupplyTimeFence field.
- _atpBackwardSupplyTimeFence
Type: SalesATPBackwardSupplyTimeFence Extended Data Type
An Integer that is used to assign a new value to the ATPBackwardSupplyTimeFence field.
Return Value
Type: SalesATPBackwardSupplyTimeFence Extended Data Type
An Integer that holds the ATP time fence for considering delayed supply.
Remarks
If the Override field for the specified InventItemInventSetup record is false,then the method displays the ATPBackwardSupplyTimeFence 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 then the ATPBackwardSupplyTimeFence field from the SalesParameters table is returned.