axapta Questions

2

Solved

How to build query with multiple values. I need to create filter which display only active BOMs in grid and I looking for solution. Here is my code which isnt working: public void executeQuery() ...
Bazaar asked 17/10, 2014 at 13:4

3

Solved

I was wondering whether it was possible to obtain the current user object and get their credentials so that I can pass them along to a NetworkCredential object which I am using to connect to my AX ...

3

Please can someone help me make sense of the Batch madness? I'm trying to debug an Axapta 3.0 implementation that has about 50 Batch Jobs. Most of the batched classes do not implement the descript...
Rattoon asked 7/10, 2008 at 4:47

2

Solved

I'm still a newbie when it comes to Dynamics AX development. I'm working through a tutorial here. Once finished writing the code in C# and X++ the tutorial says to run the class and messages will...
Inclement asked 17/2, 2012 at 12:54

3

Solved

Is there a table, view, or procedure I can use to extract the values from a Base Enum using SQL (straight from the DB, not within X++)? I was able to find an isolated few in the table SRSAnalysisEn...
Pyrites asked 8/1, 2013 at 21:7

1

Solved

I am currently working on fixing some BestPractice-Warnings on a bigger project. There i have a few instances where forms are called and are awaited before doing more stuff, this is mostly some dia...
Dialytic asked 8/3, 2019 at 13:29

3

How can you create a simple dialog box in Dynamics ax?
Phina asked 7/12, 2010 at 17:34

3

Solved

Suppose the combobox is linked to enum "ABC". The elements in it are A, B C and D. Now I need to get only A and C in the combobox and not B and D? Is this possible?
Vortical asked 16/9, 2011 at 7:24

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

1

I have been struggling with this for a while now and can't seem to find a solution for my problem. I would really like some help here if possible, it would mean a great deal to me. I'm currently r...
Dotti asked 16/9, 2016 at 13:46

3

Solved

I'm trying to get distinct string values out of an Ax repository, but I'm getting a lot of identical strings out (strings only contains numbers) var ret = context.XInventTransBackOrder .Where(i =...
Lobell asked 26/11, 2012 at 14:2

2

Solved

In AX programming best practice, which is the best way: using a Query created from the AOT, using a select statement with X++ code, using a query created with X++ code the Query classe ... And ...
Talca asked 8/12, 2016 at 10:14

3

Solved

I want to add a CheckBox in my Dialog. I used this code: Dialog dialog; DialogField dialogField; NoYesId checkValue; ; dialog = new Dialog("New dialog with checkBox"); dialogField = dialog.addFi...
Headsman asked 4/6, 2015 at 8:5

4

Solved

I'm facing some troubles still while learning, so I guess it tends to get worse once I play with the big kids: warnings in dynamics aren't as precise and informative as VS's, there are no mouse-ove...
Orbiculate asked 4/1, 2010 at 18:18

4

Dynamics AX 2012 comes with unit testing support. To have meaningful tests some test data needs to be provided (stored in tables in the database). To get a reproducable outcome of the unit tests ...

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

1

I want to customize the standard drill-down functionality and add a text parameter to the drill-down URL. I will then parse and use the parameter in the SysStartUpCmdDrillDown or EventDrillDownPoll...
Heywood asked 24/5, 2016 at 9:33

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

1

I want to make a customization into AX POS retail login module. instead of typing operator id and password, can i read externally and pass to POS with operator id and password? Regards, Rassal
Bandwagon asked 13/4, 2016 at 13:35

2

I've have been tasked with extending the general ledger posting for product receipt in an DAX 2012. In 2012 it seems to me that Microsoft har started a transition away from using the traditional L...

2

Solved

I'll be using SalesTable/SalesLine for the sake of this discussion. I have a simple form with two DataSources, SalesTable and SalesLine, with SalesLine joined to SalesTable. There is a header and ...
Emigration asked 19/10, 2015 at 20:25

1

In AX I have several entities. When I try to post unposted timesheets it works fine for all entities except of one where I'm getting SQL error: "Conversion failed when converting date and/or time f...

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

2

Solved

I want to pass more than one record between two forms. The user opens Form-A, selects multiple records and then clicks a button that opens Form-B. In Form-B there are two (or more) StringEdit contr...
Zenobiazeolite asked 10/4, 2015 at 7:40

© 2022 - 2024 — McMap. All rights reserved.