Time Upload

This integration uploads time records and time bundles.

Once the time records and time bundles are uploaded into SAP Fieldglass, they're turned into Time Journals. This connector is also used to revise Time Bundles that are in a completed or rejected status.

Connector Overview

Component

Detail

Company Type

Buyer

Supplier

MSP Partner

Version Type

API-A-V1.0

Format

CSV

Prerequisites

Company Details setting must be turned on for Integration – Time Upload.

User role permission must be turned on for upload data and download data.

User needs 'Enable Time Dashboard' turned ON in the User Profile.

Predecessors

N/A

Related Connectors

N/A

File Formatting

Header

Component

Required?

Definition/Use

Notes

Value

Type

Yes

File Type

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

Time Upload

Time Template

Yes

Time Template Code

The Time Template code must be defaulted in this field when upload file is generated.

During upload, the Template code must be validated to check the validity of the Time Template.

If there are multiple versions of the Time Template, the latest version valid for the specified date on 'Date' column should be picked.

Number Format

No

Determines the number format to be used in the file.

This is an optional header value. Determines the number format used in the company.

The valid number format values are:

  • “#,##9.99" (Example: "1,234,567.99”)

  • “#.##9,99" (Example: "1.234.567,99”)

  • “#'##9.99" (Example: "1'234'567.99”)

  • “# ##9,99" (Example: "1 234 567,99”)

The quotes are required even if the value does not have a comma in it. If this field is not included in the header, the default value will be "#,##9.99".

Date Format

No

Determines the date format to be used in the file.

The valid date format 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

Field Length

Required?

Value(s)/Format

Description/Use/Field Rules

Modification Type

Text

1

Yes

Valid values are:

  • A

  • U

  • D

Defines action the system needs to perform.

A = Add

U = Update

D = Delete

Resource ID

Text

14

Yes

Valid SAP Fieldglass Resource ID.

Example:

ABCDRE00001234

Unique identifier for the resource.

Buyer Reference

Text

200

No

This field is visible to the Buyer only.

Valid Buyer Reference ID.

Buyer created reference. If both the Resource ID and Buyer Reference ID are populated, the Resource ID is treated as the source of truth.

Last Name

Text

100

No

Last name of the Worker as defined in SAP Fieldglass.

First Name

Text

100

No

First name of the Worker as defined in SAP Fieldglass.

Date

Date

Yes

Date against which entered quantity (hours/ units) are allocated

Time Details

Text

Length depends on the attribute.

  • Rate Category: 100

  • Assignment ID: 14

  • PO Line: 100

  • Cost Center: 200

  • Job Code: 1000

Yes, based on the Time Template selected.

The time attribute values as specified in the Time Template.

Quantity

Decimal

Time-based: 0–24.

Non time-based: 11 digits and 2 decimals.

Yes

Valid values are:

Must be 0 or >0.

The decimal amount of the time or unit. This field uses the number format defined in the header. HH:MM isn't valid.

Unique Identifier

  • Resource ID

  • Time ID

Configuration Considerations

#

Item

Notes

1

Time Details

The Time Detail attributes must be displayed left to right in the sequence defined in the time template.

When generating the file to create revision uploads, the Time Details section must list all Time Detail attributes relevant for the Time Template provided, including Contract Segments as individual columns.

If a job code or user-defined segment is added to a Time Template, they're mandatory on the time data.

Based on Time Template configuration, the following attributes should be present in the generated file:

  • Rate Category / UOM

  • Assignment ID - Assignment REF ID

  • Assignment Name - Name of the Assignment

  • PO Line - PO Line of the assignment against which time is tracked

  • Cost Center Code (Used for validation and time tracking)

  • Cost Center Name (For user readability. Helps user to know against which CC the time is tracked; name makes more sense that just code)

  • Additionally, any other Time Attribute in the Time Template must be displayed and listed in the sequence defined in the Time Template, such as Job Code and Segments.

Assumptions/Tips

  • Uploads can only be done for a single date and can't include adding or editing Time Bundle data across dates.

  • Only Time Bundles in a Completed or Rejected status can be revised.

  • If a Time Bundle already exist for a specific date and resource, any new time records being added for the same date and resource unlocks the time bundle, revise it and update it with the extra hours.