NGOModifyGlobalIndexToDocument

This transaction can be used to modify the value of the associated Global Index with the document. User has to pass previous and new value of Global Index.

 

Input Parameter description

View sample InputXml

Output Parameter description

View sample OutputXml

Errors and Warnings

 

 

Input Parameters description

Name

Parent Tag

Description

Valid Values

Default

Values

Option

Root

Unique option for the call.

NGOModify

GlobalIndexTo

Document

N/A

CabinetName

Root

Name of the Cabinet to which the User wants to connect.

 

N/A

UserDBId

Root

UserDatabase ID that is returned in the NGOConnect

Cabinet call.

 

N/A

DocumentIndex

Root

Index of the Document.

 

N/A

RightsFlag

Root

Whether rights are to be checked or not.

‘Y’ – Yes

‘N’ - No

  

CurrentDateTime 

Root

Current Date and Time

  

N/A

Fields

Root

It is an outer tag that contains aList of various fields and their values.

 

N/A

Field

Fields

It is an outer tag that contains the information related to a particular field using different tags.

 

N/A

IndexId

Field

Index of the Data Field.

 

N/A

IndexType

Field

Type of the Data Field.

 

I – Integer Type

T – Text Type

S – String Type

L –  Long Type

D – Date Type

B – Boolean Type

F – Float Type

X – Document Index

 

IndexValue

Field

Value of the Index (Field).

 

N/A

OldValue

Field

Old value of field.

 

N/A

 

Output Parameters description

Name

Parent Tag

Description

Option

Root

Unique Option for the Call. 

Status

Root

Status of the call. If it is 0, then the call is successful.

 

Errors returned from call

Code

Message

Comments

-50023

Document not found.

Document for which the User wants to modify the Global Index.

-50132

Insufficient rights for the current operation.

User does not have sufficient Rights on to modify the Global Index.

-50022

Insufficient rights for the current operation.

Insufficient Rights on the Document.

-50043

GlobalIndex not found.

Global index specified by the User does not exist in the System.

-50044

GlobalIndex already exist.

New Global Index that the User wants to associate with the document is already associated with the document.