ERP Integration (EDGEBIC)

Scheduling a Nightly ERP Export and Import Routine for EDGEBIC

User Solutions TeamUser Solutions Team
|
8 min read

A nightly or weekly ERP export and import routine keeps the EDGEBIC schedule current by having the ERP produce fresh files on a timer, then importing them through saved masks in a fixed order and running the scheduler once, with the per-run counts read before anything reaches the floor. The routine is repeatable by design: master data that already matches comes back untouched, routings re-import idempotently, and work in progress is never disturbed.

EDGEBIC by User Solutions integrates with every ERP through the same file-based masks, so the routine below is identical whether the files come from SAP, QuickBooks, or a job-shop system. This post is the operational how-to for making that refresh a reliable habit rather than an occasional scramble. The architecture behind it is in why EDGEBIC connects to every ERP the same way.

The two halves of the routine

Separate the routine into a part the ERP can automate and a part a person should own.

  • Export (automatable). Most ERPs can save a report or list to a file on a schedule. Point those saved exports at a known folder and let them run overnight so current items, routings, and open orders are waiting each morning.
  • Import and schedule (person-owned). Importing changes data and scheduling changes the plan. You want a human to read the counts and decide before the floor receives a new sequence. This half is a few minutes of clicks, not an all-day task.

Keeping the second half manual is a deliberate control, not a limitation. An unattended process that both imports and reschedules could silently rearrange the shop overnight; the split prevents that.

The import order

Run the masks in dependency order so the logs stay clean and a bad file is obvious:

  1. Items first, so downstream data has products to attach to.
  2. Work centers next, so routings have resources to reference.
  3. Routings next. The two-pass routing import auto-creates any item or work center it names that is missing, so strict ordering is not mandatory, but running items and work centers first keeps the routing log free of incidental creations.
  4. Open orders last among the core files, because they are the demand the scheduler consumes.
  5. Actuals optionally, if you feed logged hours back so the reschedule starts from where jobs really stand.

Then, and only then, run the scheduler. Imports never schedule anything; imported orders sit as unscheduled demand until you run the engine, which states how many jobs are new and how many are being rescheduled before it plans.

Why re-running is safe

The routine is built to be run repeatedly:

  • Reused means untouched. Master data that already matches an existing record comes back Reused, not rewritten, so re-importing an unchanged item list is a no-op that clears in seconds.
  • Routings re-import idempotently. A routing import wipes and recreates only that product's steps once per run, so importing the same routing file twice leaves the same result, not doubled steps. Keep all of one product's steps in one file so the wipe-and-recreate stays whole.
  • Work in progress is frozen. Every scheduled job carries a snapshot of the routing it was planned with, so a routing change applies to future jobs and leaves running work untouched.
  • Blank cells preserve values. On an update run, a blank cell keeps the existing value, so a partial refresh file is safe. A zero, though, is a value, so leave a column out rather than filling it with zeros you do not mean.

Reading the counts

Every run ends with a result dialog and a per-run log. Read the counts before you trust the schedule:

  • A high Reused count is normal and good. It means most master data already matched.
  • An unexpected Failed count is your signal. Open the log; each Failed row records the exact reason. A common cause is a date format or a quoted-text setting that needs adjusting in the mask, not in the file.
  • A surprisingly low Created count on a file you expected to add rows often means an export came out short. Re-export that one file rather than proceeding. When a scheduled export does not land at all, what to do when the ERP export is late or missing covers why yesterday's plan is still safe to work to and how to catch up cleanly.

Because failures isolate at the row level, one bad date never blocks the rest of a file, and one bad file never blocks the other masks.

A weekly rhythm that scales to nightly

Most shops start weekly and tighten from there. A weekly run looks like this:

StepAction
1Confirm the overnight export files are present
2Run item, work center, routing, order masks in order
3Read the counts; open the log on any unexpected Failed
4Run the scheduler; note new versus rescheduled jobs
5Export the dated plan back as Excel for the floor

Moving to nightly changes only the cadence, not the steps. The saved masks and the import order are unchanged; you simply run them more often. For the full weekly walkthrough see keeping ERP and EDGEBIC in sync, and for the exact fields each file should carry see which ERP fields EDGEBIC needs to schedule.

Sending the plan back

The routine closes by exporting the finished schedule. The Job View grid and every report export to Excel or PDF using your saved column layout, and revised dates go back into the ERP through your normal order maintenance path. The mechanics of that return trip are covered in exporting the EDGEBIC schedule back to your ERP. The EDGEBIC product overview maps the engine that produces the plan, and the ERP integration architecture shows where this routine fits.

Make it a habit, not a project

The whole point of a saved routine is that it stops being a decision. Once the masks exist and the import order is fixed, the refresh is muscle memory: files land, masks run, counts read, scheduler runs, plan exported. Bring a week of your own exports to a demo and build the routine live, so you leave with the masks already saved.

EDGEBIC does not reach into the ERP; the ERP produces the export. Many ERPs can save a report or list to a file on a schedule, and once those files land, importing them is two clicks per mask. The pattern is ERP-produces-files-on-a-schedule, then a planner runs the saved masks and the scheduler in the morning. There is no API pull, which is exactly why the routine keeps working across ERP updates.

Foundation data first, demand last: items, then work centers, then routings, then open orders, then optional actuals. Routings can auto-create a missing item or work center, so strict ordering is not mandatory, but importing in that order keeps the logs clean and makes a bad file obvious. Run the scheduler only after all imports finish, because imports never schedule anything on their own.

Yes. Master data that already matches comes back Reused and untouched, and a routing re-import wipes and recreates only that product's steps, which makes it idempotent. Jobs already scheduled carry a frozen routing snapshot, so a nightly refresh never disturbs work in progress. The routine is designed to be run repeatedly without accumulating duplicates.

Expert Q&A: Deep Dive

Q: We want the schedule fresh every morning without a person babysitting exports at midnight. What can actually be automated and what cannot?

A: Split the routine into two halves. The export half is often automatable inside the ERP itself: many systems can run a saved report or list to a file on a nightly timer, dropping current items, routings, and open orders into a folder while nobody is watching. The import and schedule half is deliberately kept as a person's decision, because importing changes data and scheduling changes the plan, and you want a human to see the counts before the floor gets a new sequence. In practice that means the files are waiting when the planner arrives, and the morning work is run the saved masks, read Created and Reused and Failed, then run the scheduler and look at what moved, a few minutes total. You get overnight-fresh data without letting an unattended process silently rearrange the shop, which is the balance most manufacturers actually want.

Q: If one export file is malformed one night, does the whole routine fall over?

A: No, and this is where file-based integration is more robust than a live link. Each mask is independent, so a bad routing file does not stop the item or work center imports that already ran. Within a file, the default behavior isolates failures at the row level: a single bad date is marked Failed with the exact reason in the log and the run continues through the remaining rows, so one malformed line never blocks hundreds of good ones. Because you read the counts before running the scheduler, a file that came out wrong shows up as an unexpected Failed count or a low Created count, and you re-export that one file rather than unwinding a half-applied sync. The blast radius of a bad night is one file and one re-run, not the whole schedule.

Frequently Asked Questions

Ready to Transform Your Production Scheduling?

User Solutions has been helping manufacturers optimize their production schedules for over 35 years. One-time license, 5-day implementation.

User Solutions Team

User Solutions Team

Manufacturing Software Experts

User Solutions has been developing production planning and scheduling software for manufacturers since 1991. Our team combines 35+ years of manufacturing software expertise with deep industry knowledge to help factories optimize their operations.

Let's Solve Your Challenges Together