Solved

Multiple IIfs

  • 8 March 2023
  • 2 replies
  • 170 views

Userlevel 3
Badge +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!

icon

Best answer by kdavis45 8 March 2023, 16:06

View original

2 replies

Userlevel 4
Badge +1

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.

Userlevel 3
Badge +1

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

Thanks. Yeah I was wrong there.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved