# Userexits

Functions

## Select-Event userexits
[Event userexits]

### Functions
int | xacc_chown ()
| Changes record owner from EDBKERNEL to EDBCUSTO and to group EDB.
int | xtxt_ctg_tak_ent_sea (const char *param1, const char *param2)

### Function Documentation

int xacc_chown | ( | ) |

Changes record owner from EDBKERNEL to EDBCUSTO and to group EDB.

If current user is EDBCUSTO, then all selected records with owner EDBKERNEL get new owner EDBCUSTO and new group EDB.

Note:
  Change of owner only possible in lists.

Returns:

  0 | OK
  1 | User EDBCUSTO, EDBKERNEL or group EDB does not exist
  2 | Current user is not EDBCUSTO
  3 | Cannot determine widget data

int xtxt_ctg_tak_ent_sea | ( | const char * | param1,
|  | const char * | param2
| ) |  |

Select-event userexit for modal glossary list EDB-TXT-GLS-CTG-QRY.

Takes the entry from the glossary list and copies the glossary ID in the current selected EDB_TXT_GLS_REF_x field of the Text-Instance-Editor. Only proceeded after a double click action-event!

Parameters:

  ctx | Field userexit context.
  param | Reserved parameter for the pre-field userexit.

Returns:

  0 | Ok.
  Else | Error

Copyright © 2007-2012, Oracle and/or its affiliates.