CatCartLine::findTradeAgreementInventDimForProduct Method
Finds the InventDim that is associated with the trade agreement for the given distinct product released in the given data area, for the given vendor with the given quantity of purchase.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static InventDim findTradeAgreementInventDimForProduct(
DataAreaId _dataAreaId,
EcoResDistinctProduct _distinctProduct,
AccountNum _vendorAccountNumber,
InventQty _quantity,
[TransDate _effectiveDate,
CurrencyCode _currencyCode])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static InventDim findTradeAgreementInventDimForProduct(
DataAreaId _dataAreaId,
EcoResDistinctProduct _distinctProduct,
AccountNum _vendorAccountNumber,
InventQty _quantity,
[TransDate _effectiveDate])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static InventDim findTradeAgreementInventDimForProduct(
DataAreaId _dataAreaId,
EcoResDistinctProduct _distinctProduct,
AccountNum _vendorAccountNumber,
InventQty _quantity,
[TransDate _effectiveDate])
Microsoft Dynamics AX 2012 (FPK)
client server public static InventDim findTradeAgreementInventDimForProduct(
DataAreaId _dataAreaId,
EcoResDistinctProduct _distinctProduct,
AccountNum _vendorAccountNumber,
InventQty _quantity,
[TransDate _effectiveDate])
Microsoft Dynamics AX 2012 (SYS)
client server public static InventDim findTradeAgreementInventDimForProduct(
DataAreaId _dataAreaId,
EcoResDistinctProduct _distinctProduct,
AccountNum _vendorAccountNumber,
InventQty _quantity,
[TransDate _effectiveDate])
Run On
Called
Parameters
- _dataAreaId
Type: DataAreaId Extended Data Type
The data area to find the InventDim in.
- _distinctProduct
Type: EcoResDistinctProduct Table
The distinct product to find the trade agreement InventDim for.
- _vendorAccountNumber
Type: AccountNum Extended Data Type
The vendor account number for which to find the InventDim table.
- _quantity
Type: InventQty Extended Data Type
The quantity to find the trade agreement InventDim table.
- _effectiveDate
Type: TransDate Extended Data Type
The effective date of the trade agreement to find InventDim for.
- _currencyCode
Type: CurrencyCode Extended Data Type
Return Value
Type: InventDim Table
The InventDim found.
Remarks
The trade agreement will be in the given data area, for the given product, for the given vendor, for the given amount, effective on the given date.