NGOChangeGlobalIndex

This transaction is used to modify the Properties of an existing GlobalIndex. Only those values are required which are to be changed, remaining values will be retained. User must have Privilege to modify Global Index in the System.

 

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.

NGOChange

GlobalIndex

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

Field

Root

Parent Tag which contains the information about the Index.

 

N/A

IndexId

Field

Index of the Data Field.

 

N/A

IndexName

Field

Name of the Data Field.

 

N/A

IndexType

Field

aype 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

N/A

IndexLength

Field

Length of the Field in the given Class.

 

N/A

IndexFlag

Field

Specifies whether the given Index is Global or specific to the Data Class.

  

G – Global

D – Data Class specific 

  

 

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 call is successful.

Field

Root

Parent Tag which contains the information about the Field.

IndexId

Field

Index of the Data Field.

IndexName

Field

Name of the Indexing.

IndexType

Field

aype of the Indexing.

I – Integer Type

T – Text Type

S – String Type

L – Long Type

D – Date Type

B – Boolean Type

F – Float Type

X – Document Index

IndexLength

Field

Length of the field in the given Class.

IndexFlag

aield

Specifies whether the given Index is Global or specific to the Data Class.

G – Global

D – Data Class specific

 

Errors returned from call

Code

Message

Comments

-50096

Insufficient privileges for the current operation

User does not have Rights to modify Global Index.

-50043

GlobalIndex not found

Global Index that User wants to change does not exist.

-50083

Field with the same name already exists.

Field that the User has specified already exists.

-50046

Invalid Field type.

Field type specified in the input is invalid.

-50047

Invalid Field length

Field length specified in the input is invalid. This error occurs when the User wants to change the Global Index of type “S” (string) and specify Length greater than 255 characters.