I'm new in scriptin and just start to learn that.
I need a script that will do next:
Script must enter sum value in my new field in POLINE. I have sql code for what I want:
select sum(linecost) from poline group by itemnum.
So every time when I create new PO, in new field must enter sum value of linecost of one item. so if I use some item few times in different PO I need to check sum of linecost is used for this item.
Thank you very much