PurchComplInvoicePost Class [AX 2012]
This class is responsible for posting the purchase complementary invoice.
| Method | Description | |
|---|---|---|
| allocateNumAndVoucher | Allocates a valid invoice and voucher reference number. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canPost | Checks whether the complementary invoice can be posted. |
| createLedgerVoucher | Creates a new LedgerVoucher object to be used to post the complementary invoice. |
| createVendVoucher | Creates a VendVoucher object to be used to post the complementary invoice. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getInventoryAmount | Calculates the amount that a complementary invoice line is adding or removing from a given asset or inventory item. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Creates a new instance of the class. |
| 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.) |
| post | Posts the purchase complementary invoice. |
| postTaxes | Posts the invoice taxes. |
| postVend | Performs the posting related to the vendor. |
| processSourceDocument | Performs the posting within source document framework. |
| 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.) |
| updateAssetValue | Updates the fixed asset value. |
| updateComplementaryInvoiceStatus | Updates the complementary invoice to posted state. |
| updateFiscalDocument | Updates or creates the related fiscal document. |
| updateInventPostedValue | Updates the values of the inventoried items in the complementary invoice being posted. |
| 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.) |
| ::main | Provides an entry point for the PurchComplInvoicePost class when it is called from a menu item. |
Community Additions
ADD
Show: