TaxReport_JP::removeVersionNotMatured Method [AX 2012]

Removes records from the TaxReportByCode_JP, LedgerConsumptionTaxCalcTrans_JP, and LedgerConsumptionTaxReportTrans_JP tables if their version is less than 2.

server public static void removeVersionNotMatured(
    TaxPeriod _taxPeriod, 
    FromDate _fromDate, 
    ToDate _toDate, 
    TypeOfDeclaration_JP _typeOfDeclaration)

Run On

Server

Parameters

_taxPeriod
Type: TaxPeriod Extended Data Type
The _taxPeriod value.
_fromDate
Type: FromDate Extended Data Type
The _fromDate value.
_toDate
Type: ToDate Extended Data Type
The _toDate value.
_typeOfDeclaration
Type: TypeOfDeclaration_JP Enumeration
The _typeOfDeclaration value.
Show: