Solved

Add production order attributes to production ticket report AM625000


Userlevel 6
Badge +5

I have added 2 attributes to a production order.  I want to print these on the production order ticket report AM625000.

I added AMProdAttribute to the report with the following relationship.

 

I then added 2 new Text Boxes to the report with the following values:

=IIf( [AMProdAttribute.AttributeID]='STARTCASE', [AMProdAttribute.Value], '' )
the second box has this value

=IIf( [AMProdAttribute.AttributeID]='ENDCASE', [AMProdAttribute.Value], '' )

 

The first box prints as desired, but the second does not print anything.  



​​

Here are the only records in AMProdAttribute:

 

Any suggestions are greatly appreciated!!!!!

icon

Best answer by ltussing03 13 June 2022, 04:30

View original

4 replies

Userlevel 6
Badge +5

Hello,

I believe my issue may be the result of the join.

There does not seem to be a true “left outer join” option in the report builder.

I chose left thinking it was an outer join.

Which of these would produce a left outer join?

 

Userlevel 6
Badge +5

OK, I am reading there is no difference between a left join and a left outer join.

Anyone have any ideas why I only see a value on one of my text boxes and not both?

From above:

=IIf( [AMProdAttribute.AttributeID]='STARTCASE', [AMProdAttribute.Value], '' )
the second box has this value

=IIf( [AMProdAttribute.AttributeID]='ENDCASE', [AMProdAttribute.Value], '' )

 

Userlevel 6
Badge +5

Just an FYI

 

I got around this by making an attribute with a format of xxxx-xxxx.  The first 4 characters are the starting number and the second four numbers are the second number.

Userlevel 7
Badge

Thank you for sharing your solution @ltussing03 !

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