SOW Revision XML Upload
This integration uploads statement of work (SOW) revisions.
This connector uses the XML post processor as default and uses the OASIS XML standard. For more information on the generic implementation of this standard, visit http://www.openapplications.org. By changing the post processor, output can be changed to JSON format; see the Configuration Considerations section.
File Formatting
Configuration Considerations
|
# |
Item |
Notes |
|---|---|---|
|
1 |
JSON Output |
If a client wants the output in JSON format, the client can go to SA admin page, edit the download batch job for buyer company, select More Actions, then Change Post-Processor, click on +Add Post-Processor. The JSON post processor, JsonToXmlPreProcessor, should be selected if not auto-populated. Click Update. |
Assumptions/Tips
-
If <PreventFeeSubmission> is missing or left blank, the value defaults to No, which means the Fee Definition can be used. If the Buyer is attempting to create anything other than an SOW or CSOW, the flag is ignored.
-
Both Buyer and Supplier entered Custom Fields display and can be updated by both parties regardless of who created the Custom Field first.
-
When ‘Fee Availability on SOW’ flag is set to ‘Available for Associated Suppliers’, if a supplier isn't selected/associated to a particular fee in the library, that fee won't be available to copy on an SOW, irrespective of who is adding the fee (buyer or supplier).
-
When Legal Entity is entered in the upload, the system applies the Legal Entity from the upload to any Events, Fee Definitions, and Schedules from the upload. When Legal Entity isn't entered in the upload, the system will apply the SOW’s Legal Entity to any Events, Fee Definitions, and Schedules from the upload.
-
When Legal Entity is enabled for Services AND Legal Entity is validated on Site, then Legal Entity propagated Site overrides the 'Prevent Propagation from SOW to Existing Work Order and Workers based on Site & Location' rule.
-
If Owner Username is entered and Legal Entity is enabled for Services, owner must have access to legal entity, else error is returned .
-
If custom field configured for SOW Bid Only, an error occurs since this upload supports normal SOW custom fields only.
-
Characteristics can also have custom fields similar to the SOW Revision.
-
Multiple rates of same rate category/UOM can be on an SOW when the company configuration 'Use Rate Grid for SOW Workers on Statement of Work' is enabled.
-
This upload supports SOWs that use Rate Schedules.
-
At least one Role/Rate Schedule combination must exist, be complete, and be unique, else an error is generated.
-
If SOW worker role can't have 'Use Fees for Billing' enabled, and SOW Rate Schedules enabled, else an error is generated.
-
If MSOW has set 'Child Statements of Work allow these Fees and Role / Rate Schedule combinations' to 'Must use all Fees and Role / Rate Schedule combinations defined on Master SOW', then CSOW must use only those Rate Schedule combinations defined on the MSOW.
-
Rate Schedule must be valid for the MSP of the SOW when the buyer uses Multiple MSP logic.
-
If the SOW enabled Rate Schedules, the Rate Schedule must match the SOW currency.
-
Fields like Template will be validated against the contract.
-
-
Regarding the SOW Coordinator field:
If the buyer has an 'SOW Coordinators' custom lookup defined: The custom lookup triggers upon SOW document creation. If the user enters in a username in the 'SOW Coordinators' column, the application will add the SOW Coordinators as per the configured custom lookup and add the user(s) entered in the 'SOW Coordinators' column as SOW Coordinators for the SOW.
If the buyer doesn't have an 'SOW Coordinators' custom lookup defined: The username entered for the SOW Coordinator field applies to the SOW only. If the 'SOW Coordinators' column is left blank, there is no impact to the SOW. If multiple SOW Coordinators are to be entered via the upload, their usernames need to be delimited by tilde (~) symbol. If multiple SOW Coordinators are entered on the upload and if any of the usernames are invalid or the user doesn't have access to the SOW document, the entire record fails .
-
If the SOW Template flag 'Event due date is mandatory' and is enabled for a statement of work, then the 'Due On' date field, via the <Date> sub-element, becomes mandatory for every event that is uploaded or edited using this connector.
-
When this upload is used to create a CSOW and if CSOW is using a different currency than the MSOW, then the CSOW budgets are converted into the MSOW's currency. Conversion factor is captured when the CSOW is initiated and will remain the same through the lifecycle of the CSOW. The conversion factor will be used for converting any amount field on the CSOW to perform validation against MSOW budgets.
-
If the Statement of Work Template has Auto Calculate Max budget set to Yes, then the system must accept 'Allocation by' Percentage and Amount at the line item level. If the Statement of Work Template, or the SOW document has 'Max Budget Entered by' field set to Supplier, then the system must accept only 'Allocation by' Percentage. The Allocation By flag value must be the same for all Cost Center / GL Account / Segmented Object Detail combination for a given SOW. An SOW can't have Allocation By Percentage for one cost center, and Allocation By Amount for another cost center.
-
If the new SOW Template flag 'Event due date is mandatory' and is enabled for an SOW, then 'Due On' date field becomes mandatory for every event that is uploaded/edited using this connector.
-
SOD grid type custom fields aren't supported.
-
SOW Revision XML Upload allows cost center allocation at the line item level when the company configuration 'Buyer can change line item cost allocation' is enabled at both the company and the SOW template level. If the following configurations are turned on, cost center allocation at the line item level isn't allowed:
Changes to statement of work cost centers are inherited by:
SOW line items in Created status
SOW line items in Pending Approval, Approved, Rejected, and Approval Paused statuses
-
This connector works as per Connector Configuration header values. In this case, connector doesn't consider Language, NumberFormat, and DateFormat values passed in upload file.
-
If a variant is created for this connector, the ConnectorName tag is mandatory (i.e. <ConnectorName>SOW Revision XML Upload API-A</ConnectorName>).
-
For JSON output, the type and header information must be excluded from this file, otherwise an error is displayed. The type can be added with Postman as a parameter on the POST and the value must be the custom connector name.
-
This upload can't be used to revise a statement of work that uses a Fieldglass Talent Network (FTN) SOW Type.
-
If company configuration 'Cost Allocation Percentage decimal precision' is enabled, the system limits the decimal precision of the Allocation field. An error displays if the user enters more digits after the decimal than allowed by the company configuration for the field.
-
If this upload causes changes to SOW worker role, business unit, legal entity, site, or work location, the system re-evaluates the activity checklist when the SOW revision or work order revision reaches final approval to determine if there are additional activity items affected.
-
This upload allows cost centers on line items to be added or removed beyond the SOW header.
-
This upload fails if the SOW revision rule Suppress SOW Revision is enabled.
-
If a CSOW is being revised using this upload which has the MSOW rule for Fees and Roles on CSOW as 'Can select a subset of Fees and Roles, but not alter the Rates (new Rates can be added).', then fees can only be added to a CSOW if they exist on the MSOW. New fees cannot be added, and also any updates to the rates of such fees are ignored by the system and the revision is created without the rate changes.
-
Regarding leading and dependent custom fields:
When leading and dependent custom fields have been set up and a buyer downloads a blank upload template for this connector from the user interface, leading and dependent custom fields are automatically added as individual columns.
The system reads the value of the leading custom field and validates the first dependent custom field. This process continues for all dependent custom fields in the defined sequence until it is completed.
-
To support a seamless transition, the following logic is applied for inbound SOW Create/revise integrations:
When Account Category is not passed in the payload and if a common account category can be derived from the Cost Centers, account category is auto-populated at the event level.
-
When Auto Calculate Max Budget is enabled, the SOW header requires allocation to be entered as a percentage. If there is no information available for Cost Center at the SOW level, then the Allocation by is always defaulted to Percentage from events (hierarchical/regular) and fees. This is applicable only if the preprocessor CIGSOWXMLPreProcessor is enabled.
-
When the company configuration Do not allow the selected Cost Center to be removed from the documents is enabled, the following validation rules apply when editing cost allocations in an SOW Revision.
If a Cost Center (CC) or General Ledger Account (GLA) allocation has already been used in an invoice, you cannot:-
Delete the associated Cost Center or GLA
-
Reduce the allocation percentage below the percentage that has already been invoiced.
-
Reduce the allocation percentage to 0%
These restrictions apply at both the SOW header level and the Parent Event Line Item level, including Regular and Event Hierarchy (Standard and Limit) events.
-
Rates 2.0
The following applies when 'Rates 2.0' is enabled.
-
When an SOW worker role is added:
-
Rate values are validated against the Rates Lookup, when applicable.
-
Rate Component values entered in the upload are validated against the Rate Component lookup or Fixed Value of the component, when applicable.
-
If a field isn't listed in the file for a particular Rate Type, then it isn't supported, and the system ignores entries in unsupported fields. For example, if Rate doesn't use a Pay Rate, then the PayRate field would be ignored.
-
The 'Use Admin Structure' flag for Rate Component Groups (RCGs) and Rate schedules (RSs) determines the structure of RCGs and RSs for SOWRs.
-
-
When an existing SOW Worker Role is edited:
-
When the Automatically refresh rates for SOW Worker Roles from lookup rule is set to Yes, rates are validated against the lookup just as they would be for a new Role.
-
When the rule is set to No:
-
If the existing Role combination is not included again the upload, Rates will retain their existing values.
-
If the existing Role combination is included in the file:
-
New rates being added will be validated against the lookup.
-
Existing rates already on the Role will retain their existing values if no value is entered in the file, or, if a value is entered in the file, the value will be compared against the SOW's current Admin Value for the rate, not against the lookup.
-
-
-
For either setting of the rule, a Rate Component Group refreshes its components when its Use Admin Structure flag is set to Yes.
-
-
Calculated Rates that rely on Rate Rules need to be added to the file in some situations, but don't require any rate values because those are calculated later.
-
For a non-Rate Schedule SOW, the following taks need to be added within the <RateCode> wrapper:
-
RateCategory
-
UnitOfMeasure
-
Code
-
-
For a Rate Schedule SOW, the tags aren't needed because the system picks up the rate from the Rate Schedule.
-
-
The end result for Calculated Rates that use a Factor depends on the Factor's Base Rate.
-
When Product Group is enabled and configured for your company, and being used with event hierarchy, the behavior of the field depends on your company setup.
-
If product group is required or optional on event lines
-
If your company is using an Event Hierarchy lookup to populate event values and product group is added to the lookup.
-
Errors
The following errors can occur when processing this upload file:
|
Error Message |
Resolution |
|---|---|
|
Cannot upload a Fee that is not associated to this supplier |
The fee library specified in the FeeLibraryCode column is not associated to the supplier on the SOW. Verify the fee library is configured for the supplier, or remove the FeeLibraryCode value. |
|
Holdback % is invalid. |
The Holdback % value cannot be parsed as a number. Enter a valid numeric value in the HoldbackPct column. |
|
Holdback % must be between 0 and 100. |
Enter a value between 0 and 100 in the HoldbackPct column. |
|
Invalid Date Format specified. |
The DateFormat value in the Header element is not a supported date format. Enter one of the accepted values from the Date Format preference list (for example, MM/dd/yyyy). Applies to Header uploads only. |
|
Invalid Language specified. |
The Language value in the Header element is not a supported language. Enter one of the accepted language values configured for your company. Applies to Header uploads only. |
|
Invalid Number Format specified. |
The NumberFormat value in the Header element is not a supported number format. Enter one of the accepted values from the Number Format preference list (for example, 1,234.56). Applies to Header uploads only. |
|
Invalid value for discount %. Enter a value between 0 and 100. |
Enter a numeric value between 0 and 100 in the DiscountPercentage column. |
|
Invalid values for FeeLibraryCode |
The value in the FeeLibraryCode column does not match an active fee library for this company. Verify the fee library code is spelled correctly and the fee library is active. |
|
Invalid values for HierarchyEvent : ModificationType |
The ModificationType value for a HierarchyEvent element is not valid. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Invalid values for HierarchyEvents : UseUserProvidedSequenceNumber |
The UseUserProvidedSequenceNumber value is not valid. Enter one of the accepted values: Yes or No. |
|
Invalid values for ManagementEvent : DueOn |
The DueOn date for the management event cannot be parsed using the configured date format. Verify the date format and enter a valid date. Applies to Modification Type D only. |
|
Invalid values for ManagementEvent : ModificationType |
The ModificationType value for a ManagementEvent or RecurringManagementEvent element is not valid. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Invalid values for ManagementEvent : Name or Ref |
No existing management event matches the Name and Ref combination provided. Verify the management event name and ref are correct for an existing management event on this SOW. |
|
Invalid values for MilestoneSchedule : DueOn |
The DueOn date for the schedule cannot be parsed using the configured date format. Verify the date format and enter a valid date. Applies to Modification Type D only. |
|
Invalid values for MilestoneSchedule : ModificationType |
The ModificationType value for a MilestoneSchedule element is not valid. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Invalid values for MilestoneSchedule : Name or Ref |
No existing schedule matches the Name and Ref combination provided. Verify the schedule name and ref are correct for an existing schedule on this SOW. |
|
Invalid values for ModificationType |
The ModificationType value for a line item (Event, Fee, or HierarchyEvent) is not valid. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Invalid values for RecurringSchedule : DueOn |
The DueOn date for the recurring schedule cannot be parsed using the configured date format. Verify the date format and enter a valid date. Applies to Modification Type D only. |
|
Invalid values for RecurringSchedule : ModificationType |
The ModificationType value for a RecurringSchedule element is not valid. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Invalid values for RecurringSchedule : Name or Ref |
No existing recurring schedule matches the Name and Ref combination provided. Verify the schedule name and ref are correct for an existing recurring schedule on this SOW. |
|
Maximum Budget is invalid. |
The WillNotExceed value cannot be parsed as a valid currency amount. Enter a valid numeric value in the WillNotExceed column. |
|
Missing data for DateFormat |
The DateFormat element is missing or blank in the Header. Enter a valid DateFormat value. Applies to Header uploads only. |
|
Missing data for Event : ModificationType |
The ModificationType element is missing or blank for a regular event. Enter one of the accepted values: A (Add), U (Update), or D (Delete) in the ModificationType column. |
|
Missing data for Fee : ModificationType |
The ModificationType element is missing or blank for a Fee. Enter one of the accepted values: A (Add), U (Update), or D (Delete) in the ModificationType column. |
|
Missing data for HierarchyEvent : ModificationType |
The ModificationType element is missing or blank for a HierarchyEvent. Enter one of the accepted values: A (Add), U (Update), or D (Delete) in the ModificationType column. |
|
Missing data for Language |
The Language element is missing or blank in the Header. Enter a valid Language value. Applies to Header uploads only. |
|
Missing data for ManagementEvent : DueOn |
The DueOn element is missing or blank for a Delete management event. Enter a valid date in the DueOn column. Applies to Modification Type D only. |
|
Missing data for ManagementEvent : ModificationType |
The ModificationType element is missing or blank for a ManagementEvent or RecurringManagementEvent. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Missing data for ManagementEvent : Name |
The Name element is missing or blank for the management event. Name is required for all Modification Types. Enter a value in the Name column. |
|
Missing data for ManagementEvent : Ref |
The Ref element is missing or blank for a management event Update operation. Ref is required for Modification Type U. Enter the management event ref in the Ref column. |
|
Missing data for MilestoneSchedule : DueOn |
The DueOn element is missing or blank for a Delete schedule operation. DueOn is required for Modification Type D. Enter a valid date in the DueOn column. |
|
Missing data for MilestoneSchedule : ModificationType |
The ModificationType element is missing or blank for a MilestoneSchedule. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Missing data for MilestoneSchedule : Name |
The Name element is missing or blank for the schedule. Name is required for all Modification Types. Enter a value in the Name column. |
|
Missing data for MilestoneSchedule : Ref |
The Ref element is missing or blank for a schedule Update operation. Ref is required for Modification Type U. Enter the schedule ref in the Ref column. |
|
Missing data for NumberFormat |
The NumberFormat element is missing or blank in the Header. Enter a valid NumberFormat value. Applies to Header uploads only. |
|
Missing data for RecurringSchedule : DueOn |
The DueOn element is missing or blank for a Delete recurring schedule operation. DueOn is required for Modification Type D. Enter a valid date in the DueOn column. |
|
Missing data for RecurringSchedule : ModificationType |
The ModificationType element is missing or blank for a RecurringSchedule. Enter one of the accepted values: A (Add), U (Update), or D (Delete). |
|
Missing data for RecurringSchedule : Name |
The Name element is missing or blank for the recurring schedule. Name is required for all Modification Types. Enter a value in the Name column. |
|
Missing data for RecurringSchedule : Ref |
The Ref element is missing or blank for a recurring schedule Update operation. Ref is required for Modification Type U. Enter the schedule ref in the Ref column. |
|
Missing data for SOW : Characteristic |
The Characteristic element is missing from the SOWREVISION body. Include a Characteristic element specifying the Schedule, Event, Fee, ManagementEvent, and TeamMember flags. |
|
SOW Bid custom field types cannot appear on these uploads. Only normal SOW uploads without custom fields are supported. |
Remove any custom fields that are designated as SOW Bid custom fields from the upload file. Only standard SOW custom fields are supported. |
|
SOW Revision cannot be created since there are SOW Workers whose start date is beyond the Statement of Work start date. |
The Start Date in the upload is earlier than the start date of one or more active SOW Workers. Adjust the Start Date in the StartDate column or update the affected SOW Workers before uploading. |
|
SOW ID and External SOW ID cannot both be blank. |
At least one of SOWRef or SOWExternalRef must be provided. Enter a valid SOW ID or External SOW ID in the upload file. |
|
SOW revision number does not match current pending or open revision. |
The SOW revision specified in the file is not the current open or pending revision. Verify the SOW reference and revision state, then resubmit with the correct revision. |
|
Statement of Work End Date must be later than the latest Completed Date of the Events that are in Pending Approval, Approved, Invoiced or Paid status. |
The End Date in the upload is earlier than the completed date of one or more active events on this SOW. Adjust the End Date in the EndDate column to be after all active event completed dates. |
|
Statement of Work End Date must be later than the latest Management Events Date of the Management Events that are in Pending Approval or Approved status. |
The End Date in the upload is earlier than the date of one or more pending or approved management events. Adjust the End Date in the EndDate column to be after all active management event dates. |
|
Statement of Work End Date must be later than the latest Schedule Date of the Schedules that are in Pending Approval, Approved, Invoiced or Paid status. |
The End Date in the upload is earlier than the due date of one or more active schedules on this SOW. Adjust the End Date in the EndDate column to be after all active schedule dates. |
|
Statement of Work End Date must be later than the latest SOW Fees Date of the SOW Fees that are in Pending Approval, Approved, Invoiced or Paid status. |
The End Date in the upload is earlier than the date of one or more active fees on this SOW. Adjust the End Date in the EndDate column to be after all active fee dates. |
|
The SOW has Suppress SOW Revision rule enabled and it cannot be revised. |
The SOW has the Suppress SOW Revision flag enabled, which prevents new revisions from being created via upload. Contact your system administrator to disable the Suppress SOW Revision rule before uploading. |
|
The SOW Revision XML Upload cannot be used to revise a statement of work that uses an FTN SOW Type. |
The referenced SOW uses an FTN SOW Type. The SOW Revision XML Upload cannot be used with FTN SOWs. Use the appropriate FTN-specific upload process instead. |
|
This upload cannot be used with SOW Bids. |
The referenced SOW is a SOW Bid. The SOW Revision XML Upload cannot be used to revise SOW Bids. Remove the row or use a different upload for SOW Bids. |
|
{0} should be in {1} status. |
The line item identified by {0} (the name or ref of the schedule, event, fee, or management event) is not in an editable status. For schedules, events, and hierarchical events, the item must be in Created or Rejected status. For management events, the item must be in Pending or Rejected status. For fees, the item must be in Created status. Only items in an editable status can be updated or deleted. |