Skip to Content

Setting Customer Owner using SDK

Dear, I'm trying to set the Customer Owner programmatically using the Hybris C4C SDK. The Customer BO has the EmployeeResponsibleSales association, but it is Read Only and there isn't an action to set/add an Owner for Customer. I didn't see a way to add a member to Account Team, it could solve the problem too.

Does anyone know some way to do that?

Best regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 21, 2017 at 05:36 PM

    Hi Isaias,

    you have to create a new instance for EmployeeResponsibleSales like this:

    myCustomer.EmployeeResponsibleSales.Create().

    Best regards,

    Frank

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2017 at 03:37 PM

    Hi Tobias, has neither has neither action nor writable element to set an Employee UUID or ID.

    Best regards

    Isaias Barroso

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2017 at 02:28 PM

    Hi,

    did you checked if there is an possibility in this BO to set the ID of the responsible Employee.

    This would be de normal way to assign an new Employee to an Customer in SAP Business ByDesign.

    Best regards

    Tobias Kuhn

    Add comment
    10|10000 characters needed characters exceeded