24 July 2023

how to get the Inventory dimension combination ItemCategory in D365F&O


InventDimCombination    inventDimCombinationLoc;
InventDim               inventDimLoc,inventDimCombLoc;
select inventDimLoc where inventDimLoc.inventDimId == prodTable.InventDimId;
select inventDimCombinationLoc join inventDimCombLoc
where inventDimCombinationLoc.ItemId == prodTable.ItemId
&&    inventDimCombinationLoc.InventDimId == inventDimCombLoc.inventDimId
&&    inventDimCombLoc.InventColorId      == inventDimLoc.InventColorId
&&    inventDimCombLoc.InventSizeId       == inventDimLoc.InventSizeId
&&    inventDimCombLoc.InventStyleId      == inventDimLoc.InventStyleId
&&    inventDimCombLoc.configId           == inventDimLoc.configId;


No comments:

Post a Comment

Give me the commetns and solutions

Ledger Voucher creation Framework and x++ code to create ledger voucher

 Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension-...