Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Address(customeraddress) creation failed in D365 CRM on enabling Dual Write with D365 FO with GAB Dual Write

(0) ShareShare
ReportReport
Posted on by 30

Topic - Address creation from CE throwing error, Not found any resolution

Details -

I have installed and configured Dual Write integration between D365 FO and D365 CE and installed all the initial solution and setups.
We have requirement to store multiple address in CE and sync to FO. For that we have installed Global Address Book Dual Write Solution which is working fine to sync accounts/contacts and sync address1,address2,address3 on account and contact.

Here we can add additional address against the account/contact in CE. When we try to create new address from "Address" Tab on account/contact form in CE it throws below error.
This error is coming from Plugin related to Global Address Book solution and there is not other custom plugin on create of customeraddress in CE.

On Address creation form we have LocationID field which is Readonly. Assumption is that on creation of address it should populate. Please help.

createaddresserror.pngpastedimage1667397037028v1.png

Please refer below Error.
---------------------------------------------------------------------
Exception Message: An error occurred in plugin.Condition for attribute 'msdyn_postaladdresscollection.msdyn_location': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
ExceptionFromPluginExecute: Microsoft.Dynamics.GABExtended.Plugins.CreatePartyAddress
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
PluginTrace: Entity State
msdyn_internalupdateflagforplugin value is True
Update customer address record : True and value of flag is True
Location ID value is
CreatePostalAddress method. Fetching msdyn_postaladdresscollection record with location ID
Condition for attribute 'msdyn_postaladdresscollection.msdyn_location': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.

HelpLink: go.microsoft.com/.../

TraceText:
[Microsoft.Dynamics.GABExtended.Plugins: Microsoft.Dynamics.GABExtended.Plugins.CreatePartyAddress]
[b40f34f4-3a72-eb11-a812-000d3a374768: Microsoft.Dynamics.GABExtended.Plugins.CreatePartyAddress: Create of customeraddress]


Entity State
msdyn_internalupdateflagforplugin value is True
Update customer address record : True and value of flag is True
Location ID value is
CreatePostalAddress method. Fetching msdyn_postaladdresscollection record with location ID
Condition for attribute 'msdyn_postaladdresscollection.msdyn_location': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.

Activity Id: a74f1768-8e7a-47af-9d28-ebc7c90115b5
------------------------------------------------------

  • swapnilekhe Profile Picture
    swapnilekhe 30 on at
    RE: Address(customeraddress) creation failed in D365 CRM on enabling Dual Write with D365 FO with GAB Dual Write

    a

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans