SetActualEvent
Use this function to add a comment to an actual event. This function updates the specified actual event record with the new comment and commits the change.
Syntax
short int SetActualEvent(doubleactual_event_id,
ActualEventsRecord*actual_event);
Parameters
actual_event_id (in) The ACTUAL_EVENT_ID of the row you want to update.
ActualEventsRecord (in) The new contents with which you want to update the specified Actual Event record. This parameter is in a structure of type ActualEventsRecord.
Return Value
SUCCESS or FAILURE or WARNING.
Comments
None.
Error Messages
Table 7-28 Error Messages for SetActualEvent
| Number | Severity | Message |
|---|---|---|
|
285000 |
ERR |
Function called out of sequence. |
|
285900 |
ERR |
No current OCL database connection open. Use ConnectOCL to connect to OCL database. |
|
288800 |
ERR |
Cannot set actual event when RDCI is locked. |
|
297000 |
ERR |
Null or invalid input pointers provided. |
|
302400 |
WRN |
Zero rows updated. |
|
304600 |
ERR |
Function does not exist. |
|
304700 |
ERR |
Privilege does not exist. |
|
304800 |
ERR |
User is not authorized to call this function. |
Related Functions
None.
Parent topic: Data Capture API Functions