|
| 1 | +--- |
| 2 | +title: Consolidate Balances for a Company that is a Customer and a Vendor |
| 3 | +description: Describes how to consolidate balances for a customer that is also a vendor. |
| 4 | +author: brentholtorf |
| 5 | + |
| 6 | + |
| 7 | +ms.topic: conceptual |
| 8 | +ms.devlang: na |
| 9 | +ms.tgt_pltfrm: na |
| 10 | +ms.workload: na |
| 11 | +ms.search.keywords: payment process, cash receipt |
| 12 | +ms.search.form: 5052, 21, 5050 |
| 13 | +ms.date: 04/01/2021 |
| 14 | +ms.author: bholtorf |
| 15 | + |
| 16 | +--- |
| 17 | +# Consolidate Balances for a Company that is a Customer and a Vendor |
| 18 | +A company that you do business with might be both a customer and a vendor. When that's the case, you can avoid making unnecessary payments or receipts, and perhaps save on transaction fees, by consolidating the company's customer and vendor balances. Consolidation compares the company's balances as a vendor and as a customer, and then nets the amount so that that either the customer or vendor balance remains, depending on which amount was higher. |
| 19 | + |
| 20 | +To consolidate the balances, you must first link the customer and vendor companies through a contact that has the type **Company**. A customer or vendor can only have one contact of the type **Company**. For more information, see [Create Contacts](marketing-create-contact-companies.md). |
| 21 | + |
| 22 | +After you link the companies, the **Customer Card** page offers the **Balance as Vendor** field, and the **Vendor Card** page includes the **Balance as Customer** field. |
| 23 | + |
| 24 | +Though it's not a requirement, the customer and vendor companies are typically the same legal entity. |
| 25 | + |
| 26 | +## Before you start |
| 27 | +Before you consolidate balances, specify a few settings on the **Marketing Setup** page. |
| 28 | + |
| 29 | +* On the **Interactions** FastTab, you must specify business relation codes in the **Customers** and **Vendors** fields. [!INCLUDE[prod_short](includes/prod_short.md)] uses this information to determine the type of relation to display for contacts. |
| 30 | +* Optional: On the **Duplicates** FastTab, turn duplicate search on or off. By default, duplicate search is turned on. For more information, see [Handling duplicates](#handling-duplicates). |
| 31 | + |
| 32 | +## Link an existing customer and vendor company thorough a contact |
| 33 | +The following steps describe how to link a customer and a vendor through a contact. |
| 34 | + |
| 35 | +1. Choose the  icon, enter **Customer** or **Vendor**, and then choose the related link. |
| 36 | +2. Choose the customer or vendor, and then choose the **Contact** action. |
| 37 | +3. If the **Contact Business Relation** field contains a value other than **None**, you must remove the relation. To do that, use the **Business Relation** action, and then delete the relation. |
| 38 | +4. Depending on whether you chose **Customer** or **Vendor** in step 1, choose the  icon, and then enter the opposite party. That is, if you chose **Vendor**, you should search for **Customer**. |
| 39 | +5. Choose the vendor or customer, and then choose the **Contacts** action. |
| 40 | +6. Choose the **Link with existing** action, and then the **Customer** or **Vendor** option. |
| 41 | +7. Choose the customer or vendor. |
| 42 | + |
| 43 | +## Create a vendor from a customer, or vice versa |
| 44 | +You can create a new vendor from an existing customer, or a new customer from a vendor. From the **Customer** or **Vendor** pages, open the **Contact** page. Choose the **Create as** action, and then either the **Customer** or **Vendor** options. |
| 45 | + |
| 46 | +## Create a new customer or vendor and link them through a vendor or customer contact |
| 47 | +1. Create a new customer or vendor. For more information, see [Register New Customers](sales-how-register-new-customers.md) or [Register New Customers](sales-how-register-new-customers.md). |
| 48 | +2. After you set up the customer or vendor, choose the **Create** action, and then choose either the **Customer** or **Vendor** options. |
| 49 | + |
| 50 | +## To consolidate the customer and vendor balances for a contact company |
| 51 | +On the **Payment Journal** page, use the **Net Customer/Vendor Balances** action to consolidate the customer and vendor balances into a single net amount. The action creates, but does not post, payment journal lines that contain the net balances. |
| 52 | + |
| 53 | +> [!NOTE] |
| 54 | +> If the customer or vendor balances contain amounts that are in different currencies, a line is created for the amount in each currency. |
| 55 | +
|
| 56 | +## Handling duplicates |
| 57 | +If you turn on duplicate search on the **Duplicates** FastTab on the **Marketing Setup** page, a warning will display when you change the values of fields that are part of the setup for duplicate search strings. When a duplicate is found, you can take the following actions: |
| 58 | + |
| 59 | +* Combine the duplicate contacts into a single contact that is the same for both the customer and vendor by using the **Merge With** capability on the **Contact Card** page. Typically, merging contacts is done only when the customer and vendor are the same legal entity. For more information, see [Merge Duplicate Records](sales-how-merge-duplicate-records.md). |
| 60 | +* Delete the vendor business relation for the vendor or customer contact, and then use the **Link to Existing** action to link to a different contact. |
| 61 | + |
| 62 | +## See Also |
| 63 | +[Sales](sales-manage-sales.md) |
| 64 | +[Register New Customers](sales-how-register-new-customers.md) |
0 commit comments