DeleteRdci
Deletes the currently buffered RDCI record from the database along with all of its accompanying RDCMs, Responses, Discrepancies, and Actual Events (if not referenced by another RDCI or RDCM). DeleteRdci also performs a database commit and clears the API RDCIRDCM buffer.
Syntax
short int DeleteRdci();
Parameters
None.
Return Value
SUCCESS
or FAILURE.
Comments
None.
Error Messages
Table 7-4 Error Messages for DeleteRdci
Number | Severity | Message |
---|---|---|
284900 |
ERR |
User does not have the privilege to call function in the current mode. |
285000 |
ERR |
Function called out of sequence. |
285900 |
ERR |
No current OCL database connection open. Use ConnectOCL to connect to OCL database. |
297100 |
ERR |
Changes pending. |
306200 |
ERR |
RDCI record being deleted does not exist in the database. |
306800 |
ERR |
Invalid audit reason. |
312200 |
ERR |
Cannot delete Received DCI as it is Data Locked. |
317800 |
ERR |
Cannot delete accessible Received DCI in Initial Login Mode. |
659700 |
ERR |
No default audit reason. |
659800 |
ERR |
More than one default audit reason found. |
660000 |
ERR |
Cannot use system-generated audit reason. |
Related Functions
CreateRdci, FetchRdci, GetRdci, ProcessRdci, SetRdci,WriteRdciRdcm
Parent topic: Data Capture API Functions