Skip to content
Portalby Webisoft®Book a demo

Learn / Connect an on-prem ERP safely

How to connect on-prem Epicor Prophet 21 without opening a port

Install the On-site connector on a Windows machine that can reach Prophet 21 and pair it with a one-time code. It only makes outbound HTTPS connections, so Prophet 21 stays behind your firewall with no port to open.

01About

About Epicor Prophet 21.

Epicor Prophet 21, usually called P21, is Epicor's ERP for wholesale distributors, which Epicor describes as the only ERP designed by distributors for distributors. It covers order management, purchasing across one warehouse or dozens, inventory control, a warehouse management system with barcoding for receiving, put away, picking and cycle counts, a real-time general ledger and service management.

Prophet 21 runs on a distributor's own servers or in the Epicor Cloud, and releases are numbered by year. Release 2026.1 moved the back end to .NET 10, added Bulk Data API capabilities and let Prism users create business rules from natural language.

Epicor has scheduled 2028.1, tentatively May 2028, as the final Prophet 21 release with new features for on-premises customers. Active Support for that release runs through June 30, 2029, Sustaining Support begins July 1, 2029, and new features after it ship in the Epicor Cloud only.

Portal by Webisoft is a B2B portal for Epicor Prophet 21: customer self-service and team apps on live Prophet 21 data.

02The hard part

Why connecting to Prophet 21 is hard.

Prophet 21 hosted on your own servers keeps its middleware inside your network until the move to the Epicor Cloud, and publishing it for each cloud tool is what IT pushes back on.

On-premises P21 stops getting features in 2028

Distributors who host Prophet 21 themselves get their last feature release with 2028.1, and from July 2029 only Sustaining Support remains. A portal bought now will probably outlive that server, so its connection has to keep working when the same middleware moves to the Epicor Cloud.

Every release changes the platform underneath

The 2026.1 release alone moved the P21 back end to .NET 10, added Bulk Data API capabilities and gave Prism deeper access to user-defined data. When this much changes in a yearly release, anything built on the middleware has to be retested after each upgrade instead of assumed to keep working.

Stock and prices belong to a location

Epicor builds Prophet 21 for distributors running one warehouse or dozens, with purchasing centralized across them. Quantities on hand, allocations and selling prices are kept per item and location, so an integration has to decide which location sells and ships an online order and which location's price the buyer sees.

03Options

Your options.

OptionFits whenWatch out for
Native Prophet 21 add-onsYou need one narrow function and an add-on covers it.Each add-on is its own product to license, learn and upgrade.
Generic integration platformYou have someone in-house to build and maintain the flows.You still build the screens, the AI layer and the Prophet 21 write rules yourself.
Custom codeThe need is unique and you have developers who know Prophet 21.Upgrades and staff changes put the integration at risk.
Portal by WebisoftYou want customers, your team and AI agents working on live Prophet 21 data.It works on top of Prophet 21; it does not replace it.
04How Portal connects

How Portal reaches Prophet 21.

Portal connects to the Prophet 21 middleware: Data Services, its OData API, for every read, and the Transaction API for every write. Your administrator enters the middleware address, the company ID (empty reads every company), the location used for orders and prices, the company currency, and either a P21 user and password or a consumer key from SOA Admin. Portal signs in for a bearer token and keeps it until five minutes before it expires. The connection test compares every table and column Portal reads with the middleware's OData metadata and names any the user or key cannot see. For a middleware server inside your network, the On-site connector relay calls it from inside with outbound connections only.

P21 sends no next-page link, so Portal reads each table in pages ordered by last modified date and key. Writes fill P21 windows through transactions: an order goes in through the Order window with the customer, ship-to, PO number and location, after Portal checks the customer's credit status and that no item is deleted, and Portal's reference in web_reference_no is looked up before every create so a retry finds the first order. A quote is an order flagged as projected, and accepting it clears the flag, so the order keeps the quote's number. Card and bank payments are posted through the Cash Receipts window against each paid invoice once the open balance is checked; shipments and receipt history are not read back yet.

05Before you start

What you need.

06Steps

Step by step.

Your Portal team sets up the Prophet 21 connection with you during onboarding, so the first step is done together. The rest is yours to change any time.

  1. Generate a pairing code

    In Portal, ERP, On-site connector, an admin chooses Generate pairing code. It works once and expires after 15 minutes.

  2. Install and pair the agent

    Install the On-site connector on the Windows machine, then in an admin command prompt run portal-on-site pair with the code.

  3. Reach the P21 middleware through the relay

    Run portal-on-site configure relay, choose the Epicor Prophet 21 connector and enter the middleware address as the agent sees it on your network. In Portal, set the Prophet 21 connection to go through the On-site connector. Transactions then go to that same address instead of the UI server the middleware router names, and the P21 user or consumer key stays the same.

  4. Test, start and watch

    Run portal-on-site test, start the Portal On-site Connector service, then check ERP, Sync health in Portal for the connector status and the data received.

07What syncs

What syncs with Prophet 21.

RecordReadWrite backNote
CustomersYesYesCredit hold from the customer credit status
Contacts, addresses and ship-tosYesNo
ItemsYesYes
PricesYesNoOne base price per item at the location you set; no customer pricing
Stock by locationYesYesOn hand less allocated; adjustments and transfers
Quotes (projected orders)YesYesAccepting clears the projected flag and keeps the number
Sales ordersYesYesCredit status and deleted items checked first
Invoices and credit memosYesYesTotals and amount paid, without invoice lines
Cash receiptsNoYesApplied to the paid invoices; not read back yet
ShipmentsNoYesA pick ticket confirmed shipped; not read yet
RMAsNoYesCreated against the original order
Purchase ordersYesYesNew orders, due dates, quantities and cancelled lines

Limits today: Shipments, tracking numbers and payment history are not read from Prophet 21 yet, and prices are one base price per item from one location, without customer-specific pricing.

08Next

What you can do next.

09FAQ

Prophet 21 questions, answered.

Does Prophet 21 need to be on the internet?

No. The agent calls out to Portal over HTTPS; nothing calls in.

What does the agent log?

For relayed requests, only the method, path, status and duration, kept on the machine for 14 days. Its secrets are encrypted on that machine.

How do we know it is working?

ERP, Sync health shows the connector online or offline, what it sent in the last 24 hours and any failed batches you can try again.

10More guides

Keep going.

Sources