Share via


InventItemSalesSetup.editATPTimeFence Method

Edits or displays the atpTimeFence field from the InventItemSalesSetup table.

Syntax

edit SalesATPTimeFence editATPTimeFence(boolean _set, SalesATPTimeFence _atpTimeFence)

Run On

Called

Parameters

  • _set
    Type: boolean
    A Boolean value that determines whether to assign a new value to the atpTimeFence field.

Return Value

Type: SalesATPTimeFence Extended Data Type
An integer that holds the ATP time fence.

Remarks

If the Override field for the specified InventItemSalesSetup record is false, the method displays the atpTimeFence 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, the atpTimeFence field from the SalesParameters table is returned.

See Also

Reference

InventItemSalesSetup Table