No valid runable code bug

darCandarCan Member Posts: 4
edited 2009-05-11 in Dynamics AX
Hi everyone,

I am using AX 2009 and I have this HUGE bug which I do not know how to fix. I was doing some
small modifications on the SalesEditLines form (actually all I did was
changing the allow edit property on one of the Data sources from No
to Yes) and when I tried to post this sales order the form
SalesEditLines could not open and the following error message
appeared: "Error executing code: FormRun (data source) has no valid
runable code in method 'specQtyChanged'."

I changed the property back to its original value, but it still didn't
work. Then I imported the backup of the form which I made prior to
modifications and suddenly a lot more forms could not open reporting
the similar message.

When I compiled the AOT the compiler reported a lotta syntax errors in
various forms',classes' and tables' methods. I found out that in every
method that does not have a semicolon (;) after the method declaration
a syntax error is reported.

So, one solution is to put the semicolon in every method that reports
this error but that means that I have to put a whole lota
semicolons :) Is there any faster solution cause I am in a real hurry
to get this fixed?

Kind regards,

Dar
Sign In or Register to comment.