This call is used to modify the
Properties or Fields of a Data Definition. The Field List specified with the
XML will be treated as final List for fields of that Data Definition; it will
overwrite the previous fields associated with the Data Definition. Only those
fields that are to be changed should be sent. ding, which are
to be changed. If you want tTo delete all fields then send –1 in
first IndexId tag.
|
Name |
Parent Tag |
Description |
Valid Values |
Default Values |
Option |
Root |
Unique option for the call. |
NGOChange DataDefinition |
N/A |
CabinetName |
Root |
Name of the Cabinet to which the User wants to
connect. |
|
N/A |
UserDBId |
Root |
UserDatabase ID Cabinet call. |
|
N/A |
DataDefinition |
Root |
It contains Information for a DataDefinition. |
|
N/A |
LimitOnField Count |
DataDefinition |
Maximum number of
Fields that can be attached with a Data Class. |
Integer >= 1 |
No check is made
for limit count on fields. |
DataDefIndex |
Data Definition |
Index of Data Class. |
|
N/A |
DataDefName |
Data Definition |
Name of the Data Definition. |
|
N/A |
Comment |
Data Definition |
Any Comment associated with the Data Definition |
|
|
EnableLogFlag |
Data Definition |
Maintain |
Y or N |
N |
Type |
Data Definition |
Type of Data Definition. |
Blank or ACT |
|
GroupId |
Data Definition |
Group index associated with the Data Definition |
Integer >= 0 |
0 |
Extra |
Data Definition |
Extra information stored with the Data Definition |
|
|
Fields |
Data Definition |
It contains Information about all the Fields of a Data
Class. |
|
N/A |
Field |
Fields |
It contains Information for a particular Field. |
|
N/A |
IndexName |
Field |
Name of the field. |
|
|
IndexType |
Field |
Type of the field. |
Integer,
Boolean, Date, Float, Long, String, Text, X (Document Index) |
|
IndexLength |
Field |
Size of the field. |
Depends on |
|
IndexAttribute |
Field |
Constraint of the field. |
0 – null 1 - not null 2 - unique null, 3 - unique not null. 4, 5- same as 0,1
respectively except that they are search keys. |
|
UsefulInfoFlag |
Field |
If a field is marked as usefulinfo, value of that field
can be seen in the document table |
Y or N |
|
UsefulInfoSize |
Field |
Size of the field. |
|
|
IndexFlag |
Field |
Information about |
G- Global D- Data |
|
Name |
Parent Tag |
Description |
Option |
Root |
Unique option for the call. |
Status |
Root |
Status of the call. If the Status is 0, then the call is
successful. Else if less than zero, error is reported. Else warning is
reported. |
DataDefinition |
Root |
Starting tag for the Data Definition details. |
DataDefIndex |
Data Definition |
Index of the added |
DataDefName |
Data Definition |
Name of the added |
Comment |
Data Definition |
Comments associated with the added D |
EnableLogFlag |
Data Definition |
EnableLogFlag of the added |
Type |
Data Definition |
Type of the added Data Definition |
GroupId |
Data Definition |
GroupId of the added Data Definition |
Extra |
Data Definition |
Extra info of the added Data Definition |
Fields |
Data Definition |
Starting tag of the field’s details. |
Field |
Fields |
Starting tag of the field details. |
IndexId |
Field |
Index of the associated field. |
IndexName |
Field |
Name of the associated field. |
IndexType |
Field |
Type of the associated field. |
IndexLength |
Field |
Size of the associated field. |
IndexAttribute |
Field |
Attribute of the associated field. |
UsefulInfoFlag |
Field |
Usefulinfoflag of the associated field. |
UsefulInfoSize |
Field |
UsefulInfoSize of the associated field. |
IndexFlag |
Field |
Whether global or Data Class L |
Code |
Message |
Comments |
-50016 |
Group not
found. |
Group
index the User trying to associate with the Data Definition does n |
-50031 |
Data
Class with the same name already exists. |
Data
Definition class with the given name is already exists. |
-50032 |
Insufficient
rights for the current operation. |
Insufficient
|
-50176 |
Limit on
number of Fields exceeded. |
The
number of Data Class exceeds the limit of Data Class. |
-50028 |
Data
Class not found. |
Data
Class for the given |
-50074 |
Invalid
parameters. |
This
exception will occur |
-50116 |
Insufficient
privileges for the current operation. |
Insufficient
|