Hi everyone, does anyone help me regarding purchas...
# suiteanalytics
s
Hi everyone, does anyone help me regarding purchase order dataset. I have created a field in that dataset --> Open qty = Qty - Qty on shipments Qty Qty on Shipments open qty Transaction line : Closed. 10 5 5 T Scenerio: When transaction line is closed (T), then open qty value should be zero. When transaction line is not closed (F), then open qty value should be value.
I need a formula regarding these scenerios for that.
l
case when [transaction line status] <> ‘Closed’ then [quantity] - [qty shipped] else 0 end
s
In open qty, I am using this formula and already have some formula related to that. Can you pls here.
l
need to add = ‘F’ after isclosed
s
Sorry, i didn't understand.
l
CASE WHEN {transactionlines.isclosed} = ‘F’ THEN ({transactionlines.quantity}- NVL ({transactionlines.quantityonshipments}, 0)) ELSE 0 END
s
Ok, I will check it and will update.
Still, I am getting same issue. From my end is there anything need to be do backend data run or some more add info in that formula.
l
if you copied and paste what I sent, replace the single quotes because slack changes that to another character
s
I did that, but from my side it is getting same thing when transaction.line is not closed, open qty should be value but some are getting 0.
Ok, I thing this will be backend user error and I will check it with my sourcing manager. Great, thank you for your response and feedback.