Pcm-ERP
From SoftTopia
Contents |
[edit] About PCM ERP
[edit] Default account
At first time we launch PCM-ERP we need user and password.
By default admin account is:
username: admin
password:1234
The admin account is always active and it has all the privileges. But you can not use admin user as a normal user. For example you can not enter timesheets as an admin user.
You can change the admin password in app main settings.
[edit] OpenOffice document templates
With PCM-ERP you can create openoffice documents with variables that will be replaced automatically. We have to append .soot to our document extension. Since for example: mydoc.odt will be mydoc.odt.soot. Doing this, the program will recognize .soot files as templates, and we are able to generate a document from it replacing all its variables.
[edit] Variables
Variables in documents goes between [% %].
For example:
[%testvariable%]
Where testvariable is the name of the variable.
For database variables we have to indicate first the table name followed by '.' and the field name.
[%project.name%]
If a variable contains more than one value you can indicate variable index like this:
[%project.name%]0
[%project.name%]1
[%project.name%]2
[%project.name%]3
[%project.name%]4
When index exceeds the variable range it will be replaced for an empty value.
We can also put a filter into variable. The code bellow selects the first name from current project timesheets where workers_email='me@myserver.com':
[%project_timesheets(workers_email='me@myserver.com').name%]0
[edit] Available variables
[edit] Database variables
[edit] Project Scope
| project | project_assemblies | project_assemblies_articles | project_tasks | project_timesheets | project_deliverynotes | project_deliverynotelines |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
| project_invoices | project_invoicelines | project_customer |
|---|---|---|
|
|
|
[edit] Delivery Note Scope
| deliverynote_header | deliverynote_lines | deliverynote_customer |
|---|---|---|
|
|
|
[edit] Invoice Scope
| invoice_header | invoice_lines | invoice_customer |
|---|---|---|
|
|
|
[edit] Orders Scope
| order_header | order_lines | order_provider |
|---|---|---|
|
|
|
[edit] Global Scope
- timesheets
- customers
- articles
- invoices
- deliverynotes

