Skip to content
@Milo-ai-HQ

Milo.ai-HQ

ERP Development — Priority · NetSuite · Business Central · Odoo

Priority NetSuite Business Central Odoo License

One business scenario, implemented natively on four ERP platforms. Not four ports of the same code — each repository uses the extension model the platform actually gives you, the way it would be built for a customer.

The scenario

A company sells on credit and takes orders from a web shop. Three requirements:

  1. Open orders by customer — a report of what is outstanding, and for how much.
  2. A hard credit-limit block — refuse an order that would push the customer past their limit.
  3. A Shopify order feed — web-shop orders land in the ERP automatically.

Requirement 2 is the interesting one. Every one of these platforms ships a credit check that only warns, and only in the UI. A block that actually holds has to sit deeper — on the form trigger, the User Event, the event subscriber, the model constraint — so that the API and the file imports hit it too.

A/R balance + other open orders + this order > credit limit → refuse.

The repositories

What it demonstrates
Priority — Credit Control ORDERITEMS PRE-INSERT trigger + a report procedure. SQLI, the Procedure and Report Generators, custom tables
Priority — Order Load Interface GENERALLOAD + Form Load interface, with a duplicate guard and an error listing for refused rows
NetSuite — Sales Controls User Event beforeSubmit that holds in every execution context, a Suitelet report with credit headroom, SDF project layout
Business Central — Sales Controls AL extension: event subscribers, a query and a list page, a permission set — and no base-app changes, so it survives upgrades
Odoo — Sales Controls Custom module: @api.constrains, a SQL-view report model with list and pivot views, TransactionCase tests
Shopify → ERP Order Sync One Node.js service, four adapters. HMAC verification, idempotency, retries that distinguish network failures from business rejections

The same three requirements, side by side

Priority NetSuite Business Central Odoo
Open orders report SQLI procedure + Report Generator Suitelet + SuiteQL Query + list page SQL-view model, list + pivot
Credit-limit block ORDERITEMS PRE-INSERT trigger User Event beforeSubmit Event subscriber on Sales Line @api.constrains on sale.order
Shopify order sync REST/OData deep insert REST upsert by external id API v2.0 deep insert JSON-RPC execute_kw

On testing without sandboxes

Licensed sandboxes for four ERPs are not something you keep lying around. The sync service ships with mock-erp-api — an in-memory stand-in that reproduces each platform's request, response and error shapes, and enforces the same credit rule with the same message. That makes the rejection path testable end to end: 20 integration tests, all four adapters, no network.

Popular repositories Loading

  1. priority-credit-control priority-credit-control Public

    Priority ERP: an ORDERITEMS trigger that blocks sales order lines over the customer's credit limit, plus an open-orders-by-customer report procedure

    SQL

  2. priority-order-load-interface priority-order-load-interface Public

    Priority ERP: a Form Load interface that imports sales orders from a staging file, with a duplicate guard and an error report for refused rows

    SQL

  3. netsuite-sales-controls netsuite-sales-controls Public

    NetSuite: a User Event credit check that holds in every execution context, and a Suitelet report of open orders with credit headroom

    JavaScript

  4. business-central-sales-controls business-central-sales-controls Public

    Dynamics 365 Business Central: an AL extension with event subscribers for credit control and an open-orders query page, with no base-app changes

    AL

  5. odoo-sales-controls odoo-sales-controls Public

    Odoo: a custom module with a hard credit-limit constraint on sales orders and a pivot report of open orders by customer

    Python

  6. shopify-erp-order-sync shopify-erp-order-sync Public

    A webhook service that syncs Shopify orders into Priority, NetSuite, Business Central and Odoo. Idempotent, with retries. Zero dependencies

    JavaScript

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…