Function: You can
activate/deactivate the display of preferred ranges via button Preferred rows on/off
. If the function is on, then all table rows
(characteristics) which do not meet the set condition are hidden.
Setting in configuration file $CADENAS_SETUP/plinkgroups.cfg:
[Role_name]
PREFRANGE=((ERP_PDM_NUMBER.NE.'').AND.(ACTIVE_STATE.EQ.1))
Meaning: The ERP number is not equal empty, in other words available AND the column ACTIVE_STATE has the value 1 (= released).
Setting in user interface under PARTadmin -> category Roles -> tabbed page General -> Preferred ranges
Preferred rows off: all rows are displayed. The rows 6 and 10 are not according to the preferred rows condition und so are hidden when activating the function. See next figure.
PREFRANGE=(ERP_PDM_NUMBER.NE.'')
PREFRANGE=PRICE.LT.0.4
Only those datasets are displayed whose price is equal or less than 0.4.
PREFRANGE=ACTIVE_STATE.EQ.1
Only those datasets are displayed whose Active status is equal 1 (‘1’ stands for „Released“.)
PREFRANGE=REQUESTED_STATE.EQ.2
Only those datasets are displayed whose Requested status is equal 2. (‚2’ stands for „Expired“.)
ACTIVE_STATE.EQ.1).AND.(BLNNR.NE.'')
Only those datasets are displayed whose Active status is equal 1 (='released') AND which have an entry in the column “BLNNR“.
PREFRANGE=((ERP_PDM_NUMBER.NE.'').AND.(PRICE.LT.4.0))
Only those datasets are displayed which have an ERP number AND a price equal or lower than 4.
(CONTAINS(ERP_PDM_NUMBER,'AA').EQ..TRUE.)
Only those datasets are displayed whose ERP number contains the substring 'AA'.
(CONTAINS(ERP_PDM_NUMBER,'AA').EQ..FALSE.)
Only those datasets are displayed whose ERP number does not contain the substring 'AA'.
![]() | Note |
|---|---|
The effect is comparable with Viewing condition for table rows but here in contrary, it is not restrictive. It cannot be switched off by the user. Compare Section 4.12.2.1.4, “ Viewing condition for table rows - plinkgroups.cfg -> Block [Role_name] -> Key "TABRESTRICTION" ” in PARTsolutions - Administration Manual. | |

![[Note]](https://webapi.partcommunity.com/service/help/latest/pages/cn/partsolutions_user/doc/images/note.png)



![[Tip]](https://webapi.partcommunity.com/service/help/latest/pages/cn/partsolutions_user/doc/images/tip.png)
