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 Analytica...
Print Branch Name i...
 
Notifications
Clear all

Questions Print Branch Name in Header ARM Report

 
Acumatica Analytical Report Manager (Financial Report Writer)
Last Post by NickSM 3 years ago
18 Posts
6 Users
3 Reactions
6,611 Views
RSS
Posts: 2
 LarCigar
Topic starter
October 27, 2017 2:06 pm
(@larcigar)
Member
Joined: 8 years ago

I am a "novice" with respect to creating ARM reports and am attempting to learn as much as possible...

I have a Balance Sheet ARM report that request the Starting and Ending Branch.

In the Column Header section I have  =@StartBranch + ' TO '  + @EndBranch.  (e.g. 2AOto 3BB)

This prints the Branch ID. Is it possible to also print the Branch Name as well?  (e.g. 2 Apple Orchard to 3 Bubbling Brook) and what is the "coding"

More importantly where would I have found this information.

 


17 Replies
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
October 27, 2017 2:27 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hey LarCigar,

Novices welcome here. I'm still a novice myself, learning something new about Acumatica every day.

If you put the branch in the @StartBranch or @EndBranch, then you can use those parameters with the Branch ID as you discovered. But there is no @StartBranchName or @EndBranchName parameter as far as I know.

You can see the full list of available parameters (eg. @StartBranch and @EndBranch):

There is a @BranchName parameter, but I'm pretty sure that it only pulls the Branch from the @StartBranch field. Also, if you are using a Unit Set, it will pull the values from the Unit Set.


Reply
JLange
Posts: 45
 JLange
February 20, 2018 8:59 pm
(@jlange)
Trusted Member
Joined: 6 years ago

There is an Application function:

=Report.GetBranchText(@StartBranch)

 

This will give the Branch Name


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
February 21, 2018 5:10 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Brilliant! Thanks for sharing @julian-axsys


Reply
JLange
Posts: 45
 JLange
April 13, 2018 1:25 am
(@jlange)
Trusted Member
Joined: 6 years ago

Worked out how the GetDescription works in the Column set to get names rather than ID.  As above they have added a specific function for GetBranchText but they don't for Sub Account which was quite annoying.  There are no examples of how the GetDescription should be setup.  Basically you need to find a form where the Selector is used to select the value so that you can find the dataclass it uses.  In this case the Budget Configuration has a selector for subaccount rather than using the F3 pop-up.

Then the Syntax is:

=Report.GetDescription('GLBudgetTree.SubID', @StartSub)


Reply
NickSM reacted
NickSM
 NickSM
(@nicksm)
Joined: 6 years ago

Trusted Member
Posts: 46
November 29, 2022 12:36 am
Reply toJLangeJLange

Hi @jlange

Do you happen to know how to get the Attribute for Description to flow into a Report.GetBranchName() per chance?

image

Reply
JLange
 JLange
(@jlange)
Joined: 6 years ago

Trusted Member
Posts: 45
November 29, 2022 5:32 pm
Reply toNickSMNickSM
JLange

@nicksm  long time no speak 🙂

 

Don't think I've got those functions to work in the column attributes, only the Column headings.  Haven't played in this area for a while 😉

 

If I get some time I'll have a crack and let you know

 


Reply
NickSM
 NickSM
(@nicksm)
Joined: 6 years ago

Trusted Member
Posts: 46
November 29, 2022 5:48 pm
Reply toJLangeJLange
NickSM
JLange

@jlange Long time indeed

I'm actually trying to pass the RMColumn.Description or RMColumn.DataSourceID in to the text at the top of the report. For each column I usually use a Report.GetBranchName('C000') for example, but I have to hard code the EntityID, which is why I wanted to be smarter.

image

Should just use Velixo, but I'm adamant it can be done 😀


Reply
JLange
 JLange
(@jlange)
Joined: 6 years ago

Trusted Member
Posts: 45
November 29, 2022 6:27 pm
Reply toNickSMNickSM
JLange
NickSM
JLange

@nicksm hmmm interesting.  You would need to be able to Access the Data Source data to identify the branch that column is filtered to?

 


Reply
NickSM
 NickSM
(@nicksm)
Joined: 6 years ago

Trusted Member
Posts: 46
December 6, 2022 3:09 pm
Reply toJLangeJLange
NickSM
JLange
NickSM
JLange

@jlange Correct. It just makes it simpler than hard-coding the CompanyID each time.


Reply
Tim Rodman reacted
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
April 13, 2018 5:04 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Nice trick to find the DAC field!

But I'm not able to get your formula to work.

 

First, I told a line in the Row Sets (CS206010) screen to expand by Subaccount:

 

Then, I added a calculated column in the Column Sets (CS206020) screen with your formula:

 

But nothing prints on the report:

 

What am I missing?


Reply
JLange
 JLange
(@jlange)
Joined: 6 years ago

Trusted Member
Posts: 45
April 13, 2018 8:23 pm
Reply toTim RodmanTim Rodman

SOrry Tim, I should've mentioned that I was only using it in the Header section of the column set 🙂  I think we would have to identify the SubID field that it feeds in on the row to try an get that to work?  The @StartSubID is only the parameter from the report


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
April 15, 2018 10:33 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Ah, of course. Silly me. We're referencing the parameter from the report here, not the individual lines from the Row Set. Thanks for clearing that up.


Reply
Ronita Hay
 Ronita Hay
(@rh26)
Joined: 6 years ago

Eminent Member
Posts: 22
July 31, 2018 3:11 pm
Reply toTim RodmanTim Rodman

Hi There!

Thank you both for this wonderful information. Do either of you know how to get the Project Description in the header to populate? I tried different variations of Report.GetDescription('PMProject.Description', @StartProject) or Report.GetDescription('PMProject.ContractCD', @StartProject) or Report.GetDescription('PMProject.ContractID', @StartProject) with no luck. Any insight would help. 

 

Thank you!

RR


Reply
NickSM
 NickSM
(@nicksm)
Joined: 6 years ago

Trusted Member
Posts: 46
September 14, 2021 11:09 pm
Reply toRonita HayRonita Hay
Tim Rodman

Hi @rh26,

I know I'm very late in play here, but I managed to get things working using. This will display the Project ID and description as a line.

@StartProject+' - '+Report.GetDescription('PMProject.ContractCD',@StartProject)

image
 

Reply
Tim Rodman reacted
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
August 6, 2018 6:23 am
(@timrodman)
Famed Member
Joined: 10 years ago

Hi Ronita,

Hmmm, not sure what's wrong with the main Project lookup field. I tried the same technique on the main Vendor lookup field and it worked.

But I was able to get this to work:

=Report.GetDescription('PMTran.ProjectID',@StartProject)

Does that work for you?


Reply
CLove26
Posts: 5
 CLove26
November 7, 2019 5:04 pm
(@clove26)
Active Member
Joined: 5 years ago

Tim & Julian,

Thanks for this info, it was a huge help for with adding the subaccount description to the top of an ARM Report for one of our customers! That's great to know.  The only question is, I have no clue how you figured out the DAC to use in the formula.  Do you have a way of detailing out how you determined the correct DAC to use? Thanks,

Chris


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
December 11, 2019 3:13 am
(@timrodman)
Famed Member
Joined: 10 years ago

I think Julian found a screen that had a Subaccount lookup that didn't behave like a normal Subaccount lookup where F3 validates the segments individually. The Subaccount Lookup on the screen that he found provided the whole list of Subaccounts like a normal Lookup field (eg. Account, Inventory ID, etc.) does.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 4 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Generic inquiry with information from Audit history(CT301000)
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.

‹›×

    ‹›×