LadyAmpherion
Technical User
Part II: I now have my Actual Qty Received or the Zero Value using Katy44 if is Null(RCVDQTY) ... et cetera
The next part is similar but a little more complicated ...
when any amount is received, the RCVDCOST Value gets updated from the Receipt against the Purchase ORder; however if there are ZERO receipts then there is ZERO RCVDCOST.
The Value that I need to pull is on the PODETAIL ... and using the following Scenerio (thanks to Midearth):
numbervar x:=ACTCOST;
if ACTCOST > 0 then x else PODETAILPRICE
I actually get the Correct Value, BUT I Lose some line items and other line items get Doubled ... and there appears to be no pattern that I can ascertain, as some of the single entries remain as single entries.
*** of course, should there not be a PO Value, then I would have to pull the Budget Value .... which is in the same table as the RCVD Value ... so I'm really looking for the correct way to write
X = RCVD Value unless zero, then X = PO Value unless zero, then X = Budget Cost ... [RCVD Value and Budget Cost are in the Job Details Table, PO Value is in the PO Details Table]
I'm sorry to be so ignorant ... and welcome all of your assistance. Thanks again for any help that I may receive!
The next part is similar but a little more complicated ...
when any amount is received, the RCVDCOST Value gets updated from the Receipt against the Purchase ORder; however if there are ZERO receipts then there is ZERO RCVDCOST.
The Value that I need to pull is on the PODETAIL ... and using the following Scenerio (thanks to Midearth):
numbervar x:=ACTCOST;
if ACTCOST > 0 then x else PODETAILPRICE
I actually get the Correct Value, BUT I Lose some line items and other line items get Doubled ... and there appears to be no pattern that I can ascertain, as some of the single entries remain as single entries.
*** of course, should there not be a PO Value, then I would have to pull the Budget Value .... which is in the same table as the RCVD Value ... so I'm really looking for the correct way to write
X = RCVD Value unless zero, then X = PO Value unless zero, then X = Budget Cost ... [RCVD Value and Budget Cost are in the Job Details Table, PO Value is in the PO Details Table]
I'm sorry to be so ignorant ... and welcome all of your assistance. Thanks again for any help that I may receive!