Approve Reject Item Upload

This integration approves or rejects items that needs approval by a user.

Connector Overview

Component

Detail

Company Type

Buyer

Version Type

API-A-V1.0

Format

CSV

Prerequisites

Company Details setting must be turned on for Integration – Approve Reject Item Upload.

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

Predecessors

Whatever objects being approved or rejected (Workers, Job Postings, Work Orders, Statement of Work, etc.).

Related Connectors

Time Sheet Rejection Upload

Job Seeker Rejection Upload

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.

Approve Reject Item Upload

Send Notification?

No

Determines whether normal messaging workflow should be followed.

This flag is used to control sending notifications to users.

The valid values are:

  • True

  • False

If the value is set to True, an email will be sent.

If the value is set to False, an email will not be sent.

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

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)

Number Format

No

Determines the number format to be used in the file.

The valid 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 determined by the Locale value.

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 the format determined by the Locale value.

Manage Approved Invoice

No

Determines whether the invoice status can be updated to Rejected for Approved, Payment Pending or Paid invoices.

Valid values are:

  • True

  • False

If this field is not included in the header, the default value for Manage Approved Invoices will be False.

Skip Reverse Time Sheet

No

Determines if reverse time sheet processing is to be skipped.

Valid values are:

  • True - Skips reverse time sheet processing.

  • False - Processes reverse time sheets normally.

If this field is not included in the header, the default value for Skip Reverse Time Sheet will be False.

Separate Processing for Invoices

No; however, the system environment variable SEPARATE_APPROVAL_FOR_INVOICES must be enabled to use this header component.

Determines whether SAP Fieldglass will wait for a response/upload for BOTH invoices (reversed and revised) before updating the status of the invoice in SAP Fieldglass.

Valid values are:

  • Yes

  • No

If left blank, the default value is No.

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

Object ID

Text

16

Yes, if Item External ID is blank.

Valid SAP Fieldglass Object ID

Example:

ABCDXX00000010

The SAP Fieldglass Object ID is used to identify the correct item to approve or reject.

The Object ID should correspond to the Module. For example, if the module is SOW Invoice, the Object ID should be of this format: xxxxPIxxxxxxxx.

External ID

Text

100

Yes, if Object ID is blank.

 

The External ID is used to identify the correct item to approve or reject.

This feature is only supported for:

  • Job Posting

  • RFX

  • Work Order

  • Statement of Work

  • Service Receipt

For Service Receipt only, if the Object ID and External ID are both provided, this upload updates the External ID to match the value provided. The Object ID is used to find the correct Service Receipt.

Update External ID only if the External ID is blank.

If a different external ID is provided, an error is displayed.

If the Object ID and External ID are valid for the same document, no error is displayed.

Accept valid External Contract ID. The Contract must be in Pending Approval status.

Module

Text

100

Yes

Valid SAP Fieldglass Module Name

Module of the item being approved or rejected. Refer to the Appendix for a complete list of module names.

Approver’s Username

Text

100

Yes

Valid SAP Fieldglass User Name

User to approve or reject the item. The user should be the correct user able to reject or approve the item for the current approval level of the item.

Action

Text

7

Yes

Valid values are:

  • Approve

  • Reject

Indicates if the item is to be approved or rejected.

Reject Reason

Text

100

Yes, if the Action = Reject.

Valid reason codes configured for the company.

This field is only used when an item is being rejected in the upload.

This field should only be populated with a valid reason configured for the companies.

Comments

Text

1000

No

 

Comments added by the user for approved or rejected items.

[rvcom] Comments

Text

1000

No

 

When creating a revised invoice using this upload and if the comments field needs a different value on the reversed invoice, a column needs to be added to the connector. The column name is ‘[rvcom] Comments’. When this is uploaded, the application identifies that the column’s value belongs to the reversed invoice record.

[c] Custom Field 1

Dependent on custom field configuration

Dependent on custom field configuration

Dependent on custom field configuration

Any custom field associated with the object being approved / rejected. The custom-field name should be prefixed with '[c]'. For example, custom field name: Custom Field 1' should be '[c] Custom Field 1'.

Valid values of the custom field are configured during the setup of the SAP Fieldglass application.

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.

Do not include this field if not in use.

[rvc] Custom Field 1

Dependent on custom field configuration

Dependent on custom field configuration

Dependent on custom field configuration

When creating a revised invoice using this upload and there are invoice custom fields that are either required or if the custom field needs a different value on the reversed invoice, a column needs to be added to the connector. The column name is the name of the custom field preceded by ‘[rvc]’. When this is uploaded, the application identifies that the column’s value belongs to the reversed invoice record.

Unique Identifier

  • Object ID field

  • External ID field

