Share via


InventItemInventSetup.editATPApplySupplyTimeFence Method

Edits or displays the ATPApplySupplyTimeFence field from the InventItemInventSetup table.

Syntax

edit SalesATPApplySupplyTimeFence editATPApplySupplyTimeFence(boolean _set, SalesATPApplySupplyTimeFence _atpApplySupplyTimeFence)

Run On

Called

Parameters

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

Return Value

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

Remarks

If the Override field for the specified InventItemInventSetup record is false then the method displays the ATPApplySupplyTimeFence field from the default InventItemInventSetup record.

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

See Also

Reference

InventItemInventSetup Table