Can you check :
- The valuation omethod of items managed by serial number? I think the OSRN costtotal will have value only if the valuation method is by serial/batch.
- Serial number transaction report for an item with serial number to make sure that AR Invoice has items with serial number to make sure that the disc
Run this query and see if you get any result:
select t0.DocNum,T0.DocDate, T1.ItemCode,T2.DistNumber ,t1.SerialNum 'S.No on AR Invoice', t1.PriceBefDi as 'Unit Price on Ar Invoice', t2.CostTotal as 'Cost of Serial Number'
from OINV T0
left JOIN INV1 T1 ON T1.DocEntry =T0.DOCENTRY
left JOIN OSRN T2 ON T2.ItemCode = T1.ItemCode and T2.DistNumber = T1.SerialNum
where t1.SerialNum is not null
Thanks,
Joseph