> ## Documentation Index
> Fetch the complete documentation index at: https://docs.procuros.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to setup Customer Master Data in Business Central

> Step by step guide to configure your customer master data

In order to work with the "simple-EDI" app in day-to-day business, you must complete the customer master data setup. Customers in your Business Central instance are identified via the GLN and the corresponding master data such as addresses are pulled from your Business Central instance based on the GLN code.

## Customer GLN Setup

<Steps>
  <Step title="Open customer card">
    On the customer card, you must fill in the GLN field in the "Invoicing" section.

    ![Customer GLN Setup](https://cdn.elev.io/file/uploads/HtCBL3r5zap4ITiuJ39dA9VqDKIf2Pl11yhl_S3kqkE/Aw1FquFT4ugQcmZ2PplcKZYroIOnxWS-rtf7hGQ6W5s/1697634183979-QEE.png)
  </Step>

  <Step title="Setup shipping addresses">
    You also need to ensure that all relevant shipping addresses for this customer exist and that the GLN field is populated with the correct identifiers.

    ![Shipping Address GLN](https://cdn.elev.io/file/uploads/HtCBL3r5zap4ITiuJ39dA9VqDKIf2Pl11yhl_S3kqkE/ptwO-EZGIP-1VwsArUWWdMs_fFQDZ51TbscikFHhfaI/Screenshot%202023-10-18%20at%2015.03.25-nwg.png)
  </Step>
</Steps>

## Configure Business Relationships

To set up the basic functionality, you need to identify the customers (and their shipping addresses) whose sales transactions should be processed via EDI.

<Steps>
  <Step title="Open Business Relationships page">
    To do this, open the "simpleEDI - Business relationships" page.

    ![Business Relationships Page](https://cdn.elev.io/file/uploads/HtCBL3r5zap4ITiuJ39dA9VqDKIf2Pl11yhl_S3kqkE/TRU2joOyngjQfBMYJUW6dxDup7RzkukIum2QQHBDHfk/Screenshot%202023-10-18%20at%2015.12.15-ECk.png)
  </Step>

  <Step title="Sync GLN information">
    If you have previously entered GLNs into customer cards and/or shipping addresses, you can sync this information into the list used for this module.

    ![Sync GLN Information](https://cdn.elev.io/file/uploads/HtCBL3r5zap4ITiuJ39dA9VqDKIf2Pl11yhl_S3kqkE/yNGOa7EsaebtUSWP2wYz7qUqXN_NSv3QCjXfBeRmdWI/Screenshot%202023-10-18%20at%2015.12.40-5h4.png)
  </Step>

  <Step title="Enable Procuros relationship">
    Select the "Business relationship with Procuros" checkbox to enable the possibility of exchanging data via Procuros. For each customer, you also have to decide which type of document you want to send via Procuros.

    ![Enable Procuros Relationship](https://cdn.elev.io/file/uploads/HtCBL3r5zap4ITiuJ39dA9VqDKIf2Pl11yhl_S3kqkE/agFKAphIe4kSuu4nyE8yYldGkJgdRhIUdI4j6cgz12A/Screenshot%202023-10-18%20at%2015.13.11-XbA.png)
  </Step>

  <Step title="Configure pricing options">
    In the context of the customer, you also need to decide whether the submitted prices should be included in the order or (if this is not desired) whether the standard BC rules for prices and discounts of an item should be included in the order.

    ![Configure Pricing Options](https://cdn.elev.io/file/uploads/HtCBL3r5zap4ITiuJ39dA9VqDKIf2Pl11yhl_S3kqkE/0bKZMGI3SsOYIPAkddpHUBeWLyV5_W7YG8pyszeQin8/Screenshot%202023-10-18%20at%2015.13.57-fBU.png)
  </Step>
</Steps>

<Warning>
  If you have different shipping addresses for a customer, make sure you have entered a GLN and that you have enabled these addresses for transfer via Procuros. If the case arises that not all delivery addresses (and/or customers) should be sent via Procuros, you can deactivate the checkbox.
</Warning>

<Note>
  After you have installed/published the simple|EDI module and synchronized your existing customers as described, you can also maintain the GLN on the customer card or on the delivery address card if you want. However, we recommend that you do this on our "simpleEDI - Business relationships" page, as you can activate and edit the individual entries more quickly here.
</Note>

## Master Data Checklist

Use this checklist to ensure that all necessary master data is correctly stored:

<Accordion title="Customer Master Data Checklist">
  * GLN stored for each trading partner
  * GLN stored for different billing and delivery addresses
  * Business relationship with Procuros enabled for relevant customers
  * Document types configured for each customer (orders, invoices, etc.)
  * Pricing options configured (submitted prices vs. standard BC rules)
  * All relevant shipping addresses enabled for Procuros transfer
</Accordion>
