Skip to main content

MSDYN365BC - Futuristic CAL Development - Report Expense Analysis.

Hi Readers,

As discussed in the Last article, in this post we will develop the Expense Analysis Report as per our Customer Requirements.

If you are new to this series then Please Refer Table of Index.

In this article, we will develop a New Report for Expense Customization / Feature that we build during this series.

Our customer requires to get G/L Entries list which has expense code specified. The data should be grouped based on Expense code and also should print Totals for each Expense Code in the General Ledger Entries.

Let's build a New Report - 5000 - Expense Analysis, with Data Items Expense and G/L Entry as shown below.


Add Request Field Filters as per user requirement. Additionally in G/L Entry Data Item Table View should have a filter of Expense Code, not BLANK as listed below.
SORTING(Document No.,Posting Date) ORDER(Ascending) WHERE(Expense Code=FILTER(<>''))
Next, Let's add fields in the Report Dataset to use them in the Layout as shown below.


 If you want to use the Table Field Caption then, select Include Caption as Highlighted above.

Next part is to develop layout as shown below.


The Report is Grouped based on Expense Code in G/L Entry and Include Group Total as you can see above.

We have posted some more entries with Expense code to test the Report output. As you can see below is the Report output.


With this, we have completed the customer requirement.

Hope you like the article and understand how should we code in a futuristic way in CAL.  Please add your comments to the article as your views and questions related to the article.

Next article, we will summarize what we have learned with this series and will also announce the next series that we will be discussing in my blog.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

  1. Please whats the formula for summing up the amount fields for G/L accounts?

    ReplyDelete

Post a Comment

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

RTC Report It is not possible to instantiate the Visual Studio bridge.

Hi all, As a Navision developers I have Multiple Versions of Navision running in single Machine. As discussed Earlier in the post how to run multiple Version of RTC in single machine. So my machine have following details for RTC Versions - NAV 2009 R2    - is installed. NAV 2009 SP1  - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ NAV 2009         - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ This approach has been working great for execution of Classic and RTC Clients. However, after installing Dynamics NAV 2009 R2, if i tried to view the Layout for an NAV 2009 SP1 Report i was getting the following error: ---------------------------  Microsoft Dynamics NAV Classic  ---------------------------  It is not possible to instantiate  the Visual Studio bridge.  ---------------------------  OK    --------------------------- After searchi...

Dynamics NAV - All that you need to know about MenuSuites.

Hi Readers, This article is based on a request from a blog reader who wanted to understand about MenuSuite in Dynamics NAV. If you have started working with Business central with AL Code then it does not apply to those releases but if you are interested go ahead. Let's start with Future - In Latest and greatest version of product MenuSuite are obsolete and no longer used. So this article applies if you want to learn about C/AL MenuSuite.