Functions | |
static int | dos_cch_skp_fld () |
Calls the DataView userexit cch_skp_fld only in insert or update mode. | |
int | tol_pre_fld () |
Pre-field userexit to calculate fields of the current mask. | |
int | xartst_pre_art_fld () |
Pre-field userexit for item master field in the structure list. | |
int | xartst_pre_pid_fld () |
Pre-field userexit for the project key field PART_ID in the item structure list. | |
int | xcls_chk_set_prf (const char *param, const char *ignore) |
| |
int | xcls_set_acc_fld (const char *param, const char *ignore) |
| |
int | xcnf_ord_cmp_prf (const char *param, const char *ignore) |
| |
int | xcnf_ord_edb_prd_dat_prf (const char *param, const char *ignore) |
| |
int | xcnf_ord_fam_id_prf (const char *param, const char *ignore) |
| |
int | xcnf_ord_mod_id_prf (const char *param, const char *ignore) |
| |
int | xcnf_ord_org_code_prf (const char *param, const char *ignore) |
| |
int | xcnf_ord_spc_set_vie_prf (const char *param, const char *ignore) |
| |
int | xcnf_ord_var_id_prf (const char *param, const char *ignore) |
| |
int | xcnf_spc_var_fin_prf (const char *param, const char *ignore) |
| |
int | xcnf_var_spc_fin_prf (const char *param, const char *ignore) |
| |
int | xcpa_step_int_id_prf (const char *param, const char *ignore) |
| |
int | xcps_alt_grp_prf (const char *param, const char *ignore) |
| |
int | xcps_cmp_fnc_prf (const char *param, const char *ignore) |
| |
int | xcps_elm_fnc_prf (const char *param, const char *ignore) |
| |
int | xcps_fld_nam_prf (const char *param, const char *ignore) |
| |
int | xcps_prl_set_cat_prf (const char *param, const char *ignore) |
| |
int | xcps_sol_ctx_prf (const char *param, const char *ignore) |
| |
int | xcps_vrf_apl_prf (const char *param, const char *ignore) |
| |
int | xdir_dts_sel_fil () |
Opens directory manager with passed path. | |
int | xdocst_pre_did_fld () |
Pre-field userexit for the document key field (DOCUMENT_ID ) in the document structure list. | |
int | xdocst_pre_doc_fld () |
Pre-field userexit for document master field in the structure list. | |
int | xedb_cch_fld_ins () |
Pre-field userexit. | |
int | xknl_bom_set_uni_buf (const char *param, const char *ignore) |
| |
int | xknl_itm_grp_uni_men (const char *param, const char *ignore) |
| |
int | xknl_itm_uni_con_men (const char *param, const char *ignore) |
| |
int | xknl_itm_uni_men (const char *param, const char *ignore) |
| |
int | xknl_itr_uni_men (const char *param, const char *ignore) |
| |
int | xpac_mul_pre_fld () |
Pre-Field-Trigger to insert into the multi list. | |
int | xprost_pre_pid_fld () |
Pre-field userexit for the project key field PROJ_ID in the project structure list. | |
int | xprost_pre_pro_fld () |
Pre-field userexit for project master field in the structure list. | |
int | xstate_cre_lev_men (const char *param, const char *ignore) |
| |
int | xstate_cre_uni_men (const char *param, const char *ignore) |
| |
int | xstr_pre_chk_fld (const char *param, const char *ignore) |
| |
int | xtxt_fin_prf (const char *param, const char *ignore) |
| |
int | xtxt_ins_pli_prf (const char *param, const char *ignore) |
| |
int | xtxt_pli_acc_prf (const char *param, const char *ignore) |
| |
int | xtxt_prf_set_chk_fld (const char *param, const char *ignore) |
| |
int | xtxt_set_fld_acc_prf (const char *param, const char *ignore) |
| |
int | xtxt_tpl_roa_prf (const char *param, const char *ignore) |
| |
int | xutil_acc_fld (const char *param, const char *ignore) |
| |
int | xutil_ent_vie_men_prf (const char *param, const char *ignore) |
| |
int | zag_fld_cch_fld_ins () |
Pre-field userexit which sets the entered field to WRITE-MUST mode for insert operations. | |
int | zag_mas_fld_fat_cpy () |
Copies value of parent widget field in current field. |
static int dos_cch_skp_fld | ( | ) | [static] |
Calls the DataView userexit cch_skp_fld
only in insert or update mode.
This userexit skips the current field if the mask is in insert or update mode, whereas cch_skp_fld
ignores the mask mode and always skips the field when the tabulator key is used to navigate through the mask fields.
cpPar | Reserved |
cpIgn | Reserved |
0 | OK |
---|
int tol_pre_fld | ( | ) |
Pre-field userexit to calculate fields of the current mask.
0 | OK |
---|---|
Else | Error |
This userexit might be used to realize functions similar to that of a simple spread sheet system.
int xartst_pre_art_fld | ( | ) |
Pre-field userexit for item master field in the structure list.
Sets the field access of the current field to 'm'andatory if field PART_ID in the structure list is empty and work mode is 'I'nsert. Else field access to current field is set to 'r'ead.
0 | OK |
---|---|
1 | No field is active |
int xartst_pre_pid_fld | ( | ) |
Pre-field userexit for the project key field PART_ID
in the item structure list.
The field access for the field PART_ID
is set, depending on the current work mode:
0 | OK |
---|---|
1 | No field is active |
int xcls_chk_set_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for attribute set field (T_ATT_SET_DAT.SET_ID) in class attributes mask.
Checks if an attribute is already assigned before a set is assigned to the class.
cpArguments | Reserved userexit parameter, not used yet. |
0 | Success | Else | Error |
---|
int xcls_set_acc_fld | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for class entity type field (T_GROUP_DAT.ENTNAM) in class form.
Enables updating the class entity if the class allows it. Checks in update mode if the superclass has no subclasses, superclasses, assigned objects (e.g. items in the classification list) or product components. If there are no entries, then the field access is set to 'w'rite, otherwise the field access is set to 'r'ead.
context | Pre-field userexit context |
Reserved | parameter, not used yet |
0 | Success | Else | Error |
---|
int xcnf_ord_cmp_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for field V_CPS_CMP_ELM.EDB_NAME in configuration order widgets.
The userexit creates a field select menu for assigning a valid module.
param | Standard parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcnf_ord_edb_prd_dat_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for order field T_ORD_DAT.EDB_PROD_DATE in configuration order widgets.
This userexit is used on the field T_ORD_DAT.EDB_PROD_DATE to set the access of the field to read only when the version view production is not set.
param | Pre-field userexit parameter, (reserved) |
0 | OK |
---|---|
1 | Error |
int xcnf_ord_fam_id_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for field V_CNF_GRP_VAR.EDB_FAMILY_ID in configuration order widgets.
This userexit is used on the field V_CNF_GRP_VAR.EDB_FAMILY_ID to call the function xlut_set_men_prf(). The parameter /QueryMask and /Columns (for a description please refer to the xlut function) could be set, the default value is: /Columns=EDB_FAMILY_ID,EDB_ORG_CODE /QueryMask default mask of entity EDB-PRODUCT-FAMILY
param | Parameter to control the behavior of this function. Syntax is: "param /Columns=<column list> /QueryMask=<mask name>" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xcnf_ord_mod_id_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for order field V_CNF_VAR_MOD.EDB_MODEL_ID in configuration order widgets.
This userexit is used on the field V_CNF_VAR_MOD.EDB_MODEL_ID to call the function xlut_set_men_prf(). The parameter /QueryMask and /Columns (for a description please refer to the xlut function) can be set, the default is: /Columns==EDB_MODEL_ID,EDB_ORG_CODE /QueryMask default mask of entity EDB-CNF-FAM-VAR-MOD
param | Parameter to control the behavior of this function. Syntax is: "param /Columns=<column list> /QueryMask=<mask name>" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xcnf_ord_org_code_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for field V_CNF_GRP_VAR.EDB_ORG_CODE in configuration order widgets.
This userexit is used on the field V_CNF_GRP_VAR.EDB_ORG_CODE to call the function xlut_set_men_prf(). The parameter /QueryMask and /Columns (description see at the xlut function) can be set. When nothing is set the default is: /Columns=STEP_INT_ID,S_COMPANY /QueryMask=EDB-CPA-ORG-SLI
param | Parameter to control the behavior of this function. Syntax is: "param /Columns=<column list> /QueryMask=<mask name>" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xcnf_ord_spc_set_vie_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Post-Mask userexit for the family module selector.
param | Standard userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcnf_ord_var_id_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for order field V_CNF_GRP_VAR.EDB_VARIANT_ID in configuration order widgets.
This userexit is used on the field V_CNF_GRP_VAR.EDB_VARIANT_ID to call the function xlut_set_men_prf(). The parameter /QueryMask and /Columns (for a description please refer to the xlut function) can be set. When nothing is, the default is: /Columns==EDB_VARIANT_ID,EDB_ORG_CODE /QueryMask default mask of entity EDB-PRODUCT-VARIANT
param | Parameter to control the behavior of this function. Syntax is: "param /Columns=<column list> /QueryMask=<mask name>" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xcnf_spc_var_fin_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for specification product variant select widgets.
param | Standard userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcnf_var_spc_fin_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for product var specification select widget.
param | Standard userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcpa_step_int_id_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for field T_ORG_DAT.STEP_INT_ID.
This Pre-field userexit can only be called on the field T_ORG_DAT.STEP_INT_ID for Cooperation Partners widgets otherwise you get an error message. This userexit checks if a reference exists with the current field value. When a reference exists the field access will be set to read only. When no reference exists and anybody makes a reference during the update of this record this will be checked in the Pre-action userexit xcpa_pra().
'U'pdate | Checks if the current value of the cooperation partner code (T_ORG_DAT.STEP_INT_ID) already exists in the database. |
---|
param | Additional argument string (reserved). |
0 | OK |
---|---|
1 | No constraint found. |
2 | Record with value already exist. |
3 | Cannot read field value. |
4 | Wrong Post-field userexit on current field. |
int xcps_alt_grp_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for product field in variant mask (modular BOM solutions).
Creates product variant field menu. The variant informations are cached for performance.
context | Field userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_cmp_fnc_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit to switch the select widget for the selection of product components.
There are two lists: One shows all components (EDB-CPS-CMP-N-SLI) and the other shows only those components which have a specific function (EDB-CPS-CMP-FNC-SLI). The userexit switches the select widget to select a product component for a structure position between a widget which displays all product components and a widget which displays only those product components which have the preselected function.
context | Field userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_elm_fnc_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit to create the select menu for product structure element.
Creates the function-select-menu for a product structure element. In the menu all functions are listed which are assigned to the selected product component.
Internally xlut_set_men_prf is called.
By default the menu contains values of T_CPS_FNC_DAT.EDB_NAME. You can use other columns of T_CPS_FNC_DAT using parameter "/Columns".
context | Field userexit context | |||
param | Parameter to control the behavior of this function. Syntax like: "[/Columns=Column[,Column]*]" With possible arguments:
|
0 | Ok |
---|---|
EDB_CPS_INTERNAL | No widget |
EDB_CPS_NO_ACT_ROW | No current row |
int xcps_fld_nam_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for filter attributes field in filter sublist.
Creates a menu for the field T_CPS_FLT_DAT.EDB_ATT_REF in the filter sublist of the "Module" form. The menu contains all visible item field names and the attribute field names from the classification assigned to the product component.
context | Field userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_prl_set_cat_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for parallel structure widgets for T_TXT_TPL_DAT.EDB_TPL_ID.
If T_CPS_PRL_DAT.EDB_VIEW is empty then the user is asked to first select the view and then set widgetbuffer for key "CATEGORY" to "##" and the field access of the current field to 'r'. If T_CPS_PRL_DAT.EDB_VIEW has a value set, then set the field access of the current field to 'w' and put the value of T_CPS_VIE_LUT.EDB_KEY as value in widgetbuffer for key "CATEGORY".
context | Field userexit context |
param | Reserved |
0 | OK |
---|
int xcps_sol_ctx_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for solution masks.
Stores the solution context information into the object buffer of the widget. The buffer object is not accessible from LogiView or C!
context | Field userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_vrf_apl_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for item widgets.
Sets the field access for field T_MASTER_DAT.CPS_APPLY_CPS (Verify flag). The verify structure flag value can be changed if the value is false or if it is true and no product component is verified yet.
context | Field userexit context |
param | Reserved |
0 | Ok |
---|---|
Else | Error |
int xdir_dts_sel_fil | ( | ) |
Opens directory manager with passed path.
User may choose a file (or cancel this function). Name (and path) of selected file will be inserted into the passed field(s).
cp_par | Parameter to control the behavior of this function. Syntax like: "dirArg fldName [pathName]" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
// working example (Line in LGV procedure) RC = @xdir_dts_sel_fil("/tmp EDB-CENTRAL EDB-DIR-SLI", "T_DOC_DRW.FIL_NAM") // In this case the complete file name (including the path!) // will be inserted into the field "T_DOC_DRW.FIL_NAM". // If a third string is passed (e.g. "T_DOC_DRW.PATH") the // path will be inserted into this field, the filename itself // (without path!) into "T_DOC_DRW.FIL_NAM".
int xdocst_pre_did_fld | ( | ) |
Pre-field userexit for the document key field (DOCUMENT_ID
) in the document structure list.
0 | OK |
---|---|
1 | No active field |
int xdocst_pre_doc_fld | ( | ) |
Pre-field userexit for document master field in the structure list.
Sets the field access of the current field to 'm'andatory if field DOCUMENT_ID in the structure list is empty and work mode is 'I'nsert. Else field access to current field is set to 'r'ead.
0 | OK |
---|---|
1 | No field is active |
int xedb_cch_fld_ins | ( | ) |
Pre-field userexit.
0 | OK |
---|
int xknl_bom_set_uni_buf | ( | const char * | param, |
const char * | ignore | ||
) |
Stores the current unit value (EDB_UNIT field) into the field buffer of the QUANTITY field.
context | Field userexit context. |
param | Reserved parameter for the pre-field userexit. |
0 | Ok. |
---|---|
otherwise | Error |
int xknl_itm_grp_uni_men | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Field userexit to show a menu, which contains all units assigned to the item master.
context | Context of the userexit |
param | Standard parameter with working mode and current row |
0 | OK |
---|---|
1 | Error |
int xknl_itm_uni_con_men | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Field userexit to show basic units menu concerning an item master restricted by the not already assigned units.
context | Context of the userexit |
param | Standard parameter with working mode and current row |
0 | OK |
---|---|
1 | Error |
int xknl_itm_uni_men | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Field userexit to show the basic units menu containing all existing units.
context | Context of the userexit |
param | Standard parameter with working mode and current row |
0 | OK |
---|---|
1 | Error |
int xknl_itr_uni_men | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Field userexit to show a menu, which contains all units assigned to the related item master.
If there is no Item-Master related (create a new Item-Revision), then all existing units can be selected.
context | Context of the userexit |
param | Standard parameter with working mode and current row |
0 | OK |
---|---|
Else | Error (in pre field userexit of current field (if exist.)) |
int xpac_mul_pre_fld | ( | ) |
Pre-Field-Trigger to insert into the multi list.
Calls the userexit tools to select a record.
0 | OK |
---|---|
1 | Error |
int xprost_pre_pid_fld | ( | ) |
Pre-field userexit for the project key field PROJ_ID
in the project structure list.
The field access for the field PROJ_ID
is set, depending on the current work mode:
0 | OK |
---|---|
1 | No field is active |
int xprost_pre_pro_fld | ( | ) |
Pre-field userexit for project master field in the structure list.
Sets the field access of the current field to 'm'andatory if field PROJ_ID in the structure list is empty and work mode is 'I'nsert. Else field access to current field is set to 'r'ead.
0 | OK |
---|---|
1 | No field is active |
int xstate_cre_lev_men | ( | const char * | param, |
const char * | ignore | ||
) |
Creates a menu containing possible progress indicators.
This menu contains all progress indicators which are valid for the currently selected lifecycle and the operation which is executed (create or versionize). If the initial progress indicators are defined for the currently selected lifecycle and the operation, those will be used. Otherwise all progress indicators of the life cycle are added to the menu.
xstate_set_lev_men
must be attached to the mask as edit-action userexit.usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
Else | Error occurred. |
int xstate_cre_uni_men | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for T_MASTER_STR.EDB_UNIT.
Shows specific units for the BOM-Position.
context | Field userexit context. |
param | Reserved parameter for the pre-field userexit. |
0 | Ok. |
---|---|
Else | Error |
int xstr_pre_chk_fld | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit for the field '[tablename].CHK_NAME' on relation records.
Dependent on the state the access to the current field is set:
usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
Else | Error occurred. |
int xtxt_fin_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field to store the category, constraint-field, text-field and field-value in the buffer.
ctx | Context of the userexit | |||||||||
param | Parameter to control the behavior of this function. Syntax is: "/CATEGORY=<cat1 | cat2 | cat3 ...> /ID=<contstraint field> /TEXT=<text field>" With possible arguments:
|
0 | OK |
---|---|
Else | Error |
int xtxt_ins_pli_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Sets the category filter that should be used.
cpArguments | Parameter to control the behavior of this function. Syntax is: "[/CATEGORY=[cat1][ | cat2]*]" With possible arguments:
|
0 | OK |
---|---|
Else | Error |
int xtxt_pli_acc_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Post-field userexit which sets the field access of T_TXT_DUM_PLH.EDB_TXT_PLH_[x].
Sets the field acces of the current field to read only, if the current field is multi-lingual, and the current field is not the field of the current language, and the entry-type of the field is I(nteger), or F(loat), or L(ogical)
ctx | The post-action uerexit context. |
param | The userexit parameters. Parameter to control the behaviour of this function. Syntax like: "[/FIELDID=x]" x defines the constraint-(id) of the fields |
0 | OK |
---|---|
Else | Error |
int xtxt_prf_set_chk_fld | ( | const char * | param, |
const char * | ignore | ||
) |
Set the check string for current field.
Software GmbH
cpParameter | |
cpArguments | not used |
0 | OK |
---|---|
Else | Error |
int xtxt_set_fld_acc_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit to check if a template reference is assigned to that record.
cpParameter | Standard parameter with working mode and current row. | ||||||
cpArguments | Parameter to control the behavior of this function. Syntax is: "<arg> /REF=<ref>" With possible arguments:
|
0 | OK |
---|---|
Else | Error |
int xtxt_tpl_roa_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Sets the active field to read-only.
cpParameter | Standard parameter defining working mode and current row. |
cpArguments | Parameter to control the behavior of this function. Not currently used. |
0 | always OK |
---|
int xutil_acc_fld | ( | const char * | param, |
const char * | ignore | ||
) |
Sets access for any mask field.
context | Userexit context | ||||||
cpParameter | Parameter to control the behavior of this function. Syntax like: "[m|w|r] " With possible arguments:
|
0 | Success |
---|---|
Else | Error |
int xutil_ent_vie_men_prf | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-field userexit, creates entity2, view or type field menu in a relation mask.
If the entity1 field is filled and "/EN2_FLD" parameter is NOT given, then the entity 2 menu is created with all possible entity2 names for the entity1 and view.
Pre-field userexit for view field to create a view menu: : If entity1 and entity2 field are filled and "/EN2_FLD" parameter is given, then the view field menu is created.
Pre-field userexit for view field to create a type menu: If entity1 is filled and entity2 field is empty but "/EN2_FLD" parameter is given, then the view field menu is created.
context | Userexit context | ||||||||||
param | Parameter to control the behavior of this function. Syntax like: "/EN1_FLD=fieldname [/EN2_FLD=fieldname] /MENU=menuname" With possible arguments:
|
0 | Success |
---|---|
Else | Error |
int zag_fld_cch_fld_ins | ( | ) |
Pre-field userexit which sets the entered field to WRITE-MUST mode for insert operations.
This userexit is used together with cch_get_rec() when the associated field is write protected due to the denial of editing master fields in the relation list.
0 | OK |
---|
int zag_mas_fld_fat_cpy | ( | ) |
Copies value of parent widget field in current field.
cp_Par | Parameter to control the behavior of this function. Syntax like: "/FLD_SOUR_FAT=source_field /FLD_DEST=dest_field With possible arguments:
|
0 | OK |
---|---|
1 | Error |