I have an AX 2012 environment that contains:
- AX 2012 R3 CU10 installed
- SQL Server 2014 Stranded Edition as database server
when i tried to initialize retail parameter (Retail > Setup > Parameters > Retail Parameters > 'Initialize' button ), i get the below error:
Error Message (04:16:14 pm) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: axPrimaryKeyColumnName
at Microsoft.Dynamics.Retail.SynchLibrary.CodeGen.DataDistributionNode.AddAXPrimaryKeyColumnName(String axPrimaryKeyColumnName)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrInstanceMethod(ClrBridgeImpl* , ObjectWrapper* objectWrapper, Char* pszMethodName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)
If i double-click the error in Infolog window, it open 'generate' method in RetailCDXCodeGen Class.
Please can any one help me on that?
Thanks in advance