Worker Close Upload

This integration closes an active worker. A buyer can set thresholds to automatically close a worker at the end of an assignment. However, if no threshold is set or a worker leaves before the end of an assignment for any reason, the buyer must manually close the worker.

Connector Overview

Component

Detail

Company Type

Buyer

Version Type

API-A-V1.0

API-V1.0

BULK- DELTA-V1.0

Format

CSV

Prerequisites

Company Details Setting must be turned on for Integration – Worker Close Upload.

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

Predecessors

Workers

Profile Workers

SOW Workers

Worker Close Reasons

Related Connectors

Worker Upload

Worker Edit Upload

Worker Reopen Upload

Worker From Work Order Download

File Formatting

Header

Component

Required?

Definition/Use

Notes

Value

Type

Yes

Upload file type

If you have a custom connector name for a standard connector, you may use the exact same custom name for the Type header; otherwise, you must use the standard name shown in the Value field.

Worker Close Upload

Transaction*

No

Only applicable for the API-V1.0 version.

Transaction type

Transaction Type. The valid type names are:

  • True: If any record errors, entire upload fails.

  • False: Only records in error fail. Remaining records are committed successfully.

If this field is not included in the header, the default value will be True.

*This header is only required for API; it is not valid for the BULK version.

Language

No

Determines the language to be used for values in the file, such as drop-down lists and radio buttons. Column headers will always default to the upload user's preferred language.

The valid language values are:

Arabic (Standard Arabic)
Chinese (Simplified)
Chinese (Traditional)
Dutch (Netherlands)
English (United Kingdom)
English (United States)
French (Canada)
French (France)
German (Germany)
Hebrew (Israel)
Hungarian (Hungary)
Italian (Italy)
Japanese (Japan)
Korean (Korea)
Mongolian (Mongolia)
Polish (Poland)
Portuguese (Brazil)
Portuguese (European)
Russian (Russia)
Spanish (Mexico)
Swedish (Sweden)

Send Notification?

No

Determines if notifications related to the closing of workers will be sent to users.

Valid values are:

  • True: Notifications will be sent to users per the SAP Fieldglass Messaging Configuration within the application. Any notification configured to be sent during the normal closing of workers, and/or approval process will be sent.

  • False: Notifications will not be sent.

If field is not included in header, the value will default to True.

Date Format

No

Determines the date format to be used in the file.

The valid values are:

  • MM/DD/YYYY

  • DD/MM/YYYY

  • YYYY-MM-DD

If this field is not included in the header, the default value will be MM/DD/YYYY.

Comments

No

Upload Comments

This is a comment field containing notes about the upload file.

Immediately following the Header section of the upload is one blank line.

Detail

Field Header Name

Data Type

Length

Required?

Value(s)/Format

Description/Use/Field Rules

Job Seeker ID

Text

16

Yes if Worker ID not entered.

Valid SAP Fieldglass Job Seeker ID

Example:

  • XXXXJS00000001

Job Seeker ID of Worker to be closed.

Worker ID

Text

16

Yes if Job Seeker ID not entered.

Valid SAP Fieldglass Worker ID or Valid SAP Fieldglass Profile Worker ID

Examples:

  • ABCDWK00000001

  • ABCDPW00000001

Worker ID of Worker/Profile/SOW Worker to be closed.

Closed by Username

Text

100

Yes

Valid SAP Fieldglass Username

Username of person who closes the worker. Must be a current Active SAP Fieldglass User.

Would you consider rehiring this Worker again?

Text

3

Conditional

Valid values are:

  • Yes

  • No

Indicates if buyer would rehire worker again.

The column is applicable only in case of companies having 'Use Do Not Rehire' plug-in enabled.

Reason

Text

100

Yes

Valid SAP Fieldglass Reason Code

Reason of why the Worker/Profile/SOW Worker is closed.

If User has default language set to the default language of the company, the reason code can be in any language.

Actual End Date

Date

Yes

Date Worker/Profile Worker ended assignment

Was the Worker a No Show?

Text

3

No

Valid values are:

  • Yes

  • No

Indicates if worker was a no show.

