InventItemSalesSetup.editLeadTime Method

Edits or displays the LeadTime field from the InventItemSalesSetup table.

Syntax

edit LeadTimeSalesDefault editLeadTime(boolean _set, LeadTimeSalesDefault _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: LeadTimeSalesDefault Extended Data Type
An integer value that holds the lead time in days.

Remarks

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

See Also

Reference

InventItemSalesSetup Table