Hi.
I have a Stock Ledger Report which most of the fields required are from this query:
select * from INVENTTRANS
join INVENTTRANSORIGIN on INVENTTRANS.INVENTTRANSORIGIN = INVENTTRANSORIGIN.RECID
join INVENTDIM on INVENTTRANS.INVENTDIMID = INVENTDIM.INVENTDIMID
join INVENTITEMGROUPITEM on INVENTTRANS.ITEMID = INVENTITEMGROUPITEM.ITEMID
and INVENTTRANS.DATAAREAID = INVENTITEMGROUPITEM.ITEMDATAAREAID
The thing is, I need to add a Cost field which needed to be derived from the InventoryFinancialAmount + InventoryPhysicalPostedAmount fields in Inventory Value Report.
But I'm unable to properly relate the Inventory Value Report with my current query even though I found out from here that those two fields are from InventTrans table.
The whole Inventory Value Report itself is pretty confusing for me. There's so much tables related to this report I got lost while searching. I feel like I'm so close yet so far away.
Would appreciate some insights for this.
Thank You.
*This post is locked for comments
I have the same question (0)