Comments

Text

1000

No

Comments on the Worker/Profile Worker Close.

Allow Further Invoicing

Text

3

No

Valid values:

  • Yes

  • No

Indicates if invoicing after worker close should be prevented.

If field left blank, the field is defaulted to ‘Yes’.

[c] Worker Close Custom Field 1

Dependent on custom field configuration

Dependent on custom field configuration

Any Worker Close Custom Field to be populated at time of close.

When Custom Field Type = Segmented Pick List and the Autopopulate Segment rule on the Pick List = Yes, if a segment value is left blank on the upload, the value is auto populated on the document if there is only one possible value based on the previous segment values. If there is more than one possible value, an error message displays.

Unique Identifier

  • Job Seeker field

  • Worker ID field

Configuration Considerations

#

Item

Notes

1

Effects on related Work Order

The status of the latest Work Order corresponding to the Worker will go into ‘Confirmed (Worker Closed)’ status.

Assumptions/Tips

  • The actual end date (in the upload) should be on or before the worker’s end date.

  • If any outstanding items are pending when trying to close a worker, there will be an error message displayed.

  • In order for the worker to be closed, there can be no pending revisions open on the worker or the work order.

  • If the work order is in ‘Confirmed’ status, the worker will be updated to ‘Closed’ and will be updated with the actual end date from the upload.

  • Both buyer and supplier entered Custom Fields will display and can be updated by both parties regardless of who created the Custom Field first.

  • Workers, who are associated to a project when closed using this upload and have 'Allow Further Invoicing' set to No, will reallocate funds to the project if the company configuration Unused spend is allocated back to the project is enabled.

Errors

The following errors can occur when processing this upload file:

Possible Errors and Resolutions

Error Message

Resolution

{0} cannot be acted on at this time because it is pending erasure or has been erased.

The worker record identified by {0} (the Worker ID or Profile Worker ID from the row) is queued for PII erasure or has already been erased. Remove this row from the upload file.

{0} Username does not have the permission to close Profile Worker.

The user specified in the Closed by Username column does not have Close permission on the Profile Worker module. Verify the value in the Closed by Username column and confirm the user has the required role. Applies to Profile Worker records only.

{0} Username does not have the permission to close Worker.

The user specified in the Closed by Username column does not have Close permission on the Worker module. Verify the value in the Closed by Username column and confirm the user has the required role. Applies to Worker records only.

Actual End Date is after the Worker End Date.

The Actual End Date entered is later than the worker's scheduled end date. Enter an Actual End Date that is on or before the worker's scheduled End Date. Applies to Worker records only.

Actual End Date is before the Worker Start Date.

The Actual End Date entered is earlier than the worker's Start Date. Enter an Actual End Date that is on or after the worker's Start Date. Applies to Worker records only.

Cannot close Worker using date specified. The Worker has Time Sheet(s) or Expense Sheet(s) that are beyond the Actual End Date.

One or more timesheets or expense sheets associated with this worker fall after the specified Actual End Date. Resolve all pending timesheets and expense sheets beyond the Actual End Date, then resubmit the upload. Applies to Worker records only.

Closed by Username cannot be a closed User's Username.

The user specified in the Closed by Username column has a closed account. Enter the username of an active user in the Closed by Username column.

End Date is after the Profile Worker End Date.

The Actual End Date entered is later than the Profile Worker's scheduled end date. Enter an Actual End Date that is on or before the Profile Worker's End Date. Applies to Profile Worker records only.

Invalid values for Allow Further Invoicing

The value in the Allow Further Invoicing column is not valid. Enter Yes or No in the Allow Further Invoicing column. Applies to Worker records only.

Invalid values for Actual End Date

The date value in the Actual End Date column could not be parsed. Enter a valid date in the format expected by your company's locale settings in the Actual End Date column.

Invalid values for Closed by Username

The username in the Closed by Username column could not be resolved to a user in this company. Verify the value in the Closed by Username column exists and is correctly spelled.

Invalid values for Job Seeker ID or Worker ID

