AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • 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...
A monster problem -...
 
Notifications
Clear all

Questions A monster problem - ARPayment.CuryUnappliedBal

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 1 year ago
2 Posts
2 Users
0 Reactions
679 Views
RSS
mredamon
Posts: 5
 mredamon
Topic starter
April 4, 2024 8:58 pm
(@mredamon)
Active Member
Joined: 5 years ago

It appears that in Acumatica, according to DAC, payment balance (ARPayment.CuryUnappliedBal) is Nonexistent in DB.

I need to present this value to a generic inquiry, in order to accurately calculate what part of the payment is NOT applied anywhere. It's part of a larger effort to Automate refund creation. I've been trying for months and I cannot figure out how to build this value myself. The building blocks seem to be:

SOAdjust

ARPayment

ARAdjust

ARAdjust2

 

Is this a fools errand? I've found in my years working with Acumatica that some things that are calculated values on a screen and Nonexistent in DB, can be pieced together with math, and quitting is not my MO. But there's a chance this one MAY be impossible.

Some of our payments are applied to multiple SOs and Invoices.

1 Reply
Tim Rodman
Posts: 3192
 Tim Rodman
Admin
May 8, 2024 9:32 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Try joining from ARAdjust to ARPayment on ARAdjust.AdjgDocType=ARPayment.DocType and ARAdjust.AdjgRefNbr=ARPayment.RefNbr, then group by ARPayment.DocType and ARPayment.RefNbr so you only get one record per payment. Then you can sum up the ARAdjust.CuryAdjgAmt amounts to know how much of the payment has been applied.

I think of the fields that start with "Adjd" as "Adjusted" fields since they pertain to the Invoice records that were "Adjusted" by the Payment.

I think of the fields that start with "Adjg" as "Adjusting" fields since they pertain to the Payment records that are doing the "Adjusting".

Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,519 Topics
  • 10.9 K Posts
  • 12 Online
  • 2,309 Members
Our newest member: Jason Rhodes
Latest Post: Hello Everyone ,
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

  • Julie Baker
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×