NGODeleteForm

This call deletes forms Forms associated with the DataDefinitiondatadefinition. To delete all the forms Forms for a DataDefinitiondatadefinition, specify Flag as D and ObjectIndex as index Index of that DataDefinitiondatadefinition.

 

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.

NGODelete

Form

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

CurrentDate

Time

Root

Current Date and Time at which the call is made.

 

Current Date Time

Flag

Root

Flag , which that specifies whether the call is made for a particular form Form or for all the forms Forms that are registered for a particular DataDefinitiondata definition.     

F – Form

D – Data Definition

 

N/A

ObjectIndex

Root

It specifies the index Index of the object on which the call is made. If the call is made for a particular fForm i.e. F is sent in the Flag tag, then it specifies the Form Index, otherwise if the call is made to delete all the fForms that are registered for a particular Data Definition i.e. D is sent in the Flag tag, then it specifies the iIndex of the Data Definition.

 

N/A

 

Output Parameters description

Name

Parent Tag

Description

Option

Root

Unique option for the call.

Status

Root

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

 

Errors returned from call

Code

Message

Comments

-50074

Invalid parameters.

This exception comes occurs when the value passed in the Flag tag is invalid i.e. any value other than F or D is sent.

-50148

Form not exists.

Form whose index Index was passed and which was to be deleted does not exist.

-50032

Insufficient rights for the current operation.

User does not have sufficient rights Rights to do the operation. User must have rRead rights Rights on the Data Class to which the form Form to be deleted is attached.