Compartilhar via


InventItemInventSetup.editATPApplyDemandTimeFence Method

Edits or displays the ATPApplyDemandTimeFence field from the InventItemInventSetup 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 InventItemInventSetup record is false, the method displays the ATPApplyDemandTimeFence 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 ATPApplyDemandTimeFence field from the SalesParameters table is returned.

See Also

Reference

InventItemInventSetup Table