SalesTaxDeclarationInfoReportController::cancelReportForTaxReportPeriod Method [AX 2012]
Cancels tax report for the tax report period.
Syntax
server public static void cancelReportForTaxReportPeriod(
TaxPeriod _taxPeriod,
TaxPeriodDate _fromDate,
TaxPeriodDate _toDate)
Run On
Server
Parameters
- _taxPeriod
Type: TaxPeriod Extended Data Type
The tax report period.
- _fromDate
Type: TaxPeriodDate Extended Data Type
The tax report period start date.
- _toDate
Type: TaxPeriodDate Extended Data Type
The tax report period end date.
Exceptions
Exception | Condition |
---|---|
Error | Only the last reporting period can be canceled. |