Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Help Dynamics Connector AX - CRM

Posted on by Microsoft Employee

Hi,

We have add a new entity related with Invoice entity (similar as the standard Invoice Product entity)

On the mapping configuration we can choose fields from the three entities.

If an Invoice have header and product lines it works as expected

However, if an Invoice have data to write on the new entity, Connector fails return this error: "'xxx_onaccounttrans' entity doesn't contain attribute with Name = 'IsNewObjectProviderInstance'

1: A required attribute was outside the valid bounds. See the exception message for details. Add the appropriate value to the required attribute"

Log file complete the information

"--- Exception Dump ---
 Caught Exception: [Microsoft.Dynamics.Integration.AdapterAbstractionLayer.AdapterException] 'cos_lineasdefacturaacuenta' entity doesn't contain attribute with Name = 'IsNewObjectProviderInstance'.
 Stack trace:
   en Microsoft.Dynamics.Integration.Adapters.Crm2011.CrmObjectProvider.CallCrmExecuteWebMethod(OrganizationRequest request)
   en Microsoft.Dynamics.Integration.Adapters.Crm2011.CrmObjectProvider.CreateNewCompoundEntity(Entity entity, Entity[] children)
   en Microsoft.Dynamics.Integration.Adapters.Crm2011.CrmObjectProvider.WriteCompoundEntity(Object value, String queryProperty)
   en Microsoft.Dynamics.Integration.Adapters.Crm2011.InvoiceObjectProvider.WriteObject(Object value)
   en Microsoft.Dynamics.Integration.Service.Tasks.RecordWork.DoRecordWork(DbMap map, Object key, OperationType operationType, DateTime startTime, String loggingSourceName)

 Inner Exception: [System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]] ''xxx_onaccounttrans'' entity doesn't contain attribute with Name = 'IsNewObjectProviderInstance'.
 Stack trace:

Server stack trace:
   en System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   en Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
   en Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
   en Microsoft.Dynamics.Integration.Adapters.Crm2011.CrmObjectProvider.CallCrmExecuteWebMethod(OrganizationRequest request)"

Do you have any idea what we can check?

many thanks

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Help Dynamics Connector AX - CRM

    Hi,

    It seems to be an issue with the integration of Currency fields. We don´t understand the reason because in other mappings this type of field syncs correctly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans