Closed nek4life closed 2 years ago
Hello @nek4life ,
Thank for opening an issue here.
Please find the PR#79 where I added the data mapping to the Readme. Is this what you were expecting? Anything that I could add to the documentation you think might be good asset for everyone
Thanks!
This looks great @jbachelet! One data related question I had is that I do not see that the contactID from service cloud is synced to a custom field in commerce. Is that something that is missing from this project?
After reading the docs a bit more it looks like Contact.ID is synced to custom.b2ccrm_contactId
Hello @nek4life , The data mapping section I added to the docs is regarding the data mapping when a B2C profile comes in and is stored in Core.
When Core replies to B2C Commerce, you right, the Contact.ID is saved in custom.b2ccrm_contactId and Account.ID is saved in custom.b2ccrm_accountId. I did not mention these two as there is no way to "configure" them yourself, as these two IDs are part of the framework.
@jbachelet Thanks for the explanation! All these questions have stemmed from our working sessions with our Service Cloud integration partner. This project assumes the same development team will be familiar with both commerce and core which isn't always the case. Having the data model is a huge help to understanding how our data is connected between all our systems, especially while trying to understand how commerce and core fit in with all our supporting systems.
As always I appreciate all your help on this!
Charlie
Please add default data mappings table to the readme. This is helpful for existing implementations that may need to map values into service from external systems beyond b2c commerce.