4.7.3.1.2.  Preferred series - plinkgroups.cfg -> Block [Role_name] -> Key "PREFRANGE"

[Note]Note

Preferred series [Preferred ranges] is roll-dependent and must therefore be defined separately for each roll.

Function: Preferred rows can be activated and deactivated using the Preferred rows on/off button to activate and deactivate them. If the function is activated, all table rows (characteristics) that do not meet the set condition are hidden.

Setting via configuration file $CADENAS_SETUP/plinkgroups.cfg:

Example:

[Note]Note

Please use Fortran syntax for this setting.

[Role_name]
PREFRANGE=(ERP_PDM_NUMBER.NE.'')

Meaning: The ERP number is not empty, i.e. it exists.

Setting via user interface under PARTadmin -> Category Roles -> General tab -> Preferred series [Preferred ranges]

-> Effect in PARTdataManager or 3Dfindit Enterprise

Preferred series off, all rows are displayed: Rows without an ERP number do not correspond to the preferred series condition and are therefore hidden when activated. See next illustration.

Preferred series off, all rows are displayed: Rows without an ERP number do not correspond to the preferred series condition and are therefore hidden when activated. See next illustration.

"Preferred rows on" - Rows without ERP number are not visible

"Preferred rows on" - Rows without ERP number are not visible

More examples:

  • Standard entry

    PREFRANGE=(ERP_PDM_NUMBER.NE.'')

    Only those datasets are displayed which have an ERP number.

  • 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 data records whose current status [Active status] is 1 are displayed. ('1' stands for " Released ")

  • PREFRANGE=REQUESTED_STATE.EQ.2 

    Only data records whose Requested status is 2 are displayed. ('2' stands for " Expired ")

  • ACTIVE_STATE.EQ.1).AND.(BLNNR.NE.'')

    Only data records whose current status [Active status] is 1 (='released') and which also contain an entry in the "BLNNR" column are displayed.

  • 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 data records whose ERP number contains the substring 'AA' are displayed.

  • (CONTAINS(ERP_PDM_NUMBER,'AA').EQ..FALSE.)

    Only those datasets are displayed whose ERP number does not contain the substring 'AA'.

[Tip]Tip

As a rule, it makes sense to set the condition for the preferred series [Preferred ranges] and the display condition for part selection [Display condition for parts selection] in the same direction.

Example: Preferred series [Preferred ranges] and display condition for part selection [Display condition for parts selection] are both based on the existence of an ERP number.

Example: Preferred series [Preferred ranges] and display condition for part selection [Display condition for parts selection] are both based on the existence of an ERP number.

[Note]Note

The effect is similar to viewing condition for table rows [Viewing condition for table rows], but here, in contrast, it is not restrictive. The function can be switched off by the user. Compare Section 4.7.3.1.4, “ Display condition for table rows - plinkgroups.cfg -> Block [Role_name] -> Key "TABRESTRICTION" ”