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...
formula for negativ...
 
Notifications
Clear all

Questions [Solved] formula for negative amounts in GI (Adding Calculated Columns – Example #2)

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Royce Lithgo 3 years ago
10 Posts
3 Users
2 Reactions
1,939 Views
RSS
mna10
Posts: 10
 mna10
Topic starter
February 3, 2023 3:51 pm
(@mna10)
Eminent Member
Joined: 4 years ago

Hi, Why doesn't Acumatica automatically use the negative calculation to view negative numbers in a GI? Why does this have to be a manual user function to remember to do?


9 Replies
Royce Lithgo
Posts: 557
 Royce Lithgo
February 6, 2023 10:38 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Perhaps an example might make your issue apparent. 


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
February 6, 2023 10:56 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hi Marisa,

It looks like you're referencing one of the examples from the Course.

I agree that it's a little weird to have to do a formula to flip the [APInvoice.CuryOrigDocAmt] value from positive to negative for Debit Adjustments. But, if you look at the value in that field on the Bills and Adjustments (AP301000) data entry screen, it's always positive. It might be weird if it were negative on the data entry screen just for the sake of reporting.

In some cases, there is a field that automatically flips the sign for you though. Take a look at [ARTran.NetSalesAmount] for an example.


Reply
mna10
 mna10
(@mna10)
Joined: 4 years ago

Eminent Member
Posts: 10
February 7, 2023 3:09 pm
Reply toTim RodmanTim Rodman

@timrodman Hi Tim, yes, that is what I'm talking about. Thanks for sending the ARTran.NetSalesAmount example. Does something like that exist on the AP side?


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
February 6, 2023 11:49 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

You can use the [APInvoice.DrCr] field to make the sign flip formula trivial. 


Reply
Tim Rodman
 Tim Rodman
Admin
(@timrodman)
Joined: 10 years ago

Famed Member
Posts: 3199
February 6, 2023 11:51 pm
Reply toRoyce LithgoRoyce Lithgo

@roycelithgo Thanks for pointing that out. That's totally another way to do it.


Reply
mna10
 mna10
(@mna10)
Joined: 4 years ago

Eminent Member
Posts: 10
February 7, 2023 3:10 pm
Reply toRoyce LithgoRoyce Lithgo

@roycelithgo Hi, Thanks. can you explain how I would do so? Sorry.


Reply
Tim Rodman
 Tim Rodman
Admin
(@timrodman)
Joined: 10 years ago

Famed Member
Posts: 3199
February 7, 2023 6:15 pm
Reply tomna10mna10
Royce Lithgo

@mandreottola Oh wait, it looks like the [APInvoice.DrCr] field returns a D or a C so you'd still need to use an IIf statement.

I was thinking it returned a 1 or -1 like the [INTran.InvtMult] field does which allows you to multiply the amount that you want by [INTran.InvtMult] to get the appropriate positive or negative value.


Reply
mna10
 mna10
(@mna10)
Joined: 4 years ago

Eminent Member
Posts: 10
February 8, 2023 7:27 am
Reply toTim RodmanTim Rodman
mna10
Royce Lithgo

@timrodman Thank you Tim.


Reply
Tim Rodman reacted
Royce Lithgo
 Royce Lithgo
(@roycelithgo)
Joined: 6 years ago

Honorable Member
Posts: 557
February 12, 2023 6:30 pm
Reply toTim RodmanTim Rodman
mna10
Royce Lithgo

@timrodman Yes you need an IIf, but it's a very simple one.


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 25 Online
  • 2,414 Members
Our newest member: Megan Pawlowski
Latest Post: Credit Reference Report Needed
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.

‹›×

    ‹›×