Configuration: reference and project settings

The Clients, Projects, Quote items and Suppliers modules have settings that decide how their records are numbered, named and checked for an org: how quote and project references are built, when invoiced projects lock, which checks run before a project is invoiced, and so on. Administrators change them on the module's Settings tab in Configuration, without going to the Kompass Admin site.

The Settings tabs all work the same way: you open them from Configuration, choose the org with the Org selector, and store changes with Save. That is described in Configuration: module settings, along with who can see the tabs. The permissions for these four are Client settings, Project settings, Quote item settings and Supplier settings, set to Edit.


Reference and name templates

Several settings below are templates. A template is text in which anything inside double curly brackets is replaced with the value it names. For example, Q{{ project.id }} gives a quote with the number 1234 the reference Q1234. Text outside the brackets is kept as it is.

  • Choose Show variables under a template to see the values it can use, with one or two examples. The variables differ from template to template.
  • The counts variables number records in sequence, counting the new record itself. Plain counts such as counts.created.year count the records of all your orgs, and those with _org count only the selected org's records. Those ending in .year or .month restart each year or month. Counts are not guaranteed to be unique, so a reference built from one can clash with a reference edited by hand.
  • Templates can also format values, for example {{ "%03d" | format(counts.created_org.year) }} in a project reference pads the count to three digits (007).
  • When you choose Save, Kompass tries each changed template on the org's most recent record. If it cannot be used, the message This template cannot be used appears under it, with the reason, and nothing is saved. If the org has no records of that kind yet, only the syntax of the template is checked. A misspelled variable name is not an error: it is left out of the result, so check the first reference a new template builds.
  • A changed reference template applies to records created or accepted from then on, and a changed copy name to copies made from then on. Existing references do not change. A changed Display name applies to existing records straight away.

The variables of the Quote reference template

For more on numbering, including what to watch out for when references are edited by hand, see How can I define the proposal and project ID myself?


Clients

The Clients Settings tab

Setting What it does
Default client type New clients start as this type, Organization (the default) or Person. The invoice list marks clients of the other type.
Count invoices from The status an invoice must reach before it counts towards project values and client totals: Created, Submitted, Approved (the default) or Posted. Rejected and voided invoices never count.

Projects

The Projects Settings tab

References and names

Setting What it does
Quote reference Builds the reference of a new quote. The default, {{ project.id }}, uses the quote's number.
Reference on acceptance Builds the reference again when a quote is accepted, for example to give projects their own numbering. It can also use counts of accepted projects and the quote's reference. The default, {{ project.reference }}, keeps the quote reference.
References can be edited People can change a project reference by hand after it is created. Off by default. They also need permission to change references in their group.
Display name How a project is named in lists, selectors and documents. By default the reference, the org's separator and the project name.
Name of a copy The name of a copied project, COPY - {{ project.name }} by default. name_count numbers copies that would otherwise have the same name.

New projects, warnings and checks

Setting What it does
Source required A project can only be saved with a source, so you can see where your work comes from. Without one, people see Choose a source for this project. Existing projects without a source are not changed, but the edit form asks for one when someone can edit the Source field, and a source cannot be removed from a project. If a source asks for details, the Source details are needed too. Make sure the org has values in the Sources list on the Projects Lists tab first. Off by default.
Warn about missing confirmations Accepted projects without a formal order confirmation show a warning in the projects list, for people who can see project financial figures. On by default.
Check work in progress before invoicing A project cannot be marked as invoiced, or reach any later billing phase, while it has work in progress that has not been invoiced (more than 1 either way). Until then the date of the next billing phase cannot be set, and if it is sent anyway it is refused with a message giving the amount still in progress (without the amount for people who cannot see financial figures). Invoice the project fully, then set the date. Dates already set can still be changed. Off by default.

Locking

Lock projects after locks a project once more than this number of days (1 to 3650) has passed since the date it was fully invoiced. With 1 day, a project invoiced on January 1 locks on January 3. Leave it empty to turn locking off.

A locked project can only be changed by people whose group has the Edit locked projects permission. Others can still add notes and tags and record that it was received, and change the phases after invoicing, but nothing else.

While you type a number of days, Kompass shows how many of the org's projects are locked today and how many more would be locked with the new value. The message turns yellow when your change would lock more projects, so you can check before you save.

The lock preview under Lock projects after

To unlock a single project, see Unlock Projects.

Quotes for the same project

Quotes can be linked as quotes for the same project. When one of them is accepted, Kompass abandons the others that are still open. Quotes that are suspended, already accepted or already abandoned are left as they are. Reason for the other quotes is the abandoned reason they are given. Choose one from the org's abandoned reasons (the Abandoned reasons list on the Projects Lists tab), or None to abandon them without a reason.


Quote items

The Quote items Settings tab

Quote items have the same reference and name settings as projects, with variables of their own:

Setting What it does
Quote item reference Builds the reference of a new quote item, {{ quote_item.id }} by default. It can use the project's reference, for example {{ project.reference }}.{{ quote_item.id }}.
Reference on acceptance Builds the reference again when a quote item is accepted. The default keeps the existing reference. With sequence, each accepted item takes the first number not yet used on the project. An item that is no longer accepted keeps its number, so that number is skipped. A number freed by deleting an item can be used again.
References can be edited People can change a quote item reference by hand after it is created. Off by default. They also need permission to change references in their group.
Display name How a quote item is named in lists and selectors, {{ quote_item.name }} by default.
Name of a copy The name of a copied quote item, COPY - {{ quote_item.name }} by default.

Suppliers

The Suppliers Settings tab

Document references

Purchase order reference, Bill reference and Bill payment reference are used when one of these documents is created without a reference. Clearing the reference of an existing document does not build a new one. They are empty by default, and an empty template uses the document date as the reference. They can use the supplier's name and reference, the document date and the counts. The year and month counts go by the document date. Bills and credit notes are counted separately: the bill template can use type to tell them apart, for example {% if type == "C" %}CN-{% else %}B-{% endif %}{{ counts.created_org.total }}.

Default nominal account

The nominal account given to new suppliers. Only nominal accounts linked to the org and in use today are offered, or None. To load the list you also need permission to view nominal accounts; without it the field stays grayed out and a warning says the settings could not be loaded. Changing it does not change existing suppliers. See Configuration: nominal accounts.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us