ProdStatusType Class [AX 2012]

The ProdStatusType class is used to control the status updates of a production order.

class ProdStatusType

Run On

Called

  MethodDescription
Gg861612.pubmethod(en-us,AX.60).gif autoAuthorization Indicates whether production order status is legal when firming is made automatically.
Gg861612.pubmethod(en-us,AX.60).gif bomAllowEdit Indicates whether the bills of materials of a production order can be edited.
Gg861612.pubmethod(en-us,AX.60).gif canBeWMSRegistered Indicates whether production order can be registered in Warehouse Management System.
Gg861612.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif checkAllowEditOperationStatus Checks whether the operation status can be modified.
Gg861612.pubmethod(en-us,AX.60).gif checkPostJournal Indicates whether journal posting is allowed for a production order.
Gg861612.pubmethod(en-us,AX.60).gif currentProdStatus Defines the specific status of a production order.
Gg861612.pubmethod(en-us,AX.60).gif delete
Gg861612.pubmethod(en-us,AX.60).gif deleteProdBOM Deletes the bills of materials of a production order.
Gg861612.pubmethod(en-us,AX.60).gif deleteProdRoute Deletes the route of a production order.
Gg861612.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif formFieldsActive
Gg861612.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif insert Inserts a production order record into the database.
Gg861612.pubmethod(en-us,AX.60).gif insertProdBOM Inserts the bills of materials of a production order into the database.
Gg861612.pubmethod(en-us,AX.60).gif insertProdRoute Inserts the route of a production order into the database.
Gg861612.pubmethod(en-us,AX.60).gif inventCheckUpdEst
Gg861612.pubmethod(en-us,AX.60).gif isBefore Indicates whether the status of a production order is less than the _prodStatus parameter.
Gg861612.protmethod(en-us,AX.60).gif isStatusUpdateAllowed Indicates whether a production order status is able to be updated to the status specified by the _toStatus parameter.
Gg861612.pubmethod(en-us,AX.60).gif mustEstimateReferences Indicates whether references of a production order must be estimated.
Gg861612.protmethod(en-us,AX.60).gif new
Gg861612.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif pdsCanBeBatchBalanced Gets a value indicating if the production order can use batch balancing.
Gg861612.pubmethod(en-us,AX.60).gif pmfCheckRework Checks if any of the production raw material inventory transactions are considered reserved by warehouse management and if the batch order is a rework batch order.
Gg861612.pubmethod(en-us,AX.60).gif previousProdStatus Defines the previous status for a production order.
Gg861612.pubmethod(en-us,AX.60).gif prodCheckCopying Indicates whether production order allows copying.
Gg861612.pubmethod(en-us,AX.60).gif prodNumLookupJournal
Gg861612.pubmethod(en-us,AX.60).gif prodTable Retrieves the ProdTable buffer representing a production order.
Gg861612.protmethod(en-us,AX.60).gif prodTableType Retrives the ProdTableType object that is associated with the related production order
Gg861612.pubmethod(en-us,AX.60).gif queryAddStatus
Gg861612.pubmethod(en-us,AX.60).gif routeAllowEdit Indicates whether the route of a production order can be edited.
Gg861612.pubmethod(en-us,AX.60).gif runAutoUpdate Implements performing of an automatic update of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runBOMCalc Performs the price calculation of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runCopy Performs copying of the bills of materials or route of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runCostEstimation Performs a cost estimation of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runGanttChart Indicates whether the Gantt chart is enabled for a production order.
Gg861612.pubmethod(en-us,AX.60).gif runHistoricalCost Using the historical cost parameters, completes a production order.
Gg861612.pubmethod(en-us,AX.60).gif runJobScheduling Performs job scheduling of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runJobUpdate Updates the jobs of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runOperationScheduling Performs operation scheduling of a production order.
Gg861612.protmethod(en-us,AX.60).gif runPrevJobHistoricalCost Using the historical cost parameters, runs the jobs to update the prod order status to statuses preceding Completed.
Gg861612.protmethod(en-us,AX.60).gif runPrevJobJobScheduling Runs the jobs to update the prod order status to statuses preceding JobScheduled.
Gg861612.protmethod(en-us,AX.60).gif runPrevJobOperationScheduling Runs the jobs to update the prod order status to statuses preceding OperationScheduled.
Gg861612.protmethod(en-us,AX.60).gif runPrevJobRelease Runs the jobs to update the prod order status to statuses preceding Released.
Gg861612.protmethod(en-us,AX.60).gif runPrevJobReportFinished Runs the jobs to update the prod order status to statuses preceding ReportedFinished.
Gg861612.protmethod(en-us,AX.60).gif runPrevJobStartUp Runs the jobs to update the prod order status to statuses preceding StartUp.
Gg861612.pubmethod(en-us,AX.60).gif runRelease Releases a production order.
Gg861612.pubmethod(en-us,AX.60).gif runReportFinished Reports a production order as finished.
Gg861612.pubmethod(en-us,AX.60).gif runRouteUpdate Updates the route of a production order.
Gg861612.pubmethod(en-us,AX.60).gif runSplit Splits a production order into several production orders.
Gg861612.pubmethod(en-us,AX.60).gif runStartUp Starts a production order.
Gg861612.pubmethod(en-us,AX.60).gif runStatusDecrease Decreases the status of a production order.
Gg861612.pubmethod(en-us,AX.60).gif setBackStatus Sets the backorder status on an underlying ProdTable buffer.
Gg861612.pubmethod(en-us,AX.60).gif setPreviousProdStatus Sets a previous production orders status.
Gg861612.pubmethod(en-us,AX.60).gif setQtySched Sets a scheduled quantity of items to produce.
Gg861612.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif startUpUpdateRouteJobs
Gg861612.privmethod(en-us,AX.60).gif statusAlreadyPosted Checks if the production order ever had the given status
Gg861612.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif update Updates a production order record.
Gg861612.pubmethod(en-us,AX.60).gif updateActivityRequirementSet Updates the activity requirement set.
Gg861612.pubmethod(en-us,AX.60).gif updateBOMRoute Empty method that does nothing. This method can be overwritten on derived classes in order to update the production Bills of materials and the production route.
Gg861612.pubmethod(en-us,AX.60).gif updateProdBOM Updates a production bills of materials.
Gg861612.pubmethod(en-us,AX.60).gif updateProdRoute Updates a production route.
Gg861612.pubmethod(en-us,AX.60).gif updateWarnings
Gg861612.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif validateDelete Indicates whether a production order can be deleted.
Gg861612.pubmethod(en-us,AX.60).gif validateDeleteProdBOM Indicates whether the production bills of materials can be deleted.
Gg861612.pubmethod(en-us,AX.60).gif validateDeleteProdRoute Indicates whether a production route can be deleted.
Gg861612.pubmethod(en-us,AX.60).gif validateWrite Indicates whether a production order can be updated.
Gg861612.pubmethod(en-us,AX.60).gif validateWriteProdBOM Indicates whether the production bills of materials can be updated.
Gg861612.pubmethod(en-us,AX.60).gif validateWriteProdRoute Indicates whether a production route can be updated.
Gg861612.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg861612.pubmethod(en-us,AX.60).gif Gg861612.static(en-us,AX.60).gif ::construct
Top

The ProdStatusType class provides implementation of all production order status updates. Before running a specific update, the ProdStatusType class verifies that this update is allowed in production parameters. The ProdStatusType class always creates an instance of one of derived the classes according to current status of the production order. Every derived class must implement the following methods:

  • In the currentProdStatus method the derived class must return a specific status representing the production order.

  • In the previousProdStatus method the derived class must return a previous status of the production order.

Using information supplied by the derived classes in the currentProdStatus and previousProdStatus methods, the ProdStatusType class can determine whether status update is allowed by production parameters and accurately perform the update.

Community Additions

ADD
Show: