Skip to Content
author's profile photo Former Member
Former Member

C4C - How to update a field on the Account or Individual Account right after adding a Relationship?

Hi All,

I'm trying to update a field on either the Account or Individual Account after adding a Relationship between them using the Relationships facet on the Account.

Is there a way to update a field on either the Account or Individual Account once the user presses Save on the bottom of the Account form. I'm just trying to update any field to get a record's modified date to change because it looks like the modified date does not change when a relationship is added.

Any guidance would help.

Thanks,

relationship.png (5.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Apr 22, 2016 at 05:47 AM

    Hi,

    relationships are stored in a seperate BO (BusinessPartnerRelationship) therefore the BO Customer "modified date" is not updated when a relationship is added. If you want to update a BO Customer field when a relationship is added you have to do this i.e. in BusinessPartnerRelationship.BeforeSave.

    Regards,

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.