Compartilhar via


InventItemPurchSetup.editLeadTime Method

Edits or displays the LeadTime field from the InventItemPurchSetup table.

Syntax

edit LeadTimePurchDefault editLeadTime(boolean _set, LeadTimePurchDefault _leadTime)

Run On

Called

Parameters

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

Return Value

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

Remarks

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

See Also

Reference

InventItemPurchSetup Table