CustVendVoucher.getTransactionTxt_BR Method [AX 2012]
This method sets class variables to be used in the setTransactionTxt and then return the trasaction text setup according to the ledgerTransTxt base enum
Syntax
public TransTxt getTransactionTxt_BR(
CustVendAC _custVendAccountNum,
TaxWithholdCode _custVendWHTCode,
InvoiceId _invoiceId,
LedgerVoucher _ledgerVoucher)
Run On
Server
Parameters
- _custVendAccountNum
Type: CustVendAC Extended Data Type
Account num from the customer/vendor
- _custVendWHTCode
Type: TaxWithholdCode Extended Data Type
Withholding tax code from the transaction
- _invoiceId
Type: InvoiceId Extended Data Type
InvoiceId from original invoice
- _ledgerVoucher
Type: LedgerVoucher Class
Ledger voucher whose transaction text refers to
Return Value
Type: TransTxt Extended Data Type
Transaction text setup according to the ledgerTransTxt base enum