SalesAutoCreate_ReleaseFromAgreement Class [AX 2012]
The ReleaseFromAgreement class makes it possible to create a release sales order from a sales agreement automatically.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| create | Creates a sales release order and lines. (Overrides the create Method.) |
| createAgreementLineReleaseLine | Creates the link AgreementLineReleasedLine record between a SalesLine record and an AgreementLine record. |
| createAgreementReleaseHeaderMatch | Creates the link AgreementReleaseHeaderMatch record between a SalesTable record and an AgreementHeader record. |
| createSalesLine | Creates a sales release line. (Overrides the createSalesLine Method.) |
| createSalesTable | Creates a sales release order header. (Overrides the createSalesTable Method.) |
| custAccount | Gets the CustAccount values for a release sales order. |
| customerRef | (Inherited from SalesAutoCreate.) |
| deliveryDate | (Inherited from SalesAutoCreate.) |
| deliveryLocation | (Inherited from SalesAutoCreate.) |
| deliveryName | (Inherited from SalesAutoCreate.) |
| deliveryPostalAddress | (Inherited from SalesAutoCreate.) |
| endUpdate | Finalizes the creation of a sales release order header and lines. (Overrides the endUpdate Method.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| firstRecord | Moves to the first SalesCreateReleaseOrderLineTmp record. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| invoiceAccount | Gets the InvoiceAccount record associated with a release. (Overrides the invoiceAccount Method.) |
| languageId | (Inherited from SalesAutoCreate.) |
| new | Initializes a new instance of the SalesAutoCreate_ReleaseFromAgreement class. (Overrides the new Method.) |
| nextRecord | Moves to the new SalesCreateReleaseOrderTableTmp record. (Overrides the nextRecord Method.) |
| 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.) |
| postCreateValidation | Validates the creation of the sales order. |
| purchOrderFormNum | (Inherited from SalesAutoCreate.) |
| recordExist | Determines whether the specified SalesCreateReleaseOrderTableTmp record exists. (Overrides the recordExist Method.) |
| salesId | (Inherited from SalesAutoCreate.) |
| salesOriginId | (Inherited from SalesAutoCreate.) |
| salesType | Retrieves sales type for the release line. (Overrides the salesType Method.) |
| setCust | Sets the internal CustTable table according to the customer settings of the sales agreement. (Overrides the setCust Method.) |
| 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.) |
| setSalesTable | Sets sales release order fields and calls the createSalesTable method (Overrides the setSalesTable 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.) |
| 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 SalesAutoCreate_ReleaseFromAgreement class. |
Community Additions
ADD
Show: