इसे छोड़कर कंटेंट पर जाएं

हायरार्की और दोतरफ़ा डेटा

29 अन्य भाषाओं में भी उपलब्ध

English · Español (Latinoamérica) · 日本語 · Português (Brasil) · Français · Deutsch · Italiano · 한국어 · 简体中文 · Português (Portugal) · 繁體中文 · Bahasa Indonesia · Türkçe · Polski · Tiếng Việt · ไทย · Nederlands · العربية · עברית · Українська · Русский · Svenska · Dansk · Norsk bokmål · Suomi · Čeština · Español (México) · Français (Canada) · Deutsch (Schweiz)

A canal lock in the morning mist, its wooden gates holding back the higher water while a narrowboat waits in the basin below.
AI से बनाई गई इमेज

मॉड्यूल 5 (कुल 6 में से) — अध्याय Master Data और Identity, Data Architect कोर्स का अध्याय 6। हर मॉड्यूल अपने आप में पूरा है। पिछला: मानचित्र फ़ैसला नहीं है · अगला: चेकपॉइंट 1: Steve Trucking

यह मॉड्यूल किस सवाल का जवाब देता है: उस डेटा को कैसे मैनेज करें जिसे एक से ज़्यादा सिस्टम संभालते हैं?

आसान architecture यह है: ग्राहक का मालिक ERP, Salesforce के पास एक कॉपी, बस। असली enterprises इतने साफ़-सुथरे नहीं होते। कानूनी ग्राहक का मालिक ERP है और सेल्स रिलेशनशिप का Salesforce; एक division SAP में चलता है, खरीदा गया दूसरा division किसी और ERP में; prospects सिर्फ़ Salesforce में हैं। फिर कोई चाहता है कि Salesforce यूज़र ERP के नियंत्रण वाला कोई फ़ील्ड अपडेट करें, और तीर दोनों तरफ़ जाने लगते हैं। जैसा मैं इसे पढ़ाते समय कहता हूँ: “सबसे मुश्किल चीज़ bi-directionals हैं।” इसलिए नहीं कि डेटा को दोनों तरफ़ भेजना तकनीकी रूप से मुश्किल है, बल्कि इसलिए कि जब दोनों सिस्टम बदलाव में हिस्सा लेते हैं, तो आपको अधिकार को लेकर बेहद सटीक होना पड़ता है।

दोतरफ़ा डेटा का मतलब दो मास्टर नहीं

Section titled “दोतरफ़ा डेटा का मतलब दो मास्टर नहीं ”

billing address का मालिक ERP है, और वह Salesforce में कॉपी होता है। एक rep को ग्राहक से पता चलता है कि पता बदल गया है, और बिज़नेस चाहता है कि rep Salesforce छोड़े बिना उसे अपडेट कर सके। बात जायज़ है। अब डेटा ERP → Salesforce और Salesforce → ERP, दोनों दिशाओं में बहता है। तो क्या अब billing address का सह-मालिक Salesforce है? नहीं। integration की दिशा से अधिकार तय नहीं होता। rep Salesforce की कॉपी नहीं बदल रहा। architecture की नज़र से यह आधिकारिक मान बदलने का अनुरोध है। आप ERP का फ़ील्ड नहीं बदल रहे; आप उसे बदलने का अनुरोध कर रहे हैं। Salesforce सिर्फ़ interface है; मास्टर अब भी ERP ही है।

इससे design बदल जाता है। अगर फ़ील्ड का मालिक Salesforce होता, तो save किया और काम ख़त्म। अगर मालिक ERP है, तो “save” का मतलब है: Salesforce प्रस्तावित पता भेजता है, ERP उसे जाँचकर स्वीकार करता है, अपना मास्टर अपडेट करता है, और आधिकारिक मान वापस भेजता है। governed मान तभी बदलता है: request → validate → accept → publish, न कि “दोनों सिस्टम अपडेट कर दो और उम्मीद करो कि वे सिंक में रहेंगे।”

दोतरफ़ा डेटा, एक अधिकार ERP के मालिकाना पते को बदलना, तीन लेन में: सेल्स rep, system of engagement के रूप में Salesforce, और system of record के रूप में ERP। एक, rep, जिसके ग्राहक का पता बदल गया है, Salesforce में नया बिलिंग पता प्रस्तावित करता है। दो, Salesforce उसे pending चिह्नित करता है, और पुराना पता ही दिखता रहता है। तीन, Salesforce ERP को एक बदलाव-अनुरोध भेजता है। चार, ERP उसे जाँचता है, स्वीकार करता है और मास्टर करता है। पाँच, ERP आधिकारिक पता वापस भेजता है। छह, Salesforce नया पता दिखाता है। नीचे: Salesforce system of engagement है; डेटा दोनों तरफ़ चलता है, और पते को सिर्फ़ ERP मास्टर करता है। ERP के मालिकाना पते को बदलना सेल्स rep ग्राहक का पता बदल गया है Salesforce ERP system of record नया बिलिंग पता प्रस्तावित करता है 1 उसे pending चिह्नित करता है; पुराना पता ही दिखता है 2 एक बदलाव-अनुरोध 3 जाँचता है, स्वीकार करता है, मास्टर करता है 4 आधिकारिक पता 5 नया पता दिखाता है 6 Salesforce system of engagement है। डेटा दोनों तरफ़ चलता है; पते को सिर्फ़ ERP मास्टर करता है। © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

दोतरफ़ा integration से दोतरफ़ा अधिकार नहीं बनता।

जब मास्टर मना कर दे

Section titled “जब मास्टर मना कर दे ”

ERP बदलाव को अस्वीकार कर देता है: ग्राहक inactive है, पता किसी ERP नियम पर फ़ेल होता है, यूज़र को कानूनी पते बदलने की अनुमति नहीं है, ERP down है, या इस बीच किसी और ने ग्राहक में बदलाव कर दिया। अगर Salesforce पहले ही नया पता दिखा चुका है, तो अब हमारे पास दो सच हैं, और कौन जीतता है, यह मॉड्यूल 1 पहले ही बता चुका है: ERP का सच। इसलिए architecture में अनुरोध हुआ, पर अभी स्वीकार नहीं हुआ वाली एक स्थिति चाहिए: एक अलग प्रस्तावित मान, एक “pending change” flag, या दिखाने से पहले पुष्टि का इंतज़ार। तरीका use case पर निर्भर करता है। नियम नहीं बदलता: किसी अस्वीकृत अनुरोध को कभी प्रतिस्पर्धी सच न बनने दें।

यह एक क्लासिक मामला है। ERP, Salesforce को अपडेट करता है। Salesforce का integration एक बदलाव देखता है और उसे ERP को भेज देता है। ERP को एक अपडेट दिखता है और वह उसे वापस भेज देता है। आपने एक बहुत महँगा लूप बना दिया है। अच्छे two-way डिज़ाइन को पता होता है कि बदलाव कहाँ से शुरू हुआ, master ने उसे स्वीकार किया या नहीं, और यह कोई नया बिज़नेस बदलाव है या पहले से प्रोसेस हो चुके बदलाव की सिर्फ़ गूँज। इसके लिए source identifiers, timestamps, integration metadata और idempotent processing (एक ही संदेश दोबारा आए तो भी नतीजा वही रहे) चाहिए। Integration अध्याय में इस पर गहराई से बात होगी। Master data (बिज़नेस का मूल, टिकाऊ डेटा) का सिद्धांत सीधा है: यह जानें कि आप बदलाव शुरू कर रहे हैं या किसी बदलाव को सिर्फ़ दोहरा रहे हैं।

फिर आते हैं टकराव। एक टकराव आप अध्याय 5 में देख चुके हैं: एक सेल्स rep Steve’s Plumbing LLC का अनुरोध करता है, जबकि ERP में कोई Steve’s Plumbing L.L.C. टाइप कर देता है (Governed रिकॉर्ड को सुरक्षित रखें)। यह रहा एक और। Salesforce 125 Main Street का प्रस्ताव भेजता है, और लगभग उसी पल ERP का एक यूज़र उसे 130 कर देता है। कौन जीतेगा? इसका कोई सार्वभौमिक तकनीकी जवाब नहीं है। हो सकता है ERP हमेशा जीते, क्योंकि फ़ील्ड उसका है। हो सकता है Salesforce का अनुरोध review queue में जाए। हो सकता है बाद में स्वीकार हुआ बदलाव जीते। हो सकता है ERP ऐसा हर अपडेट अस्वीकार कर दे जिसकी शुरुआती value बदल चुकी हो। यह concurrency है, लेकिन इसके नीचे अधिकार का एक फ़ैसला छिपा है। अगर किसी ने तय ही नहीं किया कि आधिकारिक बदलाव कौन कर सकता है, तो कोई भी integration pattern आपको नहीं बचा सकता।

और एक अकेला फ़ील्ड तो आसान मामला है। पते में street, शहर और postal code होते हैं। Salesforce नई street भेजता है, जबकि ERP ने अभी-अभी शहर बदला है। क्या आप street को अकेले जाने देंगे? या पते को एक transaction मानेंगे, ताकि सारे फ़ील्ड साथ जाएँ या कोई भी न जाए, और पूरा बदलाव अस्वीकार कर देंगे? कौन-से फ़ील्ड एक समूह की तरह साथ चलेंगे, यह पहली टक्कर से पहले तय करें, बाद में नहीं।

जब भी मैं कोई two-way integration देखता हूँ, मैं पूछता हूँ: जब दोनों तरफ़ एक ही डेटा बदले, तब क्या होगा? अगर जवाब है “ऐसा शायद नहीं होगा,” तो हमारा काम पूरा नहीं हुआ। कौन जीतेगा? क्या हम अस्वीकार करेंगे, queue में डालेंगे, versions की तुलना करेंगे, review करेंगे? क्या वह फ़ील्ड दोनों जगह editable होना भी चाहिए? कभी-कभी सबसे अच्छा two-way डिज़ाइन किसी एट्रिब्यूट के लिए एक दिशा हटा ही देता है: Salesforce अनुरोध कर सकता है, पर स्वीकार की गई value सिर्फ़ ERP publish करता है। डेटा अब भी दोनों तरफ़ चलता है, लेकिन फ़ील्ड का master सिर्फ़ एक सिस्टम है। सारा फ़र्क इसी में है।

हायरार्की भी master data है

Section titled “हायरार्की भी master data है ”

रिश्ते भी master data हो सकते हैं। एक global parent, उसके नीचे North America और Europe के region, और हर region के नीचे देशों की subsidiaries: यहाँ हायरार्की का खुद एक मतलब है। Parent कौन है? कौन-सी subsidiary किस legal entity के नीचे है? कौन-से accounts global ग्राहक तक roll up होते हैं? इसी से reporting, territories, pricing, contracts, credit exposure, service, data access और analytics तय होते हैं। एक हायरार्की उतनी ही अहम हो सकती है जितने उसके रिकॉर्ड, और उसे भी उतनी ही governance (डेटा के नियम और ज़िम्मेदारी) चाहिए। (परीक्षा में hierarchy management का नाम आता है; इसे भूलना आसान है।)

Salesforce पर account hierarchy Parent Account फ़ील्ड से बनती है। Lightning का hierarchy view 2,000 accounts तक दिखाता है, और सिर्फ़ वही जिन्हें यूज़र देख सकता है। Hierarchy में person accounts सपोर्ट नहीं होते, और Account Site से किसी कंपनी की अलग-अलग लोकेशन पहचानी जाती हैं (Considerations for Using Account Hierarchy (नए टैब में खुलता है))। लेकिन Parent Account फ़ील्ड आर्किटेक्चर के असली सवाल का जवाब नहीं देता: हायरार्की का मालिक कौन है?

