📚 SAP Business One SDK Help

Country Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileImports data from an XML file to the object.
Public Method FromXMLStringImports data from an XML string to the object.
Public Method GetXMLSchemaRetrieves the XML schema of the data structure.
Public Method ToXMLFileCreates an XML file that represents the object data.
Public Method ToXMLStringCreates an XML string that represents the object data.

Public Properties

Public Property AddressFormatSets or returns the postal address format used by the country. The postal address format must be already presented in the Address Formats table (foreign key to OADF).

Field name: AddrFormat.

Public Property BankAccountDigitsSets or returns the number of digits for the bank account number. Used for bank account validation. If greater than zero, it determines how many digits or characters has a valid bank account number for the specific country. If zero, the number of digits is not validated for bank account numbers for the specific country.

Field name: BnkActDgts.

Public Property BankBranchDigitsSets or returns the number of digits for the bank branch number. Used for bank account validation. If greater than zero, it determines how many digits or characters has a valid bank branch number for the specific country. If zero, the number of digits is not validated for bank branch numbers for the specific country.

Field name: BnkBchDgts.

Public Property BankCodeDigitsSets or returns the number of digits for the bank code. Used for bank account validation. If greater than zero, it determines how many digits or characters has a valid bank branch number for the specific country. If zero, the number of digits is not validated for bank branch numbers for the specific country.

Field name: BnkCodDgts.

Public Property BankControlKeyDigitsSets or returns the number of digits for the bank control key. Used for bank account validation. If greater than zero, it determines how many digits or characters has a valid bank control key for the specific country. If zero, the number of digits is not validated for bank control key numbers for the specific country.

Field name: BnkCtKDgts.

Public Property Blacklistedproperty Blacklisted
Public Property CodeSets or returns the country code.

Field name: code.

Character length: 3.

Public Property CodeForReportsSets or returns the country code for the reports.

Field name: ReportCode.

Character length: 3.

Public Property DomesticAccountValidationSets or returns a valid value for special validation of specific countries' bank accounts. If set to one of the valid values, it activates a country specific bank account number validation algorithm. The algorithms usually performs additional validations that are more complex than simple number of digits checks. These algorithms are currently available for certain countries in SAP Business One. If empty or XX, not country specific bank account number validation is performed.
Public Property EAEUproperty EAEU
Public Property EUSets or returns a valid value that specifies whether or not the country is a member of the European Union.
Public Property IbanValidationSets or returns a valid value that specifies whether or not to perform IBAN validation for the specified country.
Public Property ISOAlpha2Code2 character ISO country code.

Field name: ISO2Code.

Length: 2.

Public Property ISOAlpha3Code3 character ISO country code.

Field name: ISO3Code.

Length: 3.

Public Property ISONumeric3 numeric ISO country code.

Field name: ISONumeric.

Length: 3.

Public Property NameSets or returns the name of the country.

Field name: Name.

Character length: 100.

Public Property NumberOfDigitsForTaxIDSets or returns the number of digits of a valid Tax ID in the specified country. 

Field name: TaxIdDigts.

Public Property UICCountryCodeUIC country code.

Field name: UICCode.

Length: 3.

Public Property UserFieldsReturns the UserFields object.

See Also