Questions tagged [axapta]

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 and last version AX 7) 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.

Vote to join tags!

The early versions (from 1.0 to 3.0) were called Axapta, while the later versions (from 3.0 SP6 to AX 2012 and last version AX 7) 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

2556 questions
0
votes
1 answer

What is the moment when the sales order is fully formed with its lines and the entire posting process is finished?

I would like to know where in Dynamics ax 2009 a sales order (SALESTABL) is fully formed with all its lines (SALESLINE). I need to run a code snippet right after the order (and its lines) has been created. What I want to learn is actually like…
0
votes
2 answers

Dynamics AX - Apply range on combobox datasource / items

I just want to limit the records brought in the combobox based on some condition, say like which menu item opened the form. So specific rows should return. I have no idea about the code, also tell which method/event to use, field's modified method,…
maqk
  • 313
  • 2
  • 7
  • 18
0
votes
0 answers

To control the decimal point in real value AX2012

" To control the decimal point in real value do the following : 1- right click on the real field and choose properties 2- go to NoOfDecimals property and put any number you want for example (1 or 2 or 3) This means the numbers after the decimal…
Mumble
  • 141
  • 1
  • 8
0
votes
1 answer

Write validation failed for table row of type 'PurchPurchaseOrderLineEntity'

I'm trying to post the the purchase order line details from postman using odata and I'm getting the following error. { "error": { "code": "", "message": "An error has occurred.", "innererror": { "message": "Write validation…
0
votes
1 answer

How to add columns to ledgertrans

I have to add a new column in ledgerTrans, and write data, but I don't want to do that with a direct x++ insert. I preffer do it throught a class and rights methods. I've saw classes like LedgerJournalCheckPost and CustVendVoucher but I've gotten…
0
votes
2 answers

LedgerJournalEngine and LedgerJournalCheckPost

I am creating and posting Dynamics AX Ledger Journals from C#. I want to use the two helper classes the come with AX, LedgerJournalEngine and LedgerJournalCheckPost, to validate the journals I create. My questions are: 1.) How do you get a list of…
tradotto
  • 137
  • 2
  • 9
0
votes
1 answer

How can I assure not selected fields records at the checkbox won't be displayed at lookup?

I have a form and lookup field in it named PI Code. PI code comes from another table and this table has a checkbox field named active. MY lookup field needs to display only the active fields. How can I do that? If I copied onlookup event handler…
0
votes
1 answer

overriding displayOption to color certain lines according to a value from displayMethod

I am trying to override the displayOption on my form so that I color certain lines following certain conditions, When my condition was related to a normal field I had no problem with that, example code: public void displayOption(Common _record,…
0
votes
0 answers

How can I filter my records to show all records in the main table at D365 FO with X++?

I need to use onlookup event to filter my data based on another table in form. I have inventsite form and 2 tables with 1:N relation in it. One of them is SitePI and other one PITrans. Here is the scenario: I go to InventSite form and add a site…
Granger
  • 21
  • 1
  • 10
0
votes
1 answer

Getting axc file name and layer in X++

I would like to know what is the syntax or code to identify the user's current use AOS name and current layer used?
Raynon
  • 33
  • 6
0
votes
1 answer

OData selecting single entity using filter

I know, the question sounds a bit strange, because according to OData documentation if you would like to select a single entity you should use request like /Endpoint('entityID') However, I need to work with Dynamics365 Finance and Operations and…
Oleksii
  • 1,479
  • 1
  • 19
  • 35
0
votes
0 answers

populate grid with temp table from click event handler d365fo

I am trying to populate a grid form with a temp table (inMemory) from a click event handler but the grid isn't populate. here is my code: class ARQ_CONCCo_InventTransRegisterFormEvents { [FormControlEventHandler(formControlStr(InventTransRegister,…
0
votes
0 answers

Microsoft D365 FnO - Set the default value of "Send notifications in email" checkbox in User options > Workflows to true

I have a requirement to change the default value of a checkbox in SysUserSetup form to true. The data source of this field is SysUserInfo > EventWorkflowTasksInEmail. I have tried to do this by writing the following code in post event handler of…
Amit
  • 1
  • 1
0
votes
0 answers

Update grid with lookup in D365FO

I have a form with the datasource SalesTable in D365FO, I have a lookup field showing the SalesId and I want to show the information of the SalesTable in the grid based on what is selected in the lookup. Does anyone have the solution? I have read a…
0
votes
0 answers

How to pass LedgerJournalTrans table in resolve method of InvoiceJournalExpPartcicipantProvider class?

I have literally tried everything but still in vain. This here is InvoiceJournalExpParticipantProvider class that is supposed to provide me partici[ant names inside the workflow (all of this is custom code). Now what i want is to pass the…