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 Privilege to modify global Global index Index in the systemSystem.

 

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, which 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 dData fField.

 

N/A

IndexName

Field

Name of the Data Fielddata field.

 

N/A

IndexType

Field

Type of the Data Fielddata 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 Field in the given classClass.

 

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

FieldRoot

Index of the data Data fieldField.

IndexName

FieldRoot

Name of the Indexingdata field.

IndexType

FieldRoot

Type of the Indexingdata 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

IndexLength

FieldRoot

Length of the field in the given classClass.

IndexFlag

FieldRoot

Specifies whether the given iIndex is gGlobal 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 Rights to modify global Global indexIndex.

-50043

GlobalIndex not found

Global index 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 comesoccurs when the User wants to change the gGlobal iIndex of type “S” i.e. (string) and specify length Length greater thaen 255 charactercharacters.