To Edit a Register, go to the Registers list. To do this, in the navigation panel, select Menu > Constructors > Register templates. The Constructors submenu is available only with the Designer right.
The list of Registers looks like many other lists in the system. At the top there is a command panel with the Add, Edit, Delete buttons.
To start editing the Register, you need to select an item in the list and click the Edit button on the command panel or double-click on the item itself. This will open the form of the Register settings item.
Register Settings Form
There are tree tabs in the form: Structure, Triggers and Other.
On the Structure tab on the left is a list with Register columns. And on the right is the properties panel of the selected Register column.
The Register column properties panel contains the following fields:
- Title – The title of the Register column.
- Name – The name of the column. It is generated automatically after entering the title. If necessary, can be edited manually.
- Type – Type of column. The following types are available for selection: Number, String, Date, Catalogs.
- Tooltip – Tooltip for the Register column.
- Bit depth – The number of decimal places. Available for columns of type Number.
- Length – The maximum String length. Available for columns of type String. If zero-length is specified, the string will be unlimited. Using unlimited String can lead to performance degradation. It is preferable to use the String of limited length.
- Required – If the flag is set, entries with an empty value in this column are prohibited.
- Display in list – The flag indicates whether to display a column in the Register list or not.
Note. If there are already entries in the Register, then some properties of the columns (Name, Type, Bit depth, Length) will be blocked. To change these properties, you must clear the Register.
On the Triggers tab – the description will be later
On the Other tab – the following fields are located: Title, Name, Memo. The Register name cannot be changed after the log is created and is therefore locked. Title and Memo can be edited if necessary.
Information on operations that record in this Register is placed below on the same tab. The list + lists the operation templates that create records with the direction Debit, the list lists the operation templates that create records with the direction Credit. You can open the corresponding operation template on a new tab by clicking on the name of the operation in the list.
Adding a Register Column
To add a new column, click the Add button. A submenu appears with two options: Standart Column and Column.
If you select the Standard column item, a selection form opens with a list of pre-configured fields. You can select the required field. After selecting a field, the selection form will be closed, and a new column with already configured properties will appear in the list of columns. The new column is in italics. If necessary, you can edit all the properties of the column in the property panel and move the column using the up and down arrows to the desired position in the list.
The advantage of working through the Standard column item is that you select already configured fields. There is no need to perform all settings manually. This ensures higher speed and uniformity of the created fields (for example, the Company field in all the Register will be called Company and will have the company name, the Total field will be Number in all Register with an accuracy of 2 and the name amount, etc.).
In most cases, we recommend adding log columns through the Standard column. Any settings can be made manually.
If you select Column, a new column will be added to the list of Register columns and you will have to manually configure all the properties of this column.
A column in the Register will be created only after recording the settings item using the Save or Save & Close button. The column will no longer appear in italics. If necessary, the column can be edited or deleted.
Editing a Register Column
To edit a Register column, select the column on the Columns tab and edit the column properties in the properties panel. After the change, the column will be in italics. Changes will be applied only after Save the settings item.
If you made a mistake and do not want to record the changes made, simply return to the list of logs by clicking the Back button in the command panel. Or reload the current browser page (F5 shortcut).
Delete Register Column
To delete a Register column, select the necessary column on the Columns tab and click the Delete button located above the column list. After clicking the Delete button, the column will be crossed out. If you click Delete again, deleting this column will be canceled. The column will be deleted from the Register when the settings item is Save.
If you made a mistake and do not want to record the changes made, simply return to the list of Register by clicking the Back button in the command panel. Or reload the current browser page (F5 shortcut).
Important! Removing a column is an irreversible action. The deleted column cannot be restored. All data stored in the deleted column will be Register and cannot be restored.