P_pane_objtree
p_pane_objtree is a standard script that can be used to fill lists in a selection pane with content. This script gets data from the object values saved in Bizview and will also automatically add any object value authorizations that are defined for the logged in user.
This standard script does the following:
- Returns object values from the Bizview database
- Adds any existing user and/or organization object value authorization to the data set
- Reads existing object trees in order to manage dependent list boxes
When selecting the script in Pane Designer, the following parameters can be defined:
Parameter | Description |
---|---|
@client_id | The logged in client is automatically sent into the pane. |
@user_id | The logged in user is automatically sent into the pane. |
@template_type | The template type of the generated form (i.e. FORM/REPORT) is automatically sent into the pane. |
@structure_attrib_id |
Add parent attribute of the child object, which will enable the drop down list for a defined Parent Child structure Example: @child_obj is UNIT ,which has parent attribute ORGPC then @structure_attrib_id value will be ORGPC |
@child_obj | Mandatory input parameter. Select which object values should be shown in the list. |
@child_objval | Optional parameter. Enter a value filter. For example, only ITEMs starting with 1 should be visible in the list (1*). Leave blank if all values should be shown. |
@parent_obj |
Optional parameter. Select a parent object from the list if this list box should be dependent on another list box in the pane. Note: In order for the dependency to work it is crucial that an object tree for ITEMGRP:ITEM has been defined in Bizview (if p_pane_objlist is used). |
@parent_objval | Optional parameter. Specify from which list box the ITEMGRP value should be fetched. |
@objver_id | Optional parameter, Enter the value of object version to filter the list, if it is empty, it sets the value to 'BASE' |
@version_id | It is the object version id. |