ProdUpdCostEstimation Class [AX 2012]
The ProdUpdCostEstimation class is used for calculating the estimation for a production order.
| Method | Description | |
|---|---|---|
| addCreatedRec | (Inherited from UpdateBase.) |
| addDeletedRec | (Inherited from UpdateBase.) |
| addUpdateRec | (Inherited from UpdateBase.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| costEstimate | Makes the estimation for a specific production order. |
| costEstimateItems | |
| costEstimateOperations | |
| createdRecs | (Inherited from UpdateBase.) |
| createKanban | Creates one or more kanbans for a pegged supply BOM line, if the applicable kanban rule exists. |
| createProdBOM | |
| createProdRoute | Explodes the operations that are made on the phantom BOM onto the production route. |
| createProdTable | |
| createPurchLine | |
| createPurchTable | Creates a new PurchTable record or retrieves the purchase ID of an existing one. |
| createSub | Creates kanban, production, or purchase orders for the given BOM line if required. |
| deletedRecs | (Inherited from UpdateBase.) |
| endUpdateProduction | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| expandBOMRoute | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initProdTable | Initializes the prodTable variable with a value from the parameter table. (Inherited from ProdUpd.) |
| mergeCreatedRecs | (Inherited from UpdateBase.) |
| mergeDeletedRecs | (Inherited from UpdateBase.) |
| mergeRecs | (Inherited from UpdateBase.) |
| mergeUpdateRecs | (Inherited from UpdateBase.) |
| new | Initializes a new instance of the UpdateBase class. (Inherited from UpdateBase.) |
| 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.) |
| packCreatedRecs | (Inherited from UpdateBase.) |
| parmParmBuffer | Gets or sets the ParmBuffer parameter. (Overrides the parmParmBuffer Method.) |
| parmProdPurch | Gets or sets the ProdPurch parameter. |
| pdsCheckApprovedVendorList | Method calls PdsApprovedVendorList class and returns if the vendor set in item master is valid if production order is of type Vendor. |
| pmfCostEstimateCoBys | Estimation of batch order related coby products. |
| pmfCreateCoBySub | Launches creation of batch order coby product sub orders. |
| pmfCreateSubProdTable | Creates a batch order coby product sub orders. |
| pmfUpdateCoBySub | Updates batch order coby product suborders. |
| pmfUpdateCoBySubProdTable | Updates batch order coby product production/batch suborders. |
| pmfUpdateCoBySubPurchLine | Updates the batch order's co/by product purchase orders when estimating. |
| prodPurch | Retrieves or initializes the ProdPurch class variable. |
| prodTable | Returns the value of the prodTable variable, specifying which production order will be updated. (Inherited from ProdUpd.) |
| projCostControlUpdate | |
| run | Runs the estimation. (Overrides the run Method.) |
| setBOMRawMaterialDate | Sets the scheduled dates and times for the raw materials as estimated during production. |
| setItemConsumption | |
| setParameters | |
| 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.) |
| updatedRecs | (Inherited from UpdateBase.) |
| updateJobJournal | (Inherited from UpdateBase.) |
| updateSub | |
| updateSubProdTable | |
| updateSubPurchLine | |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validate | Method runs normal validation and runs Approved Vendor List validation of Production order and corresponding Production BOM (Overrides the validate Method.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | |
| ::initParmBufferFromSched | |
| ::newParmBuffer | |
| ::newProdId |
By using this class, you can make the estimation for a single production order or for a whole chain of production orders which are related to each other by references. When the References parameter is set to the NoYes::Yes enumeration value, all production orders which are related to the same main production will be estimated.When the References parameter is set to the NoYes::No enumeration value, only the selected production order will be estimated.
Community Additions
ADD
Show: