web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error: Map object not initiallized

(0) ShareShare
ReportReport
Posted on by

Hello all,

I'm working on SSRS report, my requirement is it to get only those records whatever raw i select of a listpage's grid.

I'm able to generate report but when i apply controller class im getting error.

If you want to have a look at my code

following are screen shots.

RDP class

5226.DP-class.jpg

getTempTable method

7282.get.jpg

processReport method

7587.processReport.jpg

Controller class

1212.controller-class.jpg

setRange method of controller class

setRange-method.jpg

main method of controller class

main.jpg

I'm getting this error.

2620.12345.jpg

If i comment selected line of code in main method report will open but all records will come.

main-comment.jpg

After searching in google about this error i found a hot fix file to install in my system but that was for ax 2009 version. In 2012 it has been already released.

can anyone help me to fix it.?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,985 Most Valuable Professional on at

    You seem to have two threads about the same thing. Please choose which one you want to keep alive and I'll lock the other one.

  • Community Member Profile Picture
    on at

    i want to keep this thread alive

  • Martin Dráb Profile Picture
    239,985 Most Valuable Professional on at

    The problem is that you're trying to pick a contract from a collection that hasn't been initialized yet.

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Means how to fix it.

  • Suggested answer
    Ankit Singh Profile Picture
    35 on at

    Could you please overide your query in below method of controller class-

    protected void prePromptModifyContract()
     {}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans