AUGForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Course
  • Consulting
  • Login
  • Register
Acumatica Forums

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

  • Overview
  • Member List
  • All-Stars
  • Stats
  • Recent Posts
  • Help
Forums
AUG Forums
Acumatica Generic I...
formula for negativ...
 
Notifications
Clear all

In order to allow me to focus on Consulting (click here) and Courses (click here), I continue to review all posts here in the Forums, but, in general, I'm only personally responding to posts that I mark as #AcumaticaTnT (click here). For Questions (click here), others may respond, or you can post over at Community.Acumatica.com (click here).
Sincerely,
Tim Rodman

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

Acumatica Generic Inquiries & Pivot Tables
Last Post by Royce Lithgo 1 month ago
10 Posts
3 Users
2 Likes
65 Views
RSS
Marisa Andreottola
Posts: 9
 Marisa Andreottola
Topic starter
February 3, 2023 3:51 pm
(@mandreottola)
Member
Joined: 9 months 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: 552
 Royce Lithgo
February 6, 2023 10:38 pm
(@roycelithgo)
Member
Joined: 3 years ago

Perhaps an example might make your issue apparent. 

Reply
Tim Rodman
Posts: 2969
 Tim Rodman
Admin
February 6, 2023 10:56 pm
(@timrodman)
Member
Joined: 8 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
Marisa Andreottola
 Marisa Andreottola
(@mandreottola)
Joined: 9 months ago

Member
Posts: 9
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: 552
 Royce Lithgo
February 6, 2023 11:49 pm
(@roycelithgo)
Member
Joined: 3 years ago

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

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

Member
Posts: 2969
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
Marisa Andreottola
 Marisa Andreottola
(@mandreottola)
Joined: 9 months ago

Member
Posts: 9
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: 8 years ago

Member
Posts: 2969
February 7, 2023 6:15 pm
Reply toMarisa AndreottolaMarisa Andreottola
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
Marisa Andreottola
 Marisa Andreottola
(@mandreottola)
Joined: 9 months ago

Member
Posts: 9
February 8, 2023 7:27 am
Reply toTim RodmanTim Rodman
Marisa Andreottola
Royce Lithgo

@timrodman Thank you Tim.

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

Member
Posts: 552
February 12, 2023 6:30 pm
Reply toTim RodmanTim Rodman
Marisa Andreottola
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
  • 11 Forums
  • 2,268 Topics
  • 9,982 Posts
  • 1 Online
  • 1,834 Members
Our newest member: Derek Wong
Latest Post: Change the number of rows in the check remittance field
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 © 2023 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×