Skip to main content
Solved

Is there a way to add report logic to pull the alternate ID based on the value of the Alternate Type?

  • June 28, 2024
  • 1 reply
  • 95 views

Hello, 

My company has multiple cross references for each product. One is global, one is an ISBN, and another is a Customer/Vendor part number. 

On my SO report and Invoice report, I need to include the ISBN. I am having trouble writing the logic necessary to say that if the alternate type is GTIN/EAN/UPC/ISBN then pull the alternate ID. If null, nothing. 

Thanks​​​

Best answer by ejmillar

You need to join INItemXRef like below….

 

 

Then use the following expression:

=IIF([INItemXRef.Descr]=Null,[ARTran.InventoryID_description],[INItemXRef.Descr])

View original
Did this topic help you find an answer to your question?

1 reply

ejmillar
Varsity II
Forum|alt.badge.img+1
  • Varsity II
  • 60 replies
  • Answer
  • June 28, 2024

You need to join INItemXRef like below….

 

 

Then use the following expression:

=IIF([INItemXRef.Descr]=Null,[ARTran.InventoryID_description],[INItemXRef.Descr])


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings