SalesPurchJournalLine_IN.checkCustomsTariffCode Method [AX 2012]

Checks whether the customs tariff code is valid.

public boolean checkCustomsTariffCode(
    RefRecId _customsTariffCodeTableRecId, 
    Direction_IN _direction, 
   [CompanyId _companyId])

Run On



Type: RefRecId Extended Data Type
The customs tariff code table record ID.
Type: Direction_IN Enumeration
The tariff direction.
Type: CompanyId Extended Data Type
The company ID information.

Return Value

Type: boolean
true if the customs tariff code is valid; otherwise, false.