Modules | |
Select-Menu userexits | |
No-Select-Menu userexits | |
Edit-menu userexits | |
Functions | |
int | lgv_usx_cre_var () |
Creates a LGV-variable and assigns it to SYSTEM, logic model, or decision table. More... | |
int | xatt_qry_cls () |
userexit iwf_exi_edt(F) is replaced by xatt_qry_cls in the pre-mask userexit xatt_prm. More... | |
int | xchg_cfg_check (const char *param, const char *ignore) |
More... | |
int | xchg_opr_get_val (const char *param, const char *ignore) |
More... | |
int | xcnf_cps_elm_sol_edt (const char *param, const char *ignore) |
More... | |
int | xdfv_wri_def_val (const char *param, const char *ignore) |
More... | |
static int | xhlp_set_vwr () |
Sets the viewer used to display an online help page. More... | |
int | xknl_itm_del_rel (const char *param, const char *ignore) |
More... | |
int | xord_cpy_ord () |
Menu userexit to copy all data of an order. More... | |
int | xqry_del () |
Menu userexit to delete a stored query or favorite in Favorites->Administrate form and additionally removes the correspondent browser records. More... | |
int | xqry_exc () |
Menu userexit to execute the query conditions in direct search or rank mode. More... | |
int | xrel_cnt_mul () |
Counts the records in the multi list with the given attributes and writes the result into the message window. More... | |
int | xrel_del_ref () |
Menu userexit to delete the relation for the elements in the given refine relation. More... | |
int | xrel_exp () |
Expands an entry of a multi list. More... | |
int | xrel_lis_agg_mul () |
Creates the aggregate list widget to the repeated reference. More... | |
int | xrel_lis_ref_mul () |
Creates mask widget to the references with the given view. More... | |
int | xrel_mul_cln () |
Cleans up all double assigned entities of a multi-list. More... | |
int | xrel_upd_mul () |
Searches with the given attributes and writes the record(s) in the mask. More... | |
int | xver_upd_cur_flg () |
Userexit for parallel versioning. More... | |
int | xwfl_editor_start () |
Userexit to start the workflow editor on Unix or MS-Windows. More... | |
int | zag_get_rec () |
Executes a search request for the passed field and search string. More... | |
int lgv_usx_cre_var | ( | ) |
Creates a LGV-variable and assigns it to SYSTEM, logic model, or decision table.
The variable is assigned only if the previous vraiable creation was successful.
cp_arguments | Standard argument string. Syntax like: | |||||||||||||||||||||||||
"NAME | /TYP=val {/SYS | /LM=<lm> | /DT='<lm>/<dt>'} | |||||||||||||||||||||||||
/DEF=val | /SIZ=no /ACC=dbaccess /COM=comments /PAR=no" | |||||||||||||||||||||||||
with |
|
0 | OK |
---|---|
Else | Error |
int xatt_qry_cls | ( | ) |
userexit iwf_exi_edt(F) is replaced by xatt_qry_cls in the pre-mask userexit xatt_prm.
The usrexit parameter is passed from pre-mask userexit xatt_prm.
param | Parameter for the userexit, syntax like: maskName (optional)( /SUB opens list EDB-GRP-ent-SUB-RLI where ent is the short entity name (e.g. EDB-GRP-ART-SUB-RLI for items entity EDB-ARTICLE) /SUB /ABSTR_MASK=maskname opens the specified list /SUB /SUBLIS opens the folder EDB-GRP-ent-SUB-RLIC /SUB /ABSTR_SUBLIS=maskname opens the spefifed folder |
0 | Ok. |
---|---|
1 | Error |
@see xatt_prm
int xchg_cfg_check | ( | const char * | param, |
const char * | ignore | ||
) |
Checks whether the combination entity1/entity2/view is controlled by the Change Management. The menu userexit to check whether the combination entity1/entity2/view is controlled by the Change Management configuration.
context | Context of the userexit | ||||||||||||
param | Parameter with syntax like: /EN1=<entity1> [/EN2=<entity2> /VIEW=<view>]
|
0 | Combination is NOT controlled by the Change Management |
1 | Combination IS controlled by the Change Management |
int xchg_opr_get_val | ( | const char * | param, |
const char * | ignore | ||
) |
LogiView userexit to read from the change operation LUT cache.
context | Action userexit context |
param | LogiView parameter string consisting of:
|
0 | OK |
---|---|
Else | Error |
NoSuchElementException | Invalid ID |
NoSuchFieldException | Attribute not found |
int xcnf_cps_elm_sol_edt | ( | const char * | param, |
const char * | ignore | ||
) |
Select-Menu userexit for product structure element.
param | Standard userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xdfv_wri_def_val | ( | const char * | param, |
const char * | ignore | ||
) |
Button or menu userexit for setup form to write defaults to the database. The modified values of all defaults are read from the widget buffer and written into the database and memory. If no parameter is passed the current user is used.
ctx | Menu userexit context. | ||||||
param | Parameter to control the behavior of this userexit. Syntax is: "[/GLOBAL|/USER=<userName>]" With possible arguments:
|
0 | OK |
1 | Error |
|
static |
Sets the viewer used to display an online help page.
This userexit may only be used from the LogiView procedure EP_HLP/GetViewer
, which is called when processing a call to hlp_cal_txt
.
It parses the option string and stores the values in an internal variable. This information is used to start the help viewer later in the process.
cpPar0 | option string with viewer settings. Syntax is: "/NAME=<name> /PATH=<path> /OPT='<options>' /IPC={CMD|DDE|NETSCAPE} /VIEW_MODE={ACT|NEW}" With possible arguments
| |||||||||||||||||||||||||
cpIgn | Reserved |
0 | OK |
---|
int xknl_itm_del_rel | ( | const char * | param, |
const char * | ignore | ||
) |
Menu userexit to remove a relationship between item master and a basic unit.
context | Context of the userexit |
param | Standard parameter (reserved) |
0 | OK |
---|---|
Else | Error |
int xord_cpy_ord | ( | ) |
Menu userexit to copy all data of an order.
cp_Parameter | Parameter to control the behavior of this function. Syntax is: "<relation> /OPN_USX=<usx> /PRM_USX=<usx>[(<param>)] /CALL=<usx>[(<param>)] /CLOSE=<usx>[(<param>)] [/ALL]" With possible arguments:
|
0 | OK |
---|---|
1 | Copy failed. |
see xedb_dup_ref xedb_tre_wlk
int xqry_del | ( | ) |
Menu userexit to delete a stored query or favorite in Favorites->Administrate form and additionally removes the correspondent browser records.
cp_Arguments | Userexit parameter, not used yet. |
0 | OK |
---|---|
Else | Error |
int xqry_exc | ( | ) |
Menu userexit to execute the query conditions in direct search or rank mode.
Chooses the adequate xqry-function for the given mode.
cp_Par | Parameter to control the behavior of this userexit - (Reserved). |
0 | OK |
---|---|
1 | Error |
int xrel_cnt_mul | ( | ) |
Counts the records in the multi list with the given attributes and writes the result into the message window.
1 | OK |
int xrel_del_ref | ( | ) |
Menu userexit to delete the relation for the elements in the given refine relation.
Using the option "/MODE=E" may be used to delete the related elements themselves. When deleting related elements, make sure they are not used anymore!
cp_par | Parameter to control the behavior of this userexit. Syntax like: "ENTITY2 VIEW [/MODE={R|E}]" |
With possible arguments
ENTITY2 | Entity 2 to open the refine list with iwf_lis_ref . | |
---|---|---|
VIEW | View to open the refine list with iwf_lis_ref . | |
MODE | R|E | Indicates if the master records of the related elements themselves are to be deleted (R = references only, E = elements). |
0 | OK |
2 | Error in call of xedb_del_tra_rel |
Else | Error code |
int xrel_exp | ( | ) |
Expands an entry of a multi list.
There are four expansion methods:
EXPAND
First you can expand only one level. Therefore, only the directly related records (for certain entities, see below) are inserted into the multi-list.
EXPAND_AND_DELETE
The system prompts if the starting element from the multi list has to be deleted (Y/N). This prompt only appears when the virtual mode is not set.
EXTRACT
Additionally you can define, to delete the starting element from the multi list.
Predefined relations can be used according to the main CADIM/EDB entities. These relations are:
Alternatively, another set of relations can be defined for any entity. For this purpose an entry in the configuration table T_CFG_DAT has to be created. The configuration id has to have the name:
(For example MUL_EXP_EDB-PROJECT). The configuration value consists of a comma separated list with the names of the related entities:
(For example EDB-ARTICLE, CUSTO_ENTITY VIEW2, EDB-DOCUMENT STR). If you do not set the name of the view of the relation, it is assumed to be STR.
You can mix these two possibilities, using the predefined values for all or most of the above CADIM/EDB entities and adding some entities with their relations in the configuration table.
cp_Parameter | Parameter to control the behavior of this userexit. Syntax like: "EXPAND|EXPAND_AND_DELETE|EXTRACT|RESOLVE" |
With possible arguments:
EXPAND | Expands all entities on the next level and leaves the starting element in the list. | |
---|---|---|
EXPAND_AND_DELETE | Expands all entities on the next level and confirms if the starting element in the list will be deleted. | |
EXTRACT | Expands all entities from the next level and deletes the starting element from the list. | |
RESOLVE | Expands all entites from all levels (Full-Tree Scan) and leaves the starting element in the list. |
0 | Ok |
1 | Error |
int xrel_lis_agg_mul | ( | ) |
Creates the aggregate list widget to the repeated reference.
cp_Name | Parameter to control the behavior of this userexit. Syntax like: "entityName" |
With possible arguments:
entityName | Name of the entity. |
---|
0 | Ok |
-1 | Field "C_ENTITY" not in aggregate mask |
else | Error from function iwf_lis_agg" |
int xrel_lis_ref_mul | ( | ) |
Creates mask widget to the references with the given view.
cp_Name | Parameter to control the behavior of this userexit. Syntax like: "maskName view [parentEntity parentCid]" |
With possible arguments:
maskName | Name of the mask to create. | |
---|---|---|
view | Name of the view to use. | |
parentEntity | Optional name of the parent entity. | |
parentCid | Optional C_ID of the parent element. |
0 | OK |
1 | No parameter |
2 | Cannot create mask |
int xrel_mul_cln | ( | ) |
Cleans up all double assigned entities of a multi-list.
Can be called from the NoSel-Menu of the multi-list.
0 | Ok |
1 | Error |
int xrel_upd_mul | ( | ) |
Searches with the given attributes and writes the record(s) in the mask.
0 | OK |
1 | Mul-Id not found in mask buffer |
2 | Parent entity not found |
-1 | Not all found records can be loaded |
int xver_upd_cur_flg | ( | ) |
Userexit for parallel versioning.
This userexit is used for setting the value for current flag for all elements which have the same index fields (e.g. the current element except for the fields defined with '/NO_KEY').
cpParameter | Parameter to control the behavior of this function. Syntax is: "value /TAB=table /ROW=row /NO_KEY=fields" With possible arguments:
|
0 | Ok. |
1 | Error |
int xwfl_editor_start | ( | ) |
Userexit to start the workflow editor on Unix or MS-Windows.
cpPar | Parameter to control the behavior of this userexit. Syntax like: "/MODE=external|console [PRC_ID=id] [/DBG]" With possible arguments:
|
0 | OK |
1 | Error |
int zag_get_rec | ( | ) |
Executes a search request for the passed field and search string.
To select the first field in the mask use "0" as field number (/FLD=0). If no field number is passed the first field in the mask is used.
cpPar | Parameter to control the behavior of this function. Syntax like: "Search-String [/FLD=<Number>] [/WCD=<Wildcards>] With possible arguments:
|
0 | Success |
---|---|
1 | Error |