The value in the Job Seeker ID or Worker ID column does not match any worker record. Verify the value in the Job Seeker ID or Worker ID column matches an active worker record in this company.

Invalid values for Rehire flag

The value in the Rehire flag column is not valid. Enter Yes or No in the Rehire flag column. Applies to Worker records only.

Invalid values for Reset Committed Spend To Actual Spend

The value in the Reset Committed Spend To Actual Spend column is not valid. Enter Yes or No in the Reset Committed Spend To Actual Spend column. Applies to Worker records only.

Invalid values for Was the Worker a No Show?

The value in the Was the Worker a No Show? column is not valid. Enter Yes or No in the Was the Worker a No Show? column. Applies to Worker records only, when the timesheet type is None and the Actual End Date equals the worker's Start Date.

Invalid Worker close reason.

The close reason in the Reason column does not match any configured close reason for this company. Verify the value in the Reason column matches an active Reason Code configured for Worker Close.

Logged in User is not authorized to update this document.

The uploading user's MSP code does not match the worker's MSP code. This check applies to multi-MSP companies only. Verify the uploading user is assigned to the correct MSP, or use an account whose MSP code matches the worker record.

Missing data for Actual End Date

Actual End Date is required for Profile Worker close operations. Enter a valid date in the Actual End Date column.

Missing data for Closed by Username

Closed by Username is required. Enter a valid username in the Closed by Username column.

Missing data for Reason

Reason is required for close operations. Enter a valid close reason in the Reason column.

MSP code of the Closed by Username does not match the MSP code of Worker.

The MSP code of the user in the Closed by Username column does not match the MSP code of the worker being closed. This check applies to multi-MSP companies only. Verify the Closed by Username value belongs to a user assigned to the same MSP as the worker record.

Profile Worker cannot be closed due to invalid status.

The Profile Worker is not in an eligible status for closure. The Profile Worker must be in Submitted or Created status to be closed via upload. Verify the Profile Worker's current status. Applies to Profile Worker records only.

Profile Worker cannot be closed since it is already closed.

The Profile Worker has already been closed. Remove this row from the upload file or verify the Worker ID value. Applies to Profile Worker records only.

Replacement is not allowed on the Worker's end date.

For replacement workers, the Actual End Date must be before the worker's scheduled End Date. Enter an Actual End Date that is earlier than the worker's scheduled End Date. Applies to Worker records only.

Required data is missing for Job Seeker ID or Worker ID

Job Seeker ID or Worker ID is required. Enter a valid value in the Job Seeker ID or Worker ID column. At least one of these two columns must be populated per row.

Statement of Work is not in Confirmed State

The Statement of Work (Pay Terms Request) associated with this worker is not in Confirmed status. The Statement of Work must be in Confirmed status before the worker can be closed via upload. Applies to Worker records only.

Statement of Work or Job Posting not Found

No Job Posting or Statement of Work could be found for the specified worker. Verify the value in the Job Seeker ID or Worker ID column references a worker with an associated active Job Posting or Statement of Work. Applies to Worker records only.

This action requires additional permissions. Check your role settings or document access rights.

The uploading user does not have Close permission on the Worker or Profile Worker module, or does not have visibility to the record. Verify the user's role includes Close permission on the Worker or Profile Worker module and that the user can view the record.

This record has been archived. Contact your System Administrator if you believe you should have access to the record.

The worker record has been archived and cannot be closed via upload. Remove this row from the upload file. Contact your System Administrator if you need to access this record.

To close the Worker, the Worker needs to be unassigned from all the schedules after the effective date.

The worker has scheduled shifts after the Actual End Date. Unassign the worker from all scheduled shifts that fall after the Actual End Date, then resubmit the upload. Applies to Worker records with the Job Scheduler feature enabled.

Work Order cannot be Closed since the Worker is already closed.

The worker has already been closed. Remove this row from the upload file or verify the Job Seeker ID value. Applies to Worker records only.

Worker cannot be closed because of Work Order's status.

The work order associated with this worker is not in an eligible status for closure. The work order must be in Confirmed, Submitted, Rejected, or Declined status. Verify the work order status. Applies to Worker records only.