SalesCalcAvailableDlvDates_SalesLine Class [AX 2012]
Syntax
class SalesCalcAvailableDlvDates_SalesLine extends SalesCalcAvailableDlvDates
Run On
Called
Methods
Method | Description | |
---|---|---|
allowEditDlvMode | (Inherited from SalesCalcAvailableDlvDates.) | |
allowEditInventLocation | (Inherited from SalesCalcAvailableDlvDates.) | |
allowEditInventSite | (Inherited from SalesCalcAvailableDlvDates.) | |
calcBackward | Calculates the first available receipt date backward from _fromDate. Then, the ship date is calculated based on the first available receipt date. (Inherited from SalesCalcAvailableDlvDates.) | |
calcDatesFromUTCNow | Uses the current UTC date and time as a basis to computer the shipping and receipt dates. (Inherited from SalesCalcAvailableDlvDates.) | |
calcEarliestShipReceiptDates | Retrieves the earliest shipping and receipt dates. (Inherited from SalesCalcAvailableDlvDates.) | |
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. (Inherited from SalesCalcAvailableDlvDates.) | |
calcReceiptDate | Calculates the receipt date based on the entered shipping date (Inherited from SalesCalcAvailableDlvDates.) | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canGoBatch | Returns false in this class. (Inherited from RunBase.) | |
canSwapBetweenCS | Controls whether a calledFrom class that is instantiated on the server should have its prompt executed on the client. (Inherited from RunBase.) | |
caption | Returns the description from the current class by calling the static description method on the class if there is one. (Inherited from RunBase.) | |
checkCloseDialog | Must be called in the CloseOk method of a RunBase dialog box. (Inherited from RunBase.) | |
checkConfirmedDates | Determines whether to do delivery date control on the confirmed dates. (Inherited from SalesCalcAvailableDlvDates.) | |
checkReceiptDate | Checks if the entered receipt date is valid. (Inherited from SalesCalcAvailableDlvDates.) | |
checkReceiptDateInCalendar | It verifies if the receipt date is an open date in both the customer's and the transport calendars. (Inherited from SalesCalcAvailableDlvDates.) | |
checkShippingDate | Checks if the entered shipping date is valid (Inherited from SalesCalcAvailableDlvDates.) | |
checkShippingDateInCalendar | It verifies if the proposed shipping date is an open date in the shipping calendar. (Inherited from SalesCalcAvailableDlvDates.) | |
cleanupDialog | Provides a way to clean up after a dialog box has been canceled. (Inherited from RunBase.) | |
createPossibleShippingAndReceiptDates | Calculates the possible shipping and receipt dates. (Inherited from SalesCalcAvailableDlvDates.) | |
deliveryDateControlActive | Determines whether the delivery date control is active or not. (Overrides the deliveryDateControlActive Method.) | |
deliveryDateControlMap | Retrieves the SalesDeliveryDateControlMap map that applies for the calculation. (Inherited from SalesCalcAvailableDlvDates.) | |
dialog | Returns a class that contains the methods that are described by the RunBaseDialogable interface. (Inherited from SalesCalcAvailableDlvDates.) | |
dialogClear | Clears the contents of the dialog box. (Inherited from RunBase.) | |
dialogInit | Initializes the dialog box. (Inherited from RunBase.) | |
dialogInternal | (Inherited from RunBase.) | |
dialogMake | Obtains the dialog from a RunBase class. (Inherited from RunBase.) | |
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.) | |
dialogPostInit | Called right after the RunBase.dialogInit Method method. (Inherited from RunBase.) | |
dialogPostRun | Called after the Dialog.run Method class. (Inherited from RunBase.) | |
dialogReInit | Reinitializes the dialog box. (Inherited from RunBase.) | |
dialogSelectCtrl | When using the dialog class for dialog, this method is called whenever a control is selected. (Inherited from RunBase.) | |
dialogTask | When using the Dialog Class class for dialog, this method is called from the task method in the dialog form. (Inherited from RunBase.) | |
dialogUpdate | Updates the dialog, for example after reinitializing the query. (Inherited from RunBase.) | |
dialogUpdateQuery | Updates the query in the dialog box. (Inherited from RunBase.) | |
doModifiedFieldCheck | Determines whether the check regarding changed fields should be performed or not. (Overrides the doModifiedFieldCheck Method.) | |
doUpdateCaller | ||
doValidateWrite | Determines whether changes have been made to fields that influence the delivery date control. (Overrides the doValidateWrite Method.) | |
effectiveOrderDate | (Inherited from SalesCalcAvailableDlvDates.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
errorTextHandling | Implements logic for adding error messages. (Inherited from SalesCalcAvailableDlvDates.) | |
fieldId2DlvDateType | (Overrides the fieldId2DlvDateType Method.) | |
getFromDialog | Assigns the dialog values to the internal variables. (Inherited from RunBase.) | |
getItemId | Returns the item ID for the record to calculate delivery date for. (Overrides the getItemId Method.) | |
getLast | Gets the last choice that is stored in the last value table. (Inherited from RunBase.) | |
getRunBase | (Inherited from RunBase.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
inGetSaveLast | Returns true when the GetLast or SaveLast method is executed. (Inherited from RunBase.) | |
init | Gives RunBase the same profile as, for example, a FormRun class. This method is not used in the standard application. (Inherited from RunBase.) | |
initMaster | Instantiates which date and date type to use for delivery date calculation. (Inherited from SalesCalcAvailableDlvDates.) | |
initParmDefault | Initializes the internal variables. (Inherited from RunBase.) | |
initReqSetupDim | Create a ReqSetupDim for a given item with given inventory dimensions. (Inherited from SalesCalcAvailableDlvDates.) | |
initSalesAvailableDlvDatesTmp | (Inherited from SalesCalcAvailableDlvDates.) | |
interCompanyDerivedOrder | (Overrides the interCompanyDerivedOrder Method.) | |
interCompanyDirectDeliveryOrig | (Overrides the interCompanyDirectDeliveryOrig Method.) | |
interCompanyOrder | (Overrides the interCompanyOrder Method.) | |
inventDimIdUpdate | Modifies dimensions such as the warehouse on sales order lines where all the dimension fields are positioned in the InventDim table. (Overrides the inventDimIdUpdate Method.) | |
isMasterDateTypeConfirmed | (Inherited from SalesCalcAvailableDlvDates.) | |
isPickupDate | Determines whether _transDate is a pickup date. (Inherited from SalesCalcAvailableDlvDates.) | |
isReceiptDateInPast | Determines if the receipt date is in the past (Inherited from SalesCalcAvailableDlvDates.) | |
isReceiptDateOpen | Determines if the receipt date is open in the customer's calendar. (Inherited from SalesCalcAvailableDlvDates.) | |
isShippingDateInLeadTime | Determines if the shipping date is in the order lead time. (Inherited from SalesCalcAvailableDlvDates.) | |
isShippingDateInPast | Determines if the shipping date is in the past (Inherited from SalesCalcAvailableDlvDates.) | |
isSwappingPrompt | Checks if the program is currently swapping from server to client. (Inherited from RunBase.) | |
lastConfirmation | Retrieves the latest confirmation date and confirmation ID. (Overrides the lastConfirmation Method.) | |
lastValueDataAreaId | (Inherited from RunBase.) | |
lastValueDesignName | (Inherited from RunBase.) | |
lastValueElementName | (Inherited from RunBase.) | |
lastValueType | (Inherited from RunBase.) | |
lastValueUserId | (Inherited from RunBase.) | |
leadTime | Calculates sales lead time for the current instance of a sales line. | |
leadTimeFromCTP | Retrieves the lead time based on a capable to promise calculation. (Inherited from SalesCalcAvailableDlvDates.) | |
leadTimeFromMarking | Retrieves the lead time based on marked transactions. (Inherited from SalesCalcAvailableDlvDates.) | |
marginIssue | Finds issue margin for a given item with given inventory dimensions. (Inherited from SalesCalcAvailableDlvDates.) | |
masterDateType | Returns the type of the master date. (Inherited from SalesCalcAvailableDlvDates.) | |
modifiedField | Recalculates delivery dates when a field having impact on delivery dates is changed and enhanced delivery date control is enabled. (Inherited from SalesCalcAvailableDlvDates.) | |
modifiedFieldBeforeInsert | Recalculates delivery dates when a field having impact on delivery dates is changed on a record that is not yet saved. It can also be applied on already saved records but it works in silent mode. This means that it never displays error messages and never offers user to resolve conflicts manually by using the dialog box, but recalculates delivery dates as from today for irresolvable conflicts. (Inherited from SalesCalcAvailableDlvDates.) | |
mustLoadSaveQuery | Determines whether the last query must be loaded and saved when you leave the form. Called from the SysQueryForm. (Inherited from RunBase.) | |
name | Returns the name of the RunBase class. (Inherited from RunBase.) | |
new | Initializes a new instance of the SalesCalcAvailableDlvDates_SalesLine class. (Overrides the new Method.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
pack | Serializes the current instance of the current SalesCalcAvailableDlvDates_SalesLine class. (Overrides the pack Method.) | |
parmAcceptWarnings | Gets or sets the AcceptWarnings parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmCalcDays | Gets or sets the CalcDays parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmCancelModifiedField | Gets or sets the CancelModifiedField parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmCheckOnly | Gets or sets the CheckOnly parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmDeliveryDateControlType | Gets or sets the DeliveryDateControlType parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmDisableDeliveryDateControl | Gets or sets the DisableDeliveryDateControl parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmDlvMode | Gets or sets the DlvMode parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmDlvModeIdSelected | Gets or sets the DlvModeIdSelected parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmEnableShowDialog | Gets or sets the EnableShowDialog parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmErrorText | Gets or sets the ErrorText parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmErrorTextType | Gets or sets the ErrorTextType parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmErrorTreeCtrl | Gets or sets the ErrorTreeCtrl parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmForceCalcToUseMarking | Gets or sets the ForceCalcToUseMarking parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmIncludeTodayInAvailableDlvDates | Gets or sets the IncludeTodayInAvailableDlvDates parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmInfologLineStart | Gets or sets the InfologLineStart parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmInventDimId | Gets or sets the InventDimId parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmInventLocationId | Gets or sets the InventLocationId parameter. (Overrides the parmInventLocationId Method.) | |
parmInventLocationIdSelected | Gets or sets the InventLocationIdSelected parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmInventLocationTransportShipping | Gets or sets the InventLocationTransportShipping parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmInventSiteId | Gets or sets the InventSiteId parameter. (Overrides the parmInventSiteId Method.) | |
parmInventSiteIdSelected | Gets or sets the InventSiteIdSelected parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmOrderEntryDeadlineGroupId | Gets or sets the OrderEntryDeadlineGroupId parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmOrderEntryDeadlineSite | Gets or sets the OrderEntryDeadlineSite parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmOrderEntryDeadlineUser | Gets or sets the OrderEntryDeadlineUser parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmPriceDisc | Gets or sets the PriceDisc parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmProgress | Gets or sets the Progress parameter. (Inherited from RunBase.) | |
parmRecalculateShippingDate | Gets or sets the RecalculateShippingDate parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmReceiptDate | Gets or sets the ReceiptDate parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmReceiptDateAvailableSelected | Gets or sets the ReceiptDateAvailableSelected parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmReceiptDateBestGuess | Gets or sets the ReceiptDateBestGuess parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmReturnConfirmedDates | Gets or sets the ReturnConfirmedDates parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmSalesAvailableDlvDatesTmp | Gets the SalesAvailableDlvDatesTmp parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmSalesAvailableDlvDatesTmpBestGuess | Gets the SalesAvailableDlvDatesTmpBestGuess parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmSalesLine | Gets or sets the SalesLine parameter. | |
parmShippingDate | Gets or sets the ShippingDate parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShippingDateAvailableSelected | Gets or sets the ShippingDateAvailableSelected parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShippingDateBestGuess | Gets or sets the ShippingDateBestGuess parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShowActualShipDates | Gets or sets the ShowActualShipDates parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShowConfirmation | Gets or sets the ShowConfirmation parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShowDialog | Gets or sets the ShowDialog parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShowDisableDlvDateControlButton | Gets or sets the ShowDisableDlvDateControlButton parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShowTransferToConfirmedButton | Gets or sets the ShowTransferToConfirmedButton parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmShowTransferToRequestedButton | Gets or sets the ShowTransferToRequestedButton parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmTempDeliveryDateControlType | Gets or sets the TempDeliveryDateControlType parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
parmTmpInfoTable | Gets or sets the TmpInfoTable parameter. (Inherited from SalesCalcAvailableDlvDates.) | |
prepareForRun | Allows subclasses to process the dialog box immediately before the dialog box.Run method. (Inherited from RunBase.) | |
preUpdateBuffer | (Inherited from SalesCalcAvailableDlvDates.) | |
progressHide | Hides the Progress form. (Inherited from RunBase.) | |
progressInit | Initializes the Progress object in RunBase. (Inherited from RunBase.) | |
progressKill | Kills the Progress object in RunBase. (Inherited from RunBase.) | |
prompt | (Inherited from RunBase.) | |
promptPack | Wraps a call to the RunBase.pack Method method when packing in the RunBase.promptPrim Method method. (Inherited from RunBase.) | |
promptUnpack | Unpacks what the promptPack method has packed. (Inherited from RunBase.) | |
pushBackReceiptDateToFirstOpenDate | (Inherited from SalesCalcAvailableDlvDates.) | |
putToDialog | Enables setting the fields that were just added in the RunBase.dialog Method method. This method is called from the RunBase.promptPrim Method method directly following the RunBase.dialogMake Method method. (Inherited from RunBase.) | |
queryRun | Returns the QueryRun object, which is used by the QueryPrompt class. (Inherited from RunBase.) | |
receiptCalendarId | Finds the receipt calendar ID for the customer and returns it. (Overrides the receiptCalendarId Method.) | |
reqSetupDim | Get the value of the reqSetupDim variable (Inherited from SalesCalcAvailableDlvDates.) | |
reset | Resets the class to its default state. (Inherited from RunBase.) | |
run | Contains the code that does the actual job of the class. (Inherited from RunBase.) | |
runBase | Returns the RunBase itself. (Inherited from RunBase.) | |
runBaseDialogModifyType_RU | (Inherited from RunBase.) | |
salesLeadTime | Finds the lead time based on item ID and inventory dimension for the sales order line. (Overrides the salesLeadTime Method.) | |
saveLast | Saves the last choice by using the RunBase.pack Method method. (Inherited from RunBase.) | |
setAvailableDlvDatesBestGuess | (Inherited from SalesCalcAvailableDlvDates.) | |
setDates | Sets, depending on the type of the master date, either the two confirmed dates or the two requested dates. (Inherited from SalesCalcAvailableDlvDates.) | |
setOrderEntryDeadlines | (Inherited from SalesCalcAvailableDlvDates.) | |
setShippingDateBeforeTodayErrorText | Sets the error text when a shipping date is in the past. (Inherited from SalesCalcAvailableDlvDates.) | |
setShippingDateInLeadTimeErrorText | Sets the error text when a shipping date is in the order lead time. (Inherited from SalesCalcAvailableDlvDates.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
shippingCalendarId | Finds the shipping calendar ID and returns it. (Inherited from SalesCalcAvailableDlvDates.) | |
shippingLocationDate | Calculates and returns the shipping locations date. (Inherited from SalesCalcAvailableDlvDates.) | |
showAvailableDlvDatesDialog | (Inherited from SalesCalcAvailableDlvDates.) | |
showClearButton | Determines whether to add a Clear button to the dialog box. If you change the return value to true it will add the button. (Inherited from RunBase.) | |
showDefaultButton | Determines whether a Default button is to be added to the dialog box. If you change the return value to true, it will add the button. (Inherited from RunBase.) | |
showDialog | (Inherited from RunBase.) | |
showIndexFields | If this method returns true, it will look for the first enabled index when you are adding query range fields to the dialog and if a data source does not have any ranges specified. It will also show the visible fields from that index. (Inherited from RunBase.) | |
showQuerySelectButton | (Inherited from RunBase.) | |
showQueryValues | Determines whether a Select button is to be added to the dialog box. If you change the return value to true, the button will be added. (Inherited from RunBase.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
transportCalendarId | Finds the transport calendar ID for a given mode of delivery and a possible warehouse. (Inherited from SalesCalcAvailableDlvDates.) | |
transportDays | Returns the number of days it takes an order to retrieve from the shipping point (warehouse) to the receiving point (delivery address) for a given mode of delivery. (Inherited from SalesCalcAvailableDlvDates.) | |
unpack | Deserializes the _packedClass parameter to the current instance of the SalesCalcAvailableDlvDates_SalesLine class. (Overrides the unpack Method.) | |
updateCaller | (Overrides the updateCaller Method.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validate | Validates the state of the internal variables. (Inherited from RunBase.) | |
validateWritePrompt | Verifies whether delivery dates are OK upon a record being inserted or updated. (Inherited from SalesCalcAvailableDlvDates.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | ||
::newSalesLine |
Top
Inheritance Hierarchy
Object Class
RunBase Class
SalesCalcAvailableDlvDates Class
SalesCalcAvailableDlvDates_SalesLine Class