Worker Security XML Download

This integration downloads worker and associated assignment data based on an effective key of Security ID (SID). This version of the download pulls multiple records per worker where the worker is associated to more than one cost center, task code, and/or rate, with each individual record showing a unique combination of those fields. This connector uses the OASIS XML standard as the format for the output; for further information on the generic implementation of this standard visit their website at www.openapplications.org.

Connector Overview

Component

Detail

Company Type

Buyer

Version Type

1.0

Format

XML

Prerequisites

Company Details Setting must be turned on for Integration – Worker Security XML Download.

User role permission must be turned on for Upload Data and Download Data.

Security ID functionality must be enabled for the buyer.

Predecessors

Worker(s)

Related Connectors

Worker Security Download

Worker Security Single Line Download

Worker Security with Transaction Type Download

Worker Security with Transaction Type Single Line Download

Inclusion Criteria

Workers and work orders in the following statuses are included if there have been any updates made to either the worker or work order record since the last run of the download.

Work Order Status

Worker Registered

Worker Record Included in Download

Status in Download

Person ID

Pending Approval

No

Yes

Pending

Blank

Rejected

No

Yes

Closed

Blank

Created

No

Yes

Pending

Blank

Accepted

No

Yes

Pending

Blank

Activated

No

Yes

Pending

Blank

Confirmed

Yes

Yes

Active

Populated

Pending Approval

Yes

Yes

Active

Populated

Created

Yes

Yes

Active

Populated

Confirmed

Yes

Yes

Active

Populated

Rejected

Yes

Yes

Closed

Populated

Declined

Yes

Yes

Closed

Populated

Approval paused/ Pending Approval/ Created

n/a

Yes

Pending

Blank

Rejected

n/a

Yes

Closed

Blank

Confirmed

Yes

Yes

Active

Populated

Closed

No

Yes

Closed

Populated

Declined

No

Yes

Closed

Populated

Confirmed (Worker Closed) (End date after the download date)

Yes

Yes

Active

Populated

Confirmed (Worker Closed) (End date on or before the download date)

Yes

Yes

Closed

Populated

File Formatting

Data Dictionary

Elements and Attributes

Data Type

Length

Min/Max Occurrences

Value(s)/Format

Description/Use/Field Rules

ApplicationArea

Wrapper

1/1

Wrapper Element for each Worker Record in the file.

CreationDateTime

Datetime

1/1

Datetime on which the document was created.

DataArea

Wrapper

1/1

Wrapper for Worker related data.

Worker

Wrapper

0/1

Wrapper which contains all the data related to the worker.

WorkerCountryOfOrigin

Text

3

0/1

Valid SAP Fielglass Country Code

Examples:

GER

USA

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

TimeZone

Text

100

0/1

Examples:

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

or

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

or

GMT Greenwich Mean Time

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

VendorID

Text

50

0/1

Native field for the buyer company’s external ID.

SecurityID

Text

50

0/1

Security ID of the worker.

JobSeekerID

Text

16

1/1

Valid SAP Fieldglass Job Posting List

Example:

XXXXJP00000001

Job Seeker ID for the worker.

WorkerID

Text

16

1/1

Worker ID of the worker.

WorkOrderID

Text

16

1/1

Work Order ID of the worker.

PersonID

Text

24

1/1

Person ID of worker.

Status

Text

100

1/1

Status of worker

FirstName

Text

100

0/1

First Name of the job seeker.

LastName

Text

100

0/1

Last Name of the job seeker.

WorkersEmail

Text

100

1/1

Email address of worker.

JobPostingTitle

Text

100

1/1

Title of job posting.

WorkOrderOwner

Text

100

1/1

Indicates the owner of the work order.

WorkOrderOwnerEmployeeID

Text

50

0/1

Valid work order employee ID.

VendorNumber

Text

6

1/1

Valid supplier code.

VendorName

Text

200

1/1

Valid supplier name.

BuyerCode

Text

6

1/1

Valid buyer company code.

RemitToaddressCode

Text

100

1/1

Remit to Address code of the supplier.

BillablePerDiem

Decimal

1/1

Billable Per Diem of work order.

