Announcements
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.
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
------------------------------------------------------
a
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156