G
gatarossi
Dear all,
In my table, I have this fields:
item_code type quantity
xxxx1 IST 100
xxxx1 INV -300
xxxx1 FST 200
Then I need to do a consult that brings this:
= (FST) + (INV*-1) - (IST)
= (200) + (-300*-1) - (100)
= 400
How can I do it?
Thanks in advance!
Andre.
In my table, I have this fields:
item_code type quantity
xxxx1 IST 100
xxxx1 INV -300
xxxx1 FST 200
Then I need to do a consult that brings this:
= (FST) + (INV*-1) - (IST)
= (200) + (-300*-1) - (100)
= 400
How can I do it?
Thanks in advance!
Andre.