SalesCalcAvailableDlvDates Class [AX 2012]

The SalesCalcAvailableDlvDates class is the engine for the delivery date control.

class SalesCalcAvailableDlvDates extends RunBase

Run On

Called

  MethodDescription
Gg774534.pubmethod(en-us,AX.60).gif allowEditDlvMode
Gg774534.pubmethod(en-us,AX.60).gif allowEditInventLocation
Gg774534.pubmethod(en-us,AX.60).gif allowEditInventSite
Gg774534.protmethod(en-us,AX.60).gif calcBackward Calculates the first available receipt date backward from _fromDate. Then, the ship date is calculated based on the first available receipt date.
Gg774534.pubmethod(en-us,AX.60).gif calcDatesFromUTCNow Uses the current UTC date and time as a basis to computer the shipping and receipt dates.
Gg774534.pubmethod(en-us,AX.60).gif calcEarliestShipReceiptDates Retrieves the earliest shipping and receipt dates.
Gg774534.protmethod(en-us,AX.60).gif calcForward First, calculates the first available ship date forward from the planned ship date _fromDate (open for shipping and pickup). Then, calculates the first possible receipt date at the customer (transport and receipt calendar does not have to be open at the same time). Finally, the ship date is moved closer to the calculated receipt date, if it is possible.
Gg774534.pubmethod(en-us,AX.60).gif calcReceiptDate Calculates the receipt date based on the entered shipping date
Gg774534.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg774534.pubmethod(en-us,AX.60).gif canGoBatch Returns false in this class. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif canSwapBetweenCS Controls whether a calledFrom class that is instantiated on the server should have its prompt executed on the client. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif caption Returns the description from the current class by calling the static description method on the class if there is one. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif checkCloseDialog Must be called in the CloseOk method of a RunBase dialog box. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif checkConfirmedDates Determines whether to do delivery date control on the confirmed dates.
Gg774534.pubmethod(en-us,AX.60).gif checkReceiptDate Checks if the entered receipt date is valid.
Gg774534.pubmethod(en-us,AX.60).gif checkReceiptDateInCalendar It verifies if the receipt date is an open date in both the customer's and the transport calendars.
Gg774534.pubmethod(en-us,AX.60).gif checkShippingDate Checks if the entered shipping date is valid
Gg774534.pubmethod(en-us,AX.60).gif checkShippingDateInCalendar It verifies if the proposed shipping date is an open date in the shipping calendar.
Gg774534.protmethod(en-us,AX.60).gif cleanupDialog Provides a way to clean up after a dialog box has been canceled. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif createPossibleShippingAndReceiptDates Calculates the possible shipping and receipt dates.
Gg774534.protmethod(en-us,AX.60).gif deliveryDateControlActive Determines whether the delivery date control is active or not.
Gg774534.pubmethod(en-us,AX.60).gif deliveryDateControlMap Retrieves the SalesDeliveryDateControlMap map that applies for the calculation.
Gg774534.protmethod(en-us,AX.60).gif dialog Returns a class that contains the methods that are described by the RunBaseDialogable interface. (Overrides the dialog Method.)
Gg774534.pubmethod(en-us,AX.60).gif dialogClear Clears the contents of the dialog box. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogInit Initializes the dialog box. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif dialogInternal (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogMake Obtains the dialog from a RunBase class. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif dialogPost Makes it possible to add controls after the main dialog method has been run because this method is called after the dialog method is called. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif dialogPostInit Called right after the RunBase.dialogInit Method method. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogPostRun Called after the Dialog.run Method class. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif dialogReInit Reinitializes the dialog box. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogSelectCtrl When using the dialog class for dialog, this method is called whenever a control is selected. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogTask When using the Dialog Class class for dialog, this method is called from the task method in the dialog form. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogUpdate Updates the dialog, for example after reinitializing the query. (Inherited from RunBase.)
Gg774534.pubmethod(en-us,AX.60).gif dialogUpdateQuery Updates the query in the dialog box. (Inherited from RunBase.)
Gg774534.protmethod(en-us,AX.60).gif doModifiedFieldCheck Determines whether the date delivery check should be performed when the date delivery fields are modified.
Gg774534.protmethod(en-us,AX.60).gif doValidateWrite Determines whether changes have been made to fields that influence the delivery date control.
Gg774534.pubmethod(en-us,AX.60).gif effectiveOrderDate
Gg774534.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg774534.pubmethod(en-us,AX.60).gif errorTextHandling Implements logic for adding error messages.