Bank::paymIdValidationCountryRegionISOCode Method [AX 2012]
Determines the country and region ISO code for the bank validation that is based on the main account or the offset account.
Syntax
client server public static LogisticsAddressCountryRegionISOCode paymIdValidationCountryRegionISOCode(
LedgerJournalACType _accountType,
LedgerDimensionAccount _ledgerDimension,
[BankAccountID _bankAccountID,
LedgerJournalACType _offsetAccountType,
LedgerDimensionAccount _offsetLedgerDimension])
Run On
Called
Parameters
- _accountType
Type: LedgerJournalACType Enumeration
The type of account.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The account number that includes the dimensions.
- _bankAccountID
Type: BankAccountID Extended Data Type
The bank account identification number.
- _offsetAccountType
Type: LedgerJournalACType Enumeration
The offset account type.
- _offsetLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The offset account number that includes the dimensions.
Return Value
Type: LogisticsAddressCountryRegionISOCode Extended Data Type
A country and region ISO code if applicable; otherwise, an empty string.
Remarks
The country and region ISO code returned is used to create an instance of a country specific bank class.