Functions | |
| int | nsv_get_num () |
| LogiView userexit for calling the number server. | |
| static int | xjcl_lgv_map_men () |
| This userexit opens the specified menu on the client and returns the selected row. | |
| int | xpdw_lgv_ins_ref (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_obj_vie (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_rel_off (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_rel_on (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_vie_hard_on (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_vie_hard_out (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_vie_off (const char *param, const char *ignore) |
| | |
| int | xpdw_lgv_vie_on (const char *param, const char *ignore) |
| | |
| int | xpvm_cal_vie (const char *param, const char *ignore) |
| | |
| int | xpvm_cre_dat (const char *param, const char *ignore) |
| | |
| int | xutil_call_ws (char *param, const char *ignore) |
| | |
| int | xutil_fld_get_ttl (const char *param, const char *ignore) |
| | |
| int | xutil_fld_ord (const char *param, const char *ignore) |
| | |
| int | xutil_fld_size (const char *param, const char *ignore) |
| | |
| int | xutil_fld_ttl_pos (const char *param, const char *ignore) |
| | |
| int | xutil_fld_ttl_size (const char *param, const char *ignore) |
| | |
| int | xutil_fld_ttl_vid_attr (const char *param, const char *ignore) |
| | |
| int | xutil_fld_typ (const char *param, const char *ignore) |
| | |
| int | xutil_fld_vid_attr (const char *param, const char *ignore) |
| | |
| int | xutil_mas_get_info (const char *param, const char *ignore) |
| | |
| int | xutil_mas_get_ttl (const char *param, const char *ignore) |
| | |
| int | xutil_mas_max_rec (const char *param, const char *ignore) |
| | |
| int | xutil_mas_num_sig_fld (const char *param, const char *ignore) |
| | |
| int | xutil_mas_pos (const char *param, const char *ignore) |
| | |
| int | xutil_mas_scl_bhv (const char *param, const char *ignore) |
| | |
| int | xutil_mas_size (const char *param, const char *ignore) |
| | |
| int nsv_get_num | ( | ) |
LogiView userexit for calling the number server.
This userexit generates a new number for the given number circle.
| cp_Parameter | Parameter to control the behavior of this userexit. Syntax is: CIRLCE_NAME,STR_NUM With following arguments:
|
| 0 | OK |
| 1 | Error |
|
static |
This userexit opens the specified menu on the client and returns the selected row.
| cpPar | string containing these LogiView parameters:
|
| cpIgn | ignored |
| int xpdw_lgv_ins_ref | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Creates a new entry in the multi access rights view table to add a multi access rights view for an object.
| usxContext | The userexit context. | |||||||||||||||
| param | Parameter to control the behavior of this userexit. Syntax is: "principalCid objectCid objectTable iStatus iAktiv" With possible arguments:
|
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_obj_vie | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Checks if a specific object is visible in a specific project or organizational unit. This userexit can be used from a LogiView procedure to check if a specific object is visible in a specific project or organizational unit. Only the direct VIE views are used, the project inheritance is not taken into count.
| usxContext | The userexit context. | ||||||||||||
| param | Parameter to control the behavior of this userexit. Syntax is: "principalCid objectCid pdwTable isVisible" With possible arguments:
|
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_rel_off | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Sets the default parameter RELATIONLOCK to OFF.
| usxContext | The userexit context. |
| param | Reserved. |
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_rel_on | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Sets the default parameter RELATIONLOCK to ON.
| usxContext | The userexit context. |
| param | Reserved. |
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_vie_hard_on | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Reactivates the multi access rights views. Unlike xpdw_lgv_vie_on, this userexit simply enables the multi access rights views, no matter if they have been disabled more than once with xpdw_lgv_vie_off.
xpdw_lgv_vie_hard_out!| usxContext | The userexit context. |
| param | Reserved. |
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_vie_hard_out | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Disables the multi access rights views. Unlike xpdw_lgv_vie_off, this userexit directly disables the multi access rights views, no matter if they have been enabled more than once with xpdw_lgv_vie_on.
xpdw_lgv_vie_hard_on.| usxContext | The userexit context. |
| param | Reserved. |
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_vie_off | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Sets the global multi access view. This userexit can be called from LogiView to disable the multi access rights views so that all objects are visible. Unlike xpdw_lgv_vie_hard_out, this userexit has to be called together with xpdw_lgv_vie_on.
xpdw_lgv_vie_on.| usxContext | The userexit context. |
| param | Reserved. |
| 0 | OK |
|---|---|
| 1 | Error |
| int xpdw_lgv_vie_on | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Reactivates the multi access rights views. This userexit can be called from LogiView to reactivate the multi access rights views when they have been disabled before. Unlike xpdw_lgv_vie_hard_on, this userexit has to be called together with xpdw_lgv_vie_off and reactivates the multi access rights views only if the top call level has been reached.
xpdw_lgv_vie_off.| usxContext | The userexit context. |
| param | Reserved. |
| 0 | OK |
|---|---|
| 1 | Error |
| int xpvm_cal_vie | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Calls the viewer. The viewer uses the data stored in table T_PVM_FIL_DAT which was filled by xpvm_cre_dat.
| usxContext | The userexit context. | ||||||||||||||||||||||||||||||||||||
| param | Parameter to control the behavior of this function. Syntax is: "ViewMode, FileCid, ViewId, DocId, GuiFile, EciTicket, Content, ResultErrcode
|
| 0 | OK |
|---|---|
| 1 | Data could not processed. |
public logiview
| int xpvm_cre_dat | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Collects and prepares the data needed by the viewer. The data is stored in table T_PVM_FIL_DAT.
| usxContext | The userexit context. | ||||||||||||||||||||||||
| param | Parameter to control the behavior of this function. Syntax is: "AppCmd, ViewMode, FileCid, DocCid, ResultViewId"
|
| 0 | OK |
|---|---|
| -1 | Data could not processed. |
| 1 | Not all files local available |
public logiview
| int xutil_call_ws | ( | char * | param, |
| const char * | ignore | ||
| ) |
LogiView userexit that calls a web service.
| context | Userexit context | |||||||||||||||
| param | LogiView parameter that is divided into the following arguments.
|
| 0 | OK |
|---|---|
| Else | Error |
-usx
| int xutil_fld_get_ttl | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_get_ttl to get the field title in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-Title, [Title-Language] |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-Title | The field title as returned value | String |
| Title-Language | The title language shortcut as optional parameter (ENG, GER, FRA, JAP, etc) | String |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_ord | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_ord to get the field order in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-Order |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-Order | The field order as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_size | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_size to get the field size in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-length, Field-Result-width, Field-Result-Virtual-Width |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-length | The visable field length as returned value | Integer |
| Field-Result-width | The visable field width as returned value | Integer |
| Field-Result-Virtual-Width | The virtual field width as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_ttl_pos | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_ttl_pos to get the position of field title in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-Col, Field-Result-Row |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-Col | The column of field title as returned value | Integer |
| Field-Result-Row | The row of field title as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_ttl_size | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_ttl_size to get the size of field title in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-length, Field-Result-width |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-length | The length of field title as returned value | Integer |
| Field-Result-width | The width of field title as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_ttl_vid_attr | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_ttl_vid_attr to get the video attribute of field title in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-Title-Video |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-Title-Video | The video attribute of field title as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_typ | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_typ to get the field type.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-Type |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-Type | The field type as returned value | String |
| 0 | OK |
| 1 | Failed |
| int xutil_fld_vid_attr | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_fld_vid_attr to get the video attribute of field in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Field-Name, Field-Result-Video |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Field-Name | The field name | String |
| Field-Result-Video | The video attribute of field as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_get_info | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_get_info to get the mask information.
The following tables show the fields of returned widgets according to the mask and fields information. C_PRX_MASK_TITLE_<LNG> and C_PRX_FIELD_TITLE_<LNG> are multi language fields. All languages, which defined in "LANGUAGE_DEFAULT" for the current user, will be considered.EDB-PRX-MASK-INFO
| EDB-PRX-MASK-INFO | T_MASK |
|---|---|
| C_PRX_MASK_NAME | T_MASK.C_NAME |
| C_PRX_MASK_TITLE_<LNG> | T_MASK.C_TITLE_<LNG> |
| C_PRX_MASK_POS_COL | T_MASK.C_COL |
| C_PRX_MASK_POS_ROW | T_MASK.C_ROW |
| C_PRX_MASK_SCR_BEH | T_MASK.C_VER_BAR |
| C_PRX_MASK_MAX_RECORD | T_MASK.C_MAXREC |
| C_PRX_MASK_SIG_FLD | T_MASK.C_SIGNUM |
| C_PRX_MASK_SIZ_X | T_MASK.C_WID |
| C_PRX_MASK_SIZ_Y | T_MASK.C_LEN |
| EDB-PRX-FIELDS-INFO | T_FIELD;T_MAS_FLD |
|---|---|
| C_PRX_FIELD_NAME | T_FIELD.C_NAME |
| C_PRX_FIELD_TITLE_<LNG> | T_MAS_FLD.C_TITLE_<LNG>, T_FIELD.C_TITLE_<LNG> |
| C_PRX_FIELD_TLT_POS_COL | T_MAS_FLD.C_COL_TIT |
| C_PRX_FIELD_TLT_POS_ROW | T_MAS_FLD.C_ROW_TIT |
| C_PRX_FIELD_TLT_SIZ_X | T_MAS_FLD.C_WID_TIT |
| C_PRX_FIELD_TLT_SIZ_Y | T_MAS_FLD.C_LEN_TIT |
| C_PRX_FIELD_TLT_VID_ATTR | T_MAS_FLD.C_VID_TIT |
| C_PRX_FIELD_ORD | T_MAS_FLD.C_SORT |
| C_PRX_FIELD_SIZ_X | T_MAS_FLD.C_WID_VIS |
| C_PRX_FIELD_SIZ_Y | T_MAS_FLD.C_LEN_VIS |
| C_PRX_FIELD_VIR_WID | T_MAS_FLD.C_WID_VIR |
| C_PRX_FIELD_TYP | T_FIELD.C_TYPE |
| C_PRX_FIELD_VID_ATTR | T_FIELD.C_VIDEO |
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Result-ID, Field-Result-ID |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Result-ID | The ID of EDB-PRX-MASK-INFO as returned value | Integer |
| Field-Result-ID | The ID of EDB-PRX-FIELDS-INFO as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_get_ttl | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_get_ttl to get the mask title in specified language.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Title [, Title-Language] |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Title | The mask title as returned value | String |
| Title-Language | The title language shortcut as optional parameter (ENG, GER, FRA, JAP, etc.) | String |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_max_rec | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_max_rec to get the records limit of a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Result-Limit |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Result-Limit | The records limit of a mask as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_num_sig_fld | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_num_sig_fld to get the count of signed fields in a mask.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Result-Signed |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Result-Signed | The count of signed fields in a mask as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_pos | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_pos to get mask size.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Result-Column, Mask-Result-Row |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Result-Column | The column of mask position as returned value | Integer |
| Mask-Result-Row | The row of mask position as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_scl_bhv | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_scl_bhv to get the mask scroll behaviour.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Result-Scroll |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Result-Scroll | The mask scroll behaviour as returned value | Integer |
| 0 | OK |
| 1 | Failed |
| int xutil_mas_size | ( | const char * | param, |
| const char * | ignore | ||
| ) |
Userexit xutil_mas_size to get mask size.
| ctx | The userexit context. |
| param | Syntax like: WidgetID, Mask-Result-Width, Mask-Result-Length |
| Parameter | Description | Type |
|---|---|---|
| WidgetID | The ID of the widget to examine | Integer |
| Mask-Result-Width | The mask width as returned value | Integer |
| Mask-Result-Length | The mask length as returned value | Integer |
| 0 | OK |
| 1 | Failed |