FiscalDocumentPost_BR Class [AX 2012]
Fiscal document posting base class. Provides the infrastructe to persist a fiscal document given a ParmData object model.
| Method | Description | |
|---|---|---|
| canBePosted | Verifies whether the fiscal document PamrData object model is valid against the validation rules. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| generateAccessKey | |
| generateNumericCode | |
| getDefaultStatus | Retrieves the default fiscal document status of the FiscalDocumentParmData_BR class instance. |
| getFiscalDocument | Returns a table buffer representing the fiscal document being posted. |
| getOperationDescription | Retrieves the fiscal document operation description from the CFOP description of the first line with a CFOP. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTotalDiscountAmount | Retrieves the total discount amount of the fiscal document. |
| getTotalGoodsAmount | Retrieves the total goods amount of the fiscal document. |
| getTotalServicesAmount | Retrieves the total services amount of the fiscal document. |
| getValidationsExecutor | Instantiates the FiscalDocumentValidationsExecutor_BR class with all validations automatically added. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initCustVendTrans | Persists the fiscal document payment and the related installments of the fiscal document from the ParmData objects to the database. |
| initFiscalDocument | Persists the fiscal document header information and texts from the ParmData object to the database. |
| initFiscalDocumentLineMiscCharges | Persists the given fiscal document miscellaneous charges from the ParmData object to the database for a given line. |
| initFiscalDocumentLines | Persists the fiscal document lines information, source transaction references, texts, taxes and miscellaneous charges from the ParmData object to the database. |
| initFiscalDocumentLineTaxes | Persists the given fiscal document taxes from the ParmData object to the database for a given line. |
| initFiscalReference | Persists the referenced fiscal documents from the ParmData objects to the database. |
| initShipmentStat | Persists the shipment parcels from the ParmData objects to the database. |
| new | Creates a new instance of FiscalDocumentPost_BR. |
| 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.) |
| run | This is the method that actually starts the Fiscal Document posting process. It will verify whether there are any validation problems with the ParmData object model passed in the constructor and, if there is no validation problems, it will persist the ParmData object model into the Fiscal Document tables. |
| setCityWhereServicePerformed | |
| 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.) |
| updateElectronicFiscalDocument | |
| updateImportedEFDocumentCity | Updates existing FiscalDocument_BR and EFDocumentCity_BR records from return NF-e services file. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateCityFiscalDocument | Validates the city fiscal document. |
| wait | Pauses a process. (Inherited from Object.) |
| write | Calls the methods that persist the fiscal document from the ParmData objects to the database. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::cancelFiscalDocument | Cancel or reverse a fiscal document. |
Community Additions
ADD
Show: