Hi Experts,
My requirement is to calculate the Goods Receipt and Invoice Receipt quantity for single Purchase order.
for eg : 1 PO has quantity - > 25.
{ if GR < IR } it should go to block .
consider 3 GR'S are there for single PO and 1 IR
( GR - > 8
GR - > 7
GR - > 10 )
IR - > 25.
in the first loop it has to check with ( 8 - 25) (25- 8 = 17)
then ( 7 - 17) (17- 7 = 10)
then (10 -10)
how to build the logic for this?