Share via


InventItemInventSetup.editATPBackwardDemandTimeFence Method

Edits or displays the ATPBackwardDemandTimeFence field from the InventItemInventSetup 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.

Return Value

Type: SalesATPBackwardDemandTimeFence Extended Data Type
An integer that holds the ATP time fence that considers delayed demand.

Remarks

If the Override field for the specified InventItemInventSetup record is false, the method displays the ATPBackwardDemandTimeFence field from the default InventItemInventSetup record.

This applies when the Override field is true on this record. If the Override field is false on both records, the ATPBackwardDemandTimeFence field from the SalesParameters table is returned.

See Also

Reference

InventItemInventSetup Table