Assumptions/Tips

  • The revision of an SOW Line Item will be able to be approved/rejected via this connector.

  • A revision of a holdback will be able to be approved/rejected via this connector.

  • For approving the SOW Response/SOW Revision Response, the Object ID in the upload file needs to be given as SOW request ID and the module will be 'SOW Response'.

  • When approving a Work Order/Work Order Revision, if the flag 'Set as Supervisor of All Cost Centers' is set to True, this connector propagates the Owner to the Supervisor of all associated cost centers.

  • When a profile worker is approved through the Approve Reject Item Upload and multiple matches are found, a new consolidated worker record is automatically created and the profile worker record is associated to it. If the buyer has the Start of the navigation pathProfile Worker Next navigation step Select Consolidated WorkerEnd of the navigation path user role permission enabled, they can still manually choose a consolidated worker record when creating a profile worker.

Appendix - List of Modules

  • Consolidated Invoice

  • Credit/Debit Memo

  • Decision Form

  • Event

  • Expense Sheet and Revised Expense Sheet

  • Fee

  • Job Posting

  • Invoice

  • Miscellaneous Invoice

  • Profile Worker

  • Project

  • RFX

  • Schedule

  • Service Confirmation

  • Statement of Work

  • SOW Bid

  • SOW Credit/Debit Memo

  • SOW Invoice

  • SOW Response

  • SOW Revision

  • SOW Worker

  • Supplier Qualification

  • Time Sheet

  • Work Order

  • Work Order Change Request

  • Work Order Revision

  • Worker

  • Workforce

Errors

The following errors can occur when processing this upload file:

Possible Errors and Resolutions

Error Message

Resolution

Comments cannot exceed 1000 characters.

Shorten the value in the Comments column to 1000 characters or fewer.

Expense Sheet cannot be approved because these Cost Centers are closed or inactive: {0}. This document should be rejected and re-submitted with open Cost Centers.

Warning - the upload proceeds. Reject the Expense Sheet and re-submit it with open Cost Centers. {0} resolves to the names of the closed or inactive Cost Centers at runtime.

Invalid values for Action

Enter one of the accepted values: Approve or Reject in the Action column.

Invalid values for Approver's Username

Verify that the username in the Approver's Username column belongs to an active user in the system and is spelled correctly.

Invalid values for [custom field column header]

Enter a valid value in the custom field column. Verify the value matches the expected data type (text, date, number, or list value) for that custom field definition.

Invalid values for External ID

Verify the External ID in the External ID column matches the external reference stored on the target Service Receipt.

Invalid values for Module

Enter a valid module name in the Module column. Accepted values include Invoice, SOW Invoice, Time Sheet, Expense Sheet and Revised Expense Sheet, Work Order, Service Confirmation, and related SOW module types (Event, Schedule, Fee, Credit/Debit Memo, SOW Credit/Debit Memo, Miscellaneous Invoice, Consolidated Invoice).

Invalid values for Object ID

[verify message text] Verify the document reference in the Object ID column exists in the system, matches the specified Module, and is not archived.

Invalid values for Reject Reason

[verify message text] Verify the Reject Reason in the Reject Reason column is a valid rejection reason configured for the relevant module.

Miscellaneous Invoice cannot be approved because the following Cost Centers are closed or inactive: {0}. Reject this document and re-submit it with open Cost Centers.

Warning - the upload proceeds. Reject the Miscellaneous Invoice and re-submit it with open Cost Centers. {0} resolves to the names of the closed or inactive Cost Centers at runtime.

Missing data for Action

Action is required. Enter Approve or Reject in the Action column.

Missing data for Approver's Username

Approver's Username is required. Enter a valid username in the Approver's Username column.

Missing data for Module

Module is required. Enter a valid module name in the Module column.

Missing data for Object ID

Object ID is required when External ID is not provided. Enter a document reference in the Object ID column, or enter an external reference in the External ID column.

Missing data for Reject Reason

Reject Reason is required when the Action is Reject. Enter a valid rejection reason in the Reject Reason column.

The Approver: {0} has been closed.

The user account identified by {0} is no longer active. Enter the username of an active user in the Approver's Username column.

The object has been locked by another user. Please review the object and try the action again if it is still a valid action.

Wait for the lock to be released, then retry the upload.

The object has been updated by another user. Please review the object and try the action again if it is still a valid action.

The document was modified after the upload file was prepared. Review the document status in the system, then retry the upload.

This Time Sheet {0} cannot be approved because Time Sheet Cost Center {1} is not in the set of Work Order Cost Centers. A Work Order Revision must be created by the Buyer to modify the cost allocation.

Create a Work Order Revision to add the Cost Center identified by {1} to the Work Order before approving Time Sheet {0}.

Time Sheet cannot be approved because further invoicing is disallowed.

The Time Sheet is flagged to block further invoicing. No approval action can be taken on this record via upload.

Time Sheet cannot be approved because the following Cost Centers are closed or inactive: {0}. Reject this document and re-submit it with open Cost Centers.

Warning - the upload proceeds. Reject the Time Sheet and re-submit it with open Cost Centers. {0} resolves to the names of the closed or inactive Cost Centers at runtime.