System Configurator
The System Configurator window (Menu => System Admin => General Rules => System Rules) lets you define global parameters that are stored in the database. This way you can control program flow without changing code.
- Parameters are defined in the format Name-Value.
- Model class used:
MSysConfig. - Entries are stored in the table
AD_SysConfig. - Entries can be made in the Application Dictionary or as a normal user.
- Examples in
base/src/org/adempiere/pdf/Document.writePDF()andclient/src/org/compiere/apps/AMenu.run(). InDocument.writePDF(), for example, the PDF font can be set dynamically.
Usage example
private final static String MY_GLOBAL_DB_VARIABLE = "VARIABLE_DEFINED_IN_DB";
String xxxx = MSysConfig.getValue(MY_GLOBAL_DB_VARIABLE, "");
if (xxxx != null && xxxx.trim().length() > 0)
// ...
Available keys
0-9
2PACK_COMMIT_DDL
If set to Y 2Pack tries to behave in PostgreSQL same as with Oracle - committing before and after DDL statements
- Values: Y/N defaults to N
- Reference: IDEMPIERE-3058
2PACK_HANDLE_TRANSLATIONS
Define if 2pack handle translations or not (legacy 2pack)
- Values: defaults to false
- Reference: FR 1786994
A
ADDRESS_VALIDATION
Enable address validation by country codes - separated by semicolons
- Reference: IDEMPIERE-1286
AD_CHANGELOG_SAVE_UUID
Save AD_ChangeLog.Record_UU, this is set by default to B to preserve disk space. Valid options are: B - just based UUID tables, A - always, U - just UUID, not ID
- Values: default B
- Reference: IDEMPIERE-5567
ALERT_SEND_ATTACHMENT_AS_XLS
Alert processor send the attachments as XLS (N->plain text)
- Values: Y/N default Y
- Reference: FR 1894573 Forum
ALLOCATION_DESCRIPTION
Define format for Allocation Description
- Reference: IDEMPIERE-2658
ALLOW_APPLY_PAYMENT_TO_CREDITMEMO
Allow applying payment to a credit memo
- Values: Y/N default N
- Reference: IDEMPIERE-1776
ALLOW_OVER_APPLIED_PAYMENT
Allow a payment to be over applied to an invoice
- Values: Y/N default N
- Reference: IDEMPIERE-1607
ALLOW_REVERSAL_OF_RECONCILED_PAYMENT
Define if the user is allowed to reverse a payment that was already reconciled
- Values: Y/N default Y
- Reference: IDEMPIERE-5089
ALogin_ShowDate
Show date field login
- Values: Y/N - Default Y
- Reference: IDEMPIERE-1311
APPLICATION_DATABASE_VERSION
Database version to show on login page
- Values: defaults to
select lastmigrationscriptapplied from ad_system - Reference: IDEMPIERE-2259
APPLICATION_DATABASE_VERSION_SHOWN
Defines if database version must be shown on login page
- Values: defaults to false if AD_System.SystemStatus = Production, otherwise defaults true
- Reference: IDEMPIERE-2259
APPLICATION_HOST_SHOWN
Defines if host must be shown on login page
- Values: defaults to false if AD_System.SystemStatus = Production, otherwise defaults true
- Reference: IDEMPIERE-2259
APPLICATION_IMPLEMENTATION_VENDOR
Implementation vendor to show on login page
- Values: defaults to "Supported by iDempiere community"
- Reference: IDEMPIERE-2259
APPLICATION_IMPLEMENTATION_VENDOR_SHOWN
Defines if implementation vendor must be shown on login page
- Values: defaults to true
- Reference: IDEMPIERE-2259
APPLICATION_JVM_VERSION_SHOWN
Defines if JVM version must be shown on login page
- Values: defaults to false if AD_System.SystemStatus = Production, otherwise defaults true
- Reference: IDEMPIERE-2259
APPLICATION_LOGIN_INFO_SHOWN
Defines if this server is used for demo purposes, to show the login information at the left panel and provide quick fill of User/Password
- Values: defaults to N
- Scope: System
- Reference: IDEMPIERE-6401
APPLICATION_LOGIN_LEFT_PANEL_SHOWN
Defines if the left panel is shown on login page, possible values Y=Yes (not collapsed), H=Hidden (collapsed), I=Invisible (not shown at all)
- Values: defaults to Y
- Scope: System
- Reference: IDEMPIERE-6282
APPLICATION_MAIN_VERSION
Main version to show on login page
- Values: defaults to bundle version
- Reference: IDEMPIERE-2259
APPLICATION_MAIN_VERSION_SHOWN
Defines if app main version must be shown on login page
- Values: defaults to true
- Reference: IDEMPIERE-2259
APPLICATION_OS_INFO_SHOWN
Defines if OS info must be shown on login page
- Values: defaults to false if AD_System.SystemStatus = Production, otherwise defaults true
- Reference: IDEMPIERE-2259
APPLICATION_URL
Server URL to generate zoom for a record. When empty, or using the value USE_HARDCODED, the system generates an URL with current protocol, server name, port, context
- Values: defaults to empty
- Reference: IDEMPIERE-2361
ATTACHMENT_SAVE_LIST_IN_AD_ATTACHMENTFILE
This key defines if the list of attachment files is saved in the table AD_AttachmentFile
- Values: Y/N - Default Y
- Scope: Tenant
- Reference: IDEMPIERE-6640
ATTACH_EMBEDDED_2PACK
When processing automatically a 2Pack (plugin or external), this key defines if the zip file is attached to the corresponding AD_Package_Imp_Proc record, this can be useful for posterior reprocessing
- Values: Y/N - Default Y
- Reference: IDEMPIERE-2771
ATTACH_NOTIFY_2PACK
This key defines if the summary of the 2Pack must be attached to the corresponding Pack In record, the summary will have the name "error_yyyymmddhhmmss.log" or "result_yyyymmddhhmmss.log", depending if the Pack In failed or succeeded
- Values: Y/N - Default
- Scope: Tenant
- Reference: IDEMPIERE-6563
AUTOMATIC_PACKIN_FOLDERS
This key defines a folder, or a set of folders separated by semicolon (;). When starting the plugin org.adempiere.plugin.utils, it searches for new packins to apply present on these folders and applies them automatically
- Values: defaults to empty
- Reference: IDEMPIERE-3551
AUTOMATIC_PACKIN_INITIAL_DELAY
Time in seconds that org.adempiere.plugin.utils waits before starting to process the AUTOMATIC_PACKIN_FOLDERS, this is useful in order to wait for the internal plugins to be processed first
- Values: defaults to 120 seconds
- Reference: IDEMPIERE-3551
AUTOMATIC_PACKIN_PROCESSING
This key is used internally by the automatic application of 2Packs as a semaphore to indicate that another 2Pack is being applied, is not intended to be managed by user, but automatically managed by the system.
- Reference: IDEMPIERE-2771
AUTOMATIC_PACKIN_RETRIES
When applying automatically a 2Pack, this defines the number of retries to wait for the semaphore when other plugins are applying 2Packs, this is used in combination with AUTOMATIC_PACKIN_TIMEOUT
- Values: defaults to 5
- Reference: IDEMPIERE-2771
AUTOMATIC_PACKIN_TIMEOUT
When applying automatically a 2Pack, this defines the waiting time to try to get the semaphore when other plugins are applying 2packs, this is used in combination with AUTOMATIC_PACKIN_RETRIES
- Values: defaults to 120 seconds
- Reference: IDEMPIERE-2771
AUTO_ASSIGN_ROLE_TO_CREATOR_USER
This key defines if a role is assigned to the creator user when creating a new role
- Values: defaults to false
- Reference: IDEMPIERE-3664
B
BACKGROUND_JOB_ALLOWED
Defines if reports as background jobs are allowed
- Values: defaults to true
- Reference: IDEMPIERE-1951
BACKGROUND_JOB_BY_DEFAULT
Defines if reports are executed as background job by default
- Values: defaults to false
- Reference: IDEMPIERE-1951
BACKGROUND_JOB_MAX_IN_SYSTEM
Maximum background reports running per system
- Values: defaults to 20
- Reference: IDEMPIERE-1951
BACKGROUND_JOB_MAX_PER_CLIENT
Maximum background reports running per tenant
- Values: defaults to 10
- Reference: IDEMPIERE-1951
BACKGROUND_JOB_MAX_PER_USER
Maximum background reports running per user
- Values: defaults to 5
- Reference: IDEMPIERE-1951
BANK_STATEMENT_POST_WITH_DATE_FROM_LINE
By default bank statement post with date from header, when this is set to Y then it changes to post with date from line, it can cause accounting problems because two bank statement lines can fit in two different accounting periods
- Values: defaults to false
- Reference: IDEMPIERE-1104
BPARTNER_QUICK_ENTRY_OPTIONAL_LOCATION_TABLES
On the business partner quick entry window, the location is defined as mandatory, this configurator allows to define a list of tables where the Location is optional
- Reference: IDEMPIERE-3906
C
CALENDAR_ALTERNATE_TIMEZONE
Alternate time zone to show in Calendar window. It can be defined as one zone or several zones separated by comma, as sample in Calendars.setTimezone. A zone is defined by a title =timezone, title is shown in the calendar, and the timezone must conform to timezone standard. If set empty (a whitespace) then no alternate timezone is shown.
- Values: Default when not set: Pacific Time=PST
- Reference: IDEMPIERE-832
CASH_AS_PAYMENT
Record Cash as a Payment (True) or Cash Journal (False)
- Values: defaults to true
- Reference: FR 2803341
CHANGE_PASSWORD_MUST_DIFFER
- Reference: IDEMPIERE-374 Change password must be changed to be a form instead of a process
CHART_MIN_WIDTH_3_PERIOD
Define the width where 3 periods fit in charts (using billboard)
- Values: default 230
- Reference: IDEMPIERE-5402
CHART_MIN_WIDTH_6_PERIOD
Define the width where 4 periods fit in charts (using billboard)
- Values: default 320
- Reference: IDEMPIERE-5402
CHECK_CREDIT_ON_CASH_POS_ORDER
Check credit on cash POS order
- Values: defaults to true
- Reference: FR 2840458
CHECK_CREDIT_ON_PREPAY_ORDER
Check credit on prepay order
- Values: defaults to true
- Reference: FR 2840458
CKEDITOR_FILE_CONFIG
Path to the config file of CKEditor
- Values: defaults to /js/ckeditor/config.js
- Reference: IDEMPIERE-6953
CKEDITOR_FILE_CONFIG_MIN
Path to the minimum (ie when in mobile mode) config file of CKEditor
- Values: defaults to /js/ckeditor/config-min.js
- Reference: IDEMPIERE-6953
CLIENT_ACCOUNTING
Enable client Accounting
- Values: D - Disabled (default)
Q - Queue (enabled to post by hand - queue documents for posterior processing)
I - Immediate (immediate post) - Reference: FR 2857807
COPY_TENANT_BATCH_FLUSH_SIZE
Copy Tenant feature now insert into batches, this configurator defines the batch size for the insert
- Values: default 10000
- Scope: System
- Reference: IDEMPIERE-6868
CSV_EXPORT_SANITIZATION
Enable CSV Export Sanitization
- Values: Y - Sanitize CSV Exports (default) / N - do not sanitize
- Scope: Tenant
- Reference: IDEMPIERE-6844
D
DASHBOARD_LAYOUT_ORIENTATION
Change dashboard layout orientation
- Values: C = Column (default/fallback)
R = Row - Reference: IDEMPIERE-5389
DB_READ_REPLICA_NORMAL_MAX_ITERATIONS
Number of iterations to try before giving up when trying to get a connection to read replica for reports
- Values: Defaults to 3
- Reference: IDEMPIERE-3850
DB_READ_REPLICA_NORMAL_TIMEOUT_IN_MILLISECONDS
Timeout in milliseconds to wait for the replica to sync for reports
- Values: Defaults to 5000 (5 seconds)
- Reference: IDEMPIERE-3850
DB_READ_REPLICA_URLS
Pipe ( | ) separated list of JDBC URLs of read only replicas for reporting
- Values: if empty (default) reporting from replica is not enabled
- Reference: IDEMPIERE-3850
DEFAULT_COA_PATH
Path for default Chart of Accounts
- Values: $IDEMPIERE_HOME/data/import/AccountingDefaultsOnly.csv
- Reference: IDEMPIERE-1685
DEFAULT_ENTITYTYPE
Default value for Entity Type field in windows
- Values: Defaults to U
- Reference: IDEMPIERE-2852
DICTIONARY_ID_PASSWORD
Developer password
- Reference: Centralized IDs
DICTIONARY_ID_USER
Developer username
- Reference: Centralized IDs
DICTIONARY_ID_USE_CENTRALIZED_ID
Assign the dictionary ID's from a centralized website reservation instead of sequences
- Values: Y/N default Y
- Reference: Centralized IDs
DICTIONARY_ID_WEBSITE
Website providing the ID reservation service for iDempiere
- Reference: Centralized IDs
DOCACTIONBUTTON_SHOWACTIONNAME
- Reference: IDEMPIERE-594
DPViews_ShowInfoAccount
Defines if Info Account must be shown on Views dashboard
- Values: defaults to true
- Reference: IDEMPIERE-1085
DPViews_ShowInfoSchedule
Defines if Info Schedule must be shown on Views dashboard
- Values: defaults to true
- Reference: IDEMPIERE-1085
E
EMAIL_NOTIFY_2PACK
This key defines an email or list of emails separated by comma (,). When defined the application of a 2Pack zip file (automatic or manual) will send a notification email to the emails on the list. This key can be configured by tenant and for System, the emails configured for System will be added to the list when processing a tenant.
- Reference: IDEMPIERE-2771
EMAIL_SERVER_START_ENABLED
Enable/disable the "Send Email" feature upon server startup
- Values: defaults to true (send email)
- Scope: System
- Reference: IDEMPIERE-6421
EMAIL_SERVER_START_MAILTEXT_ID
ID of the mail template to be used when sending the EMail when the server starts
- Values: if not set the system will use the hardcoded content
- Scope: System
- Reference: IDEMPIERE-4063
EMAIL_SERVER_START_RECIPIENT
Allow to override the recipient of the email sent when the server starts
- Values: if not set the system will use what is defined in RequestEMail of System tenant
- Scope: System
- Reference: IDEMPIERE-4063
EMAIL_TEST_MAILTEXT_ID
ID of the mail template to be used on the EMail Test process
- Values: if not set the system simply uses the string "EMail Test"
- Reference: IDEMPIERE-4359
ENABLE_PAYMENTBOX_BUTTON
Defines if the payment button besides the payment rule is shown or not
- Values: defaults to true (button enabled)
- Reference: IDEMPIERE-2305
ENABLE_SSO
Defines if SSO is used in the system
- Values: defaults to false
- Reference: IDEMPIERE-5346
ENABLE_SSO_IDEMPIERE_MONITOR
Defines if SSO is used for the idempiereMonitor
- Values: defaults to false
- Reference: IDEMPIERE-5346
ENABLE_SSO_OSGI_CONSOLE
Defines if SSO is used for the OSGI console
- Values: defaults to false
- Reference: IDEMPIERE-5346
EXPORT_BLOB_COLUMN_FOR_INSERT
When exporting records as SQL insert, it defines if the BLOB columns are exported or not
- Values: defaults to true
- Scope: Tenant
- Reference: IDEMPIERE-6133
F
FEEDBACK_EMAIL_CC
Comma separated list of carbon copy recipients for feedback EMail
- Reference: IDEMPIERE-4461
FEEDBACK_EMAIL_TO
Comma separated list of recipients for feedback EMail
- Reference: IDEMPIERE-4461
FORCE_POSTING_PRIOR_TO_PERIOD_CLOSE
Define if closing period with unposted documents is allowed, by default is forcing to post documents first
- Values: defaults to true
- Reference: IDEMPIERE-5576
FORM_SQL_PROCESS_ALLOWED_KEYWORDS
Commands allowed to execute in the form SQL Process
- Values: default: ALTER, ANALYZE, COMMENT, CREATE, DELETE, DROP, GRANT, INSERT, REINDEX, REVOKE, SET, UPDATE, TRUNCATE, VACUUM
- Reference: IDEMPIERE-5450
FORM_SQL_QUERY_ALLOWED_KEYWORDS
Commands allowed to execute in the form SQL Query
- Values: default: SELECT, WITH, SHOW
- Reference: IDEMPIERE-5451
FORM_SQL_QUERY_LOG_ISSUE
Log queries executed in SQL Query form in AD_Issue table
- Values: default: true
- Reference: IDEMPIERE-5451
FORM_SQL_QUERY_MAX_RECORDS
Maximum number of records to query in SQL Query form
- Values: default: 500
- Reference: IDEMPIERE-5451
FORM_SQL_QUERY_TIMEOUT_IN_SECONDS
Timeout in seconds for queries executed in SQL Query form
- Values: default: 120
- Reference: IDEMPIERE-5451
G
GLOBAL_MAX_QUERY_RECORDS
Defines the maximum number of records allowed to be loaded when opening a window, zero means no limit (not recommended)
- Values: defaults to 100.000 records
- Scope: Tenant
- Reference: IDEMPIERE-6123
GLOBAL_MAX_REPORT_RECORDS
Defines the maximum number of records allowed to be printed in a report, zero means no limit (not recommended)
- Values: defaults to 100.000 records
- Scope: Tenant
- Reference: IDEMPIERE-6123
GRIDTABLE_INITIAL_COUNT_TIMEOUT_IN_SECONDS
Defines the maximum number of seconds allowed for the initial count SQL to run when opening a window, zero means no limit (not recommended)
- Values: defaults to 1 second
- Scope: Tenant
- Reference: IDEMPIERE-6123
GRIDTABLE_LOAD_TIMEOUT_IN_SECONDS
Timeout in seconds to wait for complete gridtable load
- Values: defaults to 30 seconds
- Reference: IDEMPIERE-2188
H
HTML_REPORT_MINIFY
Defines the HTML of reports is minified
- Values: defaults to true
- Reference: IDEMPIERE-5225
HTML_REPORT_THEME
Name of optional theme for HTML reports on webui
- Reference: IDEMPIERE-2355
I
IBAN_VALIDATION
This key defines if the system must apply IBAN validation for the fields IBAN on the different tables, like Bank Account, BP Bank Account, Payment, Payment Transaction. For countries where the IBAN is not used, or used for a different purpose, then is recommended to disable this flag
- Values: Y/N, defaults to Y
- Reference: IDEMPIERE-1200
IDENTIFIER_SEPARATOR
This defines the separator to be used in the generation of a display column for foreign fields
- Values: defaults to underscore (_)
- Reference: IDEMPIERE-3409
IMAGE_DB_STORAGE_SAVE_AS_ZIP
Defines if the images are saved raw or zipped in the AD_Image table
- Values: Boolean Y/N
- Reference: IDEMPIERE-4190
INFO_PRODUCT_SHOW_PRODUCTS_WITHOUT_PRICE
Defines if the products without price are also shown in the Info Product Window
- Values: Boolean Y/N
- Reference: IDEMPIERE-5020
Invoice_ReverseUseNewNumber
- Reference: IDEMPIERE-148 Allow reversal invoice to use DocNo^ instead of consuming an invoice #
J
JASPER_SWAP_MAX_PAGES
- Reference: IDEMPIERE-146
L
LABEL_AUTOMATIC_COLOR
Defines if a color is assigned automatically to labels/tags based on its name
- Values: defaults to true
- Reference: IDEMPIERE-5259