परीक्षा-ज्ञान। Account hierarchy की बुनियादी बातें जानें: यह Parent Account से बनती है; Lightning view 2,000 accounts तक दिखाता है, सिर्फ़ वही जिन्हें यूज़र देख सकता है; person accounts सपोर्ट नहीं होते; और Account Site से किसी कंपनी की अलग-अलग लोकेशन पहचानी जाती हैं।

एक हायरार्की, कई मास्टर

Section titled “एक हायरार्की, कई मास्टर ”

मेरे अनुभव में हायरार्की split-mastered होती हैं, यानी उनका master बँटा होता है। North America की entities SAP से आती हैं, Europe की किसी दूसरे ERP से, नए prospects Salesforce में बनते हैं, और खरीदी गई एक subsidiary अभी migrate नहीं हुई है। हायरार्की का मालिक कौन है? यह branch पर निर्भर करता है। हर ERP अपनी branch संभालता है; prospects के रिश्ते Salesforce संभालता है, जब तक वे convert नहीं हो जाते। यह एक जायज़ आर्किटेक्चर है, बशर्ते सबको पता हो कि सीमाएँ कहाँ हैं। हर branch के लिए अलग से तय करें।

एक हायरार्की, कई मास्टर Steve's Plumbing के लिए एक account हायरार्की, जो ग्लोबल parent है, तीन शाखाओं के साथ, और हर शाखा अपने parent के रूप में उसकी ओर इशारा करती है। Steve's Plumbing North America, ERP A में मास्टर। Steve's Plumbing Europe, ERP B में मास्टर। एक नई सहायक कंपनी, convert होने तक Salesforce में मास्टर। नीचे: हायरार्की का मालिक शाखा-दर-शाखा तय करें, और सीमाओं को साफ़ दिखाएँ। parent parent parent Steve's Plumbing ग्लोबल parent Steve's Plumbing North America ERP A में मास्टर Steve's Plumbing Europe ERP B में मास्टर एक नई सहायक कंपनी convert होने तक Salesforce में मास्टर हायरार्की का मालिक शाखा-दर-शाखा तय करें, और सीमाओं को साफ़ दिखाएँ। © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

हायरार्की का अधिकार branch दर branch सौंपा जा सकता है।

इसलिए Parent Account फ़ील्ड के पीछे अधिकार को छिपने न दें। एक यूज़र Salesforce में किसी subsidiary का parent बदल देता है। तकनीकी रूप से मामूली बात। पर आर्किटेक्चर के लिहाज़ से: क्या उसने अभी-अभी कंपनी का legal structure बदल दिया? अगर उस branch का master ERP है, तो शायद नहीं। इसलिए Salesforce को इसे रोकना चाहिए, या इसे change request में बदल देना चाहिए। या शायद Salesforce जायज़ तौर पर एक commercial हायरार्की रखता है, जबकि ERP legal हायरार्की रखता है। तब शायद इन दोनों को एक ही रिश्ता होना ही नहीं चाहिए।

एक कंपनी की कई जायज़ हायरार्की हो सकती हैं: legal, billing, sales, service, geographic। Global parent कॉन्ट्रैक्ट साइन करता है, regions अपने स्तर पर service लेते हैं, billing एक साझा finance entity से होती है, और sales region के हिसाब से मैनेज होती है। असली हायरार्की कौन-सी है? सभी; ये अलग-अलग सवालों के जवाब देती हैं। गलती यह मान लेना है कि एक ही होनी चाहिए। हर तरह के रिश्ते के लिए अधिकार साफ़ होना चाहिए: यह मॉड्यूल 1 का एट्रिब्यूट वाला सिद्धांत ही है, बस रिश्तों पर लागू।

और हर parent-child रिश्ता master data नहीं होता। आज की डिलीवरी को एक रूट (Route) पर इकट्ठा करना भी एक रिश्ता है, लेकिन यह transactional है, एक operational event। ग्राहक की हायरार्की एक टिकाऊ बिज़नेस रिश्ते को दिखाती है। मॉडल में दोनों parent-child जैसे दिखते हैं, पर उनका lifecycle एक नहीं है। पूछें कि रिश्ते का मतलब क्या है और वह मतलब कितने समय तक बना रहता है।

Salesforce और ERP: कई flows, एक क्रम में

Section titled “Salesforce और ERP: कई flows, एक क्रम में ”

दो ERP की बात से पहले, एक से शुरू करते हैं। यह सबसे आम integration है जो मैं देखता हूँ, और यह सिर्फ़ SAP की बात नहीं है: उसकी जगह Oracle या कोई और ERP रख दें। बाईं ओर वह sales object model है जिसे सब जानते हैं: Account, Opportunity, Opportunity Product, और अपनी price book entries के साथ Product। दाईं ओर fulfillment है: ERP का Customer, Order, Order Item और Product।

ज़्यादातर मामलों में ग्राहक का golden record (भरोसेमंद, आधिकारिक मास्टर रिकॉर्ड) ERP के पास होता है। ग्राहक किसे कहते हैं, यह वही तय करता है। प्रोडक्ट, यानी SKU, भी उसी के पास हैं। इसलिए पहले तीर दाईं से बाईं ओर जाते हैं: ग्राहक Account में, प्रोडक्ट Product में।

Salesforce and the ERP: several flows, in order Salesforce on the left, the ERP on the right (SAP, Oracle or another). Salesforce has Account, Opportunity, Opportunity Product and Product; the ERP has Customer (the golden record), Order, Order Item and Product (the SKU). First, what the ERP owns comes in: customers into Account, daily or maybe hourly, and products into Product, daily or sooner. Then what Salesforce creates goes out: opportunities as orders, and opportunity products as order items, near real time, for customers and products the ERP already knows. Underneath: the ERP's customers and products come in first; only then can orders go out; one flow alone should worry you. SALESFORCE THE ERP (SAP, ORACLE OR ANOTHER) Account the customer Opportunity what's being sold Opportunity Product a line: product, quantity, price Product with its price book entries Customer the golden record Order for a customer it knows Order Item for a product it knows Product the SKU customers in: daily, maybe hourly products in: daily, or sooner The ERP's customers and products come in first; only then can orders go out. One flow alone should worry you. © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

