Adding a pagefooter to custAccountStatementExt that will appear for every customer - report

I have been asked to modify the Customer account statement (custAccountStatementExt) report in Dynamics AX 2009. I need to add a page footer to each statement showing an overdue balance at different time intervals (ie 30, 60, 90 etc days overdue).
I have written display methods to calculate these values and I have added a reportFooter section to the report but it does not show.
If I add the code to a report Epilogue it works fine so I am reasonably confident that the code is correct.
It seems as if the page footers are turned on and off as required for displaying of the giro sections. I have tried commenting out all the disable page footer code but my footer still will not show.
Is there a way to get this footer to display on every page regardless of the giro printing?

You would need to override the method "executeSection()" in that section (pageFooter). Within that method, you would need to figure out whether or not you want to show it or not, and if you want to show it, you'll call "super()". Otherwise you won't.
Take a look at the report "SalesInvoice" and the PageFooter named "PrepaidTotalsEuro". Look at the "executeSection()"-method. Don't get confused by the boolean variable, it is there to make sure the footer is only printed on the first page.

Related

Google Optimise - How to test a page that only loads the required content when called in a specific way

I have a multiple-step flow that I would like to run A/B testing on, in this case by hiding/removing a single checkbox on one screen to find out if it impacts on the CTR of the Continue button on that screen. I haven't done this before so I might be missing some basic knowledge. The issue I have is that the target page doesn't load the required control by default, i.e. if you just type the URL into the search bar it comes up blank, because it's missing required data that normally comes from the referer page (which identifies the charity they want to donate to). To complicate things further, the control I want to test is on the second screen of the flow, and all screens have the same URL. When I set it up in Google Optimize, it doesn't show any editable content.
To be a bit more specific, the content displayed is dependent on POST parameters passed in before the stage I want to test. Is there any way to either (a) force Google Optimize to load the page using specific POST values, showing the relevant control so I can disable it for the B variant, or (b) bypass using the visual editor and disable the control by ID? Or will we need to rewrite the whole flow to use separate URLs for each stage and to load relevant content even when required data is missing?

Custom Google Analytics report that displays number of specific events fired per page

For a given page I fire four events based on how much of a post they consume (ArticleLoaded, StartReading, ContentBottom, PageBottom).
What I'd like to do is:
A) Create a view with 5 columns: Page title, and then one for each of the four event (Title, Load, Read, Content, and Page Bottom)
B) If possible, create a custom 6th column that simply divides Load by Content Bottom to give me a completion percentage.
I can load a simple view that has each event broken up but I can't seem to figure out how to compress the view so I can list all 4 (ideally 5) values on the same line horizontally.
Sadly you can not do this with custom reports inside google analytics.
My best advice is that you export in CVS the report and work it out in another platform (Data Studio, Klipfolio, even a simple spreadsheet may be good).
EDIT: I was assuming you don't have Analytics 360, if you have then yes you can but idk how.

Wordpress - Display Content Conditionally

I am fairly new to Wordpress. I am writing a real estate site, and I want to have a Service Area page that displays the Counties that we serve in various states. So what I want to happen is to have a dropdown list where a user can select a state, and based on the state that they select, a text area will display that counties that we service in that state.
So basically, I want to store text content in the form of counties that will be displayed based on the conditions of a dropdown list.
I have no idea where to start. Is there a plugin that works for this kind of situation such as a form plugin that can store content, or am I going to have to write custom PHP/Javascript to make something like this happen. I am asking because this seems like a common scenario on websites, I just don't know where to look.
Thanks for any suggestions that you may have!!
So what I ended up doing was creating a select box in html that when a change happened on the list, a javascript function was called that changed the visibility of a text area and also set the value of its content to display all the counties that I needed. Ended up being much more simple than I expected. No PHP functions and short code necessary.

SSRS How to Extend a Tablix till the End of the Page?

I am working on a Purchase Order report. now there is a requirement that totals and department name, manager signature etc should come at the bottom of the page. In SSRS it seems to be impossible to attain such a design. Things i have tried
Put empty rows in dataset but some items have name that comes in two
or three lines so addition of empty lines is disturbed and total is
coming on undesired place.
Manipulated borders and put lines but they
don't appear on the second.
Put totals and signature etc in footer
and show footer only on last page, but pages before the last page
have that unwanted empty space.
Tried to set the height of the footer dynamically to set the height to 0 on pages other then the last page but couldn't find anything related.
Please anything i missed or any suggestion to solve the problem would be deeply appreciated. Thanks
The easiest would would be what Abdul suggested, I'd have thought. Add a page break after your table, then on the last (blank) page position the text boxes exactly where you want them to go, with formulae summing the required fields over the dataset on which the table is based. The only drawback of this approach is the end of the table and the totals and footer textboxes will be on different pages.
If this really isn't acceptable (and it's by far the easiest option), then you need to include your totals in the report footer, and set a property for this to have a page break immediately before it. Not certain if this is possible (and SSRS isn't running on my machine at the moment, so I can't test this).

ReportViewer Report Header

I am using ReportViewer in VS 2010 to port certain legacy MS Access reports to a C# application. I need to create a report header that is shown at the very top of the first page above the page header much in the same way that it's done in Access, but I'm not having any luck.
Surely there's a way to do this?
Edit Here's my progress so far.
Attempt #1: Put the report header elements in the page header and have them turn hidden for every page other than the first one. Unfortunately this leaves a big empty space in subsequent pages because the page header height cannot be adjusted on a per-page basis based on the content.
Attempt #2: Put the report header elements in the report body. This can work if the page header only contains the column headers for a table. You can set the column header row to appear for every page. However you cannot have other things like the page number appear since it cannot be displayed in the report body.
Attempt #3: Use a master report to display the report header and a subreport to display everything else. This fails miserably since you can't use the page header or footer of a subreport.
At this point I'm out of options. Is there something I haven't tried or do I need to switch to another reporting platform?
In the end I had to get creative. I placed my report header data on the report body. Underneath that I put the items that should be on the page header. I also copied those on the actual page header but set the header so it wouldn't show up on the first page. This works well for simple static text although it'd need more work if the page header contained any short of aggregate data.
It's a horrible hack, but it gets the job done until I can move to a better reporting platform.

Resources