ProdUpdRelease Class [AX 2012]

The ProdUpdRelease class is used for releasing the production order.

class ProdUpdRelease extends ProdUpd

Run On

Server

  MethodDescription
Gg862247.pubmethod(en-us,AX.60).gif addCreatedRec (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif addDeletedRec (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif addUpdateRec (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif createdRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif deletedRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif endUpdateProduction
Gg862247.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif initProdTable Initializes the prodTable variable with a value from the parameter table. (Inherited from ProdUpd.)
Gg862247.pubmethod(en-us,AX.60).gif mergeCreatedRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif mergeDeletedRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif mergeRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif mergeUpdateRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif new Initializes a new instance of the UpdateBase class. (Inherited from UpdateBase.)
Gg862247.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.)
Gg862247.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.)
Gg862247.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif packCreatedRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif parmParmBuffer Gets or sets the ParmBuffer parameter. (Overrides the parmParmBuffer Method.)
Gg862247.pubmethod(en-us,AX.60).gif printout
Gg862247.pubmethod(en-us,AX.60).gif prodTable Returns the value of the prodTable variable, specifying which production order will be updated. (Inherited from ProdUpd.)
Gg862247.pubmethod(en-us,AX.60).gif releaseReferences
Gg862247.pubmethod(en-us,AX.60).gif run (Overrides the run Method.)
Gg862247.pubmethod(en-us,AX.60).gif setParameters
Gg862247.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif updatedRecs (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif updateJobJournal (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif updateProdBOM
Gg862247.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.)
Gg862247.pubmethod(en-us,AX.60).gif validate (Inherited from UpdateBase.)
Gg862247.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg862247.pubmethod(en-us,AX.60).gif Gg862247.static(en-us,AX.60).gif ::construct Initializes a new instance of the ProdUpdRelease class.
Gg862247.pubmethod(en-us,AX.60).gif Gg862247.static(en-us,AX.60).gif ::initParmBufferFromStartUp
Gg862247.pubmethod(en-us,AX.60).gif Gg862247.static(en-us,AX.60).gif ::newParmBuffer
Gg862247.pubmethod(en-us,AX.60).gif Gg862247.static(en-us,AX.60).gif ::newProdId
Gg862247.pubmethod(en-us,AX.60).gif Gg862247.static(en-us,AX.60).gif ::runPreviousJob
Top

You can release a production order by using this class. You can choose whether you want to print job card, route job or route card.

void releaseProduction( 
    ProdId _prodId,  
    NoYes _references,  
    NoYes _printJob,  
    NoYes _printRouteJob,  
    NoYes _printRouteCard) 
{ 
    ProdUpdRelease prodUpdRelease = ProdUpdRelease::newProdId( 
        _prodId, 
        _references, 
        _printJob, 
        _printRouteJob, 
        _printRouteCard); 
 
    prodUpdRelease.run(); 
}

Object Class
  UpdateBase Class
    ProdUpd Class
      ProdUpdRelease Class

Community Additions

ADD
Show: