Solved

Description under AP641000 will show a zero if there is nothing on the record

  • 30 March 2023
  • 1 reply
  • 52 views

Userlevel 5
Badge

Good day Team,

 

I have a customatization that allows me to set the Bill Description from the new APPrintCheckDetailWithAdjdDoc.DocDesc, and is working as expetec, the issue, is that when there is no data the results is a zero, i have tried to use the iif statment when the Variable $DocDesc00 with valueExpr =IIF($LineNbr = 0, [APPrintCheckDetailWithAdjdDoc.DocDesc], $DocDesc00), will provide the correct value, but when the line is empty, the value is 0, if I do a IIF statement the report errors out, i have use this statement on the VisibleExpr field, but not working.

 

Any ideas how to solved this?

icon

Best answer by mbridges00 30 March 2023, 21:18

View original

1 reply

Userlevel 3
Badge +1

You will need to add the corresponding $DocDesc## variables in the collection to the top-level GroupStub as well. The “ValueExpr” in that group should be =’’.

 

You can view the current variables in that top-level group to see how it’s handled for the current variables on the report. Basically you need to set them in both the GroupStub and GroupAdjustment groups on the report, setting the actual value of the variable in the GroupAdjustment section.

 

There is likely other ways to handle this, but I’ve found it’s best to use the same structure as the existing variables on the report.

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