पहले वह अंदर आता है जिसका मालिक ERP है: ग्राहक और प्रोडक्ट।

कितनी बार? पूछें। ग्राहक कम से कम रोज़; मैंने हर घंटे भी देखा है, और कुछ चरम मामलों में लगभग real time। प्रोडक्ट अक्सर रोज़; कुछ बिज़नेस चाहते हैं कि 11 बजे बना प्रोडक्ट दोपहर 12 बजे तक बिकने लगे, तो कुछ कहते हैं कि जब तक हमने आपको SKU भेजा नहीं, आप उसे बेचने की उम्मीद न करें। यह बात आपकी requirements gathering को पता करनी होगी।

फिर opportunity बंद होती है, और ऑर्डर उल्टी दिशा में जाते हैं: Salesforce से ERP में, आमतौर पर लगभग real time में, कुछ सेकंड से एक-दो मिनट के अंदर, ताकि salesperson आगे बढ़ सके। लेकिन देखें कि उस ऑर्डर को क्या चाहिए। उसे सही ग्राहक से जुड़ा होना चाहिए, और हर लाइन ऐसे प्रोडक्ट की होनी चाहिए जिसे ERP जानता है। आप ऐसे ग्राहक का ऑर्डर नहीं भेज सकते जिसे ERP ने कभी देखा ही नहीं, न ही ऐसे SKU का line item जो वहाँ है ही नहीं।

Salesforce and the ERP: several flows, in order Salesforce on the left, the ERP on the right (SAP, Oracle or another). Salesforce has Account, Opportunity, Opportunity Product and Product; the ERP has Customer (the golden record), Order, Order Item and Product (the SKU). First, what the ERP owns comes in: customers into Account, daily or maybe hourly, and products into Product, daily or sooner. Then what Salesforce creates goes out: opportunities as orders, and opportunity products as order items, near real time, for customers and products the ERP already knows. Underneath: the ERP's customers and products come in first; only then can orders go out; one flow alone should worry you. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.44.0", "built": "2026-10-27", "id": "DGM-DA-MD-55", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.2.0", "theme": "stevetecharc 1.4.0"} SALESFORCE THE ERP (SAP, ORACLE OR ANOTHER) Account the customer Opportunity what's being sold Opportunity Product a line: product, quantity, price Product with its price book entries Customer the golden record Order for a customer it knows Order Item for a product it knows Product the SKU customers in: daily, maybe hourly products in: daily, or sooner orders out: near real time order items out: near real time The ERP's customers and products come in first; only then can orders go out. One flow alone should worry you. © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

फिर वह बाहर जाता है जो Salesforce बनाता है: ऑर्डर और order items।

यानी एक Salesforce और एक ERP में ही कई flows हो जाते हैं: master data (मुख्य डेटा) जैसे ग्राहक, reference data (संदर्भ डेटा) जैसे प्रोडक्ट और कीमतें, और transactional data (लेन-देन का डेटा) जैसे ऑर्डर। हर एक का अपना मालिक और अपनी timing है, और वे एक क्रम में चलते हैं। जब भी मुझे सिर्फ़ एक flow वाला integration दिखता है, मुझे चिंता होने लगती है। अगर मुझे ग्राहक, प्रोडक्ट या pricing पता ही नहीं, तो मैं ऑर्डर कैसे भेजूँ?

जब मैं यह पढ़ाता हूँ, तो कमरे से पूछता हूँ: किसने ऐसे क्लाइंट के साथ काम किया है जिसके पास एक Salesforce और एक से ज़्यादा ERP हों? हर बार हाथ उठते हैं। वजह पूछें, तो पता चलता है कि ERP या तो region के हिसाब से बँटे हैं (एक North America के लिए, एक Europe के लिए), या काम के हिसाब से (एक plumbing कंपनी एक electrical कंपनी खरीद लेती है, और दोनों अपना-अपना ERP रखती हैं), या बस पुरानी वजहों से: बिज़नेस खरीदा गया था, और किसी ने अब तक उसे migrate नहीं किया।

Steve’s Plumbing को ग्राहक मान लीजिए। यह उत्तरी अमेरिका में बिज़नेस करता है, इसलिए उत्तरी अमेरिकी ERP में इसका एक ग्राहक रिकॉर्ड है। फिर यह Munich में एक दफ़्तर खोलता है, और यूरोपीय ERP अपना अलग ग्राहक रिकॉर्ड बनाता है, अपने ग्राहक नंबर के साथ। एक ही कंपनी, दो रिकॉर्ड, दो ID। मैं इसे एक Salesforce org में कैसे दिखाऊँ?

पहली बात यह समझें: ये दोनों ERP रिकॉर्ड एक ही account के एक External ID फ़ील्ड से एक साथ नहीं जुड़ सकते। एक account, एक key, एक ERP रिकॉर्ड। तो सवाल यह बन जाता है कि आपको कितने Salesforce रिकॉर्ड चाहिए, और वे आपस में कैसे जुड़े हैं। मैंने तीन तरीके देखे हैं, और मेरे students ने भी: पचास लोगों की क्लास में यह पढ़ाएँ, तो हर तरीके के लिए कोई न कोई मिल जाएगा जिसने उसे बनाया है, चाहे हायरार्की हो, बराबरी वाले accounts हों या child ऑब्जेक्ट।

एक account hierarchy। Steve’s Plumbing parent है, और Steve’s Plumbing North America और Steve’s Plumbing Europe उसके child accounts हैं; हर child एक ERP के रिकॉर्ड को दर्शाता है। दिक्कत यह है कि ये children असल में अब Steve’s Plumbing नहीं रहे। ये किसी region में बिज़नेस करने वाली Steve’s Plumbing हैं, और जैसा हमने अभी देखा, हायरार्की का अपना मतलब होता है।

