Share via


InventItemInventSetup.editDeliveryDateControlType Method

Edits or displays the DeliveryDateControlType field from the InventItemInventSetup table.

Syntax

edit SalesDeliveryDateControlType editDeliveryDateControlType(boolean _set, SalesDeliveryDateControlType _deliveryDateControlType)

Run On

Called

Parameters

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

Return Value

Type: SalesDeliveryDateControlType Enumeration
An enum that holds a delivery date control value.

Remarks

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

See Also

Reference

InventItemInventSetup Table