Worker Security with Transaction Type Single Line Download

This integration downloads worker and associated assignment data based on an effective key of Security ID (SID) and includes the “Transaction Type” logic (i.e. Hire, Update, Terminate, Rehire). This version of the download provides one record per worker, regardless of the cost center, task code, and/or rate association. Only the worker’s primary cost center is provided; no information on associated task codes or rates is included against the record.

Connector Overview

Component

Detail

Company Type

Buyer

Version Type

1.0 – Original version.

2.0 – Pulls data starting at Work Order “Activation” step.

Format

CSV

Prerequisites

Worker

Predecessors

N/A

Related Connectors

Worker Security with Transaction Type Download

Process Workflows

High Level Buyer Connectivity

The following connectivity workflow diagram shows at a high-level process driven integration points for this project. Numeric steps are correlated to the integration point workflow.

Integration Points

The following integration points diagram shows the interaction to exchange, transform, and load information between SAP Fieldglass and External Systems.

Transaction Type Process

This download pulls worker information and identifies them as a Hire (HIR), Update (UPD), Rehire (RHI), or Termination (TER), for consumption by the customer’s external system. Once the worker has been successfully loaded to the external system, a return file with the SAP Fieldglass Worker ID and External Person ID (which loads into the native “Buyer Reference” field) will be loaded into SAP Fieldglass to build a link between the two system and enact the “Transaction Type” logic. This logic works to identify the state of the worker and acts as the primary indicator for the External System of a given individual’s work status.

HIR = Hire – Worker is hired initially.

UPD = Update – Active worker is updated.

TER = Terminated – Worker is terminated. If terminated with a future end date, transaction is sent at the time of action.

RHI = Rehire – Worker is rehired. Previously termed work order assigned to a new work order, or an existing work order is re-opened.

  • The uniqueness of the worker is carried through using Security ID, and the External Person ID is carried through using Buyer Reference field.

  • The Buyer Reference field should always be populated when the worker exists in the external system.

  • Any time after the initial load, a new worker without a Buyer Reference will be deemed as HIR; however, in subsequent downloads where the worker is updated and still has no buyer ref., it will be set to blank.

  • With the Worker Security with Transaction Type Single Line Download Version Type 2.0, if the Buyer Reference is not populated upon worker creation, then the Transaction Type will be HIR (subsequent updates without a Buyer Reference will be blank).

(Optional) Buyer Reference Script

To fast-track the “Rehire” process and have the Buyer Reference field pre-populated with the last-known External Person ID before the next download, an optional backend script can be enabled within SAP Fieldglass (contact support to do so). Below are some notes on the script:
  • The script executes when the initial work order is created within the application.

  • When the Worker or Profile worker is ‘Selected for Hire’ in the application the buyer reference field is copied forward to the new assignment if a match is found, based on Security ID.

  • A Warning message is presented to the user in the event that no match can be found.

Download Selection Criteria

The following information outlines how the download selection logic works with regards to pulling information related to each unique worker based on Security ID. The terms 'worker' and 'assignment are used generically here, with the former referring to a given worker person, by Security ID, and the latter referring to the associated data that outlines the work period, cost allocation, etc. The actual data that is downloaded pulls from the worker/work order records (contingent/services) and profile worker records in the application. Profile workers do not have a separate assignment-related object. All information is contained within the profile worker record itself; however, the logic outlined below still applies, as if they are separate.

General Logic

  • A worker can be on many assignments, across the Contingent, Services, and Profile Worker modules in SAP Fieldglass. This download pulls data for only one of those assignments at a time, no matter how many or what types a worker is associated with.

  • The data pulled throughout the tenure of a given worker is designed to be a rolling indication of when that worker starts, on the first assignment, and when the worker ends, on the final assignment. If there are no more open assignments and the final (or only) assignment is closed, the worker record is downloaded as ‘Closed’ based on this final assignment.

  • To move from one assignment to the next, the download requires the currently referenced worker to be explicitly closed and to have an end date that has passed (that is, the assignment has expired). Both conditions must be met. If an assignment is expired but the worker is not yet explicitly closed, any update to that assignment sends data for the expired assignment. For more information, see the Assignment Selection Conditions section below.

Assignment Selection Conditions

  • Assignment data is pulled in the download as soon as a Security ID is available, meaning a record containing only the assignment data, with a status of ‘Pending’ and no associated worker record, is possible.

  • The download always seeks to pull an active assignment with the earliest start date.

  • If a second assignment is created with a start date prior to that of the first assignment, an update comes through on the subsequent run of the download with the data from that second assignment. However, if the start date is later than the start date from the first assignment, this does not pull through immediately. It may come through later, depending on the conditions at that time.

  • If the first assignment “expires” (i.e. the end date passes), but it is not closed, while the second assignment with a later start date exists, any updates to the worker continues passing the data for that expired assignment.

  • If the first assignment is closed and its end date passed but the second assignment is not closed, data comes from the second assignment, i.e. the next available non-closed assignment with the earliest start date. A status change to ‘Closed’ is not passed while there are active assignments.

  • If the second assignment closes while the first assignment with the earliest start date is expired but still not closed, the worker record does not pass any data and hence the status change to the second assignment is not passed.

  • When there are no more open assignments and/or the final (or only) assignment for the worker is closed, then the worker record is downloaded as ‘Closed’ based on the assignment with the latest start date.

    If both the first assignment with the earliest start date is closed and the second assignment with the later start date are closed between download executions, the most recently closed worker record with the latest closed time passes on the download and as ‘Closed’.

  • If a worker record is already downloaded as closed for an assignment and later a second assignment is created, then the download passes the worker record based off the second assignment. The client’s security system may decide, based on the elapsed time between the close of first assignment and start of second, whether to assign the worker a new identity/access ID or reuse the existing identity/access ID.

Assignment Revision Selection Conditions

  • When an assignment is under revision or revised, the worker record is downloaded with the assignment revision data included. If an assignment revision is then rejected or declined, the worker record comes through again and reflects data from the prior confirmed assignment.

  • For a worker on multiple assignments, the available revision data is used for assignment selection based on the same rules described above for the assignment selection conditions.

File Formatting

The following table outlines the fields in the Worker Security with Transaction Type Single Line Download along with the properties of each and the additional required customization.

Column #

Column Header

Data Type

Length

Description/Use/Field Rules

Sample Value

1 Security ID Text 100 Unique identifier for a candidate when the supplier submits the candidate against a WO.

Examples:

123456789

N/A

2 Job Seeker ID Text 16 Internal SAP Fieldglass ID for Job Seeker. Tied to the work order. A worker can have many Job Seeker IDs.

Example:

ABCDJS00000123

3 Worker ID Text 16

Tied to the work order. A worker can have many Worker IDs.

Will be blank if the record is downloaded from the work order.

Populated when the worker registers.

Example:

ABCDWK00000456

4 Person ID Text 24

Unique identifier for the worker as a person.

Will be blank if the record is downloaded from the work order.

Populated when the worker registers.

Example:

Z99970916332361611234cc4

5 Status Text 100

The status is set based on the following:

pending: wo created

pending: wo accepted

closed: wo rejected

closed: wo declined

activated: wo activated

active: worker confirmed

active: worker revised

active: wo revised

closed: wo closed

closed: worker closed

Rule: Filter out Pending and Activated statuses

Example:

Active

6 First Name Text 200 First name

Example:

John

7 Last Name Text 200 Last name

Example:

Smith

8 Worker Email Text 100 Worker's e-mail address

Example:

JSmith@abcd.com

9 Job Posting Title Text 100 Job Posting title for worker

Example:

Accountant

10 Work Order ID Text 16 Work Order ID

Example:

ABCDWO00000789

11 Work Order/Work Order Revision Owner Text 100 Work Order owner name

Example:

John Jones

12 Work Order/Work Order Revision Owner Employee ID Text 50

Work Order Employee ID

 

Example:

D099999

13 Business Unit Code Text 100 Business unit code

Example:

2002

16 Business Unit Name Text 100 Business unit name

Example:

Best Business Unit

15 Vendor Number Text 6 Supplier code

Example:

1234

16 Vendor Name Text 100 Supplier name

Example:

ACME Vending

17 Buyer Code Text 6 Buyer Company Code

Example:

4500

18 Remit To Address Code Text 100 Code as assigned to the RTA by supplier

Example:

6R99

19 Primary Cost Center Name Text 200 Primary Cost Center Name

Example:

Accounting

20 Primary Cost Center Code Text 200 Primary Cost Center Code

Example:

2002

21 Billable Per Diem Decimal Billable Per Diem

Example:

75.00

22 Start Date Date

Format:

mm/dd/yyyy

Example:

05/14/2014

23 End Date Date

Format:

mm/dd/yyyy

Example:

2/28/2016

24 Currency Text 100 Currency designation (USD)

Example:

USD

25 Site Code Text 100 Site code of worker

Example:

1234

26 Site Name Text 100 Site name

Example:

Naperville

27 Buyer Reference Text 100 Unique id for buyer side

Example:

JSmith001

28 Transaction Type Text 100 Indicates if hire, rehire, update, or termination

Examples:

HIR

RHI

TER

UPD

blank

36

Worker Country of Origin

Text

3

Indicates worker's country of origin.

Company configurations 'Security ID format by worker country of origin' and 'Security Information' must be enabled.

Examples:

GER

USA

37

Time Zone

Text

100

Time zone of worker.

If not entered, it is defaulted to the default setting of buyer's time zone.

Examples:

GMT-06:00 Central Time (US & Canada)

or

GMT-05:00 Eastern Time (US & Canada)

or

GMT Greenwich Mean Time.

38

Work Location Name

Text

100

The location name.

Enable at least one sub-configuration for the company configuration Use multiple locations. If the download’s parameters pull a document with multiple locations, the row is repeated with the exact same information in all columns except the location columns. There will be as many duplicated rows as there are number of locations on the time sheet.

If a work order is associated with multiple locations, all associated work location names along with the name of the primary location appear in a single cell separated by tildes (~).

39

Location Code

Text

100

Valid SAP Fieldglass location code

The location code.

Enable at least one sub-configuration for the company configuration Use multiple locations. If the download’s parameters pull a document with multiple locations, the row is repeated with the exact same information in all columns except the location columns. There will be as many duplicated rows as there are number of locations on the time sheet.

If a work order is associated with multiple locations, all associated location codes along with the primary location code appear in a single cell separated by tildes (~).

40

Primary Location

Text

100

Indicates primary location name when at least one sub-configuration for the company configuration Use multiple locations is enabled.

Client must configure the download to include this field via the Enabled Fields +Add Native Fields hyperlink.

41

Primary Location Code

Text

100

Valid SAP Fieldglass location code

Indicates primary location code when at least one sub-configuration for the company configuration Use multiple locations is enabled.

Client must configure the download to include this field via the Enabled Fields +Add Native Fields hyperlink.

42

Original Revision Start Date

Date

This optional field returns the Start Date from the original work order regardless of what revision the work order is currently on.

43 [c] custom field Dependent on custom field configuration.

Dependent on custom field configuration.

Modules include:

Worker

Statement of Work

SOW Revision

SOW Worker

Examples:

[c] Worker Position

Information Technology

Configuration Considerations

#

Item

Notes

1

Enable Delta Compare Configuration Option

If the ‘Enable Delta Compare’ field on the connector setup page is set to 'Yes', you can define the fields you want to monitor for changes. Two menu items become available under More Actions: ‘Define Delta Compare Fields’ and ‘Truncate Delta History’.

If you select ‘Define Delta Compare Fields’, it allows you to choose what fields you want to select for comparison. If no fields are chosen, all enabled fields are used for comparison. Any changes made between the downloads may impact the download results.

If you select ‘Truncate Delta History’, this truncates the back-end history table that is used to hold both the data string and key that is formed from the compare fields that were chosen. Any connector configuration changes made between the downloads may impact the download results, in particular changing the delimiter.

Work Order and Transaction Type Scenarios

The following graphic shows the various work order and transaction type scenarios.

Assumptions/Tips

  • The system includes any inactive cost centers associated with the document.