One customer, two ERPs: three ways, and one not to use One customer, Steve's Plumbing, held in two ERPs: ERP North America as customer 10442 and ERP EMEA as customer 88310, on the right. On the left, Salesforce, four ways. First, an account hierarchy: two child accounts, Steve's Plumbing - North America and Steve's Plumbing - EMEA, each keyed one-to-one to its ERP's customer, each pointing to the parent account, Steve's Plumbing. Second, peer accounts: the parent is gone, and Steve's Plumbing - North America and Steve's Plumbing - EMEA stand side by side, each with its region and keyed to its ERP. Third, a child object: one Steve's Plumbing account that sales sees, and two child records, ERP Customer - North America with ERP key 10442 and ERP Customer - EMEA with ERP key 88310, each keyed to its ERP and each pointing to the one account. Last, in coral and marked "not this": one account with a key field for each ERP, NA_ERP_ID__c, EMEA_ERP_ID__c and one more for every new ERP, with both ERPs pointing at it. Underneath: add records, not fields; each ERP record gets its own Salesforce record, never its own key field on one record; the same three ways work when the ERPs split by function, plumbing and electrical. SALESFORCE TWO ERPS Steve's Plumbing the parent account Steve's Plumbing - North America a child account Steve's Plumbing - EMEA a child account ERP North America customer 10442 ERP EMEA customer 88310 key 10442 key 88310 parent parent Add records, not fields: each ERP record gets its own Salesforce record, never its own key field on one record. The same three ways work when the ERPs split by function, plumbing and electrical. HOW TO READ IT the customer as sales sees it the anti-pattern: a key field for every ERP © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

एक account हायरार्की: हर ERP रिकॉर्ड के लिए एक child account, और उनके ऊपर एक parent।

बराबरी वाले accounts (peer accounts)। दो accounts अगल-बगल, हर एक में एक फ़ील्ड जो बताता है कि वह किस ERP का है: कोई company code या region। region को नाम में भी डालें, जैसे Steve’s Plumbing - North America और Steve’s Plumbing - EMEA, ताकि search करने वाला कोई भी इन्हें अलग पहचान सके। कुछ भी छिपा नहीं है। इसकी कीमत reporting में चुकानी पड़ती है: पूरी दुनिया में Steve’s Plumbing को एक साथ देखने के लिए आपको कुछ ऐसा चाहिए जो बताए कि ये दोनों accounts एक ही कंपनी हैं।

One customer, two ERPs: three ways, and one not to use One customer, Steve's Plumbing, held in two ERPs: ERP North America as customer 10442 and ERP EMEA as customer 88310, on the right. On the left, Salesforce, four ways. First, an account hierarchy: two child accounts, Steve's Plumbing - North America and Steve's Plumbing - EMEA, each keyed one-to-one to its ERP's customer, each pointing to the parent account, Steve's Plumbing. Second, peer accounts: the parent is gone, and Steve's Plumbing - North America and Steve's Plumbing - EMEA stand side by side, each with its region and keyed to its ERP. Third, a child object: one Steve's Plumbing account that sales sees, and two child records, ERP Customer - North America with ERP key 10442 and ERP Customer - EMEA with ERP key 88310, each keyed to its ERP and each pointing to the one account. Last, in coral and marked "not this": one account with a key field for each ERP, NA_ERP_ID__c, EMEA_ERP_ID__c and one more for every new ERP, with both ERPs pointing at it. Underneath: add records, not fields; each ERP record gets its own Salesforce record, never its own key field on one record; the same three ways work when the ERPs split by function, plumbing and electrical. SALESFORCE TWO ERPS ERP North America customer 10442 ERP EMEA customer 88310 Steve's Plumbing - North America a peer account · region: North America Steve's Plumbing - EMEA a peer account · region: EMEA key 10442 key 88310 Add records, not fields: each ERP record gets its own Salesforce record, never its own key field on one record. The same three ways work when the ERPs split by function, plumbing and electrical. HOW TO READ IT the customer as sales sees it the anti-pattern: a key field for every ERP © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

बराबरी वाले accounts: हर ERP रिकॉर्ड के लिए एक account, अगल-बगल।

एक account, हर ERP के लिए एक child के साथ। एक Steve’s Plumbing, और एक child ऑब्जेक्ट जिसमें हर ERP का एक रिकॉर्ड हो, जिसमें उस ERP का customer ID रहे। ERP दो हों या दस। सेल्स के लोग एक ग्राहक देखते हैं और एक ऑर्डर डालते हैं; पर्दे के पीछे flows तय करते हैं कि हर line किस ERP में जाएगी: electrical काम electrical ERP में, plumbing का काम plumbing ERP में। लेकिन अब आपको तय करना होगा कि नाम और पते जैसे साझा मानों के लिए कौन-सा ERP primary है, और तब क्या होगा जब ग्राहक एक ERP में हो और दूसरे में न हो।

One customer, two ERPs: three ways, and one not to use One customer, Steve's Plumbing, held in two ERPs: ERP North America as customer 10442 and ERP EMEA as customer 88310, on the right. On the left, Salesforce, four ways. First, an account hierarchy: two child accounts, Steve's Plumbing - North America and Steve's Plumbing - EMEA, each keyed one-to-one to its ERP's customer, each pointing to the parent account, Steve's Plumbing. Second, peer accounts: the parent is gone, and Steve's Plumbing - North America and Steve's Plumbing - EMEA stand side by side, each with its region and keyed to its ERP. Third, a child object: one Steve's Plumbing account that sales sees, and two child records, ERP Customer - North America with ERP key 10442 and ERP Customer - EMEA with ERP key 88310, each keyed to its ERP and each pointing to the one account. Last, in coral and marked "not this": one account with a key field for each ERP, NA_ERP_ID__c, EMEA_ERP_ID__c and one more for every new ERP, with both ERPs pointing at it. Underneath: add records, not fields; each ERP record gets its own Salesforce record, never its own key field on one record; the same three ways work when the ERPs split by function, plumbing and electrical. SALESFORCE TWO ERPS ERP North America customer 10442 ERP EMEA customer 88310 Steve's Plumbing the one account sales sees ERP Customer - North America a child record · ERP key 10442 ERP Customer - EMEA a child record · ERP key 88310 key 10442 key 88310 child of child of Add records, not fields: each ERP record gets its own Salesforce record, never its own key field on one record. The same three ways work when the ERPs split by function, plumbing and electrical. HOW TO READ IT the customer as sales sees it the anti-pattern: a key field for every ERP © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

