I have Item say Xyz with docNo = R0001 say value 100 , Qty 5 . It is issued against 2 document No's say I01 & I02
In I01 Qty = 4 Value should be 80 . Applied Entry R0001
In I02 Qty = 1 Value should be 100 . Applied Entry R0001
Is 80 & 100 value is stored in any table against that invoices or is calculated runtime.