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 Report De...
Add Payment amount ...
 
Notifications
Clear all

Questions Add Payment amount to SO Invoice Form

 
Acumatica Report Designer
Last Post by Travis 2 years ago
12 Posts
6 Users
5 Reactions
3,267 Views
RSS
nickheuer
Posts: 36
 nickheuer
Topic starter
December 27, 2017 3:47 pm
(@nickheuer)
Trusted Member
Joined: 6 years ago

Trying to add a field in the totals section for the amount paid in the SO Invoice form. I have tried [SOInvoice.CuryPaymentTotal] and [SOOrder.CuryPaymentTotal] but nothing is returned even when their is a value in the invoice.


11 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
December 27, 2017 7:01 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Unfortunately there are some fields that only calculate in the screen and this is one of them. I'm not 100% sure, but I think the reason for it has to do with performance concerns.

It should be a pretty light customization for them to enable this field in the DAC to calculate globally and not just in the screen.

You might even ask how to do it on StackOverflow and maybe a developer will do it for you.


Reply
Dennis Easter
Posts: 15
 Dennis Easter
May 30, 2019 2:11 pm
(@deaster)
Eminent Member
Joined: 6 years ago

We did this by creating a subreport and passing the total payments to a variable, then returning the variable in the totals section.


Reply
KimM and Kim reacted
Peter Miller
 Peter Miller
(@pmiller)
Joined: 3 years ago

Active Member
Posts: 6
December 7, 2023 10:26 am
Reply toDennis EasterDennis Easter

@deaster Hi Dennis.  We have have a need to pull the total amount paid on a Project and display it on a report.   Would you be willing to share specifics on how you did this?


Reply
Dennis Easter
 Dennis Easter
(@deaster)
Joined: 6 years ago

Eminent Member
Posts: 15
December 15, 2023 3:59 pm
Reply toPeter MillerPeter Miller
Dennis Easter

@pmiller I can share the report, but you will need to adjust the logic for using it on projects.  Send me your email address please.

 

D


Reply
Tim Rodman reacted
Peter Miller
 Peter Miller
(@pmiller)
Joined: 3 years ago

Active Member
Posts: 6
December 21, 2023 10:31 am
Reply toDennis EasterDennis Easter
Peter Miller
Dennis Easter

@deaster Hi Dennis.  I appreciate the assist.  my email is peter@bradfordproducts.com


Reply
Peter Miller
 Peter Miller
(@pmiller)
Joined: 3 years ago

Active Member
Posts: 6
December 21, 2023 10:31 am
Reply toDennis EasterDennis Easter
Peter Miller
Dennis Easter

@deaster Hi Dennis.  I appreciate the assist.  my email is peter@bradfordproducts.com


Reply
Kim
 Kim
(@kim)
Joined: 5 years ago

New Member
Posts: 3
December 23, 2023 11:46 am
Reply toPeter MillerPeter Miller
Dennis Easter
Peter Miller
Dennis Easter

@pmiller We went the sub report route as well.  If you don't get the sub report from Dennis next week reply to me and I will share the report.


Reply
Peter Miller
 Peter Miller
(@pmiller)
Joined: 3 years ago

Active Member
Posts: 6
December 26, 2023 8:54 am
Reply toKimKim
Peter Miller
Dennis Easter
Peter Miller
Dennis Easter

@kim Hi Kim, thank you for the response.  I have not heard from Dennis yet so if you're willing to share yours I'd love to have it.


Reply
Kim
 Kim
(@kim)
Joined: 5 years ago

New Member
Posts: 3
December 27, 2023 4:12 pm
Reply toPeter MillerPeter Miller
Kim
Peter Miller
Dennis Easter
Dennis Easter

@pmiller I guess I got a little confused reading through the thread the other night.  The subreport that I created is in the SO Order report to add payment totals to the order.

soorderpaymenttotalsubrpt - Copy.rpx
SubReportVariableReturn   Copy

 

I hope this helps some.


Reply
Tim Rodman reacted
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
June 7, 2019 10:41 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Good idea to use a variable Dennis. Then you were able to use the same variable in a calculation in addition to displaying the value?


Reply
Travis
Posts: 41
 Travis
January 15, 2024 8:32 am
(@travisl)
Trusted Member
Joined: 3 years ago

Created a subreport using ARAdjust2 table.  Parameters I used was string of RefNbr.  Filter is ARAdjust2.AdjdRefNbr = @RefNbr.

 

On the detailSection1 I created a variable collection:

Variable Name:  Payment

=switch(
[ARAdjust2.AdjgDocType] = 'PMT', [ARAdjust2.CuryAdjdAmt],
[ARAdjust2.AdjgDocType] = 'CRM', -1*([ARAdjust2.CuryAdjdAmt])
)

Variable Name:  PaidTotal 

=$PaidTotal + $Payment

 

groupFooterSection1:  TextBox with value of =$PaidTotal

 

Main report:  Added the subreport to my Header of Line Documents.  Set the parameters for RefNbr.

In my Footer of Line Documents I created a variables collection:

Variable Name:  $PAIDLineAmt

=switch(
[<table>.ARDocType] = 'CRM', round(-1*[$PaidAmount_PaidTotal],2),
[<table>.ARDocType] = 'INV', round([$PaidAmount_PaidTotal],2)
)

 

Variable Name:  $PAIDTotal

=$PAIDTotal + $PAIDLineAmt

 

Then a textbox for =$PAIDLineAmt

 

I did it this way so I can reference $PAIDLineAmt in the various formulas being used in the report and I never have to change them.  Just change the one variable if something doesn't do the way you want. 


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 66 Online
  • 2,405 Members
Our newest member: Brittany Bartman
Latest Post: Importing Acumatica User Roles / User Security Permissions from Excel
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 © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×