Skip to Content
avatar image
Former Member

Changing Manage Account WS

Hi all,

I want to use the Manage Account WS in order to integrate data from external ERP system.

I created a new extension field "ERP ID" under account, and want to use it in order to identify the relevent account when the ERP system invoke the WS.

However, as far as I can tell, Manage Account WS allows only Internal ID or UUID as identifiers.

Is there any way to change this and allow identification by ERP ID?

Thanks,

Dror.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 27, 2015 at 03:10 PM

    Hi Dror,

    You can use the Manage Account Web Service to create/update the Account in C4C.

    This web services is synchronous WS and will return the internal ID/UUID of the Account created/updated in the response.

    Optional: There is a tag <ObjectNodeSenderTechnicalID> in the message that is returned in the response. You can pass the ERP-id here so you can tie up the ERP-id and C4C-id in the response.

    <Contact actionCode="04">

       <ObjectNodeSenderTechnicalID>ERP-id</ObjectNodeSenderTechnicalID>


    You can then use your ERP-id and the C4C-id (from the Manage Account response or a separate Query Account service) to call the Manage Object Identifier Mapping service to update the external id in C4C.

    <ObjectIdentifierMapping actionCode="04">
      <ObjectNodeSenderTechnicalID>01</ObjectNodeSenderTechnicalID>
      <RemoteIdentifierType>888</RemoteIdentifierType>
      <LocalIdentifierType>888</LocalIdentifierType>
      <RemoteObjectID>ERP-id</RemoteObjectID>
      <LocalObjectID>C4C-id</LocalObjectID>
      <OriginTypeCode>5</OriginTypeCode>
      <RemoteBusinessSystem>
        <BusinessSystemID>TSTCLNT005</BusinessSystemID>
      </RemoteBusinessSystem>
    </ObjectIdentifierMapping>

    Hope this help.

    Regards,

    Shashank Gokhale

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Shashank,

      Thank you for your answer.

      I have a follow-up question:

      The scriptlet for the WS request is at the BeforeSave event, how can I catch the resposne from the ERP system and pass it to the C4C appropriate field?


      Thanks,

      Dror

  • avatar image
    Former Member
    Oct 20, 2015 at 12:07 PM

    Hi Dror,

    Please check this post and follow the steps:

    User Query Account and read C4C Internal ID and then update Account.

    Regards,

    Mithun

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 27, 2015 at 01:35 PM

    Former Member - do you have anything to add?

    Add comment
    10|10000 characters needed characters exceeded