Hi ,
on selecting Item at sales Line level getting below error
System.MethodAccessException: Attempt by method 'Dynamics.Ax.Application.InventTable.Costpcsprice(System.String, Dynamics.Ax.Application.InventDim, Dynamics.Ax.Application.InventTableModule, Microsoft.Dynamics.Ax.Xpp.AxShared.Date, Boolean, Boolean, Boolean,
Boolean, Boolean, Boolean)' to access method 'Dynamics.Ax.Application.SysTransactionScopeCache.get(System.String, System.Object, System.Object, Boolean)' failed.
at Dynamics.Ax.Application.InventTable.Costpcsprice(String _inventDimId, InventDim _inventDim, InventTableModule _inventTableModuleInvent, Date _priceDate, Boolean _throwError, Boolean , Boolean , Boolean , Boolean , Boolean ) in InventTable.costPcsPrice.xpp:line
19
at Dynamics.Ax.Application.InventTable.@Costpcsprice(String _inventDimId, InventDim _inventDim, InventTableModule _inventTableModuleInvent, Date _priceDate, Boolean , Boolean , Boolean , Boolean )
at Dynamics.Ax.Application.InventTable.@Costpcsprice(String _inventDimId, InventDim _inventDim, InventTableModule _inventTableModuleInvent, Boolean , Boolean , Boolean )
at Dynamics.Ax.Application.InventTable.@Costpcsprice(String _inventDimId, InventDim _inventDim, Boolean , Boolean )
at Dynamics.Ax.Application.InventTable.Costpcsprice(String _inventDimId, InventDim _inventDim)
at Dynamics.Ax.Application.SalesLineType.Initfrominventtable(InventTable _inventTable, Boolean _resetPrice, Boolean ) in SalesLineType.initFromInventTable.xpp:line 73
at Dynamics.Ax.Application.SalesLine.initFromInventTableIL(Object[] _inputContract) in SalesLine.initFromInventTableIL.xpp:line 21
at SalesLine::initFromInventTableIL(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictTable.invokeStaticMethod(Object[] _params) in SysDictTable.invokeStaticMethod.xpp:line 26
at SysDictTable::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)
Please advice is it code related or config related.
Regards,
RMSCS