AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Generic I...
Values rendered cha...
 
Notifications
Clear all

Questions Values rendered change based on usage of formula when multiplied by 1

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 7 years ago
3 Posts
3 Users
0 Reactions
1,597 Views
RSS
Rob Cushen
Posts: 24
 Rob Cushen
Topic starter
July 16, 2019 7:55 am
(@robcushen)
Eminent Member
Joined: 6 years ago

Hi,

Don't know if it is something I may have caused with an improper join or whatnot? 

But "some" values rendered on "some" lines appear to be multiples of the correct value, or in some cases the columns in which the the value appears seem to be incorrect.  The row counts however, appear to be correct.

For example, ARTran.NetSalesAmount may render as $700 which is double the expected value.  Oddly enough, when I change the output to  a simple formula [ARTran.NetSalesAmount] * 1 the expected value of $350 is rendered.

Also had an issue where on "some" lines ARTran.UnitPrice and ARTran.Qty values appeared to be rendering in each others column (i.e., UnitPrice was showing in the Qty column and vice versa).  Once again multiplying the values by 1 appears to have fixed it. 

Anyone ever run across anything resembling this scenario?

Thanks!


2 Replies
Wyatt.ERP
Posts: 128
 Wyatt.ERP
July 17, 2019 10:54 am
(@wyatt-erp)
Estimable Member
Joined: 6 years ago

Hi Rob,

You can try cleaning up your mixed up field displays by resetting your column configuration to default.  I had some users with similar issues pop up and this solved it for them.

I think the first two suspects for your first issue with ARTran.NetSalesAmount would be caused by either a Group By (if you have any) or due to the field being a calculated DAC field. 

You can check if Group By is an issue pretty easily.  Does your GI use any Group Bys?  If yes, try adding ARTran.NetSalesAmount into your Group By. 

If that doesn't work, and assuming there aren't other issues with the query, I feel like the strange behavior could be due to the field being calculated and the way Acumatica builds the SQL for the GI.  You can investigate further if you use Trace to grab the generated SQL for the GI after running it both with and without the * 1 workaround.

If you are interested in seeing if your fields are Calculated or not, without official schema documentation, you'll have to check out attributes in the DAC code.  Look for [PXDecimal] instead of [PXDBDecimal] attributes on the fields.

Good luck!


Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
September 7, 2019 10:24 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I experienced behavior like this a couple of months ago when trying to use Acumatica Dashboards to deliver KPIs based on Calculated Columns (with Formulas) in the underlying Generic Inquiry. The SQL that got generated was bizarre and I couldn't figure out how to trick it into doing what I wanted. But I personally haven't run into this problem yet myself in a Generic Inquiry itself.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,530 Topics
  • 11 K Posts
  • 5 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Negative/Credit Inventory Value?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×