Regarding PurchaseRequisitionLine in a purchase requisition!

Hi!

I have been getting this error over and over again.

“The state of the source document or source document line could not be updated.”

Am trying to make a purchase requisition line. Am getting an entry in the purchreqTable but my purchreqline is always empty!

Tried debugging it! But getting stuck!! Any ideas?

Under tools/ options / development there is a tick box “run business logic in CIL” Untick, save and put a breakpoint on classes\sourceDocumentstateBase\transaction(). Now run your code and the breakpoint will come up. ( make sure you are a member of the debugger’s group on the local machine.

Good luck

Tony

Hi, I’m facing the same problem. When try to post the intercompany sales order, I’m getting this error message:

Please, let me know if you have a solution.

Thanks!

"Error Posting\Sales order: SO-00001212\Company: XYZ Solutions, Inc. - US

The state of the source document or source document line could not be updated.

Error Posting An error occurred during update

Error Posting Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type ‘Microsoft.Dynamics.Ax.Xpp.ErrorException’ was thrown.

at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 178

at Dynamics.Ax.Application.FormletterService.Postsalesorderinvoice(SalesFormLetterInvoiceContract _contract) in FormletterService.postSalesOrderInvoice.xpp:line 14

at FormletterService::postSalesOrderInvoice(Object , Object[] )

at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)

at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93

at Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(Object[] parameters) in SysOperationServiceController.runServiceOperation.xpp:line 22

at SysOperationServiceController::runServiceOperation(Object[] )

at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26

at SysDictClass::invokeStaticMethod(Object[] )

at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

"

Hi,

The only thing I can suggest is to do a full CIL and also try turning off “Execute Business Logic in CIL” in the tools\options

Sorry I cannot be of further help

Tony

First thing to be confirmed is, Is it a fully compiled and CIL generated environment?

I am getting the same error when I try to invoice a sales order in AX 2012 FP (it has been fine so far but now we have this error) 4064.farnaz-error.png

any help is appreciated. Have you found any solution?