This call is used to add a new
Global Indexes or dData field to the sSystem. This call can
also be used to check only the existence of that gGlobalIIndex. If the
GlobalIndex with the same nName exist, then a wWarning code is returned
and with the existing gGlobalIIndex. is returned along with.
User must have pPrivilege to add gGlobal iIndex to the sSystem.
|
Name |
Parent Tag |
Description |
Valid Values |
Default Values |
Option |
Root |
Unique option for the call. |
NGOAdd GlobalIndex |
|
CabinetName |
Root |
Name of the Cabinet to which the User wants to
connect. |
|
|
UserDBId |
Root |
UserDatabase ID Cabinet call. |
|
|
CheckExistence Only |
Root |
Flag |
Y- Check existence only. N- Do n |
N |
Field |
Root |
Contains the information about a particular
field. |
|
N/A |
IndexName |
Field |
Name of the |
|
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 |
N/A |
IndexLength |
Field |
Length of the field. Used only in case of String field and
User has to send the value |
|
N/A |
IndexFlag |
Field |
Index flag of the field. |
“D” – Data Field “G” – Global Index |
N/A |
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. |
IndexId |
Root |
Index of the |
Code |
Message |
Comments |
-50043 |
GlobalIndex
not found. |
Global |
-50096 |
Insufficient
rights for the current operation. |
User des
not posses |
-50047 |
Invalid
Field length. |
This
exception is raised
only in case of string and if the |
-50046 |
Invalid
Field Type. |
Field
type specified in input is invalid. |
-50044 |
GlobalIndex
already exist. |
This
exception is raised for Index flag of type “G” when |
-50074 |
Invalid
parameters. |
This
exception is raised when |