StartDate

Date

1/1

Start date of work order.

EndDate

Date

1/1

End date of work order.

OriginalRevisionStartDate

Date

0/1

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

Currency

Text

3

1/1

Currency of work order.

BusinessUnit

Wrapper

1/1

Wrapper which contains business units of the worker.

BusinessUnit\Name

Text

100

1/1

Business Unit Name.

BusinessUnit\Code

Text

100

1/1

Business Unit Code.

Site

Wrapper

1/1

Wrapper which contains sites of the worker.

Site\Name

Text

100

1/1

Site Name.

Site\Code

Text

100

1/1

Site Code.

CostCenters

Wrapper

1/1 

Wrapper which contains all the cost centers for the worker.

CostCenter

Wrapper

1/1 

Wrapper which contains data for the cost center.

CostCenterName

Text

200

1/1

Cost Center name.

CostCenterCode

Text

200

1/1

Cost Center code.

PrimaryLocationCode

Text

100

*/1

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.

PrimaryLocation

Text

100

*/1

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.

WorkLocationName

Text

100

*/1

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.

LocationCode

Text

100

*/1

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.

Tasks

Wrapper

1/1

Wrapper which contains data for the tasks for a cost center.

Task

Wrapper

1/1

Wrapper which contains data for the task.

TaskName

Text

100

1/1

Name of the task.

TaskCode

Text

100

1/1

Code of the task.

Rates

Wrapper

1/1

Wrapper which contains data for the rates for the worker.

Rate

Wrapper

1/1

Wrapper which contains data for the rate.

RateCategory

Text

100

1/1

Rate category.

UOM

Text

12

1/1

Unit of Measure of the rate category.

BillRate

Decimal

1/1

Bill rate.

PayRate

Decimal

1/1

Pay rate.

CustomFields

Wrapper

0/1

Wrapper which contains all custom fields for the worker.

CustomField

Wrapper

1/1

Wrapper which contains data for the custom field.

CustomFieldModule

Text

100

1/1

Module for the custom field.

CustomFieldName

Text

100

1/1

Name of the custom field.

Module can include: Worker

CustomFieldValue

Dependent on custom field configuration

1/1

Value for the custom field.

Module can include: Worker

The Worker Security XML Download XML Schema Definition is also available at the link below if that format is preferred for the description of the connector:

https://xxxx.us.fieldglass.cloud.sap/schema/InSiteWorkOrder.xsd

Unique Identifier

  • SecurityID field

Custom Fields

  • The download file will include custom fields from various modules in Fieldglass. The specific modules are explained in the file format above.

  • The client can specify the custom fields they wish to include in the file and the order in which they want to see them.

  • At the time the connector is activated for the client, the client will be required to supply a list of the custom fields and their order. This list will be stored in Fieldglass against the setup of the connector. If no custom fields are supplied, the download will not include any custom field values.

  • Custom fields which are included will always appear at the end of the column layout after all of the native, either default, or optional Fieldglass fields have been outputted.

  • For Worker User Person Custom fields:

    • If “Store Encrypted Data” is set to “Yes”, buyer users with and without the “View and Report on Sensitive Data” flag enabled in their user profile will be able to see the unencrypted value.

    • If 'Visible to Supplier' is checked and 'Store Encrypted Data' is set to 'Yes', supplier users with and without the 'View and Report on Sensitive Data' flag enabled in their user profile are able to see the unencrypted value. If 'Visible to Supplier' is not enabled, suppliers do not see the field; the field is suppressed for suppliers in this case.

Configuration Considerations

#

Item

Notes

1

Security Information

Security information must be enabled. Security ID is stored encrypted. Only authorized users can view.

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.

Assumptions/Tips

  • Deleted/erased/scrubbed fields are filtered out for this download.

  • If the buyer company has multiple MSPs, when the MSP supplier user downloads records, they see only records for their MSP.

  • Active worker type 'Direct Hire' is also downloaded, along with Temp and SOW worker.

  • For Rates 2.0, for Calculated Rates with Calculation Type = Rate Rule and if rule-based rate's value has not yet been calculated, the value is output as zero.

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