Description
The Otalio Master plugin is designed to import crew data as well data on embarkation and disembarkation from Otalio to Adonis. On importing, the system creates the sea-service activity for uploaded crew.
The sea-service activity is created only in case Department and Position XREFs are correctly defined (for more information, see APM Configuration). Otherwise, records are imported to APM without activities.
Data Processing Rules
Otalio sends a list of crew members onboard a vessel. Adonis, in its turn, compares the existing list of crew members with the one received from Otalio and processes data based on the following rules:
Crew members existing in the Adonis crew list but not found in the Otalio crew list are disembarked. The disembarkation date is set to the current date.
In case a crew member’s department or position got changed, the system closes the current activity=Today() -1d and creates a new sea-service activity linked to the new department and position code.
If a crew member is not available in the Adonis database, the system adds a crew member as well as creates a sea-service activity (datefrom=embarkation.ActualDate, DateTo=Null, TodateEstimated=disembarkation.ScheduledDate).
If a crew member is already available in the Adonis database, only bio data is updated.
Field Mapping
Otalio | Adonis | Comment |
---|---|---|
CrewId | PIN | |
ProfileId | Otalio external PIN | |
dateOfBirth | Birth date | |
placeOfBirth | Place of birth | |
firstName | First name | |
lastName | Last name | |
MiddleName | Middle name | |
Gender | Sex | |
Nationality | Nationality | |
boardCardId | Crew card number store in the Alternative Pin field in the Personal Details datagroup. | |
embarkation.actualDate | Sea-service activity start date | |
disembarkation.scheduledDate | Sea-service activity planned end date | |
disembarkation.actualDate | Sea-service activity actual end date | |
operationalPosition.Code | XREF value of a position in the organization | For more information, see APM Configuration. |
operationalDepartment.Code | XREF value of a department in the organization | For more information, see APM Configuration. |
reservationId | Otalio ID number of the sea-service activity |
Housekeeping
The section covers the download, installation, and configuration procedures of the Otalio Master plugin.
http://download.adonis.no/files/upgrade/PersonnelManager/Plugins/Replicator/OTM/
Installing Plugin
Once the download is complete, follow the link below to get the instructions on how to install the plugin:
Installing and distributing the Replicator plug-in
Setting Parameters
After the plugin is installed, it is necessary to specify parameters for the Site(s). To do this, follow the steps below:
On the left-hand side pane, select the service to which you got connected and navigate to Updatable programs.
In the Updatable programs node, select the plugin to be affected. Right under the selected plugin, select Plugin parameters.
In the Update parameters workspace, select the Site for which you want to add parameters and click the Add button. Clicking the command displays the Add new parameter dialog where you can enter the parameters one by one:
On entering, click OK to proceed.
Below, you will find the description of parameters required for the Otalio Master plugin:
Name | Value |
---|---|
SERVER_NAME | Address of the server hosting the APM database. |
DATABASE | Database name used when installing Adonis Personnel Manager. |
DEBUGLOG | 0 - for the debug information in Replicator only. 7 - for the extended log; adds debug information into the log and stores request/response in the debug folder. |
SERVICE_PSW | Service password. |
SERVICE_URL | URL to the Otalio service. |
SERVICE_USER | Otalio user name. |
XREF | Interface name identifying the XREF codes used by this plugin. For more information, see APM Configuration. |
XREF_SEX_U | Additional gender identification matching the APM value - [U] Unknown. |
XREF_SEX_N | Additional gender identification matching the APM value - [N] Non-binary. |
SHIPCODE | Otalio’s code of the current vessel. |
DEBUGDAYS | The request/response files are stored only for the specified number of days and then will be deleted. Note: If the DEBUGDAYS parameter is not defined, files will be stored within the current day only. |
ONB_CODE | Activity code identifying the sea-service activity. See General Codes > Activities to check the code. |
APM Configuration
Adonis uses the standard XREF functionality to link the Adonis lookup tables (General codes, Organization structure) to the corresponding code in Otalio.