We have a GI that provides PO Receipt Information. We would like the GI to exclude Returns and associated PO lines (hide them). Is there a function similar to VLookup that can be used? Below screen shot is one of the examples we are using.
We tried the below formula but that is not working.
I have attached a xml file of the GI. Any suggestions would be helpful, thank you!
Best answer by Robert Sternberg
Yes that's correct. Here are the steps explained, I also attached the working Generic Inquiry.
Add Table POReceiptLine Aliased as POReceiptLineReturnAdd your relations so POReceiptLineReturn provides return details of a POReceiptLineSet a condition to exclude any Receipts with ReturnsYou can check the results by disabling the condition above and enabling visibility for the ACUCOMMUNITY_ReturnReceiptNbr Field
How about adding the condition OrigReceiptNbr IS EMPTY? Would this accomplish your goal, if not could you elaborate on the issue you are trying to solve.
Hi @darylbowman and @Robert Sternberg, thank you for sharing your ideas. However that is not what we are looking for.
Below is an example:
If the return contains the original receipt nbr and if the line nbr is the same - we would like to exclude the receipt line completely. That is if concatenation of (OriginalReceiptNbr, LineNbr) is the same as Concatenation of (ReceiptNbr,Linebr) then exclude. (In this case it needs to exclude the highlighted line in green)
Which is why we wanted to know if there is a function similar to Vlookup in acumatica GI. Can this be done in acumatica GIs? Thank you!
Yes that's correct. Here are the steps explained, I also attached the working Generic Inquiry.
Add Table POReceiptLine Aliased as POReceiptLineReturnAdd your relations so POReceiptLineReturn provides return details of a POReceiptLineSet a condition to exclude any Receipts with ReturnsYou can check the results by disabling the condition above and enabling visibility for the ACUCOMMUNITY_ReturnReceiptNbr Field