InventItemSalesSetup.editDeliveryDateControlType Method
Edits or displays the DeliveryDateControlType field from the InventItemSalesSetup table.
Syntax
edit SalesDeliveryDateControlType editDeliveryDateControlType(boolean _set, SalesDeliveryDateControlType _deliveryDateControlType)
Run On
Called
Parameters
- _set
Type: boolean
A Boolean value that specifies whether to assign a new value to the DeliveryDateControlType field.
- _deliveryDateControlType
Type: SalesDeliveryDateControlType Enumeration
An enumeration value that assigns a new value to the DeliveryDateControlType field.
Return Value
Type: SalesDeliveryDateControlType Enumeration
An enumeration that holds delivery date control value.
Remarks
If the Override field for the specified InventItemSalesSetup record is false, the method displays the DeliveryDateControlType field from the default InventItemSalesSetup record.
This applies only if the Override field is true on this record. If the Override field is false on both records then the DeliveryDateControlType field from the SalesParameters table is returned.