need to test for non-item receipt transactions, but I'm using this formula (summary type SUM) to get location-level Last Purchase Price (in the receipt's currency):
SUM({transaction.debitfxamount}) KEEP(DENSE_RANK LAST ORDER BY {transaction.trandate})/SUM({transaction.quantity}) KEEP(DENSE_RANK LAST ORDER BY {transaction.trandate})
David B
09/14/2023, 4:17 AM
this is for when you want to include landed costs (i.e. Accounting Preferences > Items/Transactions > Inventory > Include Landed Cost in Last Purchase Price)
I'm not doing any UOM conversion here (either into stock units, or purchase units), so this is only in Base Units.