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

# Look up vendor information

> Look up vendor and business unit records in the database during invoice verification, and add or edit entries in the local database copy in FlexiCapture.

If a vendor or business unit was not detected automatically when an invoice was recognized, you can select one from the database.

## Look up a vendor or business unit

<Steps>
  <Step title="Open the lookup dialog box">
    Click the **Find...** button on the form. The **Lookup for Vendor (Business Unit)** dialog box opens.
  </Step>

  <Step title="Search for the entry">
    Begin typing in the search box. Matching entries appear in the list, and all fields of the current record appear on the right side of the dialog box.
  </Step>

  <Step title="Select the record">
    Select the record with the mouse or arrow keys, and click the **Select** <img src="https://mintcdn.com/abbyy/krz5RorXCXcZNXDM/images/flexi-capture/select_item.gif?s=afcbbec5b62adb7eb81d3606a953ead3" alt="Select button" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="21" height="16" data-path="images/flexi-capture/select_item.gif" /> button. The fields from the record are inserted into the group's fields on the form.
  </Step>
</Steps>

If you cannot find the entry, click the **Reset Data** <img src="https://mintcdn.com/abbyy/8aWHPAJyzWmTqglX/images/flexi-capture/reset_field.gif?s=92c896ca68e4783ae1faae6d1a1a6a5a" alt="Reset Data button" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="20" height="17" data-path="images/flexi-capture/reset_field.gif" /> button to clear all the fields in the group.

## Add and edit vendor and business unit records

<Info>
  This feature must be enabled by the Administrator.
</Info>

To process invoices, ABBYY FlexiCapture needs vendor and business unit information, so the **Vendor** and **Business unit** field groups are mandatory. Recognition begins by searching for the vendor and business unit.

These fields are detected using your list of vendors and business units, which is a local copy of an external database. The local copy is synchronized with the external database periodically.

If you cannot find a vendor or business unit record in the local database copy, add it manually so the fields can be found automatically on invoices. If any data changes (for example, a vendor address), update the local database copy.

### Add a record to the local database copy

<Steps>
  <Step title="Open the lookup dialog box">
    Click **Find...** on the data form to open the **Lookup for Vendor (Business Unit)** dialog box.
  </Step>

  <Step title="Add a record">
    Click **Add Record** <img src="https://mintcdn.com/abbyy/M5jnw37NmJ-asKkj/images/flexi-capture/add_item.gif?s=39488573184992e8d120d5e564a53a72" alt="Add Record button" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="16" height="16" data-path="images/flexi-capture/add_item.gif" />.
  </Step>

  <Step title="Enter and save the data">
    Enter your data in the dialog box, save the changes, and close the dialog box.
  </Step>
</Steps>

The record is added to the local database copy, and its fields are highlighted in green. The **Id** field on the data form shows **UNKNOWN**, which means the record currently exists only in the local database copy and is not yet stored in the external database.

The invoice is assigned the **Exception** status, and all subsequent invoices from this vendor have the same status. Once the new vendor record is added to the external database, the **Id** field is populated in all subsequent invoices.

### Edit a record in the local database copy

<Steps>
  <Step title="Open the lookup dialog box">
    Click **Find...** on the data form to open the **Lookup for Vendor (Business Unit)** dialog box.
  </Step>

  <Step title="Edit the record">
    Click **Edit Record** <img src="https://mintcdn.com/abbyy/fmgRWFNHKYN2MLSg/images/flexi-capture/edit_item.gif?s=59202cb387add0c5149f814cf7972612" alt="Edit Record button" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="17" height="16" data-path="images/flexi-capture/edit_item.gif" />.
  </Step>

  <Step title="Enter and save the data">
    Enter your data in the dialog box, save the changes, and close the dialog box.
  </Step>
</Steps>

<Note>
  If you are not using a vendor database, ABBYY FlexiCapture uses neural networks for field detection, unless neural networks are disabled in the program settings. For more information, see [Detecting the main fields](/flexi-capture/invoice-reader/ir-search-fields#neuralnetwork).
</Note>
