Questions tagged [dynamics-ax-2009]

Microsoft Dynamics AX is one of Microsoft’s Enterprise Resource Planning software products. It is part of the Microsoft Dynamics family. The early versions (from 1.0 to 3.0) were called Axapta, while the later versions (from 3.0 SP6 to AX 2012) are called Dynamics AX.

Microsoft Dynamics AX is one of Microsoft’s Enterprise Resource Planning software products. It is part of the Microsoft Dynamics family.

The early versions (from 1.0 to 3.0) were called Axapta, while the later versions (from 3.0 SP6 to AX 2012 R3) are called Dynamics AX.

Microsoft Dynamics AX was originally developed as a collaboration between IBM and Danish Damgaard Data as IBM Axapta. Axapta was initially released in March 1998 in the Danish and U.S. markets. Today it is available and supported in forty-five languages in most of the world.

MorphX is the IDE where development and modification is done. It resided (until Dynamics AX 2012) in the same client application that a normal day-to-day user would access, thus allowing development to take place on any instance of the client.

X++ is the development language used in Dynamics AX. It belongs to the curly brackets and dot-operator class of programming languages (like C# or Java). It is an object-oriented, class-based, single dispatch language. X++ supports garbage collection and SQL queries is integrated in the language.

Se also Wikipidia article.

594 questions
3
votes
1 answer

Axapta: Validate Access to return value from display method

The Dynamics AX 2009 Best Practice add-in is throwing the following error on a display method override. "TwC: Validate access to return value from the display/edit method." Here is my display method. display ABC_StyleName…
Brad
  • 1,357
  • 5
  • 33
  • 65
3
votes
1 answer

FTPWebRequest in Batch

I made a batch class to check an FTP for files, download them and delete them on the FTP. When I run it manually (not in batch) it works perfectly and downloads all files in the FTP and deletes them when the downloading is done. The problem starts…
3
votes
3 answers

dynamics AX batch job through ODBC

I have problems with an ODBC connection used in a batch job: when executed, I have the following error message : "The ODBC operation failed.Unable to connect to database Invalid connection String attribute Trusted_Connection Unabe to create object…
Thomas Post
  • 535
  • 2
  • 11
  • 27
3
votes
1 answer

setTmpData() on dynamically added form DataSource

I have added a datasource to a form using the standard pattern: Args args; FormRun formRun; Form form; FormBuildDataSource formBuildDataSource; ; form = new Form(formstr(ICS)); formBuildDataSource =…
tradotto
  • 137
  • 2
  • 9
3
votes
1 answer

How to count report pages in pre-rendered MorphX report?

We are trying to force a morphX report to be an even number of pages in length (so our auto-folding machine can handle the workload properly) and have been unsuccessful in using element.pagesTotal() to do so. How have others gotten a page count for…
Steve Dark
  • 33
  • 4
3
votes
1 answer

How to make dialog elments collapsible?

Is there any way to make DialogGroup elements collapsible through X++? I've been looking at MSDN and going through the class but I don't seem to find something that would be useful. Another developer has added two groups to the dialog that is…
ackzell
  • 277
  • 1
  • 3
  • 15
3
votes
4 answers

Reports won't run in batch

I am trying to run unmodified reports using batch processing in Microsoft Dynamics AX 2009. I have set up my configuration, and set up an AOS printer to run the report on. When I send a report to the batch queue, it immediately has an error when it…
SShaheen
  • 1,012
  • 7
  • 21
3
votes
2 answers

AX 2009 : TaxReporting report make AOS crash

In the TaxReporting report, there is a method called printUndeclaredTaxPeriods, code below: /// /// This method will retrieve if there are any transactions that happened outside /// the date range specified for the report. ///…
Setiaji
  • 106
  • 6
3
votes
4 answers

Form performance when adding Outer Join DataSource

I have a custom form with the following Datasource setup; SalesTable SalesLine (SalesTable - Inner Join) InventTable (SalesLine - Inner Join) InventDim (SalesLine - Inner Join) ...which works without any performance issue. When I add the…
AnthonyBlake
  • 2,334
  • 1
  • 25
  • 39
2
votes
2 answers

AX 2009: Report Range on enums parsing enum value commas?

I think I may have found an interesting bug with AX 2009, and I'm unsure of how I can proceed. I am attempting to write a new report, and one of the conditions of this report is to be filtered based on the Posting field of the LedgerTrans table.…
kingofzeal
  • 1,359
  • 3
  • 12
  • 24
2
votes
1 answer

Dynamics AX: how to filter a report?

I need to add a filter to a report in Dynamics AX 2009. Msdn tell me to filter using Fetch event. So i've added the following code into the fetch. DateFromDialog and DateToDialog are variable declared into ClassDeclaration. qrun = new…
stighy
  • 7,260
  • 25
  • 97
  • 157
2
votes
1 answer

Which datasource method can be overridden when inserting new record into table?

In a form, when creating new record, it will insert into table, which method can be overridden (insert method is not available) in datasource to handle some functionalities during inserting in Microsoft Dynamics AX 2009 with X++?
Revathi
  • 307
  • 6
  • 18
2
votes
2 answers

How to hide form fields in a new company

I have an AX 2009 installation with 5 companies. The current security configuration contains groups of users which are company specific, and the companies are in their own domains (1 per company). I am adding a new company, however for this new…
AnthonyBlake
  • 2,334
  • 1
  • 25
  • 39
2
votes
1 answer

Dynamics Ax: how to copy a value from a field to another?

i've a form with 2 text box (RealEdit): one field is bounded to a table field.. another one is simply a text box not bounded. How to copy the value from the first to the second text box ?
stighy
  • 7,260
  • 25
  • 97
  • 157
2
votes
1 answer

How to use the SumAll property?

I have a report with a column TaxBase printed by a method TaxBase(). At the end of my report section I need to display the Sum of TaxBase column. I don't know how! Maybe the property SumAll can help? But, how is it used?
stighy
  • 7,260
  • 25
  • 97
  • 157