Questions tagged [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) 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) are called Dynamics AX.

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.

See also: "Microsoft Dynamics AX" article on Wikipedia

230 questions
1
vote
1 answer

How do you correctly return an aggregate data field using AX 2012 Query Service

I have been working on the AX Query Service as of late. I have a pretty good understanding of everything but it seems that the QueryDataFieldMetadata object does not like aggregates. When I build a QueryDataFieldMetadata…
theBrilliance
  • 61
  • 1
  • 7
1
vote
1 answer

How to filter and sort by dynamically created fields in grid?

I am creating a form in a job using Form form; FormRun formRun; FormBuildDesign formBuildDesign; FormBuildDataSource formBuildDataSource; form = new Form();. formBuildDataSource = form.addDataSource("Table"); formBuildDesign =…
boucekv
  • 1,220
  • 2
  • 20
  • 47
1
vote
2 answers

AX2012 Using Select query to display data in a data grid view

i have new form and I am looking for to display all record in grid byn specifying my own query ,the fonction may be as well: static void queryVendtableSelect(Args _args) { VendTable vendTable; while select firstOnly * from vendTable …
Ahmed
  • 259
  • 2
  • 9
  • 26
1
vote
1 answer

Duplicate rows after multiple SQL Joins

Im getting many duplicate rows from this query. Is there something wrong with my left joins? I have tried inners joins also but they dont help at all. I think the problem is something that if one left join is true then it adds a row to the…
Henrik R
  • 4,742
  • 1
  • 24
  • 23
1
vote
2 answers

Product Label Report Setup (no report found in the Report name dropdown)

I've been trying to print labels in dynamics AX 2012 r2. I'm following this link: http://dynamicsaxtipoftheday.com/2014/04/30/generate-product-bar-code-labels-through-retail Somehow when I get to the Product label report setup form, there is no…
michiboi
  • 65
  • 1
  • 8
1
vote
1 answer

General Ledger report

I am Working on SSRS custom report that show general ledger and and need to show in the report all transaction for account and sub-Account and the vendor or customer, for example if the transaction come from Purchase Order then I need to show the…
khaled el omar
  • 149
  • 1
  • 4
  • 13
1
vote
1 answer

MS Dynamics AX / AXAPTA - Where is the code that prevents reprint of payment advices of unposted cheques?

We want to reprint a payment advice, even before it is posted. The report BankPaymAdviceCheque should be able to do this but only prints advices for already posted cheques. The report's dialog, however, allows you to choose unposted ones as well.…
Johan Bresler
  • 6,450
  • 11
  • 56
  • 77
1
vote
1 answer

Dynamics AX record.joinChild() for multiple child datasources

I have wondered about this for years and have seen questions posted out there on this but never have found an answer. Let's say you have a Form with datasource A, B, and C. "A" will act as the parent and both "B" and "C" join to "A" as an Inner…
codemann8
  • 372
  • 7
  • 29
1
vote
1 answer

Cancel Sales order packing slip through x++

I've been trying to cancel a Sales order packing slip. I'm verifying if it worked by trying to repost but receiving one error after the next. I have found a way to post a packing slip but is there an easy way to cancel a packing slip without…
user1623156
  • 125
  • 5
  • 14
1
vote
2 answers

AllowEdit doesn't work properly in Dynamics AX

I have set Grid's and its fields AllowEdit properties to 'Yes', but anyway it reacts like readonly. What can be a reason of it? Thanks...
user3244778
1
vote
2 answers

Start SQL Job from X++ Job in Axapta

I want to trigger an SQL job which runs an SSIS package from an AX Job, I successfully ran SQL code fetching some records from an SQL table by creating a menu item for the job and have it run on the server instead of the client but the following…
Mike Dole
  • 675
  • 2
  • 14
  • 30
1
vote
1 answer

Unbalanced TTS error with inter-company salesorder at the "Overwrite prices and discounts" dialog

I am experiencing a critical error when i try to change some sales order lines in a specific intercompany sales order. When i try to update my order i get presented with a "Overwrite prices and discounts"-dialog: If i try to press OK or Cancel, AX…
Erik Ellis
  • 61
  • 2
  • 7
1
vote
4 answers

Number sequence AX 2012

I have gone through msdn article, read whitepaper on number sequences and made number sequences a lot many times. But in this scenario I need some help. Scenario is; I want to get next sequence number through x++ code using just number sequence code…
Bilal Saeed
  • 603
  • 2
  • 10
  • 24
1
vote
1 answer

PurchReqApproval Workflow stopped working

PurchReqApproval workflow stopped working, that is all the workflow's messages are in pending state. There were no modifications made to objects related to that workflow (maybe except EDTs). I am thinking this issue might be consequence of changing…
romandek
  • 95
  • 5
1
vote
1 answer

Adding Datasource to ReqTransPOListPage

I'm trying to add a field from EcoResProduct to the form ReqTransPOList page but can't seem to figure it out. I've added the datasource to the query but it won't let me add any fields from it to the form. I can create a new view and adding fields to…
Kevin DeVoe
  • 600
  • 2
  • 8