Share via


InventItemInventSetup.editLeadTime Method

Edits or displays the LeadTime field from the InventItemInventSetup table.

Syntax

edit LeadTimeInventDefault editLeadTime(boolean _set, LeadTimeInventDefault _leadTime)

Run On

Called

Parameters

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

Return Value

Type: LeadTimeInventDefault Extended Data Type
An integer value that holds the lead time in days.

Remarks

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

See Also

Reference

InventItemInventSetup Table