Update BP Record

Description

This method updates a record in Unifier.

Support

This service is available at both Company Level and Project or 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 or 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 and 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 or shell in Unifier.

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. So in order to use this method user has to 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 then do not pass projectnumber parameter.

If you send invalid projectnumber then 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 both Project (Standard) and Shells of cost code type CBS and Generic.

Return Value

See Return Values

Sample Method

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

Related Topics

Business Process (BP) Methods

Update BP Record (Additional Information)

Create BP Record

Create Complete BP Record

Add BP Line Item

Add Complete BP Line Item

Update Complete BP Record

Update BP Record V2

Get BP Record

Get BP List

Get Complete BP Record



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022