Skip to content

How to update Account custom fields in Service Cloud from Commerce Clould? #187

Answered by ericszulc
Maralez asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, after some digging. I think everything has to go through contact. See this class.
https://github.com/SalesforceCommerceCloud/b2c-crm-sync/blob/72f5c4e66bb883a7de71c5a1759f98bddd682388/src/sfdc/personaccounts/main/default/classes/B2CAccountManager.cls

So... one thing could do to test atleast is if you create a field on the contact to temporarily hold that value and reference the associated __pc field on account. Then you could use a record trigger flow to copy it to it's final destination.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@Maralez
Comment options

@ericszulc
Comment options

@Maralez
Comment options

@delros
Comment options

Comment options

You must be logged in to vote
1 reply
@Maralez
Comment options

Answer selected by Maralez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants