Share via


InventItemSalesSetup.editATPApplySupplyTimeFence Method

Edits or displays the ATPApplySupplyTimeFence field from the InventItemSalesSetup 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 InventItemSalesSetup record is false then the method displays the ATPApplySupplyTimeFence 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 ATPApplySupplyTimeFence field from the SalesParameters table is returned.

See Also

Reference

InventItemSalesSetup Table