Releasing production for multiple orders in batch causes a stop error on the first order, (AX2012 R2 CU9)
Controller main method is declared as : Public client static void main
Any idea to solve this error.
Can you replicate the issue in a demo/test environment?
Issue replicate in the test environment.
The 'ANA_ProductionRouteCardControl2' object is not standard. Is this part of an ISV solution or customization (or both)? If you need to have a class being able to run in batch, it should be based on IL code. Have you managed to build the CIL without errors?
It's customized object not ISV Solution. I have build CIL with out any errors.
When I removed the client keyword from the main method "Public client static void main"
as "Public static void main"
Now no any error in the batch job. but its still in executing state for long time...
Any idea to solve this issue.
I did miss the fact that you used the keyword 'client'. That was indeed wrong. Can you tell if the batch job eventually ended correctly? If not, check if there are blocking SQL statements. If it did end, can you review the coding or share details what the batch job should do and what coding is used in the actual processing?
Business Applications communities