当我尝试从SalesEditLines表单打印报表(例如InvoiceForPayment)时出现此错误:
堆栈跟踪:无效尝试在客户端上调用在CIL中运行的SalesFormLetter_Invoice4Paym_RU.new。 “Microsoft.Dynamics.Ax.Xpp.InvalidRemoteCallException”。
в Dynamics.Ax.Application.SalesFormLetter_Invoice4Paym_RU.new(字符串 _className,String _methodName,SysOperationExecutionMode _executionMode,Boolean,Boolean,Boolean)
в Dynamics.Ax.Application.SalesFormLetter_Invoice4Paym_RU..ctor(字符串 _className,String _methodName,SysOperationExecutionMode _executionMode,Boolean,Boolean,Boolean)
:Dynamics.Ax.Application.SalesFormLetter_Invoice4Paym_RU..ctor()
в SalesFormLetter_Invoice4Paym_RU :: SalesFormLetter_Invoice4Paym_RU(对象[] )
в Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeNewObjCall(类型 type,Object []参数)
- Microsoft.Dynamics.Ax.Xpp.DictClass.MakeObjectOfXppType(Object [] varArgs,String typeName)
в Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(对象[] 参数)в SysOperationServiceController.runServiceOperation.xpp:строка11
SysOperationServiceController :: runServiceOperation(Object [])
в Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(类型 type,String MethodName,Object []参数)
:Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object [] _params)вSysDictClass.invokeStaticMethod.xpp:строка26
SysDictClass :: invokeStaticMethod(Object [])
в Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(类型 type,String MethodName,Object []参数)
- Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className,String staticMethodName,Object [] parms,Object []& exportInfolog)
但所有代码都是标准的,但InvoiceForPayment报告除外