Charge Code Validation Upload

This integration uploads externally validated accounting data related to financial transactions. This upload runs after custom fields for time sheets, expense sheets, and/or credit debit memos are externally validated. Once validated, the Charge Code Upload is used to either approve or reject these documents.

Connector Overview

Component

Detail

Company Type

Buyer

MSP Partner

Version Type

API-V1.0

Format

CSV

Prerequisites

Company plug-ins must be turned on for Integration – Charge Code Validation Upload.

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

The company configuration plug-in, Require External Validation of Worker's Time/Expense Sheet, must be enabled.

Predecessors

Time Sheet(s) in Pending Validation Status

Expense Sheet(s) in Pending Validation Status

Credit Debit Memo(s) in Pending Validation Status

Related Connectors

Charge Code 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.

Charge Code Validation 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 that are in error fail. Remaining records are committed successfully.

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

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

Column Header Name

Data Type

Length

Required?

Value(s)/Format

Description/Use/Field Rules

DOCID

Text

16

Yes

SAP Fieldglass ID format.

Valid Time Sheet ID, Expense Sheet ID, or Credit Debit Memo ID. Dependent on document type downloaded.

RT

Char

2

Yes

Valid values are:

  • TS

  • ES

  • CD

Type of document downloaded.

TS = Time Sheet

ES = Expense Sheet

CD = Credit Debit Memo

Both SOW and Contingent related documents may be uploaded.

COSTCENTERCODE

Text

200

No

Valid SAP Fieldglass Cost Center

SAP Fieldglass Cost Center Code for which charges were booked against.

GLACCOUNTCODE

Text

100

No

Valid SAP Fieldglass GL Account

SAP Fieldglass GL Account Code for which charges were booked against.

CHARGECODE

Text

100

Yes

Valid SAP Fieldglass Task Code or Expense Code

SAP Fieldglass Task Code or Expense Code for which charges were booked against.

[c] Custom_Field1

Dependent on Custom Field Type

No

Task or Expense Code Custom Field validated by external system.

[c] Custom_Field2

Dependent on Custom Field Type

No

Task or Expense Code Custom Field validated by external system.

[c] Custom_Field3

Dependent on Custom Field Type

Dependent on Custom Field

Task or Expense Code Custom Field validated by external system.

[c] Custom_Field4

Dependent on Custom Field Type

Dependent on Custom Field

Task or Expense Code Custom Field validated by external system.

[c] Custom_Field5

Dependent on Custom Field Type

Dependent on Custom Field

Task or Expense Code Custom Field validated by external system.

[c] Custom_Field6

Dependent on Custom Field Type

Dependent on Custom Field

  Task or Expense Code Custom Field validated by external system.

STATUS

Text

100

Yes

Valid values are:

  • Approved

  • Rejected

Status returned as a result of the external validation.

Not all records are required to be returned. If a single record is Rejected, the entire TS, ES, or CD will be rejected.

ERRORDESCRIPTION

Text

1000

Yes, if STATUS = Rejected

Reason for the Rejection. Only stored if Rejected, field is ignored if document is Approved.

Unique Identifier

  • COSTCENTERCODE field

  • GLACCOUNTCODE field

  • CHARGECODE field

Assumptions/Tips

  • A single rejected record for a document will result in the document being rejected in total. In order for a document to be approved in total, all records in this file must be approved.