TaxWithholdReport_IN::taxVersion Method [AX 2012]

To find the in terms of name whether it is correction or original settlement.

server public static Name taxVersion(
    TaxWithholdPaymentVersion_IN _paymentVersion, 
    TaxWithholdPeriodRecId_IN _settlementPeriod, 
    TransDate _fromDate, 
    TaxWithholdType_IN _taxType, 
    TaxInformationRecId_IN _tanNumber, 
   [NoYes _reported])

Run On

Server

Parameters

_paymentVersion
Type: TaxWithholdPaymentVersion_IN Enumeration
Payment version is used to find the record.
_settlementPeriod
Type: TaxWithholdPeriodRecId_IN Extended Data Type
Settlement is used to find the record.
_fromDate
Type: TransDate Extended Data Type
From date is used to find the record.
_taxType
Type: TaxWithholdType_IN Enumeration
Tax type is used to find the record.
_tanNumber
Type: TaxInformationRecId_IN Extended Data Type
TAN number is used to find the record.
_reported
Type: NoYes Enumeration
boolean to check earlier reported or not.

Return Value

Type: Name Extended Data Type
Return latest corection value in case of correction otherwise 0.
Show: