Solved

Add column to report in dynamics AX2009

Posted on 2011-02-21
3
1,391 Views
Last Modified: 2012-05-11
Hello,

How can I add a column LedgerTrans.DocumntNum to Report "BankAccountStatment" in Dynamics AX 2009?
0
Comment
Question by:smetechit
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
agusacil earned 500 total points
Comment Utility
Hi,

In the BankAccountTrans table, you can create a new display method like this :

display DocumentNum documentNum()
{
    ;
    return LedgerTrans::findVoucherDate(this.Voucher,this.TransDate).DocumentNum;
}

Then add a new string control in the Body _2 in the BankAccountStatement with properties set as below :

Table : BankAccountTrans
DataField : <set to blank>
DataMethod : documentNum

Hope that helps.
0
 

Author Comment

by:smetechit
Comment Utility
Thanks for your solution ... but how fields of BankAccountTrans are displayed in report without adding BankAccountTran as datasource?
0
 
LVL 4

Expert Comment

by:agusacil
Comment Utility
Hi,

Thanks. If you don't want to have BankAccountTrans as datasource then you can create a display method in the report's methods section.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now