Update BP Record

Support for SOAP is deprecated starting with Unifier 23.10.

Description

This method updates a record in Unifier.

Support

This service is available at both company-level and project/shell-level BPs of type non-workflow Line Item type and can only update information on upper form. Line items will be ignored. Additionally, the service is also available at project/shell level for Cost (Non-Payment type), Simple, Text type, and Document Type (Basic and Advanced) business process. In these cases, too, the service can only update information on upper form. Line items will be ignored.

Installation

ASP and Self host

Level Yes or No
Company Level Yes
Project/Shell Level Yes

Prototype

public XMLObject updateBPRecord(String shortname, String authcode, String projectNumber, String BPName, String BPXML);

Parameters

Parameter Description
shortname identifier of the company, company's short name
Authcode authentication key for the company, in text string
projectNumber Identifier of the project/shell.
BPName Identifier of the BP
BPXML Content of the BP that needs to be updated

BPXML Elements

The BPXML Elements are based on BP design. To use this method, the user must first use getBPRecord service. getBPRecord service will provide user with valid XML elements that are part of BP design.

If you want to update record for a BP at company level, do not pass projectnumber parameter.

If you send invalid projectnumber, you will get an error.

<record_no> tag as part of <_bp> element is required while send updateBPRecord message.

This service can be used for Projects/Shells of cost code type CBS and Generic.

Return Value

See Appendix B: Return Values.

Sample Method

updateBPRecord("acme", "acme_authcode", "Proj-0001", "Blanket PO", "<XML Content>")