Hello All,
I am a Dot Net Developer and am working with AX 2009 now.I'm new to AX 2009 . I'm trying to integrate ( customer,Item ) to AX from Some Source .AIF Services throws an exception like below.
Error Message: DataAccess:Invalid document schema. The following error was returned: The element 'InventTable' in namespace 'schemas.microsoft.com/.../Item' has invalid child element 'RoHSCode' in namespace 'schemas.microsoft.com/.../Item'. List of possible elements expected: 'PurchModel, RecId, RecVersion, ReqGroupId' in namespace 'schemas.microsoft.com/.../Item'. Error Source: mscorlib Error Inner Exception:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
I know , I'm not mapping those fileds ( PurchModel, RecId, RecVersion, ReqGroupId ) and don't want use those fields.
I see that , those fields are in AOT and observed that, those fields have configured as not a mondatory in AOT.
Is there any configuration in AX to remove those fields ?.
How can i resolve the issue ?. Please help me in this.
Thanks,
Pavan