Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Apollo is a crew management company that implemented their own crew management system which they make available to their customers.  

The interface will on regular intervals download employee information from Apollo and upload this information into Adonis.

Compatible

Compatible with APM 2019.50 or higher*

*Requires cross reference table; PW001P01_XREF


Panel
titleOn this Page
Table of Contents
maxLevel3
indentOn this page


Process Flow

Onboard Crew,  and crew lined up to go onboard are downloaded from Apollo and inserted into Adonis.

No information is send from Adonis to Apollo.  

Apollo- > Adonis

Crew

Employee Bio Data

DescriptionAdonis FieldApolloComment
UniquePINemployeeIdThe employees unique id is stored in the pin XREF table. The XREF table is used to find the pin using Apollo's employee id.
Crew member's first nameFirstNamefirstName
Crew member's last nameLastNamelastName
GenderSexGender
Birth DateBirthDatebirthDate
Place of BirthPlaceofBirthbirthPlace
Address 1Address1line1
Address 2Address2line2
Address 3Address3line3
ZipPostCodezipCode
Address CountryAddress_countrycountry
emailemailemail
Original employment start dateEmploymentStartDatehireDate
NationalityNationalitynationalityCountryCode
RankpositionIDrankUses the rank XREF (General Codes) to find the correct rank code.
Hair ColorHairColorhairColorUses the color XREF(General Codes) to find the correct color code.
Eye ColorEyeColoreyeColorUses the color XREF(General Codes) to find the correct color code.
CLIENTClientcompanyCodeUses the company XREF (organization)  to find the correct company numorgid/clientid


Seaservice information

DescriptionAdonis FieldApollo FieldComment
VesselvesselshipReferenceCodeUses the vessel XREF (organization)  to find the correct vessel numorgid
PositionNumorgidpositionReferenceCodeUses the position XREF (organization)  to find the correct vessel numorgid
Sign-On DateDateFromsignonDate
Sign-Off DateEstimatedEndDatesignoffDate

Planned
IF signOnConfirmed=true THEN N ELSE Y

Historical
IF signOnConfirmed=true THEN T ELSE F

DateTo
IF signOffConfirmed=true THEN signOffDate ELSE Null
CodeCodeno input from Apollo

This information does not exist in Apollo.  The system find the activity code identify in the XREF the interface field. The xref code is one of the plug-in parameters  See houskeeping.

Competence and Travel Documents

DescriptionAdonis fieldApollo FieldComment
Unique id to identify EmployeePINemployeeKeyThe employees unique id is stored in the pin XREF table. The XREF table is used to find the pin using Apollo's employee id.

CODEdocumentCodeUses the competence / travel docuemnts XREF(General Codes) to find the correct document code

DOCUMENTIDdocumentId

COMMENTSdocumentName

DATEFROMissuedDate

DATETOexpirationDate

ISSUEDBYissuedBy


Houskeeping

Download the Plug-In

http://download.adonis.no/files/upgrade/PersonnelManager/Plugins/Replicator/APL/

UpdatePack_APL_2020.01.10.1.cab


Installing the plugin

See : Installing and distributing the Replicator plug-in

Plugin Parameters

A plug-in will request certain parameters like authentication details, server url, names etc. These parameters are different from plug-in to plugin, before scheduling the plug-in the administrator need to set the correct parameters.

  • In the right Panel of the replicator manager expand the plug-in and select plugin parameters

In the right-hand screen select the site and add the parameters manually. 

Plugin specific parameters for the Apollo Interface

Below you find the plugin specific parameters, note the parameters are case sensitive. 


Parameter

Description

CLIENTID

Authentication parameter     (ADONIS_Crew)

CLIENTSECRET

Authentication parameter     (Contact Apollo)

COMPANYCODE

Authentication parameter     (Contact Apollo)

DATABASE

Adonis Database

SERVER_NAME

Database Server

XREF_SEASERVICEXREF Code identifying the seaservice
XREFInterface name.
DAYSAHEADNumber of days the interface should "look ahead" to identify crew members that are planned to go onboard.  
STARTDATEPossible to give  particular start date from which the system should select crew members.  Should only be used to synchronize both systems during the initialization phase. 
Leave blank after  synchronizing both systems. .  
RESETDATE

Parameter used during the initializing or if a full download is needed

1 - reload all data from APOLLO

yyyy-mm-dd (e.g. 2019-01-15) - reload all modification given after a particular date. Use this after restoring APM and repopulate the database with the lates Apollo information. 


Cross reference (XREF) Setup

In Adonis the functionality exist to link all general code  and levels in the organization structure to a 3rd part code.  Before starting the plugin the Administrator need to add Apollo XREF codes. 

In the general codes > Interfaces
Create the a new interface Apollo, Add this to the Plugin parameter XREF.

  

This is used by the plugin to determine which XREF codes to use.  

The following XREF Codes are used: 

General Codes:  Color, Ranks, Competences, Travel Documents

Organization Structure:  Company, Vessel

Monitoring Surveillance

Status last execution.

To retrieve the latest interface execution status, open the replicator monitor 

Screen shot from Resco interface

In the left pane select the Apollo interface plugin in the status menu.  It is located directly below the Adonis Replicator status.  In the right pane you will find the status of the last execution.  

Execution Log: 

In the directory where the Apollo plug in is installed you find the log file containing the status of the last 4 weeks of execution.   

Open the file aplint.log using notepad, and you find the latest entries at the bottom of the log file.

  

Reset the replication

Run the following SQL

UPDATE PWINTERFACETASK
       SET LastImport= NULL
WHERE TASK='APOLLO_TASK' and SiteNr=<site# of active site>

This update statement will force the system to import all information from Apollo. 




Panel
titleRelated Pages

Filter by label (Content by label)
showSpacefalse
cqllabel in ("replicator","plugin","oracle","resco") and space = currentSpace()