Link to home
Start Free TrialLog in
Avatar of larcy
larcy

asked on

Help needed on AX 2009 development

I need some guidance on how to compile and implement small changes to some classes in AX 2009. I'm completely familar with how to use AX, but am not familar with how use the development tools. For instance when I find a class that I want to make changes to, I make those changes, save it, compile it with no errors, but the changes do not appear to occur to the system. Anyone out there want to help?
Avatar of Damon Repton
Damon Repton
Flag of United Kingdom of Great Britain and Northern Ireland image

hello

might need abit more information, what is the change you are trying to do?? what code have you changed??

is this a production system??

Regards

Damon
Avatar of larcy
larcy

ASKER

No its a test system, I would want to get it working there first before trying it on a production system!

I have edited one word in a text string that is output in a class

so for example instead of

str body = 'Please find xyz';

the line is now

str body = 'Please find abc';

The issue is I do not know/understand how to save and compile this, or at least when I do it does not change the behaviour of the sytsem, and when I log out and log back into AX, it seems to have forgotten about the edit altogether

many thanks
ok you might just need to forward compile the class, are inheritance\extend might be the issue.

right click on the class go to add in -> compile forward

User generated image
when you say forgotten do you mean your code change has gone from the system??
Avatar of larcy

ASKER

re> when you say forgotten do you mean your code change has gone from the system??

Yes, disappeared altogether

What does "Compile forward" do?
Avatar of larcy

ASKER

I don't have compile forward on the add-in menu?
addin.jpg
ahh you might not have the license to do X++ internally, in AX2009 you had to buy this, in AX2012 you get everything, go to administration

User generated image
do you have

User generated image
Avatar of larcy

ASKER

No we don't, just checked. Would this cause this sympton, i.e apparently compilign and saving o.k with no error messages, but then just not doing it?

many thanks
it will not allow the change to be saved.
without that license you can not save changes to x++ don't think its expensive
Avatar of larcy

ASKER

Any idea how much, and how you go about buying it (i.e can you get it direct from microsoft)

many thanks
I think about 7500 euros, this is done through your partner normally, do you have a partner?
Avatar of larcy

ASKER

Bit of a complex answer that one. In summary, no we don't have a partner. Would need to email or message if more info was needed as not suitable for public forum

Was I doing the correct thing though, i.e save it, compile , and then it should work. I don't need to worry about layers or anything

many thanks
yes you are correct, feel free to email if you need help with licensing damon@ibrl.co.uk
Avatar of larcy

ASKER

O.K. Many thanks. You've been very helpful
ASKER CERTIFIED SOLUTION
Avatar of Damon Repton
Damon Repton
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial