Technically, a local pack is a record in the VCS Local Pack (sys_vcs_local_pack) table related to versions of the related records in a VCS Record (sys_vcs_record) table. Every single version is an atomic state of versioned tables (those ones which have the Is VCS Enabled checkbox selected). All record versions in the local pack are displayed in a related list on a local pack form.
Default local pack is a local pack named "Default 1" created automatically after creating a new application.
It is not recommended to use the Default 1 local pack to store versions for the purpose of further import to other instances. Create separate packs for these tasks. |
Local packs allow developing application configurations on a separate instance, exporting it as a .SOP file, and implementing it to the main instance. This approach allows minimizing risks of mistakes, error and conflicts, which may affect the main instance during application development. In SimpleOne, developers can work on their task separately and then combine the results into team's final configuration pack. You can see the process in the scheme below:
Team DevelopmentIn SimpleOne, you can perform your parallel development on multiple instances. For now, team development is represented an operation approach and is handled by two engines:
In brief, in order to facilitate the team development process, you need to perform the following steps:
|
To create a local pack, please complete the steps below:
VCS Local Pack form fields
Field | Mandatory | Description |
---|---|---|
Name | Y | Define the name of the local pack. |
Is Default | N | This attribute defines that this local pack will be set as default for any user changing the application to the one specified in the Application field. |
State | Y | Local pack state. Available options:
|
Application | N | Specify an application of which record changes are stored in this local pack. |
Description | N | Local pack description. |
A non-actual version (the is_current attribute value is equal to 'false') can be restored if needed. To perform this, please complete the steps below:
After that, a new VCS record is created in the current local pack.
You can add a versions list to a versioned table form as a related list. After that, all previous versions of the current record are displayed on the record form. To do that, perform the following steps:
|
If a version has been created in a wrong local pack by mistake (for example, in the Default local pack), then you can move it to the required local pack. For this, please complete the steps below:
After you completed collecting record versions, you need to export the changes for further import to other instances. For this, please complete the steps below:
It is a good practice to:
|
Two local packs can be merged in one if necessary.
Both local packs must be in the Completed state. Both local packs must belong to the same application. |
To merge local packs, please complete the steps below:
As a result: