Watch a short
VIDEO about creating custom fields.
In Uniconta, you can add custom fields to each account. This is done in the menu Tools / Custom fields.
Custom fields
Custom fields can be added to the folders listed in the main menu under Tools/Custom fields
To create a new field, select Add field.
Then you need to fill in the fields below:
- Name, filled in with upper and lower case letters. The name must not contain spaces.
Note: We recommend calling the name with a preceding variable so that you do not accidentally call the field something that is already used in Uniconta. For example, bdfMitField or bdfNumber etc. bdf=custom field, but it could just as well be udfMitField or oleMitField or strMitField or intMitField.
- Caption, the descriptive text that will appear as headline and caption in the grid and on the form.
- Formatting, uses .NET formatting for field types.
- Group name, used to place the field in an existing group or create your own group where you collect your fields.
To use an existing group, click F12 on the form where the field is to be created and the list of existing groups will appear. Enter the group name and click Save.
Note: The group name is case-sensitive, so it must be written correctly.
- Type, fill in based on the desired type, read further down
- Reference, used if the user field has a reference to a different table than the table the field is added to, it can be selected here.
Note: For the field to be a reference field, it must be a string.
Types: |
The type of field. There are the following options |
String |
Alphanumeric text. If the field is a string, a length can be written in format. For example, "10" and then a maximum of 10 characters is allowed in the entry. It is not a requirement that anything is written. |
Boolean |
A boolean is a checkbox.
If nothing is entered in the type, you get a regular checkbox. If you want named choices instead of a checkbox, you can fill with two and only two values. V
The values must be separated with a ; (Semicolon)
Ex.
0;1
No;Yes
Green;Blue
If more options are needed , use Enum |
Integer |
Integer |
Date |
Only "date" |
DateTime |
Date and time. The server stores the time in GMT format, so if you set the time in Denmark to 19:00, it will show 13:00 in the US, as the time in the US is 13:00 when it is 19:00 here. |
Money |
Always 2 decimal places and stored on the server in "pennies" or "cents". |
Double & Single |
Kommatal. |
Enum |
A selection of choices. For example, if you type "Up;Down;Right;Left" in the "Format" field, these 4 options will appear in comboboxes. |
Viewing custom fields.
Custom created fields appear on the tables and thus the screens they are added to. Here is an example of an added field on debtor