SalesATPCalculation Class [AX 2012]
The SalesATPCalculation class is responsible for performing available to promise (ATP) calculations.
| Method | Description | |
|---|---|---|
| atpLeadTime | Calculates the ATP lead time. |
| calcSalesTmpATP | Sets the ATP on the temporary records of the SalesTmpATP table. |
| calculateOnHand | Calculates on hand inventory quantity for all records in specified _salesTmpATP parameter table buffer. |
| calculateOrders | Calculates the total quantity of all demand orders and the total quantity of all supply orders for every record in the _salesTmpATP table buffer. |
| calculatePlannedOrders | Calculates the total quantity of all planned demand orders and the total quantity of all planned supply orders for every record in a SalesTmpATP table. |
| calculation | Calculates and inserts the temporary data into the SalesTmpATP table. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| currentOnHand | Retrieves the current on-hand level for the specified item on the specified dimensions. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the SalesATPCalculation class. |
| 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.) |
| parmInventDimId | Gets or sets the InventDimId parameter. |
| parmIssueMarginCalendarId | Gets or sets the IssueMarginCalendarId parameter. |
| parmItemId | Gets or sets the ItemId parameter. |
| parmMarginIssue | Gets or sets the MarginIssue parameter. |
| parmSalesATPSettingsMap | Gets or sets the SalesATPSettingsMap parameter. |
| processIssues | Iterates through all the issue inventory transactions that can affect the ATP calculation. |
| processPlannedDemand | Iterates through all the planned demand transactions that can affect the ATP calculation. |
| processPlannedSupply | Iterates through all the planned supply transactions that can affect the ATP calculation. |
| processReceipts | Iterates through all the receipt inventory transactions that can affect the ATP calculation. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateSalesTmpATP | Updates a salesTmpATP table buffer. |
| updateSalesTmpATPWithIssue | Updates the SalesTmpATP table record by using data from the issue transaction. |
| updateSalesTmpATPWithPlannedDemand | Updates the SalesTmpATP table record by using data from the planned demand transaction. |
| updateSalesTmpATPWithPlannedSupply | Updates the SalesTmpATP table record by using data from the planned supply transaction. |
| updateSalesTmpATPWithReceipt | Updates the SalesTmpATP table record by using data from the receipt transaction. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | |
| ::findItemOrderSettings | Finds the default item order settings. |
| ::findSalesOrderSettings | Finds the default item sales order settings. |
| ::findTransferOrderSettings | Finds the transfer order settings for the ATP calculation. |
| ::newItemCalculation | Creates an instance of the SalesATPCalculation class to calculate the ATP with the item-specific settings. |
| ::newSalesATPCalculation | Creates a new SalesATPCalculation class instance. |
| ::newSalesCalculation | Creates an instance of the SalesATPCalculation class to calculate the ATP by using the sales settings. |
| ::newTransferCalculation | Creates an instance of the SalesATPCalculation class to calculate the ATP with the transfer settings. |
Community Additions
ADD
Show: