SalesAutoCreate_ReleaseFromAgreement Class [AX 2012]

The ReleaseFromAgreement class makes it possible to create a release sales order from a sales agreement automatically.

class SalesAutoCreate_ReleaseFromAgreement extends SalesAutoCreate

Run On

Server

  MethodDescription
Gg786560.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif create Creates a sales release order and lines. (Overrides the create Method.)
Gg786560.protmethod(en-us,AX.60).gif createAgreementLineReleaseLine Creates the link AgreementLineReleasedLine record between a SalesLine record and an AgreementLine record.
Gg786560.protmethod(en-us,AX.60).gif createAgreementReleaseHeaderMatch Creates the link AgreementReleaseHeaderMatch record between a SalesTable record and an AgreementHeader record.
Gg786560.pubmethod(en-us,AX.60).gif createSalesLine Creates a sales release line. (Overrides the createSalesLine Method.)
Gg786560.pubmethod(en-us,AX.60).gif createSalesTable Creates a sales release order header. (Overrides the createSalesTable Method.)
Gg786560.pubmethod(en-us,AX.60).gif custAccount Gets the CustAccount values for a release sales order.
Gg786560.pubmethod(en-us,AX.60).gif customerRef (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif deliveryDate (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif deliveryLocation (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif deliveryName (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif deliveryPostalAddress (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif endUpdate Finalizes the creation of a sales release order header and lines. (Overrides the endUpdate Method.)
Gg786560.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg786560.protmethod(en-us,AX.60).gif firstRecord Moves to the first SalesCreateReleaseOrderLineTmp record.
Gg786560.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif invoiceAccount Gets the InvoiceAccount record associated with a release. (Overrides the invoiceAccount Method.)
Gg786560.pubmethod(en-us,AX.60).gif languageId (Inherited from SalesAutoCreate.)
Gg786560.protmethod(en-us,AX.60).gif new Initializes a new instance of the SalesAutoCreate_ReleaseFromAgreement class. (Overrides the new Method.)
Gg786560.pubmethod(en-us,AX.60).gif nextRecord Moves to the new SalesCreateReleaseOrderTableTmp record. (Overrides the nextRecord Method.)
Gg786560.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.)
Gg786560.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.)
Gg786560.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg786560.protmethod(en-us,AX.60).gif postCreateValidation Validates the creation of the sales order.
Gg786560.pubmethod(en-us,AX.60).gif purchOrderFormNum (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif recordExist Determines whether the specified SalesCreateReleaseOrderTableTmp record exists. (Overrides the recordExist Method.)
Gg786560.pubmethod(en-us,AX.60).gif salesId (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif salesOriginId (Inherited from SalesAutoCreate.)
Gg786560.pubmethod(en-us,AX.60).gif salesType Retrieves sales type for the release line. (Overrides the salesType Method.)
Gg786560.pubmethod(en-us,AX.60).gif setCust Sets the internal CustTable table according to the customer settings of the sales agreement. (Overrides the setCust Method.)
Gg786560.pubmethod(en-us,AX.60).gif setSalesLine Sets the fields of the sales release line based on the current record of the SalesCreateReleaseOrderLineTmp table and calls the createSalesLine method if the LineAmount field is not 0. (Overrides the setSalesLine Method.)
Gg786560.pubmethod(en-us,AX.60).gif setSalesTable Sets sales release order fields and calls the createSalesTable method (Overrides the setSalesTable Method.)
Gg786560.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg786560.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.)
Gg786560.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg786560.pubmethod(en-us,AX.60).gif Gg786560.static(en-us,AX.60).gif ::construct Initializes a new instance of the SalesAutoCreate_ReleaseFromAgreement class.
Top

This class extends the SalesAutoCreate class.

Object Class
  SalesAutoCreate Class
    SalesAutoCreate_ReleaseFromAgreement Class

Community Additions

ADD
Show: