Configuring Default Checkbook IDs for GP Invoice Import in Multi-Entity (MEM) Environments
When using Fidesic with Microsoft Dynamics GP in a Multi-Entity Management (MEM) environment, a default Checkbook ID must be configured for each entity in GP. Fidesic reads this setting automatically at import time to assign the correct Checkbook to each batch. Without it, invoice imports will fail.
## Overview
When Fidesic imports approved invoices into Microsoft Dynamics GP, it creates a GP
batch for each entity and assigns a Checkbook ID to that batch automatically. In
Multi-Entity Management (MEM) environments, Fidesic determines the correct Checkbook
by reading the **default Checkbook ID configured in GP's Entity Checkbook Setup** for
each entity.
This means the default Checkbook ID must be set in GP for every entity you intend to
import invoices into. This is a one-time setup step, but it is required for imports
to function correctly.
---
## Setup Instructions
1. In GP, navigate to **Multi-Entity Management > Setup > Entity Checkbook Setup**
2. Use the **Entity** lookup to select the entity you want to configure
3. In the **Line Items** list, locate the correct Checkbook ID and check the
**Default** checkbox
4. Click **OK** to save
5. Repeat for each entity in your MEM environment
Once set, Fidesic will automatically read and apply the default Checkbook ID for each
entity during every import — no additional configuration is needed on the Fidesic side.
---
## Important Notes
- This setting must be configured **per entity**. A default set on one entity does
not carry over to others.
- If your organization adds new GP entities over time, remember to configure the
default Checkbook ID for each new entity before running imports.
- If multiple Checkbooks are listed for an entity, only one should have the
**Default** checkbox checked.
---
## Troubleshooting
If the default Checkbook ID is not set, or is set incorrectly, GP will throw the
following error when Fidesic attempts to create an invoice batch:
> Unhandled script exception: Illegal address for field 'Checkbook ID' in script
> 'CreateInvoice'. Script terminated.
If you see this error, verify the default Checkbook ID is configured for the affected
entity using the steps above.
---
## Related Articles
- Multi-Entity Management (MEM) Overview
- Troubleshooting GP Batch Posting Errors
- GP Invoice Import Setup Guide