एक child ऑब्जेक्ट: एक account जिसे सेल्स देखती है, और हर ERP रिकॉर्ड के लिए एक child रिकॉर्ड।

तीनों तरीके काम करते हैं, चाहे ERP region के हिसाब से बँटे हों (North America और EMEA) या function के हिसाब से (प्लंबिंग और इलेक्ट्रिकल)। और तीनों एक ही नियम मानते हैं: हर ERP रिकॉर्ड को उसका अपना Salesforce रिकॉर्ड मिलता है, one-to-one। रिकॉर्ड जोड़ें, फ़ील्ड नहीं।

ऐसा नहीं: हर ERP के लिए एक key फ़ील्ड

Section titled “ऐसा नहीं: हर ERP के लिए एक key फ़ील्ड ”

एक चौथा जवाब भी है जिसे लोग अक्सर अपना लेते हैं, और यही मुझे पसंद नहीं: account एक ही रखें और हर ERP के लिए एक key फ़ील्ड जोड़ दें। NA_ERP_ID__c, EMEA_ERP_ID__c, और जब कंपनी तीसरा बिज़नेस खरीदे, तो APAC_ERP_ID__c। हर नया ERP एक schema change बन जाता है, हर integration को पता होना चाहिए कि उसका अपना फ़ील्ड कौन-सा है, और account यह नहीं बता सकता कि वह किस ERP के मान दिखा रहा है। यह वही गलती है जो Description_English, Description_French, Description_German, या Approver 1, 2 और 3 में होती है (डेटा को उसकी सही जगह रखें): फ़ील्ड्स में छिपी दोहराई जाने वाली संरचना। एक-दो से ज़्यादा हों, तो उसे child ऑब्जेक्ट होना चाहिए।

One customer, two ERPs: three ways, and one not to use One customer, Steve's Plumbing, held in two ERPs: ERP North America as customer 10442 and ERP EMEA as customer 88310, on the right. On the left, Salesforce, four ways. First, an account hierarchy: two child accounts, Steve's Plumbing - North America and Steve's Plumbing - EMEA, each keyed one-to-one to its ERP's customer, each pointing to the parent account, Steve's Plumbing. Second, peer accounts: the parent is gone, and Steve's Plumbing - North America and Steve's Plumbing - EMEA stand side by side, each with its region and keyed to its ERP. Third, a child object: one Steve's Plumbing account that sales sees, and two child records, ERP Customer - North America with ERP key 10442 and ERP Customer - EMEA with ERP key 88310, each keyed to its ERP and each pointing to the one account. Last, in coral and marked "not this": one account with a key field for each ERP, NA_ERP_ID__c, EMEA_ERP_ID__c and one more for every new ERP, with both ERPs pointing at it. Underneath: add records, not fields; each ERP record gets its own Salesforce record, never its own key field on one record; the same three ways work when the ERPs split by function, plumbing and electrical. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.44.0", "built": "2026-10-27", "id": "DGM-DA-MD-56", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.2.0", "theme": "stevetecharc 1.4.0"} SALESFORCE TWO ERPS ERP North America customer 10442 ERP EMEA customer 88310 Steve's Plumbing NA_ERP_ID__c, EMEA_ERP_ID__c, … not this NA field EMEA field Add records, not fields: each ERP record gets its own Salesforce record, never its own key field on one record. The same three ways work when the ERPs split by function, plumbing and electrical. HOW TO READ IT the customer as sales sees it the anti-pattern: a key field for every ERP © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

ऐसा नहीं: एक account पर हर ERP के लिए एक key फ़ील्ड।

तीनों में से जो भी चुनें, उन रिकॉर्ड को सुरक्षित रखें जिनका मालिक ERP है: एक ऐसा record type जिसे सिर्फ़ integration बना सके, ताकि कोई salesperson हाथ से दूसरा “ERP” Steve’s Plumbing न बना दे (हर flow के लिए एक record type)। अब तीनों की तुलना, आमने-सामने:

