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?
larcyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Damon ReptonOwner\DirectorCommented:
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
0
larcyAuthor Commented:
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
0
Damon ReptonOwner\DirectorCommented:
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

qwerty
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Damon ReptonOwner\DirectorCommented:
when you say forgotten do you mean your code change has gone from the system??
0
larcyAuthor Commented:
re> when you say forgotten do you mean your code change has gone from the system??

Yes, disappeared altogether

What does "Compile forward" do?
0
larcyAuthor Commented:
I don't have compile forward on the add-in menu?
addin.jpg
0
Damon ReptonOwner\DirectorCommented:
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

1
do you have

2
0
larcyAuthor Commented:
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
0
Damon ReptonOwner\DirectorCommented:
it will not allow the change to be saved.
0
Damon ReptonOwner\DirectorCommented:
without that license you can not save changes to x++ don't think its expensive
0
larcyAuthor Commented:
Any idea how much, and how you go about buying it (i.e can you get it direct from microsoft)

many thanks
0
Damon ReptonOwner\DirectorCommented:
I think about 7500 euros, this is done through your partner normally, do you have a partner?
0
larcyAuthor Commented:
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
0
Damon ReptonOwner\DirectorCommented:
yes you are correct, feel free to email if you need help with licensing damon@ibrl.co.uk
0
larcyAuthor Commented:
O.K. Many thanks. You've been very helpful
0
Damon ReptonOwner\DirectorCommented:
No worries don't forget to mark this as solved or will sit open
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.