axapta Questions
2
Solved
Anyone have any tips/code snippets for preventing more than one copy of a custom X++ form from being opened at a time?
Best case: Attempt to open another copy of the form, and the original gains f...
Gomulka asked 17/10, 2013 at 6:39
1
Solved
Does anyone know how to do a LEFT OUTER JOIN in a Dynamics AX View from the AOT (not a programmatically-created query).
Can't seem to find a way to do anything other than an INNER JOIN, and the do...
Antipole asked 24/11, 2014 at 16:9
2
I have a SSRS report, in my report I have a dataset which has an ID and NAME field, then I created a parameter and set its value to ID from dataset and Label to NAME of dataset. I can see the label...
Repetitious asked 19/2, 2013 at 14:26
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
1
Solved
I am investigating the capabilities of the new delegate & event subscription pattern in AX 2012.
At the moment I am looking to detect when a particular field has been modified, for example whe...
Naivete asked 4/10, 2013 at 10:40
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
4
Solved
As said in the book Microsoft Dynamics AX 2009 Programming: Getting Started it´s needed to put semicolons after declarations in x++:
The extra semicolon after the variable
declaration is mandat...
Bronder asked 29/12, 2009 at 18:23
3
Solved
I am trying to make this question sound as clear as possible.
Basically, I have created a report, and it now exists as a menuitem button so that the report can run off the form.
What I would like...
2
Solved
How to automatically resize grid or another child component when my form is resized?
Constance asked 24/1, 2012 at 11:22
3
Solved
My problem is setting some dimension values read from an external source.
Given the AX 2009 statement:
ledgerJournalTrans.Dimension = ledgerTable.Dimension;
ledgerJournalTrans.Dimension[1] = "abc...
Aeolotropic asked 24/1, 2012 at 9:26
2
How to make a query in Ax with advanced filtering (with x++):
I want to make such filter criteria On SalesTable form to show SalesTable.SalesId == "001" || SalesLine.LineAmount == 100.
So result ...
2
Solved
I'm currently working with a form that has a grid at the bottom. Whenever I hit f5, the grid refreshes, but the rest of the form does not. What can I do to make the entire form refresh it's data?
...
Monoclinous asked 3/10, 2012 at 13:57
1
Solved
Is there any possibility to catch inner exception:
try
{
ttsbegin;
info("step one");
try
{
info("step two");
throw Error("error");
}
catch
{
info("catch step two");
}
ttscommit;
...
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
2
I am not sure if it is something with xslt or xpath..but how do I increment a date by 1 day? For example, if the date is 2/16/2009 I want the date to be incremented by 1 to become 2/17/2009 etc. et...
3
Solved
I have form with VendTable grid for example, which has CustAccount field.
I want to place button, click on which will open CustTable form where all customers are visible.
If I just put CustTable ...
Weinstock asked 24/8, 2009 at 3:53
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
© 2022 - 2024 — McMap. All rights reserved.