एक ग्राहक, दो ERP दो ERP में रखे एक ग्राहक को दर्शाने के तीन तरीके। A, हर ERP के लिए एक child account वाली account हायरार्की: एक parent ग्राहक को roll up करता है और हर child एक ERP रिकॉर्ड से मेल खाता है, लेकिन हर child असल में किसी एक क्षेत्र में कारोबार करने वाली कंपनी है; इसे तब चुनें जब ERP सिंक में नहीं रखे जाते और आपको roll-up चाहिए। B, बराबरी वाले accounts, हर ERP के लिए एक: यह वही संरचना दिखाता है जो सेल्स पहले से जानती है और कुछ भी नहीं छिपाता, लेकिन ग्लोबल रिपोर्ट को इन accounts को जोड़ने वाला एक फ़ील्ड चाहिए; इसे तब चुनें जब ERP सिंक में नहीं रखे जाते। C, हर ERP के लिए एक child रिकॉर्ड वाला एक account: सेल्स को एक ग्राहक दिखता है, ऑर्डर पर्दे के पीछे सही ERP में जाते हैं, और यह दो ERP के लिए भी चलता है और दस के लिए भी, लेकिन आपको तय करना होगा कि नाम और पते के लिए कौन-सा ERP मुख्य है, और जब ग्राहक किसी एक ERP में न हो तब क्या होगा; इसे तब चुनें जब क्लाइंट अपने ERP सिंक में रखता है। नीचे: ERP हमारे नियंत्रण में नहीं हैं; Salesforce में हम उन्हें कैसे दर्शाते हैं, यह हमारे नियंत्रण में है। A: Account हायरार्की हर ERP के लिए एक child account पक्ष में एक parent ग्राहक को roll up करता है हर child एक ERP रिकॉर्ड से मेल खाता है विपक्ष में हर child एक क्षेत्र में कंपनी है कब चुनें ERP सिंक में नहीं रखे जाते, और roll-up चाहिए B: बराबरी वाले accounts हर ERP के लिए एक account पक्ष में वही संरचना दिखाता है जो सेल्स पहले से जानती है कुछ भी छिपा नहीं विपक्ष में ग्लोबल रिपोर्ट को accounts जोड़ने वाला फ़ील्ड चाहिए कब चुनें ERP सिंक में नहीं रखे जाते C: एक account हर ERP के लिए एक child रिकॉर्ड पक्ष में सेल्स को एक ग्राहक दिखता है ऑर्डर पर्दे के पीछे सही ERP में जाते हैं दो ERP हों या दस विपक्ष में नाम और पते के लिए कौन-सा ERP मुख्य है? अगर ग्राहक किसी एक ERP में न हो तो? कब चुनें क्लाइंट अपने ERP सिंक में रखता है ERP हमारे नियंत्रण में नहीं हैं। Salesforce में हम उन्हें कैसे दर्शाते हैं, यह हमारे नियंत्रण में है। © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

एक ग्राहक, दो ERP: हर तरीके की कीमत क्या है, और उसे कब चुनें।

पूछें कि वे ERP को सिंक में कैसे रखते हैं

Section titled “पूछें कि वे ERP को सिंक में कैसे रखते हैं ”

तो कौन-सा तरीका चुनें? पहला सवाल: सेल्स के लोगों को ERP की संरचना कितनी दिखनी चाहिए? अगर वे हमेशा से जानते हैं कि North America और Europe अलग-अलग बिज़नेस हैं, क्योंकि वे एक या दूसरे ERP में लॉग इन करते हैं, तो यह उनसे न छिपाएँ। उस संरचना को Salesforce में peers के रूप में ले आएँ। अगर बिज़नेस चाहता है कि सेल्स के सामने एक ही Steve’s Plumbing हो, तो आपका रास्ता है हर ERP के लिए एक child वाला एक account।

फिर वह सवाल आता है जो असल में फ़ैसला करता है, और यह फ़ैसला Salesforce में नहीं होता। मैं क्लाइंट से पूछता हूँ: आप अपने ERP के बीच इन दो रिकॉर्ड को सिंक में कैसे रखते हैं? हर ERP की अपनी लोकल चीज़ें नहीं, जैसे balance; वह transactional है। मेरा मतलब master data से है: legal name, पते। अगर उनके पास कोई टीम है जो दोनों ERP को सिंक में रखती है, तो हम उन्हें एक account में ला सकते हैं। अगर वे अपने ही ERP में इन्हें सिंक में नहीं रख पाते, तो वे हमसे Salesforce में यह उम्मीद कैसे कर सकते हैं? तब peers, या एक हायरार्की।

याद रखें कि ERP क्या होता है। ये विशाल सिस्टम हैं जिन्हें लागू करने में सालों लगते हैं, और master data मैनेज करने का इनका अपना तरीका होता है। Salesforce इन्हें नहीं चलाएगा। ERP हमारे नियंत्रण में नहीं हैं। हमारे नियंत्रण में यह है कि हम उन्हें Salesforce में कैसे दिखाते हैं।

कुछ क्लाइंट हमारे पहुँचने से पहले ही यह सुलझा चुके होते हैं। बड़ी कंपनी, कई साल पुराना बिज़नेस, कई ERP: उन्हें यह समस्या Salesforce से बहुत पहले आ गई थी, और उन्होंने ERP के बीच तालमेल के लिए बीच में एक अलग MDM प्रोडक्ट लगा दिया। यह मॉड्यूल 2 वाला coexistence या centralized MDM है। अब Salesforce हर ERP से अलग-अलग नहीं जुड़ता। वह एक ही जगह, MDM hub, की ओर देखता है और उसे ग्राहक का एक ही रूप मिलता है। पर यह उम्मीद न करें कि ऐसा अक्सर मिलेगा। ये अपने आप में बड़े implementations होते हैं; अपने इतने सालों में मैंने ऐसे सेटअप के साथ सिर्फ़ दो-तीन बार काम किया है। और hub होने पर भी आपको वह child ऑब्जेक्ट चाहिए हो सकता है, ताकि हर ऑर्डर को पता हो कि वह किस ERP में जा रहा है।

बीच में MDM बीच में MDM। बाईं ओर, Salesforce का Account, हर ग्राहक के लिए एक, अपना डेटा MDM हब के गोल्डन ग्राहक में भेजता है, जो मास्टर है, और हब नियंत्रित मान वापस भेजता है। दो ERP, उत्तरी अमेरिका और यूरोप, के ग्राहक रिकॉर्ड भी यही करते हैं: डेटा हब में अंदर, मान वापस। Salesforce हर ERP के लिए एक ERP ग्राहक ID रिकॉर्ड भी रखता है, ताकि ऑर्डर अब भी सही ERP में जाएँ। नीचे: Salesforce हर ERP की ओर नहीं, सिर्फ़ एक जगह, हब, की ओर इशारा करता है। SALESFORCE MDM हब ERP डेटा अंदर मान वापस डेटा अंदर मान वापस डेटा अंदर मान वापस रखता है Account हर ग्राहक के लिए एक ERP ग्राहक ID हर ERP के लिए एक, ऑर्डर के लिए गोल्डन ग्राहक मास्टर ग्राहक ERP उत्तरी अमेरिका ग्राहक ERP यूरोप Salesforce हर ERP की ओर नहीं, सिर्फ़ एक जगह, हब, की ओर इशारा करता है। © 2026 Twinshark LLC · stevetecharc.com
बड़ा करने के लिए क्लिक करें

