RAssetTaxDeclaration::exportToER Method [AX 2012]
Exports the tax declaration into the electronic reports.
Syntax
client server public static void exportToER(
ComExcelDocument_RU _excelDocument,
Filename _templateFileName,
LedgerRRGETemplateId_W _templateId,
Description _description,
LedgerRRGEDocumentSenderWorker_W _workerRecId)
Run On
Called
Parameters
- _excelDocument
Type: ComExcelDocument_RU Class
An instance of ComExcelDocument_RU class.
- _templateFileName
Type: Filename Extended Data Type
A template file name of the electronic report.
- _templateId
Type: LedgerRRGETemplateId_W Extended Data Type
A template id of the electronic report.
- _description
Type: Description Extended Data Type
A description of the electronic report.
- _workerRecId
Type: LedgerRRGEDocumentSenderWorker_W Extended Data Type
A sender of the electronic report.
Exceptions
Exception | Condition |
---|---|
Error | A number sequence isn't set up for the electronic reports. |