{"id":2829,"date":"2017-08-21T14:46:42","date_gmt":"2017-08-21T14:46:42","guid":{"rendered":"https:\/\/answers.gurussolutions.com\/answers\/comment-attribuer-un-role-de-contact-a-un-client-via-lintegration-netsuite\/"},"modified":"2026-07-28T18:25:14","modified_gmt":"2026-07-28T18:25:14","slug":"comment-attribuer-un-role-de-contact-a-un-client-via-lintegration-netsuite","status":"publish","type":"qa_entry","link":"https:\/\/answers.gurussolutions.com\/fr\/answers\/comment-attribuer-un-role-de-contact-a-un-client-via-lintegration-netsuite\/","title":{"rendered":"Comment attribuer un r\u00f4le de contact \u00e0 un client via l&rsquo;int\u00e9gration NetSuite ?"},"content":{"rendered":"","protected":false},"template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","ga_subtitle":"Ce guide explique la proc\u00e9dure \u00e0 suivre pour associer des contacts \u00e0 des fiches clients et d\u00e9finir leurs r\u00f4les sp\u00e9cifiques \u00e0 l'aide des services Web SuiteTalk de NetSuite.","ga_short_answer":"Pour attribuer un r\u00f4le de contact \u00e0 un client dans NetSuite via l\u2019int\u00e9gration, utilisez l\u2019op\u00e9ration `attach` au sein des services Web SuiteTalk. Cette op\u00e9ration permet d\u2019associer un enregistrement de contact \u00e0 un enregistrement client, en sp\u00e9cifiant le r\u00f4le de contact souhait\u00e9 via une requ\u00eate XML. Veillez \u00e0 utiliser les versions actuelles du WSDL et tenez compte de la d\u00e9pr\u00e9ciation des services Web SOAP.","ga_scenario":"Les entreprises ont souvent besoin d\u2019int\u00e9grer des syst\u00e8mes externes \u00e0 NetSuite pour g\u00e9rer leurs relations clients. Une exigence courante consiste \u00e0 associer des contacts sp\u00e9cifiques aux fiches clients et \u00e0 d\u00e9finir leurs r\u00f4les, tels que \u00ab Contact principal \u00bb ou \u00ab Contact de facturation \u00bb. Cette int\u00e9gration garantit que les informations clients sont exhaustives et refl\u00e8tent fid\u00e8lement les relations au sein de l\u2019entreprise.","ga_solution":"Pour attribuer un r\u00f4le de contact \u00e0 une fiche client via l\u2019int\u00e9gration NetSuite, l\u2019op\u00e9ration `attach` est utilis\u00e9e au sein des services Web SOAP de SuiteTalk. Cette op\u00e9ration permet d\u2019associer un contact \u00e0 un client et de d\u00e9finir son r\u00f4le.\n\nPour plus d\u2019informations sur les op\u00e9rations `attach` et `detach`, veuillez vous reporter \u00e0 la documentation du Centre d\u2019aide NetSuite :\nhttps:\/\/system.netsuite.com\/help\/helpcenter\/en_US\/Output\/Help\/SuiteCloudCustomizationScriptingWebServices\/SuiteTalkWebServices\/attachdetach.html\n\nVous trouverez ci-dessous un exemple de requ\u00eate XML permettant d\u2019associer un contact ayant un r\u00f4le sp\u00e9cifique \u00e0 un client. Veuillez noter que les espaces de noms WSDL doivent correspondre \u00e0 une version actuellement prise en charge (par exemple, 2025.2) pour une compatibilit\u00e9 optimale.\n\n```\nxml\n<attach xmlns=\"urn:messages_2025_2.platform.webservices.netsuite.com\">\n  <attachReference xsi:type=\"ns1:AttachContactReference\"\n        xmlns:ns1=\"urn:core_2025_2.platform.webservices.netsuite.com\">\n      <ns1:attachTo internalId=\"176\" type=\"customer\" xsi:type=\"ns1:RecordRef\">\n        <ns1:name xsi:type=\"xsd:string\">Adelina Shonkwiler<\/ns1:name>\n          <\/ns1:attachTo>\n       <ns1:contact internalId=\"1467\" xsi:type=\"ns1:RecordRef\"\/>\n         <ns1:contactRole internalId=\"-10\" xsi:type=\"ns1:RecordRef\">\n            <ns1:name xsi:type=\"xsd:string\">Primary Contact<\/ns1:name>\n          <\/ns1:contactRole>\n   <\/attachReference>\n <\/attach>\n```\n\n**Remarque importante :** bien que l\u2019op\u00e9ration `attach` soit actuellement disponible dans les services Web SOAP de SuiteTalk, NetSuite proc\u00e8de activement \u00e0 la d\u00e9pr\u00e9ciation des services Web SOAP, dont la suppression compl\u00e8te est pr\u00e9vue d\u2019ici la version 2028.2. Pour les nouvelles int\u00e9grations, NetSuite recommande d\u2019utiliser les services Web REST.","ga_source_author":"","ga_source_author_email":"","ga_date_original":"2017-08-21T16:46:42+02:00","ga_date_verified":"2026-07-05","ga_source_subject":"Contact Role on customer through integration","ga_ans_id":"ANS-1090","ga_publish_decision":"publish_with_edits","ga_staleness_risk":"high","ga_review_priority":"verify_soon","ga_tier2_verdict":"partially_outdated","ga_tier2_concerns":"The XML namespaces in the sample (`urn:messages_2_6.platform.webservices.netsuite.com`, `urn:core_2_6.platform.webservices.netsuite.com`) refer to an outdated WSDL version (2.6), whereas current supported WSDL versions are much newer (e.g., 2025.2).; The XML tag `attachReferece` appears to contain a typo and should likely be `attachReference`.; While the `attach` operation is still available in SuiteTalk SOAP Web Services, NetSuite is actively deprecating SOAP Web Services, with full removal scheduled by 2028.2, and recommends using REST Web Services for new integrations.","ga_final_category":"Web Services & Integrations","footnotes":""},"ga_category":[102,28,102],"ga_audience":[10],"ga_difficulty":[92],"class_list":["post-2829","qa_entry","type-qa_entry","status-publish","hentry","ga_category-services-web-et-integrations","ga_category-web-services-integrations","ga_audience-developer-suitescript","ga_difficulty-niveau-intermediaire"],"taxonomy_info":{"ga_category":[{"value":102,"label":"Services Web et int\u00e9grations"},{"value":28,"label":"Web Services & Integrations"},{"value":102,"label":"Services Web et int\u00e9grations"}],"ga_audience":[{"value":10,"label":"Developer\/SuiteScript"}],"ga_difficulty":[{"value":92,"label":"Niveau interm\u00e9diaire"}]},"featured_image_src_large":[],"author_info":[],"comment_info":"","_links":{"self":[{"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/qa_entry\/2829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/qa_entry"}],"about":[{"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/types\/qa_entry"}],"version-history":[{"count":1,"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/qa_entry\/2829\/revisions"}],"predecessor-version":[{"id":4749,"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/qa_entry\/2829\/revisions\/4749"}],"wp:attachment":[{"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/media?parent=2829"}],"wp:term":[{"taxonomy":"ga_category","embeddable":true,"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/ga_category?post=2829"},{"taxonomy":"ga_audience","embeddable":true,"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/ga_audience?post=2829"},{"taxonomy":"ga_difficulty","embeddable":true,"href":"https:\/\/answers.gurussolutions.com\/fr\/wp-json\/wp\/v2\/ga_difficulty?post=2829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}