बीच में MDM: Salesforce एक ही जगह की ओर देखता है।

Steve Trucking: हायरार्की किसकी?

Section titled “Steve Trucking: हायरार्की किसकी? ”

रिटेल पार्टनर (Retail Partner) की अपनी संरचना होती है: corporate parent, regional divisions, डिस्ट्रिब्यूशन सेंटर (DC), स्टोर। क्या उस हायरार्की का मालिक Steve Trucking है? नहीं; अपने संगठन पर अधिकार पार्टनर का है। लेकिन Steve Trucking को उन्हीं लोकेशन का अपना commercial view चाहिए हो सकता है, contracts, account management, service और reporting के लिए; शायद पार्टनर के नीचे हर DC के लिए एक child account। दो जायज़ हायरार्की, दो अधिकार। दोनों को नाम दें, और यह मानने का दिखावा न करें कि एक ही tree हर रिश्ते को दर्शाता है।

सीमाओं को साफ़ दिखाएँ

Section titled “सीमाओं को साफ़ दिखाएँ ”

जब भी अधिकार बँटा हो, मैं चाहता हूँ कि सीमा साफ़ दिखे: फ़ील्ड के नाम, record metadata, source-system identifiers, permissions, integration का व्यवहार, documentation। मैं यह नहीं चाहता कि किसी developer को पाँच integrations पढ़कर पता चले कि “ये Parent Account values SAP से आती हैं, prospects को छोड़कर, Europe को छोड़कर।” ऐसा अधिकार-मॉडल maintain नहीं किया जा सकता। अगर हायरार्की split-mastered है, तो बँटवारे को document करें। अगर conversion पर अधिकार बदलता है, तो उस बदलाव को document करें। अगर Salesforce बदलाव का अनुरोध कर सकता है पर खुद बदलाव नहीं कर सकता, तो यह यूज़र के experience में साफ़ दिखना चाहिए।

Salesforce में इसकी शुरुआत एक फ़ील्ड से होती है। एक ऐसा फ़ील्ड होना चाहिए जो साफ़ बताए कि यह master data है: ERP की key, या एक “is master data” flag। फ़ील्ड editable होगा या नहीं, यह उसी फ़ील्ड से तय करें, record type से नहीं। Dynamic Forms के साथ अब ERP के फ़ील्ड read-only दिखाने के लिए record type की ज़रूरत नहीं रहती (अध्याय 5, हर flow के लिए एक record type)। आप master के बाहर रिकॉर्ड बनाने की अनुमति दे सकते हैं, लेकिन edits पर नज़र रखें।

परीक्षा से आगे: AI क्या बदलता है। एक ग्राहक एजेंट से कहता है, “हमारा बिलिंग पता बदलकर 125 Main Street कर दो।” फ़ील्ड Salesforce में सामने ही है। क्या एजेंट को इसे अपडेट करना चाहिए? अगर उसका मालिक ERP है, तो नहीं। एजेंट को लिखने का अधिकार चाहिए, सिर्फ़ फ़ील्ड तक पहुँच काफ़ी नहीं: उसके action में मंज़ूर रास्ता लिखा होना चाहिए, यानी change request सबमिट करना और कहना “मैंने बदलाव प्रोसेसिंग के लिए सबमिट कर दिया है,” न कि झूठा दावा करना कि “मैंने आपका बिलिंग पता अपडेट कर दिया है।”

आर्किटेक्ट यहाँ क्या तय करता है

Section titled “आर्किटेक्ट यहाँ क्या तय करता है ”
  • Salesforce में किया गया edit आधिकारिक डेटा बदलता है, या उस सिस्टम से बदलाव का अनुरोध करता है जिसका वह डेटा है।
  • Two-way flows नए शुरू हुए बदलावों और उनकी गूँज में फ़र्क कैसे करते हैं, और अस्वीकृति, टकराव, latency (देरी) और failure को कैसे संभालते हैं।
  • हर हायरार्की का मालिक कौन है, ज़रूरत हो तो branch दर branch।
  • Salesforce और हर ERP को कौन-से flows जोड़ते हैं (ग्राहक और प्रोडक्ट अंदर, ऑर्डर बाहर), उनकी timing, और वे किस क्रम में चलने चाहिए।
  • कई ERP में रखे एक ग्राहक के लिए: एक हायरार्की, बराबरी वाले accounts, या हर ERP के लिए एक child वाला एक account, जो इससे तय हो कि क्लाइंट अपने ERP को कितनी अच्छी तरह सिंक में रखता है; हर ERP के लिए अलग key फ़ील्ड कभी नहीं।
  • क्या आपस में टकराती हायरार्की असल में अलग-अलग जायज़ रिश्ते हैं: legal, billing, sales, service।
  • अधिकार की सीमाएँ और मंज़ूर write paths यूज़र्स, integrations, डेवलपर्स और एजेंटों को कैसे दिखें।

साझा अधिकार समस्या नहीं है। समस्या है अस्पष्ट अधिकार। कई ERP hierarchy की अलग-अलग branches को master कर सकते हैं। Salesforce कुछ एट्रिब्यूट्स को master कर सकता है और बाकी में बदलाव का अनुरोध भेज सकता है। और कई hierarchies एक ही enterprise को दिखा सकती हैं। यह सब चलता है, बशर्ते हर अहम एट्रिब्यूट और relationship के लिए आप बता सकें कि उसका मालिक कौन है, उसे कौन बदल सकता है, आधिकारिक बदलाव कहाँ होता है, और सिस्टम असहमत हों तो क्या होता है। अगर नहीं बता सकते, तो डायग्राम पर एक और two-way तीर जोड़ने से यह ठीक नहीं होगा।