dynamics-ax-2009 Questions

2

Solved

I would like to know how to call kernel functions from AX using C# (.Net Business Connector). Specifically, can you call methods like fieldName2Id, tableName2Id and curUserId?
Scottie asked 18/5, 2010 at 21:23

8

Each table in the AOT has an ID, how can I discover the table name given an ID?
Migraine asked 8/1, 2010 at 0:41

2

Solved

When writing code in X++ you sometimes need to reference this.functionYouWant() and sometimes it is element.FunctionYouWant(). Sometimes both are in scope. I often try one and if the function I wan...
Hooge asked 23/11, 2010 at 20:8

4

Solved

Is there something similar to the famous toString() method of C# in Axapta? I try to run underlying code: info(this.dataSource()); But it gives me this error message: "Argument 'txt' is incompa...
Prepared asked 7/3, 2012 at 13:22

3

Solved

TLDR: Why group by clauses are disabled in lookups when the field using the lookup is not empty? I want to do a custom lookup on a field in a form. The table CTable looks like this: Val Spec ----...
Pointenoire asked 12/7, 2012 at 14:12

1

Solved

We are planning to integrate Magento with Microsoft AX 2009 (Product and Customers).Since I am a C# developer I am confused how to get started. On exploring I came to know that best way to integrat...
Endosperm asked 5/12, 2013 at 10:6

2

Solved

I'm trying to create my own custom drilldown functionality, where a URL dynamics://0?myfunction_123456 will launch my own code. In C\SysStartupCmd\construct, this base code: case 'viewalert': s...
Opine asked 23/1, 2014 at 17:34

2

Solved

I've modified the InventTable form so the users can filter the items depending on their "Stopped" status on the default order settings setup form. They get a list of the "buyable" items, "sellable"...
Lunseth asked 19/12, 2012 at 11:50

2

Solved

How to automatically resize grid or another child component when my form is resized?
Constance asked 24/1, 2012 at 11:22

7

Solved

I'm just learning to program Dynamics AX 2009. So far I got the dev system running, I got some background about the architecture. Now I'm looking for some walkthrough-samples to learn more a...
Chace asked 13/5, 2009 at 14:6

1

Solved

I'm calling a stored procedure via direct SQL from X++, and I can't figure out how to get the integer return value from it. 0 is good, -1 is bad. // Login to SQL DB loginProperty = new LoginProper...
Hartzel asked 29/8, 2012 at 18:20

1

Solved

What is the difference between the two statements below? newTable = orginalTable or newTable.data(originalTable) I suspect there is a performance benefit to the .data() method as it is more ...
Schober asked 19/7, 2012 at 9:8

2

Solved

I would like to run a periodic (each 4 hour) backup of 'only' the source file of Dynamics Ax 2009, so, the XPO source file. I'd like to know where they are stored physically.
Aeri asked 3/7, 2012 at 7:59

1

Solved

How can i pass a single parameter between a form in axapta ? I want to run a Form B from a clicked button event in a Form A and pass... for example the customer id ? How can i read it in the destin...
Barnabe asked 29/6, 2012 at 8:20

2

Solved

I am a C# developer and want to start learning Dynamics AX. Please guide me can I use my .net/C# skills (knowledge of API) in Dynamics AX ? I know AX is developed in X++ but some one tell me it i...
Stuffy asked 1/2, 2011 at 3:31

1

Solved

I have some fields in my Sales Order Form (SalesTable) that need to be disabled if another field is set to a specific value. To do this I overrode the enter and the gotFocus methods on the form fie...
Candytuft asked 15/2, 2012 at 14:25

1

Solved

I created a macro object in the AOT called "MyMacro". In it I put: #localmacro.myStrFmt 'Here is some text before (' + %1 + ') and some after' #endmacro In my class it works if I have it define...
Falange asked 13/2, 2012 at 18:5

4

Solved

I have a method for a display field which does the following; return InventSum::find(_salesLine.ItemId, InventDim::_salesLine.InventDimId).AvailPhysical(); This gives me the on-hand Available Ph...
Emblaze asked 27/1, 2012 at 13:17

1

Solved

How to get the creation date of a PDF file in Microsoft Dynamics AX 2009 with X++? And how to open that PDF file in the button click?
Baumgardner asked 5/1, 2012 at 5:58

1

Solved

How to compare two dates (instances of type Date, not utcDateTime) in MS Dynamics AX 2009? I want to check if particular date, taken from the table, is before (or after) the another one. Both are...
Linger asked 11/8, 2011 at 18:22

1

Solved

Feature explained below is available in Microsoft Dynamics AX (formerly known as Axapta), an ERP application. However, my question is related to Visual Studio 2010 and MVC 3 application. Please fin...

4

Solved

I'm writing a C# command line tool to fetch data from AX and to add data (create new tables) to AX. Fetching data from an AX table is easy and documented here: http://msdn.microsoft.com/en-us/libr...
Lituus asked 5/4, 2010 at 1:48

1

Solved

I want to write a txt file (just like i'd do in visual studio with c# using string writer and everything, with which i'm already very familiar) what class and method do i use? how does it work? ...
Erdman asked 1/12, 2009 at 17:32
1

© 2022 - 2024 — McMap. All rights reserved.