Today you really set up ERPNext, step by step: a trial environment, the company, the accounts, users, master data and the processes from quotation to payment. After that you migrate an old set of accounts and learn how a go-live works.
TimeOne day: about 4.5 hours of reading and 3 hours of assignments
You learnHow to set up ERPNext in the right order for a construction company, test the sales chain and migrate an old set of accounts safely.
You doIn your own trial environment you set up a fictitious construction company: the company, three users, ten customers via Data Import, five items, a project with hours, a complete sales chain and an invoice with your own logo.
AssessmentAfter each part a short check with the result straight away. At the end of the day the exam: multiple-choice questions and a few open questions, marked by an assessor. And the assignment of the day.
Level
Part 1 Your environment: a trial site and the setup wizard
About 50 minutes
1. Where you stand today
On day 14 you learned what an ERP system is and took a tour of ERPNext. You learned the terms: a doctype is a type of document or record (such as Customer or Sales Invoice), master data is a list that everything refers to (customers, items), and a transaction is something that happens (a quotation, an invoice, a payment). Back then you only looked around. Today you take the controls yourself.
Yesterday, on day 17, you got to know the client. You held an intake interview and wrote a plan of approach. That plan says what the client wants: which processes go into the ERP, who works with it and when it must go live. That plan is your guide today. A consultant sets up nothing that is not in the plan, and forgets nothing that is.
So today you do the real work. You make a trial environment, you put a company in place with its accounts, you create users, you fill in the master data and you test the processes from quotation to payment. After that you learn how to migrate an old set of accounts and how a go-live works. As an example we use Bouwbedrijf Rijnmond all day, the construction company from Rotterdam that you met earlier in the training. Rijnmond has about forty employees and does new build, renovation and maintenance.
Figure 1. Day 18 in week 4. At the top you see the five days of the last week, at the bottom the five parts of today. You start with an empty environment and end with migrated accounts.
Today's exam is the ERPNext exam. It is only about setting up ERPNext, separate from the SuperCloud. You set up the SuperCloud tomorrow, on day 19. If you pass both exams and the final exam on day 20, you get the certificates.
2. From set-up plan to set-up
Setting up ERPNext is like building a house. You do not start with the wallpaper. First come the foundations, then the walls, then the roof, and only after that the finishing. In ERPNext it is just the same. Many settings refer to other settings. An invoice needs a customer. A customer needs a receivables account. That account belongs to a chart of accounts, and that chart of accounts belongs to a company. If you start in the wrong order, you get error messages or you have to redo everything later.
That is why you always work in a fixed order. In figure 2 you see that order in ten steps. First the company, the fiscal year and the chart of accounts: those are the foundations. Then cost centres and VAT templates. Only then the people (users and roles) and the master data (customers, suppliers, items). After that you test the processes, make the layout of quotations and invoices, and last of all you migrate the old accounts.
Figure 2. The set-up order. Each step leans on the previous one. In brackets is the English name you come across in ERPNext. This lesson follows exactly this order.
While you set things up, record every choice in a set-up log. That is a simple document with, on each line: what you set, why, and who approved it. For example: "Chart of accounts: Dutch chart with the accountant's numbers, approved by the accountant on 3 March." If questions come up later, or a colleague takes over the work, everything is on paper.
Tip ERPNext is built in English, and you can also switch the screen to Dutch for a Dutch client. Not everything is translated. In this lesson every part is given with its English name in ERPNext, so that you can always find it in the search bar and in the documentation.
3. Choosing a trial environment
You never set up a client's real environment straight away. First you work in a trial environment: an ERPNext site where you may try things out, make mistakes and start again. Only when everything works do you move the set-up to the real environment. In ERPNext a site is one complete installation with its own database, its own web address and its own users.
There are two ways to get a trial environment. Option A: you request a free trial at Frappe Cloud, the hosting service of Frappe, the company behind ERPNext. Within a few minutes you have a working site in your browser. Option B: you install ERPNext on your own laptop with Docker. Docker is a program that runs software in closed-off "containers", so you do not have to install anything separately. On day 9 you learned what servers and the cloud are; Docker is like a small server on your own laptop.
Figure 3. Two ways to get a trial environment. Option A is quick and needs no installation, but the trial period runs out. Option B takes more work, but stays for as long as you like.
For today's assignment option A is enough. Option B is handy if you practise often, if you want to work without internet or if you will manage ERPNext yourself later. In both cases use only made-up data. A trial environment is no place for real client data: you do not know who can get to it later, and you may not clean it up properly. On day 9 you learned about the AVG (the Dutch name for the GDPR); this is exactly that kind of situation.
4. Option A: a free trial site on Frappe Cloud
Go to the ERPNext website (frappe.io/erpnext) and click Start free trial. You create an account with your email address. Then you choose a name for your site, for example yourname-practice. The site then gets an address like yourname-practice.frappe.cloud. After a few minutes the site is ready and you can log in.
The trial is free for a limited period. Check how long that period is when you create it; it changes now and then. After the trial period you can take a paid subscription or let the site expire. For the training you let it expire. So do not put anything in it that you want to keep, apart from your screenshots for the assignment.
Figure 4. The ERPNext home page. With Start free trial you request a trial site. Source: frappe.ioFigure 5. Frappe Cloud is Frappe's hosting service. That is where your trial site runs. Source: frappe.io
After creating it you arrive in the Frappe Cloud dashboard. There you see your site, the subscription, and buttons for backups and settings. The dashboard is the management screen around your site; you open ERPNext itself with the button to visit the site or by typing in the address. At first it is easy to mix the two up. Remember: in the dashboard you manage the site, in the site itself you set up ERPNext.
Note Use a strong password for your trial site and turn on two-factor authentication for your Frappe Cloud account, as you learned on day 9. A trial site is open to the internet too.
5. Option B: locally with Docker
If you want to run ERPNext on your own laptop, you use Frappe's official Docker set-up. It is on GitHub in the repository frappe/frappe_docker. On day 11 you learned to read repositories; here you read the README to see how to start. You need Docker Desktop and a laptop with at least 8 GB of memory.
When you start ERPNext locally, several containers run at the same time. You see them in figure 6. The most important one is the backend: that is where Frappe and ERPNext themselves run. Next to it there is a database (MariaDB) that holds all the data, a web server that sends the pages to your browser, Redis for the queue and a few "workers" that do work in the background, such as sending emails and making reports. You do not need to know exactly how they work. You do need to know they are there: if one container is not running, ERPNext does not work properly.
Figure 6. What runs when you start ERPNext locally. All the containers together form one site. You open it in your browser at localhost, the address of your own computer.Figure 7. The frappe_docker repository on GitHub. The README explains how to start ERPNext with one command. Pay attention to the licence and the last commit, as you learned on day 11. Source: github.com
Expert
Installing locally in five steps
If you really want to do option B, follow these steps. They may differ slightly from version to version; the README in the repository always takes precedence.
Install Docker Desktop and start it. Check in a terminal with docker --version that it works.
Fetch the repository with git clone https://github.com/frappe/frappe_docker and go into the folder with cd frappe_docker.
Start the trial set-up with the compose file the README names (at the time of writing docker compose -f pwd.yml up -d).
Wait a few minutes. The first time, the site is created; that takes a while. With docker compose -f pwd.yml logs -f you can watch.
Open http://localhost:8080 and log in as Administrator with the default password from the README. Change that password straight away.
You stop with docker compose -f pwd.yml down. Your data is kept in Docker volumes, unless you deliberately throw them away. On day 16 you already worked with a terminal and with Claude; feel free to ask Claude to explain an error message.
6. The setup wizard
The first time you log in to a new site, the setup wizard starts. That is a series of a few screens that lays down the basics. You go through it once. On a Frappe Cloud trial site part of it is sometimes already filled in when you sign up; the exact screens also differ per version. The content is always the same, though.
Figure 8. The four screens of the setup wizard. What you choose in the last screen is hard to undo. So take your time there.
In the first screen you choose the language. In the second the region: the country (the Netherlands), the time zone (Europe/Amsterdam) and the currency (EUR). The country matters, because ERPNext uses it to suggest a suitable chart of accounts and suitable settings. In the third screen you create the first user, if that has not happened yet. In the last screen you fill in the organisation: the company name, a short abbreviation, the start of the fiscal year and the chart of accounts.
For Rijnmond you fill in: company name Bouwbedrijf Rijnmond B.V., abbreviation BR, fiscal year starts on 1 January. For the chart of accounts you choose, for the trial, the chart that ERPNext offers for the Netherlands, or the standard chart. For a real client you decide this together with the accountant, before you finish the wizard. More about that in part 2.
Note Does something go wrong in the wizard, or is the company name wrong? In a trial environment you simply make a new site. That is quicker than repairing it. For a real client you check the answers for the wizard beforehand, together with the client.
7. Looking around: the screen and the status of documents
After the wizard you arrive in the Desk, ERPNext's working screen. You already saw it on day 14. Briefly go over the four parts in figure 9 again. On the left is the sidebar with workspaces: a page for each area, such as Accounting, Selling or Projects. At the top is the search bar. There you type the name of any screen or list, for example "Customer", and you are there. At the top right is the button to make a new record. In the middle is a list; click a line and the form opens.
Figure 9. The parts of the screen, here with Rijnmond's customer list. The search bar is your best friend: as a consultant you type more than you click.
There is one more thing you must understand before you start setting up: the status of a document. Master data, such as a customer or an item, you simply save. You can always change it afterwards. Transactions, such as a quotation, an invoice or a timesheet, work differently. You first save them as a draft. Then you can still change everything. After that you submit them. From that moment the document is fixed and counts, for example in the accounts.
Figure 10. The life cycle of a transaction. You never change a submitted invoice directly: you cancel it and make an amended version, which gets a new number with -1 after it.
Do you still want to change a submitted document? Then you cancel it. ERPNext then reverses all the postings. After that you can make an amended version (Amend). It gets the same number with -1 after it, so that you can always see what has changed. This is a deliberate choice: in good accounts nothing ever disappears without a trace. Explain this later to the client's staff too, because many people need to get used to it.
Figure 11. The official ERPNext documentation on docs.frappe.io. On the left you see the parts in the same order as this lesson: setup, data, users, accounting. Look here if you get stuck. Source: docs.frappe.io
In depth
Trial, test and production: three environments
With a real client you usually work with more than one environment. The trial environment is your playground: that is where you try out settings. The test environment is a copy of how it will be: that is where the client's key users do their tests and where you do the trial migration. The production environment is the real one: that is where the client works after the go-live. In construction you would say: the trial environment is the scale model, the test environment is the mock-up on the building site, and the production environment is the building. You never alter the building without first doing it in the mock-up.
Check: part 1
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 2 The company and the accounts
About 60 minutes
8. Creating the company
Everything in ERPNext hangs on a company (Company). Every invoice, every account and every cost centre belongs to exactly one company. The setup wizard has already created the first company. Now you check it and add what is missing. You find it through the search bar: type "Company" and open Bouwbedrijf Rijnmond B.V.
First check the fixed details: the name, the abbreviation, the default currency (EUR) and the country (the Netherlands). Then fill in the VAT number (under Tax ID) and, on the addresses tab, the address and contact details. The number from the Chamber of Commerce (KvK) can go in the registration details. These details will later appear on every quotation and invoice, so they must be correct.
Figure 12. Rijnmond's company. The abbreviation BR goes after the name of every account, cost centre and warehouse. That way you see at a glance which company something belongs to.
Why is that abbreviation so important? ERPNext puts it after every account and every cost centre: Debiteuren - BR (receivables), Bank - BR. If a client later has two companies, for example a construction company and a separate property company, you immediately see which account belongs to which company. Changing an abbreviation afterwards is difficult. So choose it well straight away, short and recognisable.
Figure 13. The company form. You see the abbreviation (Abbr), the currency, the country, the VAT number (Tax ID) and the default letter head. The tabs at the top hold the default accounts. Source: ERPNext documentation (docs.frappe.io)Figure 14. Several companies in one site, as a tree. A group (Is Group) can have subsidiaries. For Rijnmond one company is enough. Source: ERPNext documentation (docs.frappe.io)
The other tabs of the company form hold the default accounts: which account ERPNext uses for receivables, payables, revenue, rounding and so on. The wizard already fills them in based on the chart of accounts. You only check them once the chart of accounts is final, in the next steps.
9. The fiscal year
The fiscal year (Fiscal Year) is the period for which the accounts produce annual financial statements. For most Dutch construction companies that is the calendar year: 1 January to 31 December. The wizard has already made the current fiscal year. Check that it is correct and that it is linked to the company.
Also create the next fiscal year straight away. Otherwise you get stuck in December: anyone who makes an invoice with a date in the new year gets an error message that there is no fiscal year. That is a classic with new clients. Put it as a fixed item on the aftercare list: create the new fiscal year every autumn.
Figure 15. Rijnmond's fiscal year 2026. ERPNext goes live on 1 April, the start of the second quarter. The first quarter and its VAT return stay in the old package.
The fiscal year also has to do with the start date: the day on which the client starts with ERPNext. A good start date is the start of a fiscal year or a quarter. Then the VAT return fits neatly: you still do the old quarter from the old package, the new one entirely from ERPNext. Rijnmond starts on 1 April. You come back to that in part 5.
10. The chart of accounts
The chart of accounts (Chart of Accounts) is the list of all general ledger accounts. On day 13 you learned that accounting puts everything on accounts: money in the bank, money customers still have to pay, revenue, costs. The chart of accounts is the cabinet with all those drawers. Every posting goes into a drawer, and at the end of the year you add up the drawers into a balance sheet and a profit and loss account.
In the Netherlands many companies work with a decimal chart of accounts. The accounts are divided into classes from 0 to 9. Class 0 holds the fixed assets and equity, class 1 the financial accounts such as bank, receivables and VAT, class 3 the stock and work in progress, class 4 the costs, class 7 the cost of sales and class 8 the revenue. You see it in broad outline in figure 16. The first classes together form the balance sheet: what you have and what you owe. The last ones form the profit and loss account: what you earn and spend.
Figure 16. A Dutch chart of accounts in broad outline. On the left the balance sheet classes, on the right the classes of the profit and loss account. For a construction company, work in progress (class 3) and subcontracting (class 7) are typical.
Who decides the chart of accounts? Not the consultant, but the client's accountant, together with the accounts department. The accountant prepares the annual financial statements every year and wants to see his familiar numbers again. So adopt the account numbers the accountant already knows. Then the annual reports stay comparable with previous years. Your role is the translation: you make sure the accountant's chart gets into ERPNext properly, with the right type of account for each number.
In ERPNext you see the chart of accounts as a tree, as in figure 17. At the top are five fixed main groups. Below them hang groups, and below those the actual accounts you post to. Every account has a type (Account Type), for example Receivable for receivables, Payable for payables, Bank or Tax. That type is important: ERPNext uses it to know where an invoice or payment must go. A receivables account without the type Receivable does not work in a sales invoice.
Figure 17. The chart of accounts in ERPNext, as a tree. At the top are five main groups: assets, liabilities, equity, income and expenses. Click the arrow to expand a group. Source: ERPNext documentation (docs.frappe.io)
Note Once postings have been made, you can no longer simply swap the chart of accounts. Make it final before you enter master data and transactions. In a trial environment you can easily start again; with a client you cannot.
In depth
The Referentiegrootboekschema (RGS)
In the Netherlands there is a standard for charts of accounts: the Referentiegrootboekschema (reference chart of accounts), RGS for short. It is a long list of codes for every conceivable account, made so that accounting systems, accountants and banks speak the same language. Many accountants work with it. A company does not have to number all its accounts according to RGS, but it can link each of its own accounts to an RGS code. Ask in the intake interview whether the accountant works with RGS. If so, it is smart to include that link from the start, for example in an extra field on the account. That makes the annual financial statements and later reports much easier.
Expert
Importing a chart of accounts
If the accountant has his own chart in a spreadsheet, you do not have to create a hundred accounts by hand. ERPNext has the Chart of Accounts Importer for that. You download a template, fill in for each account the name, the number, the parent group, whether it is a group and the type, and load the file. This only works in a company where nothing has been posted yet. So do it right after the wizard, and first in a trial site. After importing, check that the tree is correct and that receivables, payables, bank and VAT have the right type.
11. Cost centres
A cost centre (Cost Center) is a way to divide revenue and costs over parts of the company, without making new accounts for each part. Rijnmond wants to know which branch earns the most: new build, renovation or maintenance. You then make three cost centres, plus one for the general costs of the office and management. Every invoice, purchase and timesheet line gets a cost centre. That way you can later make a profit and loss account per branch.
Figure 18. Rijnmond's cost centres: Nieuwbouw (new build), Renovatie (renovation), Onderhoud (maintenance) and Algemeen (general). Four branches under one main cost centre. In ERPNext you follow projects through the project itself; you do not need a separate cost centre per project for that.
Cost centres are also in a tree. At the top is the company's main cost centre, which the wizard has already made. Below it you make the branches. Open the tree through the search bar ("Chart of Cost Centers"), click the main cost centre and choose Add Child. Give the new cost centre a name; ERPNext adds the abbreviation itself.
Figure 19. The cost centre tree right after the wizard: only the main cost centre. Below it you make the branches. Source: ERPNext documentation (docs.frappe.io)Figure 20. A cost centre. The two outlined fields matter most: which cost centre it hangs under and which company it belongs to. Source: ERPNext documentation (docs.frappe.io)
How many cost centres do you make? As few as possible. A cost centre must be chosen with every posting, and every extra choice is a chance of mistakes. Ask the client which questions he wants to answer with the figures. "Do we earn more on renovation or on new build?" calls for cost centres per branch. "How much do we earn on the Kade 12 project?" you answer with the project, not with a cost centre. You can set a default cost centre per customer, item or project, so that employees hardly ever have to think about it themselves.
Figure 21. On a sales invoice you open a line with the pencil icon. The cost centre of that line is there too. That way one invoice can even contain revenue for two branches. Source: ERPNext documentation (docs.frappe.io)
12. VAT templates
Every invoice has VAT on it. In ERPNext you arrange that with VAT templates. On the sales side they are called Sales Taxes and Charges Template, on the purchasing side Purchase Taxes and Charges Template. A template says: add this percentage to the net amount and post it to this account. If you choose the template "Btw 21%" (VAT 21%) on an invoice, ERPNext calculates the VAT itself and posts it to the account Te betalen btw - BR (VAT payable).
A Dutch construction company usually needs four templates, as in figure 22: 21% for most work, 9% for certain labour on older homes, 0% when there is no VAT, and reverse-charge VAT (btw verlegd). That last one is very common in construction. The accountant decides exactly which work falls under which rate. You make sure the templates are there and post correctly.
Figure 22. Four sales templates for VAT. On the purchasing side you make the same four, for the VAT you reclaim (input tax). Have the accountant check them before anyone invoices with them.
How does reverse-charge VAT work? Suppose Rijnmond is the main contractor on a renovation. It hires a pointing company as a subcontractor. The pointing company sends Rijnmond an invoice without VAT, with the text "btw verlegd" (VAT reverse-charged). Rijnmond then declares that VAT itself to the Belastingdienst (the Dutch Tax Administration), and deducts it again in the same return. On balance nobody pays extra, but the Belastingdienst is sure the VAT is declared. Rijnmond invoices the client in the normal way with 21% VAT.
Figure 23. Reverse-charge VAT in the construction chain. The subcontractor charges no VAT; Rijnmond posts the VAT itself as both payable and reclaimable. The client gets a normal invoice with VAT.
In ERPNext you make a purchase template "Btw verlegd" for this with two lines: one that adds the VAT to Te betalen btw (VAT payable) and one that deducts it on Te vorderen btw (VAT reclaimable). If Rijnmond itself works as a subcontractor for another contractor, you use the sales template "Btw verlegd" with no amount, and make sure the text "btw verlegd" and the customer's VAT number appear on the invoice. You arrange that last part in the print format, in part 4.
Figure 24. The VAT on a sales invoice. The chosen template fills the table: type On Net Total (on the net amount), the account, the rate and the amount. The demo company works in dollars with a foreign rate; at Rijnmond this shows 21% and euros. Source: ERPNext documentation (docs.frappe.io)
Tip Make the template "Btw 21%" the default template (Is Default). Then it is already filled in on every new invoice, and an employee only has to choose something for exceptions. For items that always have a different rate, you can attach an item tax template (Item Tax Template) to the item.
13. Payment terms and naming series
Two smaller settings complete it. The first are the payment terms (Payment Terms Template). With them you decide how quickly a customer must pay: for example within 30 days. ERPNext then calculates the due date on every invoice, and the receivables overview shows which invoices are late. You can set a default and deviate per customer. In construction, invoicing is also done in instalments: 30% at the start, 40% when the shell is finished, 30% at completion. That is a payment schedule with several lines, and you attach it to the sales order later.
The second are the naming series (Naming Series). Every document gets a number. ERPNext has default series, such as SAL-QTN-2026-00001 for a quotation. They are English and long. Many clients want recognisable, short series, as in figure 25. You set that up through Document Naming Settings. The part .YYYY. automatically becomes the year.
Figure 25. Naming series for Rijnmond, based on the Dutch document names. The client immediately recognises an invoice (verkoopfactuur) by VF and a quotation (offerte) by OFF. The year in the number makes searching the archive easy.
Pay particular attention to the invoice numbers. The Belastingdienst wants invoices to have a consecutive, unique number. So continue the old series (the first invoice in ERPNext gets the next number after the last one from the old package), or deliberately start a new series with a new prefix. Agree this with the accounts department and the accountant, and write it in the set-up log.
In depth
Why the accounts first, and only then the rest?
You may wonder why a consultant for a construction company spends so long on the accounts, while the employees mainly work with projects and hours. The answer: in an ERP system the accounts are not a separate part, but the ground under everything. Every timesheet becomes costs, every invoice becomes revenue and a receivable, every purchase becomes a payable. If the ground is crooked, everything on top of it is crooked too. A mistake in a VAT template only shows up in the VAT return, three months later, and then you have to go through hundreds of invoices. That is why you have the accountant sign off the basics before the first real invoice goes out.
Check: part 2
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 3 Users, roles and master data
About 60 minutes
14. Creating users
The basics are in place. Now come the people. Every employee who works with ERPNext gets their own user (User). Never share one account between several people. Then you no longer know who did what, and that is exactly what an ERP system does need to know. On day 9 you learned why: every account is a key, and every key belongs to one person.
Figure 26. A user in ERPNext. You see the Enabled tick box (active), the email address, the name, the language and the time zone. At the top are the tabs for roles and settings. Source: ERPNext documentation (docs.frappe.io)
You create a user through the search bar ("User", then Add User). You fill in at least the email address and the first name. The email address is also the login name. ERPNext then sends an invitation, with which the employee chooses a password himself. So as a consultant you do not make up passwords for other people. In a trial environment you may leave the email waiting and set a password yourself, but in the real environment you do not.
If an employee leaves the company, you do not delete his user. You untick Enabled. That way he can no longer log in, but it stays visible who made which documents. This is another reason why you never use shared accounts: otherwise you cannot shut out an employee who has left without getting in the way of the others.
Tip On Frappe Cloud the client usually does not pay per user, but with many other providers of ERP systems they do. Ask every client how the licence or hosting is arranged, so that you are not surprised by a bill after creating forty users.
15. Roles and role profiles
What a user may do depends on his roles (Roles). ERPNext has dozens of standard roles, such as Sales User (may make sales documents), Sales Manager (may also approve and change settings), Accounts User, Accounts Manager, Projects User, Purchase User and Employee. A user can have several roles. The System Manager role may do almost anything; you only give it to the administrator.
Figure 27. Three users, three role profiles. The director sees selling, projects and the accounts. Administration does the accounts, purchasing and invoicing. The project manager works on projects and hours.
Ticking roles separately for each person soon becomes a mess. That is why you use role profiles (Role Profile). A role profile is a fixed set of roles with a name, for example "Project manager". If you give a user that profile, he gets exactly those roles. If a new project manager joins, you choose the profile and you are done. In figure 27 you see three Rijnmond users, each with a profile.
Which roles belong to which profile you take from the plan of approach from day 17. There you discussed with the client who does what. Start generously enough to be able to work, and do not make it too complicated. Too few permissions give error messages ("Not permitted") and frustration. Too many permissions give risks: a project manager who cancels an invoice by accident. Find the middle, and test it (see the expert assignment below).
Figure 28. The roles tab of a user. At the top you choose a role profile; below it you see which roles that ticks. This demo user has almost everything: exactly what you do not want with a client. Source: ERPNext documentation (docs.frappe.io)Figure 29. Below that you decide which modules someone sees in the sidebar. Switch off what the client does not use, such as manufacturing or the till. That keeps the screen calm. Source: ERPNext documentation (docs.frappe.io)
In depth
Module profiles
Just like role profiles, there are module profiles (Module Profile). With them you fix in one go which modules a group of users sees. A site manager on the building site has no use for the modules for manufacturing, quality or the web shop. With a module profile "Site work" he only sees projects, hours and purchasing. That is not security, because permissions come from the roles, but it does make the work clearer. People who find the system simple actually use it.
16. Permissions in two layers
ERPNext arranges permissions in two layers. The first layer is the role permissions. They say, for each type of document, what a role may do: read, create, write, submit, cancel, delete, export. For example: the Projects User role may read, create and submit timesheets, and only read sales invoices. You set this up with the Role Permissions Manager. ERPNext's default settings are usually fine; you only change them if the client wants something special.
Figure 30. Permissions in two layers. Left: what a role may do with a type of document. Right: which records one person may see. Joost may make timesheets, but only for his own project.
The second layer is the user permissions (User Permissions). They limit a user to certain records. For example: Joost may only see project Kade 12, or an employee of the Dordrecht branch only sees the data of that company. As soon as you put a user permission on a project, that user only sees that project everywhere, also in timesheets and invoices that refer to that project. That is powerful, but it can also be confusing. Use it only if the client really wants to shield data.
Figure 31. The Role Permissions Manager, here for leave applications. For each role you see which actions are allowed. An employee may make an application, but not submit it; the HR user may. Source: ERPNext documentation (docs.frappe.io)Figure 32. A user permission: this user may only see his own employee record, and therefore only his own documents. For Joost this would say Project and Kade 12. Source: ERPNext documentation (docs.frappe.io)
Expert
Testing permissions by looking over someone's shoulder
How do you know whether your permissions are right? By logging in as that user. In ERPNext an administrator can use the Impersonate button on the user form to work temporarily as someone else (see figure 26). You then see exactly what Joost sees. As Joost, try to make a timesheet (should work), cancel a sales invoice (should not work) and open another project (should not work if you use layer 2). ERPNext records that you were looking along; so only do this in the trial environment or with the client's permission. Record the outcome in a short permissions test: five actions per profile, with expected and actual result.
17. Master data: the overview
On day 14 you learned that master data are the lists all transactions refer to. A quotation refers to a customer and to items. A timesheet refers to an employee, an activity type and a project. If the master data are right, entering transactions goes almost by itself: ERPNext fills in addresses, prices, accounts and VAT itself.
Figure 33. Master data (yellow) and the transactions that refer to them (white). One mistake in master data, such as a wrong VAT number for a customer, comes back in every invoice.
In this lesson you create the master data by hand, so that you understand which fields matter. In part 5 you learn how to import large lists in one go. Follow the order of the references: first the groups (customer groups, supplier groups, item groups), then the records that fall into those groups. A customer with the group "Client" can only exist once that group is there.
18. Customers and suppliers
A customer (Customer) has a name, a type (company or individual), a customer group and a territory (Territory). For a construction company useful customer groups are, for example: Client (housing associations, owners' associations, companies), Government (municipalities, provinces), Private individual and Contractor (when Rijnmond itself is a subcontractor). That way you can later see the revenue per type of customer.
On the defaults tab you choose the customer's currency, price list and payment terms. On the addresses and contacts tab you record the billing address and the contact person. With a construction customer that is often more than one: a billing address at head office, a delivery address for each building site, a contact person for the technical side and one for the invoices. On the Tax tab you fill in the VAT number; that is needed for reverse-charge VAT.
Figure 34. A customer with his defaults: currency, price list and payment terms (here 30 days). What you set here will later appear automatically on every quotation and invoice. Source: ERPNext documentation (docs.frappe.io)Figure 35. A customer's addresses and contacts: a billing address and a delivery address, and two contact persons. With a construction customer the delivery address is often the building site. Source: ERPNext documentation (docs.frappe.io)
On the Accounting tab you can set a credit limit. If a customer goes above it, ERPNext blocks new orders or invoices. In construction that is useful for private individuals and small clients, less so for a housing association you have worked with for years. Ask the client whether he wants this; by default you leave it empty.
Figure 36. The accounting side of a customer: an own receivables account (usually leave it empty, then the company's account applies) and a credit limit. Source: ERPNext documentation (docs.frappe.io)
A supplier (Supplier) works exactly the same, but on the purchasing side. Suppliers also get a group, for example Materials supplier, Subcontractor, Equipment hire and Other. Subcontractors are special, because with them you use reverse-charge VAT and because in construction you often have to be able to show that they pay their wage tax. So record the VAT number and the Chamber of Commerce (KvK) number of subcontractors carefully.
Figure 37. The supplier list with their group. At the top right is the button to add a supplier. Source: ERPNext documentation (docs.frappe.io)Figure 38. A supplier with address and contact person. ERPNext will use the contact person's email address to send purchase orders. Source: ERPNext documentation (docs.frappe.io)
19. Items and item groups
An item (Item) is anything you sell or buy. In a trading company those are products on a shelf. In a construction company it is broader: hours, subcontracting, instalments and extra work are items too. Every line on a quotation or invoice refers to an item. That is why you also need an item "Instalment", even though an instalment is not a thing you can hold.
Figure 39. Item groups for a construction company, with example items and their codes. Almost nothing keeps stock: a construction company usually buys per project and has it delivered straight to the building site.
You make an item through "Item" and Add Item. In the quick entry screen you fill in the item code, the name, the item group and the unit (piece, hour, m², m³). Choose a code people understand, such as UUR-UITV for an hour of site work (uur is Dutch for hour) or MAT-BETON for concrete. Pay close attention to the Maintain Stock tick box. If it is on, ERPNext wants a warehouse and a stock posting with every sale or purchase. For hours, subcontracting and instalments you always switch it off. For materials usually too, unless the client really keeps its own warehouse.
Figure 40. A new item in the quick entry screen. Four fields and two tick boxes. Switch off Maintain Stock for hours and services. Source: ERPNext documentation (docs.frappe.io)Figure 41. The full item form. With Allow Sales and Allow Purchase you decide whether an item may go on a sales or purchase document. You only buy subcontracting. Source: ERPNext documentation (docs.frappe.io)
On an item's Accounting tab you can set defaults per company, such as the default price list. On the purchasing and selling tabs you can choose a default account for revenue or costs. That way the revenue from renovation hours automatically lands on the right revenue account. That is exactly the kind of setting you record in the set-up log.
Figure 42. The defaults of an item per company. One row per company: warehouse, price list and possibly the accounts for revenue and costs. Source: ERPNext documentation (docs.frappe.io)
20. Price lists
What does an item cost? That is in a price list (Price List). ERPNext starts with two: Standard Selling for selling prices and Standard Buying for buying prices. A price itself is called an item price (Item Price): one item, one price list, one amount. If you set UUR-UITV in Standard Selling to € 65, that amount automatically appears on every quotation with an hour of site work.
A customer can get its own price list. Rijnmond has, for example, framework contracts with two housing associations, with lower hourly rates. You then make a price list "Raamcontract Maasoever" (framework contract Maasoever) and attach it to the customer. On the purchasing side it works the same way: a price list per supplier with the agreed buying prices. Keep the number of price lists small. Every list must also be maintained, every year again.
Figure 43. A purchase order. Because the supplier has its own price list, ERPNext fills in the item's rate itself. It works the same on the selling side. Source: ERPNext documentation (docs.frappe.io)
21. Activity types and activity costs
In ERPNext you book hours on an activity type (Activity Type). That is the kind of work: site work, work planning, drawing, project management, travel time. Each activity type has a default cost rate per hour (costing rate: what the hour costs the company) and a default billing rate per hour (billing rate: what the client pays when you work on a cost-plus basis). On day 13 you learned the difference between a fixed contract sum and cost-plus work; here you see it again.
Figure 44. Two rates per hour. ERPNext uses the cost rate for the post-calculation, the billing rate for cost-plus invoices. With activity costs you give one employee his own rate.
If you want a different rate per employee, for example because an experienced site manager is more expensive than an apprentice, you make activity costs (Activity Cost): the combination of one employee and one activity type with their own rates. For that the employee must be in ERPNext as an employee (Employee), linked to his user. Timesheets belong to an employee, not to a user.
Figure 45. The list of activity types in a demo. For Rijnmond they become: Site work, Work planning, Drawing, Project management and Travel time. Source: ERPNext documentation (docs.frappe.io)Figure 46. Activity costs: one employee, one activity type, with a billing rate (Billing Rate) and a cost rate (Costing Rate) per hour. Source: ERPNext documentation (docs.frappe.io)
In depth
Employees and users are two different things
Beginners often confuse a user and an employee. A user (User) is an account to log in with. An employee (Employee) is a person on the payroll, with a job title, a department and rates. Not every employee is a user: a carpenter who never logs in can still have hours that the site manager enters for him. And not every user is an employee: the external accountant can be a user without being on the payroll. Link them where you can, through the User ID field on the employee. Then an employee can book his own hours.
Check: part 3
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 4 Setting up and testing processes
About 75 minutes
22. Projects
For a construction company the project (Project) is the heart of everything. On day 13 you saw why: a construction company earns its money per project, and wants to know per project what has been sold, what it costs and what has already been invoiced. In ERPNext all that data comes together on the project form. Hours, purchasing, expenses and invoices refer to the project, and the project adds them up.
You make a project through "Project" and Add Project. Give it a recognisable name, such as "Renovatie Kade 12" (Renovation Kade 12). Under Customer choose the client and, if it already exists, under Sales Order the sales order. Also choose how the progress is calculated (% Complete Method): by hand, based on completed tasks, based on the progress of tasks, or based on the weight of tasks. For a construction project "Task Progress" or "Task Weight" works well: then a big task counts more heavily than a small one.
Figure 47. The project Renovatie Kade 12 with five tasks. The project knows which customer and which order it belongs to; the tasks give the planning and the progress.
Figure 48. The choice of how a project's progress is calculated. If you choose tasks, ERPNext works out the percentage itself. Source: ERPNext documentation (docs.frappe.io)Figure 49. A project linked to a customer and a sales order. Under Users you can give the client access to follow the project through the portal. Source: ERPNext documentation (docs.frappe.io)
At the bottom of the project form is the Costing and Billing section. There ERPNext adds up everything: the estimated costs, the costs from timesheets, the expenses, the purchase costs, the amount from the sales order and what has already been invoiced. You do not fill in that section yourself; it fills up while the work is done. It is the post-calculation that a construction company used to keep a spreadsheet for.
Figure 50. The Costing and Billing section of a project. On the left the costs from hours, expenses and purchasing, on the right the sales side: order amount, what you can invoice and what has already been invoiced. The demo company works in rupees. Source: ERPNext documentation (docs.frappe.io)
23. Tasks
You divide a project into tasks (Task). A task has a subject, a status, a priority, an expected start and end, and an expected number of hours. For Renovatie Kade 12 you make, for example: work planning, demolition, facade repair, fitting window frames and completion. Employees will later book their hours on a task, so that you can see per task whether it stays within the budget.
Figure 51. A task. You see the project it belongs to, the priority, the weight (Weight) and at the bottom the planning: expected start, expected end, expected hours and the progress in per cent. Source: ERPNext documentation (docs.frappe.io)
Tasks can depend on each other. Fitting window frames can only happen once the facade repair is finished. You record that in the Dependencies section of a task. Tasks can also be groups with subtasks (Is Group and Parent Task). Keep it simple: you make a detailed construction schedule in a planning program, as you saw on days 7 and 10. In ERPNext it is about the big steps on which you want to follow hours and costs.
Figure 52. A project's tasks as a bar chart (Gantt View). An arrow shows a dependency. You can also drag the bars here. Source: ERPNext documentation (docs.frappe.io)Figure 53. A dependency: this task waits for another task. Below it you see the actual hours, which come from the timesheets. Source: ERPNext documentation (docs.frappe.io)
24. Timesheets
A timesheet (Timesheet) is a document in which an employee records his hours. At the top are the employee and the period. Below are lines: per line an activity type, a start and end time or a number of hours, the project and the task, and a tick box for whether the hour is billable. When you submit the timesheet, ERPNext adds the hours to the project and the task, with the rates from part 3.
Figure 54. A draft timesheet: one employee, one day, one line of four hours on a project. Source: ERPNext documentation (docs.frappe.io)Figure 55. One timesheet line opened. The Is Billable tick box decides whether the hour can be invoiced to the client. With a fixed contract sum you switch it off. Source: ERPNext documentation (docs.frappe.io)
What happens to those hours? You see that in figure 56. Every hour goes two ways. The cost rate goes to the project's costs: that is the post-calculation. The billing rate goes to "to be invoiced" on the project, if the hour is billable. If Rijnmond works on a cost-plus basis, you make a sales invoice from the timesheet or the project. If Rijnmond works with a fixed contract sum, you invoice instalments, and you use the hours only to see whether the project stays within the budget.
Figure 56. From timesheet to post-calculation and invoice. The same hour counts twice: as costs at the cost rate, and as revenue at the billing rate, if you invoice it.
Figure 57. With Start Timer the clock runs while you work. Handy in the office, less so on the building site. Source: ERPNext documentation (docs.frappe.io)Figure 58. An invoiced timesheet (status Billed). At the bottom you see how many hours were billable and how many are already on an invoice. Source: ERPNext documentation (docs.frappe.io)
Tip On the building site nobody likes filling in a form in a browser. Agree with the client how the hours come in: entered by each person on a phone, by the site manager for his crew, or through a simple app that passes the hours on to ERPNext. In the SuperCloud that is the Y-Next workspace; you will hear more about it tomorrow.
25. Setting up the sales chain
On days 13 and 14 you saw the sales chain: from quotation to order, to invoice, to payment. In ERPNext that is the chain of Quotation, Sales Order, Delivery Note, Sales Invoice and Payment Entry. You make each document from the previous one with the Create button, so that you do not have to type anything in again. In figure 59 you see the chain as the documentation draws it, preceded by the sales opportunities from the CRM module.
Figure 59. The chain from quotation to payment in ERPNext. The dotted line at the bottom shows that you can skip the delivery note (Delivery Note) and invoice directly. A construction company almost always does that. Source: ERPNext documentation (docs.frappe.io)
A construction company does not deliver boxes, but builds on location. So you usually do not need the delivery note. You set that up in the selling settings (Selling Settings): set "Is Delivery Note Required for Sales Invoice Creation?" to No. There you also choose whether a sales order is required before you can invoice. For Rijnmond the answer is yes: every assignment gets an order, so that instalments and the project hang on it. For a small maintenance job you can switch that requirement off instead.
Figure 60. The selling settings. At the top right are the two most important questions for a construction company: is a sales order required, and is a delivery note required? On the left you set the default price list and customer group. Source: ERPNext documentation (docs.frappe.io)
How do you get from an order to instalment invoices? You do that with a payment schedule on the sales order. You attach a payment term with several lines to the order, for example 30% at the start, 40% at completion of the shell and 30% at handover. ERPNext then sets up a due date and an amount for each instalment. In the in-depth block below you read how to make the instalment invoices.
26. Testing the sales chain
A chain that has been set up is only finished once you have tested it. You go through the whole chain once with made-up data, and check at every step whether it is right. Use a fixed test scenario for that. For Rijnmond: VvE Kadehuis (an owners' association) asks for a quotation for facade repair, € 10,000 excluding VAT. The quotation becomes an order, the order becomes an invoice, and the customer pays.
Figure 61. The test scenario for the sales chain, with a check at every step. At the bottom you see what must be in the accounts after the invoice and the payment.
Step 1: the quotation. Make a quotation (Quotation) for the customer, with a line for the item and the quantity. Check: does the price come from the price list? Is the VAT template right? Is the validity date correct? Save and submit the quotation. Then open the print preview; you look at it again later when the print format is ready.
Figure 62. A draft quotation. At the top the customer, the date and the validity (Valid Till). Below them the lines with quantity, rate and amount. At the top right is the Submit button. Source: ERPNext documentation (docs.frappe.io)Figure 63. A quotation line opened. In the description you put exactly what will be done, for example "pointing rear facade, 120 m²". Source: ERPNext documentation (docs.frappe.io)
Step 2: the sales order. Open the submitted quotation and choose Create and then Sales Order. Everything is copied over. Fill in a delivery date, add the payment schedule with instalments if needed, and submit the order. Check: can you make a project from the order (Create, Project)? Is the project linked to the customer and the order?
Figure 64. A submitted sales order with the Create menu. From here you make the invoice, a purchase order or a project. That way everything stays linked together. Source: ERPNext documentation (docs.frappe.io)Figure 65. The Skip Delivery Note tick box on an order: with it you skip the delivery note for this one order. With the selling settings you arrange it for all orders at once. Source: ERPNext documentation (docs.frappe.io)
Step 3: the invoice. In the order choose Create and then Sales Invoice. Check: does the invoice get a number from the right series (VF-2026-...)? Is the VAT 21%? Is the due date 30 days later? Is the project on the invoice? Submit the invoice. Then open the General Ledger report and filter on the invoice number. You should see three postings: receivables € 12,100 debit, revenue € 10,000 credit and VAT payable € 2,100 credit. If that is right, your chart of accounts, VAT template and default accounts work together.
Figure 66. A sales invoice. The outlined fields are what you check in the test: the customer, the invoice date and the due date, which comes from the payment terms. Source: ERPNext documentation (docs.frappe.io)Figure 67. The general ledger (General Ledger). Every invoice produces several lines: receivables, revenue and VAT. Filter on the invoice number to see only your test invoice. Source: ERPNext documentation (docs.frappe.io)
Step 4: the payment. In the submitted invoice choose Create and then Payment. ERPNext makes a payment (Payment Entry) for the outstanding amount. Choose the bank account, fill in the date and submit the payment. Check: is the invoice now Paid? Is the receivables balance for this customer zero? Is the amount in the bank account? In practice payments will later come in through the bank statement and you match them; for the test you do it by hand.
Figure 68. From a submitted invoice you make the payment with Create and Payment. The credit note (Return / Credit Note) is in the same menu. Source: ERPNext documentation (docs.frappe.io)Figure 69. A received payment (Payment Type Receive). The party is the customer, the amount is the outstanding amount of the invoice. Source: ERPNext documentation (docs.frappe.io)
Did something go wrong? That is good news: that is why you test. Find out where it went wrong (an account, a template, a setting), fix it, cancel the test documents and run the chain again. Write in your set-up log what you changed. Later, run the same test again as a different user, for example as Ahmed from administration, so that you immediately see whether the permissions are right.
In depth
Instalment invoices and extra work
In construction you rarely invoice everything at once. With a fixed contract sum you make a payment schedule on the sales order with the instalments. When an instalment is due, you make an invoice from the order and keep only the part for that instalment. ERPNext keeps track on the order of which percentage has already been invoiced. Extra work, something the client asks for in addition during construction, you record as a new line on the order (with Update Items) or as a separate order that refers to the same project. Reduced work works the same way, with a negative amount or a credit note. Agree one way of working with the accounts department and stick to it consistently; two ways mixed together make the post-calculation unreadable.
27. The purchasing chain
The purchasing chain is the mirror image of the sales chain. A work planner requests material (Material Request). The buyer turns it into a purchase order (Purchase Order) and sends it to the supplier. When the material arrives, you make a receipt (Purchase Receipt). Then comes the supplier's purchase invoice (Purchase Invoice), and finally the payment. Every step refers to the project, so that the costs go into the post-calculation.
Figure 70. The purchasing chain. The dotted steps are optional. Many small construction companies work only with a purchase order and a purchase invoice, both linked to the project.
Not every client needs all the steps. A small construction company often orders by phone and only sees the supplier again on the invoice. Then you only set up the purchase invoice, with the project on it. A larger company wants purchase orders, so that it can see what still has to be delivered and what has already been committed. Discuss this with the client and record it. Then test the chain just like the sales chain: a purchase order for 200 sand-lime blocks, a purchase invoice, a payment, and check the postings and the costs on the project.
Figure 71. A purchase order. The supplier, the desired delivery date (Required By) and the item lines. The status To Receive and Bill means: still to be received and still to be invoiced. Source: ERPNext documentation (docs.frappe.io)Figure 72. A purchase invoice. Always copy the supplier's invoice number and invoice date (Supplier Invoice No and Date). With them you can find the paper invoice again. Source: ERPNext documentation (docs.frappe.io)
28. A print format with your own logo
The quotation and the invoice are the documents the outside world sees of the client. They must look professional and contain all the legally required details. In ERPNext the layout consists of two parts. The letter head (Letter Head) is the heading at the top: logo, name, address, Chamber of Commerce and VAT number. The print format (Print Format) decides the rest: which fields go where on the page.
Figure 73. The structure of an invoice. You make the letter head (top) once. The print format (middle) decides the content. You only see the footer at the bottom in the PDF, not in the preview on screen.
Making the letter head. Type "Letter Head" in the search bar and choose New. Give it a name, for example "Rijnmond". Choose whether the letter head is based on an image or on HTML. The simplest route is an image: add the logo as a file (a PNG with a transparent background works best). If you want the address and the numbers next to the logo as well, choose HTML and put them in a simple table. Tick Default Letter Head, so that the letter head goes on all documents. Also fill in the footer (Footer) with, for example, the IBAN and the general terms and conditions.
Adjusting the print format. ERPNext has a standard print format for each document. That is often good enough already. If you want to change something, open the Print Format Builder. Choose the document, for example Sales Invoice, and make a new format "Rijnmond factuur" (Rijnmond invoice). You drag fields from the left onto the page and back again. For the invoice, add the project and the text "btw verlegd" if it applies. Then set the new format as the default for that document.
Figure 74. The print preview of a document. At the top you choose the print format, the language and whether the letter head should be on it. With Customize you get to the Print Format Builder, with PDF you get the PDF. Source: ERPNext documentation (docs.frappe.io)
Figure 75. The start screen of the Print Format Builder. Do not edit the standard format, but make a new format. Then the original stays intact with updates. Source: ERPNext documentation (docs.frappe.io)Figure 76. The Print Format Builder itself. The fields on the left, the page on the right. Drag a field to where you want it, or back to remove it. Source: ERPNext documentation (docs.frappe.io)
Note In the Netherlands an invoice must contain, among other things: a unique number, the invoice date, the name and address of both parties, the supplier's VAT number (and with reverse-charge VAT also the customer's), a description of the work, the amounts per VAT rate and the VAT amount. Have the accounts department or the accountant check a test invoice before you go live.
Expert
A print format in HTML
The Print Format Builder is limited. If a client wants an invoice that looks exactly like his old house style, you make a print format of the type Custom HTML. You then write HTML and CSS yourself, and get the data from the document with the template language Jinja, for example {{ doc.customer_name }} or a loop over doc.items. This is exactly the kind of work Claude is good at, as you saw on days 12 and 16: give Claude the old invoice example as an image and ask for a Jinja template for ERPNext. Then test it with a real test invoice, also with a long description and with ten lines, so that you see whether the page flows on neatly. There is also a separate Frappe app for designing print formats visually; check whether it fits the client's version.
29. Workspaces and reports
Finally you make the system pleasant for the people who use it every day. A workspace (Workspace) is a page in the sidebar with key figures, shortcuts and links to lists and reports. ERPNext has a standard workspace for each module. You can adjust it with the Edit button, or make your own workspace. Make one workspace per role with only what that role needs every day.
Figure 77. A workspace of your own for Rijnmond's project managers. At the top three key figures, then shortcuts for the daily work, and at the bottom the reports they open often.
A workspace contains four kinds of blocks. Number cards show one number, such as the number of open projects. Charts show a trend. Shortcuts open a list or a new document in one click. Link cards are short lists of links to master data and reports. In figure 78 you see the standard Projects workspace with all those blocks.
Figure 78. The standard Projects workspace: a chart, three number cards, shortcuts and link cards with master data and reports. A good starting point for the project managers' workspace. Source: ERPNext documentation (docs.frappe.io)
Then the reports. ERPNext has hundreds, but a construction company uses only a handful every week. For the accounts department: the general ledger (General Ledger), the trial balance (Trial Balance), the receivables and payables overviews (Accounts Receivable and Accounts Payable) and the profit and loss account (Profit and Loss Statement). For the project managers: the project overview, the hours per project and the invoicing of timesheets. Put those reports in the right workspaces, and show the users how to filter, for example by company, period or project.
Figure 79. A report with filters at the top: company, period, account and document. With Actions at the top right you export it to Excel or put it in a workspace. Source: ERPNext documentation (docs.frappe.io)Figure 80. A list is a report too. Here you see for each sales order the status and how much has already been delivered and invoiced. Filters you use often you save with Saved Filters. Source: ERPNext documentation (docs.frappe.io)
Check: part 4
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 5 Migrating the old accounts and going live
About 60 minutes
30. What you migrate, and what not
ERPNext is ready. Now Rijnmond's accounts must go into it. That is called a migration: moving data from the old system to the new one. The biggest mistake beginners make is wanting to take everything along. Twenty years of invoices, all the quotations that never came to anything, every journal entry. That takes weeks, produces mistakes and nobody gets anything out of it. A good migration lays down a clean starting position and keeps the history separately.
For every type of data ask one question: does anyone need this after the start date to carry on working? The active customers and suppliers: yes, because you are going to invoice and pay them. The open invoices: yes, because they will still be paid. The balances of the bank, the loans and the equity: yes, because the balance sheet must carry on. The current projects: yes, because work is still being done on them. A paid invoice from 2019: no. It stays in the archive.
Figure 81. What goes along and what does not. On the left the clean starting position in ERPNext, on the right the archive: a complete export of the old package that you keep for seven years.
For Rijnmond that means: of the 1,400 contacts in the old package about 500 go along, namely the contacts that were active in the last three years. The 38 open sales invoices and 61 open purchase invoices go along, invoice by invoice. The 9 current projects go along, with their budget and what has already been invoiced. Everything else is exported in full and kept, because in the Netherlands there is a fiscal obligation to keep records for seven years. The old package also stays read-only for a while, for questions from the accountant.
Figure 82. The ERPNext documentation has a whole chapter on migration. On the right you see the steps: choosing what you take along, exporting, cleaning up, setting up, importing, checking and approving. That is exactly the route of this part. Source: docs.frappe.io
Tip Clean up the data before you import it, not afterwards. Duplicate customers, old addresses, suppliers without a VAT number: in a spreadsheet you fix that in an hour, in ERPNext it takes days. Ask the client's accounts department to help; they know their contacts best.
31. Data Import with a template
You do not type over five hundred customers by hand. For that ERPNext has Data Import: a tool to load records in one go from a CSV or Excel file. On day 8 you learned what a CSV file is: a table as plain text, with a comma or semicolon between the columns. Data Import works with a template: an empty file with exactly the columns ERPNext expects.
Figure 83. Data Import in six steps. Step 5 is the most important: ERPNext shows what is wrong before anything is saved. You fix the mistakes in your file and upload again.
This is how it works. Type "Data Import" in the search bar and make a new import. Choose the type of document (for example Customer) and as the import type Insert New Records. Save. Then click Download Template. You choose which columns you want; the required columns are already ticked and have a red asterisk. Choose Excel or CSV as the file type and download the template. If you have already made a few customers by hand, you can also download an example with five existing records. Then you see straight away how ERPNext expects the fields.
Figure 84. The Data Import manual. On the right you see the topics in order: downloading the template, importing, solving errors, and updating records. Read this page once all the way through before you import at a client. Source: docs.frappe.io
Then you fill the template with your cleaned-up data and upload it (Attach). ERPNext reads the file and shows a preview and a list of warnings, per row or per column. Only when there are no more warnings do you click Start Import. ERPNext then makes a record for each row and writes in the import log whether it succeeded. If a row fails, the reason is given. You fix those rows and import them again.
In depth
The order of importing
The order of the references also applies when importing. First import what refers to nothing, and then what refers to it. For Rijnmond: first customer groups, supplier groups and item groups; then customers, suppliers and items; then addresses and contact persons (in ERPNext these are separate types of document, which refer to the customer or supplier with a link); then item prices; and only after that projects and open items. If you import addresses before the customers exist, you get an error message for every row that the customer cannot be found. With large imports, also tick the option not to send emails, so that five hundred customers do not suddenly get a welcome email.
32. Filling in the template
Filling in the template is precise work. ERPNext is strict: a value must fit exactly what the field expects. In a choice field, such as the customer type, only Company or Individual may appear; "bedrijf" (company) or "BV" is rejected. In a link field, such as the customer group, the value must be exactly the same as an existing customer group, with the same capital letters. A date must be in the right format. In figure 85 you see a small example with two typical mistakes.
Figure 85. A customer template with five rows. Row 4 has an invalid choice, row 5 is a duplicate customer. You catch both mistakes while cleaning up, not only in ERPNext.
A few fixed rules make it easier. Leave the ID column empty for new records; ERPNext assigns a number itself. Do not change the column names in the first row, otherwise ERPNext does not recognise them (you can then link them by hand with Map Columns, but that is extra work). Keep every file you import, with a date in the name, in a fixed folder. That way you can always look back at what you loaded. And start small: first import ten lines, see whether it goes well, and only then the rest.
Note An import file with customer data contains personal data: names, addresses, phone numbers. Treat it as you learned on day 9. Do not put it in your own email or on a USB stick, but in a protected project folder, and delete your own copies after the go-live.
33. The trial import
The first time you import, it never goes completely right. That is normal. That is why you first do a trial import in the test environment, with the complete data. You export from the old package, clean up, import into the test environment and check. If something is wrong, you fix the source or your import file and do a new round. Expect two to three rounds.
Figure 86. The trial import as a cycle. Only when the check is completely right do you step out of the loop and plan the real migration.
Keep a short report of each round: which files, how many rows, how many mistakes, what you fixed. In the last round you let the client's accounts department look along. They recognise mistakes you do not see, such as a customer that has in fact not existed for years or a supplier that appears twice under a slightly different name. The trial import is also a good dress rehearsal: afterwards you know how long each step takes, and you need that for the go-live runbook.
34. Open items and the opening balance
The master data are the easy part. The difficult part is the accounts: how do you make sure ERPNext has exactly the same position on the start date as the old package had the evening before? For that you use the trial balance (Trial Balance) of the old package on the day before the start date. That list of balances per account must come back in ERPNext. You do that with three kinds of opening entries, as in figure 87.
Figure 87. Rijnmond's opening balance on 1 April. The receivables and payables come in invoice by invoice, the rest with one journal entry. If everything is right, the temporary opening account is at zero afterwards.
Open sales and purchase invoices you migrate with the Opening Invoice Creation Tool. For each unpaid invoice you enter the customer or supplier, the old invoice number, the invoice date, the due date and the outstanding amount, or you import them. Why per invoice and not as one amount? Because the customer will pay per invoice. If you only migrate "Woningstichting Maasoever owes us € 48,000", nobody knows which invoice is late or which invoice a payment of € 12,000 belongs to.
All other balances, such as the bank, the equipment, the loan and the equity, you migrate with one opening journal entry: a journal entry (Journal Entry) on the start date with the Is Opening tick box set to Yes. One line per account, with the balance on the debit or credit side. You do not include the receivables and payables here, because they have already come in through the open invoices. Otherwise you count them twice.
Figure 88. The manual for the Opening Invoice Creation Tool. The example explains exactly why you migrate per invoice. At the bottom is a table of which tool goes with which kind of data. Source: docs.frappe.io
During this work ERPNext uses a temporary opening account (Temporary Opening). Every opening entry runs half through it. When you have posted everything and everything is right, that account is exactly at zero. If there is still an amount on it, something is missing or something has been posted twice. So that account is your first check. Then have the accountant put the trial balance in ERPNext next to that of the old package and sign it off.
Expert
Current projects and work in progress
For a construction company current projects are the hardest part of the migration. A project of a million that is half finished has already incurred costs, already invoiced instalments and still has budget to go. How do you migrate that? A workable approach: create the project with the original contract sum in a sales order, with a payment schedule in which the instalments already invoiced are shown as invoiced (for example through the open invoices or a note). Put the costs so far as estimated costs or in a note on the project, so that the post-calculation counts on from the start date. The balance of work in progress on the balance sheet you include in the opening journal entry. Always discuss this approach with the accountant, because work in progress directly affects the profit for the year.
35. Checking in layers
A successful import only means that ERPNext has accepted the rows. It does not yet mean that the accounts are right. That is why you check in layers, from the bottom up, as in figure 89. First the counts: are there just as many customers, suppliers and items in ERPNext as in your cleaned-up file? Then the open items: does the receivables overview give exactly the same per customer and in total as the old package? The same for the payables.
Figure 89. Checking in four layers. A trial balance that adds up can hide mistakes per customer: two customers each with a wrong amount that cancel each other out. That is why you check the open items per customer or supplier before the trial balance.
Then the trial balance: every account in ERPNext on the start date must be equal to the old package on the evening before. Not roughly, but to the cent. Finally you do test postings: a new invoice, a payment on a migrated invoice, a timesheet on a migrated project. If all that works, the client can really carry on. For these checks use the reports you put in the workspaces in part 4.
Figure 90. The list of sales invoices with their status. After the migration you filter here on Unpaid and Overdue, and compare the number and the total with the list of open items from the old package. Source: ERPNext documentation (docs.frappe.io)
36. The go-live
The go-live is the moment when the client stops with the old package and starts with ERPNext. You plan it carefully, with a runbook: a list of every step, who does it, when, and how you check that it succeeded. In figure 91 you see the timeline for Rijnmond, with the start date 1 April.
Figure 91. From trial migration to go-live. The most important moment is the check on 3 April: only when the trial balance is right and the accountant signs is ERPNext the real system.
The steps are always the same. A few weeks beforehand you do the last trial migration and have the accounts department check it. In the week before, you train the key users and then the other employees. On the last day in the old package you freeze it: from that moment nobody posts anything with a date before the start date. Once the accounts for March are finished, you export the final position. Make a backup in ERPNext before you start. Then you do the final import: the new and changed master data, the open items and the opening balance.
Then comes the check, in the four layers of figure 89. If everything is right, the accountant or the person responsible for finance signs off, and from that moment ERPNext is the real system. If it is not right, the go-live is postponed. That feels like a setback, but starting a week later is much better than starting with accounts that are not right. A mistake in the opening balance haunts the client all year.
Figure 92. The aftercare after the go-live. Many consultants forget the bottom line: without a new fiscal year the client cannot invoice in January.
After the go-live the aftercare begins. The old package stays read-only. You are easy to reach for questions in the first weeks, you go through the first VAT return together with the accounts department, and after a month you hold an evaluation: what went well, what can be better, what still needs to be set up. Also put the fixed jobs on a list, such as creating the new fiscal year every autumn. Tomorrow, on day 19, you see how all of this comes together in the SuperCloud, with the storage, the hosting and the management around it.
In depth
From trial environment to production
How does the set-up of the test environment get into the production environment? There are two ways. The first: you make a copy of the test environment (restoring a backup on a new site) and then delete all the test transactions. For that, ERPNext has a function on the company form to delete a company's transactions, while the master data and settings stay in place. The second: you set up the production environment again, step by step according to your set-up log, and import the master data again. The first is quicker, the second is cleaner. Choose together with the client, and in any case test the sales chain once more in the production environment before the final import begins. Never delete test documents in a production environment that already contains real postings.
Check: part 5
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Assignment Set up a fictitious construction company
About 3 hours
Today you do yourself what Rijnmond needs, but for a construction company you make up yourself. Give it a name, a town and an abbreviation, for example "Bouwbedrijf Lekdijk B.V." from Nieuwegein, abbreviation LD (B.V. is the Dutch private limited company). You work in your own trial environment. You hand in a short report with screenshots, so that your supervisor can see that everything works.
Figure 93. The eight parts of the assignment. Work through them in this order; it is the same order as the lesson.
Do it yourself
First choose your trial environment. Option A (recommended): create a free trial site through frappe.io/erpnext, with Start free trial. Option B: install ERPNext locally with Docker following the expert block in part 1. In both cases use only made-up data. Take screenshots for your report as you work.
Environment and wizard. Create your trial site, turn on two-factor authentication on your account and go through the setup wizard: the Netherlands, EUR, time zone Europe/Amsterdam, your company name, an abbreviation of two or three letters, fiscal year from 1 January.
Company and accounts. Fill in a made-up VAT number, address and Chamber of Commerce (KvK) number for the company. Create the next fiscal year. Make three cost centres (for example New build, Renovation and General). Make the VAT templates 21%, 9%, 0% and reverse-charge VAT on the sales side, and set 21% as the default. Make a payment term of 30 days.
Three users with roles. Make three role profiles (Management, Administration and Project manager) with suitable roles. Make three users with made-up names and email addresses on a domain you do not really own, for example @example.test, and give each a profile. For the project manager, also make an employee (Employee) and link it to his user.
Ten customers via Data Import. First make the customer groups Client, Government and Private individual. Through Data Import download the template for Customer, fill in ten made-up customers (with name, type, group and territory) and import them. In the first attempt deliberately put in one mistake, for example an invalid customer type, and take a screenshot of the warning. Fix it and import again.
Five items. Make the item groups Hours, Materials and Instalments. Make five items: two kinds of hours (for example site work and work planning), two materials and one instalment. Switch off Maintain Stock. Give each item a selling price in Standard Selling.
Project with tasks and timesheet. Make the activity types Site work and Work planning with a cost rate and a billing rate per hour. Make a project for one of your customers with at least three tasks, with start and end date. As the project manager, write a timesheet with at least two lines on the project and a task, and submit it. Check on the project that the costs have been added up.
One complete sales chain. In the selling settings set the delivery note to not required. Make a quotation for a customer, turn it into a sales order, make a sales invoice from that and post a payment. After the invoice, check the three postings in the general ledger (receivables, revenue, VAT) and after the payment that the invoice is Paid.
Print format with logo. Make a simple logo (a drawing, or a logo you have Claude make as an SVG and save as a PNG). Make a letter head with that logo and your company details, set it as the default, and use the Print Format Builder to make your own invoice format that also shows the project. Make a PDF of your test invoice.
Report. Write a report of one to two pages: which choices you made and why (your set-up log), what went wrong and how you solved it, and the PDF of your invoice. Add the screenshots. Send it to your supervisor.
Expert
Extra: a trial migration
Want to go further? Make up a small set of old accounts for your construction company in a spreadsheet: five suppliers, three open sales invoices, two open purchase invoices and a trial balance with bank, equity and a loan that together come to zero. Migrate them with Data Import, the Opening Invoice Creation Tool and an opening journal entry with start date 1 April. Then check in the four layers: counts, open items, trial balance and a test payment on a migrated invoice. Is the temporary opening account at zero? In your report, write a one-page runbook for the go-live of your company.
Terms Glossary
Trial environment
An ERPNext site for practising and testing, without real client data.
Site
One complete ERPNext installation with its own database, web address and users.
Frappe Cloud
The hosting service of Frappe, the company behind ERPNext. There you can request a trial site.
Docker
A program that runs software in closed-off containers, so that you can start ERPNext locally.
Setup wizard
The series of screens when you log in for the first time: language, region, user and organisation.
Company
The organisation that all accounts, cost centres and documents belong to. Has a fixed abbreviation.
Fiscal year (Fiscal Year)
The period covered by the annual financial statements, usually the calendar year.
Chart of accounts (Chart of Accounts)
The tree of all general ledger accounts of a company.
Cost centre (Cost Center)
A part of the company over which you divide revenue and costs, such as a branch or department.
VAT template
A fixed setting for a VAT rate: which percentage, on which account.
Reverse-charge VAT
The arrangement (btw verlegd in Dutch) in which the subcontractor charges no VAT and the main contractor declares the VAT itself.
Naming series (Naming Series)
The pattern by which documents get their number, such as VF-.YYYY.-.
Role
A set of permissions on types of documents, such as Sales User or Projects User.
Role profile (Role Profile)
A fixed set of roles with a name, which you give to a user in one go.
User permission (User Permission)
A restriction for one user to certain records, for example one project.
Item
Anything you sell or buy, including hours, subcontracting and instalments.
Price list (Price List)
A list of prices per item, for selling or buying.
Activity type (Activity Type)
The kind of work on which hours are booked, with a cost rate and billing rate per hour.
Timesheet
A document in which an employee records his hours per project, task and activity.
Submit
Fixing a transaction, so that it counts in the accounts. After that you can only cancel and amend it.
Letter head (Letter Head)
The heading of quotations and invoices with logo, address and numbers.
Print format (Print Format)
The layout of a document on paper or in PDF: which fields go where.
Workspace
A page in the sidebar with key figures, shortcuts and reports.
Migration
Moving data from an old system to a new system.
Data Import
The ERPNext tool for loading records in one go from a CSV or Excel file.
Template
An empty file with exactly the columns Data Import expects.
Open item
An invoice that has not yet been (fully) paid.
Opening balance
The balances of all balance sheet accounts on the start date, taken over from the old system.
Trial balance (Trial Balance)
A report with the balance of every account on a date. Debit and credit are equal in total.
Go-live
The moment when the client stops with the old system and really starts working with ERPNext.
Freezing
Agreeing that nothing more is posted in the old system with a date before the start date.
Exam Setting up ERPNext
Take the exam at the end of the day, once you have done all parts and the checks. The exam is on a page of its own, without the lesson. You need 75% of the multiple-choice questions right; an assessor marks the open questions.