Design your customer structure

Organizations and hierarchies

Create the companies you sell to, and model a customer that has several sites.

An organization is a company you sell to. It is the record everything commercial hangs off, so get the identity fields right the first time.

Before you start: know where your customer master data lives. If your ERP owns it, which is the usual case, decide that now and import instead of typing. See Deciding your system of record.

Create an organization

  1. Go to CRM › Organizations.
  2. Select New organization.
  3. Enter the Name. Use the legal name as your ERP has it, so the two systems can be reconciled by eye.
  4. Enter the Customer number. This is the number the company carries in your ERP, and it is unique per tenant. It is the field that makes every later integration possible. Fill it in even if nothing reads it yet.
  5. Enter the VAT ID (USt-IdNr.). Depending on your store settings this is optional, validated for format, or checked against the EU VIES service.
  6. Enter the Industry (branche), free text, for example automotive, retail, logistics. Segment rules can select on it, so agree on spellings before you have four variants of "Automotive".
  7. Set the Lifecycle stage: lead, prospect, customer or churned. It describes pipeline position and grants nothing.
  8. Set the Status: active or blocked. It records whether you have blocked the company, and shows on the record and in the list.
  9. Set the commercial terms: payment terms, credit limit, price list, delivery block. Payment terms left empty inherit the store default. See Set payment terms and a credit limit.
  10. Assign Markets if this company only exists in some of them. Empty means every market.
  11. Save.

Which fields matter, and why

FieldWhy it matters later
customer_numberThe join key to your ERP. Unique per tenant.
vat_idIdentity, tax treatment, and duplicate detection.
brancheSegment rules, campaign targeting, reporting.
lifecycle_stagePipeline reporting; never an access decision.
statusWhether you have blocked the company. A status on the record.
price_listWhich prices this company sees.
external_team_idThe link to the platform team. Filled by the platform.

settings is a free-form key-value area for whatever an integration needs to park: an ERP id, a sales-area code. Do not put payment terms, credit limits, price lists or delivery blocks in it. They are columns of their own, and a second copy in settings is a second answer to the same question.

Fields your ERP fills

Some facts about a company come from your accounting system rather than from a person typing them. They are not on the form; an import writes them, and the organization shows them.

FieldWhat it holds
balance, balance_dueThe open balance and the overdue part of it, as your ERP last reported them. The detail page shows them under Receivables with the time of the last confirmation. Empty means no figure was reported, not zero.
shipping_adviceWhether the company accepts part deliveries (partial) or only complete ones (complete).
location_codeThe warehouse the company is served from, as your ERP codes it.

Where documents go is a separate list on the organization: Document recipients. Each entry names one document (invoice, order confirmation, shipping notice, dunning letter) and an e-mail address or phone number. The first recipient of a document is the one in use; mark another to move it.

Modelling a customer with several sites

This is the question that comes up within an hour of starting, and the answer is not a parent field.

There is no organization hierarchy. Organizations are flat: an organization has no parent organization. That is deliberate. Most "hierarchies" people ask for turn out to be one of three different things, and each has a better answer.

What the customer meansModel it as
One legal entity, several delivery sitesOne organization, several shipping addresses
Several legal entities, separate invoices, separate creditSeveral organizations, one per entity
A group you want to report on or price togetherSeveral organizations in one segment

The test is the invoice. If it gets its own invoice and its own credit limit, it is its own organization. If it only receives goods, it is an address.

For a group of legal entities you want to treat as one commercial unit, create a segment, for example group-mueller, and put the members in it. The segment is then what pricing and campaigns target, while each entity keeps its own customer number, terms and receivables.

Splitting a company into several organizations later is expensive. The order history, the metrics and the segment memberships all sit on the record you split, and orders cannot be reassigned after the fact. Decide "one entity or several" before the first order.

Import instead of typing

Beyond a handful of companies, create them through the integration instead of the form. A customer master import needs, at minimum: name, customer number, VAT ID, and the price list code. See Connect a system and Field mapping.

Duplicate detection runs on create. Depending on your store settings, a create that collides on vat_id, name or customer_number is refused and tells you which record already exists. On an import that is the behaviour you want, because the alternative is two files for the same company.

What to check

  • Open the organization. The header shows the customer number, VAT ID and industry; badges show status, lifecycle stage and payment terms.
  • The Commercial terms panel shows what you set, or the inherited defaults.
  • If the company is blocked or has a delivery block, a red banner shows it at the top of the page.
  • The Orders tab is empty until the company has ordered, and the figures beside it stay blank until customer metrics have been computed at least once.

Next