SalesATPCalculationShelfLife Class [AX 2012]
The SalesATPCalculationShelfLife class is a specialized version of the SalesATPCalculation class that is responsible for available to promise (ATP) calculation, and that considers the batch shelf life and disposition status.
| Method | Description | |
|---|---|---|
| atpLeadTime | Calculates the ATP lead time. (Inherited from SalesATPCalculation.) |
| calcSalesTmpATP | Sets the ATP on the temporary records of the SalesTmpATP table. (Inherited from SalesATPCalculation.) |
| calculateOnHand | Calculates on hand inventory quantity for all records in specified _salesTmpATP parameter table buffer. (Inherited from SalesATPCalculation.) |
| 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. (Inherited from SalesATPCalculation.) |
| 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. (Inherited from SalesATPCalculation.) |
| calculation | Calculates and inserts the temporary data into the SalesTmpATP table. (Inherited from SalesATPCalculation.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkBatch | Validates a batch disposition code and expiry date. |
| currentOnHand | Retrieves the current on-hand level for the specified item on the specified dimensions. (Overrides the currentOnHand Method.) |
| currentOnHandWithDipositionNotSet | Determines the current on-hand level that does not have a batch disposition code. |
| currentOnHandWithDipositionSetAvailable | Determines the current on-hand level that has a batch disposition code available. |
| 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. (Inherited from SalesATPCalculation.) |
| 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.) |
| parmCustAccount | Gets or sets the CustAccount parameter. |
| parmInventDimId | Gets or sets the InventDimId parameter. (Inherited from SalesATPCalculation.) |
| parmIssueMarginCalendarId | Gets or sets the IssueMarginCalendarId parameter. (Inherited from SalesATPCalculation.) |
| parmItemId | Gets or sets the ItemId parameter. (Inherited from SalesATPCalculation.) |
| parmMarginIssue | Gets or sets the MarginIssue parameter. (Inherited from SalesATPCalculation.) |
| parmSalesATPSettingsMap | Gets or sets the SalesATPSettingsMap parameter. (Inherited from SalesATPCalculation.) |
| processIssues | Iterates through all the issue inventory transactions that can affect the ATP calculation. (Overrides the processIssues Method.) |
| processPlannedDemand | Iterates through all the planned demand transactions that can affect the ATP calculation. (Overrides the processPlannedDemand Method.) |
| processPlannedSupply | Iterates through all the planned supply transactions that can affect the ATP calculation. (Overrides the processPlannedSupply Method.) |
| processReceipts | Iterates through all the receipt inventory transactions that can affect the ATP calculation. (Overrides the processReceipts Method.) |
| 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. (Inherited from SalesATPCalculation.) |
| updateSalesTmpATPWithIssue | Updates the SalesTmpATP table record by using data from the issue transaction. (Inherited from SalesATPCalculation.) |
| updateSalesTmpATPWithPlannedDemand | Updates the SalesTmpATP table record by using data from the planned demand transaction. (Inherited from SalesATPCalculation.) |
| updateSalesTmpATPWithPlannedSupply | Updates the SalesTmpATP table record by using data from the planned supply transaction. (Inherited from SalesATPCalculation.) |
| updateSalesTmpATPWithReceipt | Updates the SalesTmpATP table record by using data from the receipt transaction. (Inherited from SalesATPCalculation.) |
| 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 | Initializes a new instance of the SalesATPCalculationShelfLife class. |
Community Additions
ADD
Show: