1. Home
  2. Blog
  3. How ERP Software Works: From Sales Order to General Ledger

How ERP Software Works: From Sales Order to General Ledger

  • 6 min read
  • Tranquil team

How ERP software works is easiest to see by following one sales order. The salesperson saves it, the warehouse sees it on its pick list, the delivery note reduces stock, the invoice raises a receivable and output VAT, and the receipt clears the customer balance. Nobody retypes the order, and the general ledger is up to date when the last document is approved.

An ERP (enterprise resource planning) system is a set of modules, such as accounting, sales, purchasing, inventory, production and HR, that share one database. That shared database is what separates it from a set of separate programs connected by exports. This article explains the parts of an ERP system, how a transaction moves through it, a short history, and what has to be true for it to work in practice.

What an ERP system is made of

Blue illustration with the word ERP beside a computer monitor showing charts

Every ERP system, whatever the vendor, is built from the same four layers:

  • Master data. Customers, suppliers, items, warehouses, employees, the chart of accounts, tax codes and price lists. Each record exists once and every module reads the same one.
  • Transactions. Documents such as purchase orders, goods receipts, sales invoices, payroll runs and journals. Each one refers to master data instead of copying it.
  • Rules. Approval steps, credit limits, costing methods, posting accounts and user permissions, set up once in configuration.
  • Reports. Trial balance, stock valuation, aging, VAT return and so on, read straight from the transactions.

Most of the work in an implementation goes into the first and third layers. If the item master has the wrong unit of measure or the posting accounts are mapped badly, every transaction afterwards inherits the mistake.

How ERP software works, one transaction at a time

Magnifying glass over the word ERP on a dark background of printed business terms

Take a trading company selling 100 units of an item that cost 30.00 riyals each, at 50.00 riyals plus 15% VAT. Here is what each document does in a typical ERP system:

Document Who creates it What changes
Quotation Sales Nothing in stock or the ledger; the price and terms are recorded
Sales order Sales, approved by a manager Stock is committed; the credit limit is checked
Goods delivery note Warehouse Stock falls by 100; cost of sales 3,000.00 is posted
Sales invoice Accounts Receivable 5,750.00, sales 5,000.00, output VAT 750.00
Receipt Accounts Bank up, receivable cleared

The entries behind the delivery and the invoice look like this:

Account Debit Credit
Cost of sales 3,000.00
Inventory 3,000.00
Accounts receivable 5,750.00
Sales 5,000.00
Output VAT payable 750.00
Total 8,750.00 8,750.00

The accountant did not type any of these lines. They come from the item cost, the price on the order and the tax code on the customer, and the posting accounts set up in configuration. The usual error in practice is a delivery made outside the system and invoiced later, which leaves stock overstated until someone counts it.

Integration, access and where the data lives

Because every module reads the same records, a purchase manager can see open sales orders before buying, and the finance team can see goods received but not yet invoiced at month end. Separate systems can share some of this through exports, but the numbers are only as current as the last export.

Access is controlled by role. A storekeeper can post goods receipts for his warehouse but cannot see salaries, and a sales user can see her own customers’ balances but not change prices. Good systems also limit users by branch, warehouse or cost center, and record who created and approved each document.

Most ERP systems sold to mid-sized companies today run in the cloud, so users work in a browser and the vendor runs the servers, backups and upgrades. On-premise installation is still offered by some vendors for companies that must keep data on their own servers. The difference between the two is covered in our article on different ERP systems.

A short history of ERP

ERP grew out of manufacturing. In the 1960s and 1970s, manufacturers used material requirements planning (MRP) software to work out which materials to buy and when. In the 1980s this became manufacturing resource planning (MRP II), which added capacity and costing. SAP, founded in 1972, built software that processed business data as it was entered rather than in overnight batches.

The research firm Gartner used the term “enterprise resource planning” in 1990 for systems that extended MRP II to finance, HR and distribution. In the following decades vendors added web access and then cloud hosting, which brought ERP within reach of companies that could not run their own servers.

What has to be true for ERP to work

Open hand under a glowing ERP icon surrounded by business icons

The software only works as described above if a few conditions hold. In our implementation projects, these are the ones that decide whether a company gets the benefit:

  1. Everything goes through the system. One warehouse issuing stock on paper is enough to make stock and cost of sales wrong for everyone.
  2. Master data is cleaned before go-live. Duplicate customers, items with two codes and an untidy chart of accounts are cheaper to fix before the opening balances are loaded.
  3. Approvals match real authority. If the system needs three approvals for a 500-riyal purchase, people will find a way around it.
  4. Key users own their modules. Someone in the warehouse and someone in accounts should know the setup well enough to answer questions after the consultants leave.
  5. Month-end is tested before go-live. Run a full month in a test company, including the VAT return and the bank reconciliation, before switching off the old system.

The phases of a rollout and the common mistakes are covered in our guide to ERP implementation.

How Tranquil ERP works

Tranquil ERP is a web application with one login, one organization setup and one chart of accounts shared by Sales, Purchase, Inventory, Production, Project, Accounts and Assets, plus a separate HR and Payroll area. Every screen switches between English and Arabic. Sales, purchase, stock, payroll and asset transactions post to the ledger on their own, while manual journals, expenses and receipts can be drafted first and posted later.

Each document has an approval flow set in Approval Settings, and users are limited by role, department, warehouse, price list and cost center, with two-factor authentication available. Sales invoices are ready for ZATCA e-invoicing phase two. See the accounting module, the inventory module and sales order management for the documents in the example above.

Frequently asked questions

How does an ERP system work in simple terms?

It keeps one database for the whole company. Each department enters its own documents, such as orders, receipts and invoices, and the system uses them to update stock, the ledger and reports at the same time, so nobody has to retype data from one department’s records into another’s.

What is the difference between ERP and accounting software?

Accounting software records the financial result of transactions. ERP also runs the operational steps that create them, such as purchase requests, goods receipts, stock transfers, production orders and payroll, and posts the accounting entries from those steps. A small company with simple stock may not need more than accounting software.

Does ERP software work without the internet?

A cloud ERP needs an internet connection to reach the server. On-premise systems work over the company’s internal network. Some vendors offer mobile apps for specific tasks, but the main system still needs a connection to keep everyone’s data current.

How long does it take for an ERP system to start working?

It depends on the number of modules, branches and data quality more than on the software. A trading company with clean data and a few modules can go live in a matter of weeks, while a multi-branch company with production and projects takes months.

Watch one transaction travel

We start with a sales order in the demo and follow it through delivery, invoice and receipt to the general ledger entries it creates.

Dammam +966 13 848 8080, +966 13 817 7724, Riyadh +966 11 213 1330
[email protected]
Sunday to Thursday, 8 am to 5 pm.