Update BP Record V2 (Additional Information)

This topic includes additional information about updating BP record V2.

Simple Object Access Protocol (SOAP)

To send SOAP services as XML, ensure that you follow the general rules of XML:

Unifier supports MTOM base64 encoded files in our Unifier Web Service SOAP platform for:

Shell and Company Levels

If the Shell number is null then the record will be assumed for company level record.

The step involved in sending a record (Send To) is pre-assigned.

Options

WFActionName

If the option WFActionName tag is empty, then the system updates the record, only. WFCurrentStepName in this case is not validated.

If the option WFActionName tag has a value, then the system pushes workflow to the next step, based on the value of WFActionName tag. All form level validations will be triggered before pushing workflow to the next step. In this scenario WFCurrentStepName will be validated to make sure that the step is valid and action is valid. The option WFActionName tag will be ignored for non-workflow business processes.

Validations while processing WFCurrentStepName and WFActionName tags

WFCurrentStepName

The record is still on the step identified by WFCurrentStepName. If it is not, the system generates an error.

Step identified by WFCurrentStepName value has "Enable Step for Integration" option set to "Yes". If it is not, the system generates an error.

Validate WFActionName is valid action that can be taken from step identified by the value of WFCurrentStepName.

After going through all validations rules, the system moves the record to next step. The Creator, who has been selected on the Admin > BP Setup > Workflow (node) > Auto Creation (tab) > Creator, is the person who takes action on the step.

It is possible that someone would have accepted the task on step identified by the value of WFCurrentStepName. (This can happen because "Assignees" option for this step under BP Setup is not disabled). There are three possible scenarios under this condition:

LineItemIdentifier

There are two scenarios for this option:

  1. LineItemIdentifier value is empty: In this scenario system will add all line items. <_delete_bp_lineitems> tag will be ignored.
  2. LineItemIdentifier value is not empty: In this scenario value provided as part of LineItemIdentifier should be a tag under _bp_lineitems. If not system will error out.

If LineItemIdentifier value is an element under _bp_lineitems, then the system will try to query up a line item based on the value provided under this element.

If the line is found then it will be updated.

If two lines are found, then the system generates an error (duplicate rows).

If the line is not found, then it will be added.

Notes:

The "LineItemIdentifier" option is ignored for following type of business processes:

WFActionName and WFCurrentStepName

This option is ignored for non-workflow Business Processes.

Import the line items for General Spends and Payment Applications

The following XML tag <_refnum> </refnum> should be added under BP line item tag <_bp_lineitem> </bp_lineitem> to support the ability to import the line items for General Spends and Payment Applications.

This service can be used to add lines to Payment Applications and General Spends type of business process. When adding lines to Payment Applications type of business process, existing lines if any will be removed and new lines will be added that are provided as part of the service call. For General spends line will be appended like any other business process.

Note: updateBPRecordv2 cannot be used to update existing line items for Payment Applications type of business process.

Updating BP Record V2 for Document type BP with Folder Structure

The Web Service call supports the adding of line items to a specific folder to an existing Document type BP record.

The Update BP Record V2 is applicable to Base Commit and Change Commit of Summary Payment Application type business processes.

The Update BP Record V2 is partially supported for Payment Application business processes of Summary Payment Application type. Use this service to add standard tab line items to a payment record only when the record does not have any standard tab line items created, yet (in such case, the same service can also be used to optionally progress the workflow). Alternately, this service can be used only to progress the workflow on a record.

This service is not available to modify or delete standard tab line items.

Payment BP (both the classic and summary payment) line items belonging to tabs other than the standard tab can be added/modified/deleted by using: updatebprecordv2 call.

Behavior Specific to Summary Payment Application SOV Type BPs

Note: The information is applicable to Base Commit and Change Commit of Summary Payment Application SOV Type BPs.

For more details about XML tags, see Create and Add Methods in the Create BP Record (Additional Information) section.

Update Methods (Update BP Record V2)

The Cost Allocation using the Update BP Record V2 method is necessary when Summary Line Item is added at the creation step and Actual Cost Allocation is added in the subsequent step.

When you need to add Cost Allocation to an existing Line Item, the existing “LineItemIdentifier” tag can hold the information of the Line Item that needs to be updated with the Cost Allocation

The LineItemIdentifier is the key tag for identifying the Line Item that needs to be updated.

You can add new Summary Line Items and Costed Line Items.

If the XML template has the Summary Line Item fields, along with the Cost Allocation, then the Summary Line Items need to be updated.

Note: In this case, the LineItemIdentifier tag is the key.

For modifying Line Items, either by adding new Costed Line Items or updating existing Costed Line Items for Base Commit and Change Commit Business Process records, the following rules are applied:

New modifications to Line Items existing in the SOV can be done by specifying the sovlinum. For modifying the Costed Line Items in the Summary Line Items, the combination of sovlinum and CBS Code will be used.

Since the Short Description already exists for the Line Items, this is as an Optional field.

The Costed Line Items that need to be updated will be identified by the Cost Code/ bItemId.

All operations that are currently possible with the updateBPRecordV2 call will be applicable here, aloso.

Example

Workflow progress, deletion of line items etc.

Validation

If the input XML used for updating Line Items has only Cost Allocation details, along with the Line Item reference, then the Line Items update with the Cost Allocation will go through without any errors.

All validations for the required fields in the Summary level and the Cost Allocation level will be applicable.

All system level validations existing for the above mentioned BPs will be applicable.

Example

Costed amount = Line item amount at a given step

Existing validations for update BP record V2 will be applicable.

Data Elements in Line Items

If the following Data Elements are present in the Line Items, they will not be updated during UpdateRecordV2 call.



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022