Posts

Showing posts with the label Compile

Error executing code: InventClosing (table) has no valid runable code in method 'unresolvedClosingExist' in AX 2012

Image
Hi Folks, Today, in this article we are going to share a very helpful tips to resolve the below kind of error in AX 2012. Error : Error executing code: InventClosing (table) has no valid runable code in method 'unresolvedClosingExist'. Stack trace (S)\Data Dictionary\Tables\InventClosing\Methods\unresolvedClosingExist (S)\Classes\ProdUpdStatusDecrease\validate - line 17 (S)\Classes\ProdUpdStatusDecrease_StartUp\validate - line 3 (S)\Classes\ProdUpdStatusDecrease\run - line 13 (S)\Classes\ProdTableType\runStatusDecrease - line 8 (S)\Classes\ProdStatusType\runStatusDecrease - line 27 (S)\Classes\ProdMultiStatusDecrease\run - line 44 (S)\Classes\RunBaseMultiParm\runOnServerInternal - line 31 (C)\Classes\RunBaseMultiParm\runOnServer - line 8 (C)\Classes\ProdMultiStatusDecrease\main - line 39 (C)\Classes\FormFunctionButtonControl\Clicked Cause : This problem may be caused by the following issues: A method that is being called has syntax errors in the code....

AX 2012 - Compile and compile forward

Image
Hi Folks, Today, in this post we will talk about very interesting topic: Compile and compile forward. Well, compilation is a process which converts X++ Code into P-Code. Compilation mostly used when there are stack trace errors and AX crash because of it. Difference between compile and compile forward: Compile: Compilation can be done for all the objects in the AOT. We can do the compilation in 6 ways which are following: 1) Individual objects compilation: (Select the object, right click and choose compile) 2. Group objects compilation:  (Select the objects group, right click and choose compile) 3. Entire application compilation from the AOT (Application object tree): (Right click on the AOT and choose compile) 4. Entire application compilation from the front end. (Go to System administration/Area Page/Periodic and click on compile application) 5. Parallel compilation using command prompt. To know more please click here Compile forward:...