TaxWithHoldReport.post Method [AX 2012]
Posts one leger voucher record for given parameters.
Syntax
protected void post(
LedgerDimensionAccount _taxledgerDimension,
LedgerDimensionAccount _taxWithholdReportDimension,
Dimension _dimension,
CurrencyCode _currencyCode,
TaxAmount _taxAmount,
TaxAmount _taxAmountMST,
CurrencyExchangeHelper _currencyHelper)
Run On
Server
Parameters
- _taxledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The tax ledger dimension.
- _taxWithholdReportDimension
Type: LedgerDimensionAccount Extended Data Type
The report dimension of withholding tax.
- _dimension
Type: Dimension Extended Data Type
The department number.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code.
- _taxAmount
Type: TaxAmount Extended Data Type
The tax amount.
- _taxAmountMST
Type: TaxAmount Extended Data Type
The tax amount MST.
- _currencyHelper
Type: CurrencyExchangeHelper Class
An instance of CurrencyExchangeHelper