TaxWithholdReport_IN::counterMax Method [AX 2012]
to find the maximum counter value
Syntax
server public static Counter counterMax(
TaxWithholdPaymentVersion_IN _paymentVersion,
TaxWithholdPeriodRecId_IN _period,
TransDate _fromDate,
TaxWithholdType_IN _taxType,
TaxInformationRecId_IN _tanNumber)
Run On
Server
Parameters
- _paymentVersion
Type: TaxWithholdPaymentVersion_IN Enumeration
Payment version is used to find the record.
- _period
Type: TaxWithholdPeriodRecId_IN Extended Data Type
Period 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.
Return Value
Type: Counter Extended Data Type
Maximum counter value.