IntrastatTransfer_HU.isInDirectTradePurch Method [AX 2012]
Determines if a purchase order is an indirect trade.
Syntax
protected boolean isInDirectTradePurch(
IntrastatTransactionCodeId _transactionCodeId,
IntrastatPortId _portId,
AddressCountryRegionId _countryReqionIdFrom,
AddressCountryRegionId _countryReqionIdDest)
Run On
Called
Parameters
- _transactionCodeId
Type: IntrastatTransactionCodeId Extended Data Type
Id of the transaction code on the purchase order.
- _portId
Type: IntrastatPortId Extended Data Type
Id of the port on the purchase order.
- _countryReqionIdFrom
Type: AddressCountryRegionId Extended Data Type
Country region where the purchase order is from.
- _countryReqionIdDest
Type: AddressCountryRegionId Extended Data Type
Country region of the purchase order's destination.
Return Value
Type: boolean
true if the purchase order is an indirect trade; otherwise, false.