Skip to main content
Solved

Multiple IIfs


Forum|alt.badge.img+1

Hello,

Can somebody pls help me w/ this,

Above is my formula giving me the following results:

  1. [TranDesc] + Serial Nbr (if SerialNbr is not null)
  2. [SerialNbr] (if previous TranDesc is equals to TranDesc)
  3. [TranDesc] (if LineType is Non-Stock)

However, I have a problem, the highlighted part still comes out tho item has no SerialNbr. I can’t see where I’m wrong or how to add that.

Thank you in advance!

Best answer by kdavis45

Have you tried adding [POReceiptLineSplit.LotSerialNbr]<>’’ in the first Iif? That’s usually my go-to when NULL isn’t giving me the results I’d expect.

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

2 replies

kdavis45
Semi-Pro I
Forum|alt.badge.img+1
  • Semi-Pro I
  • 41 replies
  • Answer
  • March 8, 2023

Have you tried adding [POReceiptLineSplit.LotSerialNbr]<>’’ in the first Iif? That’s usually my go-to when NULL isn’t giving me the results I’d expect.


Forum|alt.badge.img+1
  • Author
  • Semi-Pro II
  • 92 replies
  • March 8, 2023
kdavis45 wrote:

Have you tried adding [POReceiptLineSplit.LotSerialNbr]<>’’ in the first Iif? 

Thanks. Yeah I was wrong there.


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