Menu Object
 
Syntax
 
Menu.AppDeliveryAdvisor [ActionMode][, CarrierCode][, DateFrom][, DateTo][, AutoStart]
 
Description
Opens the Delivery Advisor. Optionally, the action mode, carrier filter, date range, and auto-start behaviour can be specified.
 
Parameter
Description
ActionMode
Optional. The operational mode of the delivery advisor. Default value damDeliveryAdvice.
Valid values:
damDeliveryAdvice (0) = Generate delivery advice,
damConfirmDeliveries (1) = Confirm deliveries.
CarrierCode
Optional. Code of the carrier to filter deliveries. When empty, all carriers are shown.
DateFrom
Optional. Start date of the delivery period to process.
DateTo
Optional. End date of the delivery period to process.
AutoStart
Optional. When True, the advisor starts processing immediately. Default value False.
See Also
AppBezorgAdvies (Dutch variant)
Example
 
Sub Main
    Menu.AppDeliveryAdvisor ActionMode:=damDeliveryAdvice, AutoStart:=True
End Sub