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
In Multi-Entity Management (MEM) environments, Fidesic determines the Checkbook ID by reading the **default Checkbook ID configured in GP's Entity Checkbook Setup** for each entity. You must set this default for every entity you intend to import invoices into — this is a one-time setup step required for imports to function correctly.
When Fidesic imports approved invoices into Microsoft Dynamics GP, it creates a GP batch per entity and automatically reads the default Checkbook ID from **Entity Checkbook Setup** to assign to that batch.
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.
---
## How do I configure the default Checkbook ID in GP's Entity Checkbook Setup?
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.
---
## What should I know about managing Checkbook IDs across multiple entities?
- 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.
---
## What does the 'Checkbook ID' script error mean and how do I fix it?
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](#) — add link to article URL
- [Troubleshooting GP Batch Posting Errors](#) — add link to article URL
- [GP Invoice Import Setup Guide](#) — add link to article URL
- Multi-Entity Management (MEM) Overview
- Troubleshooting GP Batch Posting Errors
- GP Invoice Import Setup Guide