ClowneUser
MIS
Hi,
OK so what I'm trying to do is do perform a calculation depending on the TRANSACTION CODE... so in the example below the OOREC transaction are parts produced and SUNREC are parts scrapped, so for ORDER_NO 12345 we need to add the OOREC with is 150 and subtract the SUNREC 25 which should give the result of 125.
This is probably really simple to do but my brain has gone blank, so any help would be appreciated.
Regards,
Mick.
OK so what I'm trying to do is do perform a calculation depending on the TRANSACTION CODE... so in the example below the OOREC transaction are parts produced and SUNREC are parts scrapped, so for ORDER_NO 12345 we need to add the OOREC with is 150 and subtract the SUNREC 25 which should give the result of 125.
Code:
TRANSACTION CODE DATE QTY ORDER_NO PART_NO
OOREC 13/08/2018 100 12345 M1234
OOREC 14/8/2018 50 12345 M1234
SUNREC 14/8/2018 25 12345 M1234
Regards,
Mick.