Compartilhar via


InventItemInventSetup.editATPTimeFence Method

Edits or displays the atpTimeFence field from the InventItemInventSetup table.

Syntax

edit SalesATPTimeFence editATPTimeFence(boolean _set, SalesATPTimeFence _atpTimeFence)

Run On

Called

Parameters

  • _set
    Type: boolean
    A Boolean value that specifies 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 InventItemInventSetup record is false, the method displays the atpTimeFence 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, the atpTimeFence field from the SalesParameters table is returned.

See Also

Reference

InventItemInventSetup Table