powered by CADENAS

Manual

Manual

5.9.2.5.4.2.  Status indicating bitmaps for table view (Status light)

PARTadmin -> Roles category -> Display index page -> Status indicating bitmaps for table view dialog

Copy the used bitmaps into the $CADENAS_SETUP/bitmaps directory.

Maximum bitmap size is 16 x 16 px.

You can assign as many conditions to status lights (colors and symbols) as you wish.

The function Bitmaps can also be used if no Export condition is used.

[Note] Note

Defining status bitmaps and the export condition (see General index page) are basically two different functions which can interact.

[Note] Note

The colors are prioritized. First (above) set colors have higher priority. This means: If several conditions are fulfilled at the same time, then that color is "winning", which in the list of conditions, is at the uppermost position.

You can change the position of a line in the following way: Select the desired line and move it to the wanted position when pressing the mouse button.

Delete lines by selection and clicking the Del key.

The following combinations are possible:

  • Export condition used in the General index page AND no Bitmaps function:

    => The red-green status bitmaps are shown.

    Meaning: If the condition, which is inserted under Export condition, meets, then green is shown; if not, then red is shown.

    See Section 5.6.5.2.1, “ Tabbed page "General" ” -> Export condition.

  • Export condition in the General index page not used AND no entries under Bitmaps:

    => No status lights are shown.

  • Export condition in the General index page not used AND Bitmaps function used:

    => You can use as much bitmaps (colors) as desired. There is no export restriction.

  • Export condition in the General index page used AND Bitmaps function used:

    => You can use as many bitmaps (colors) as you like. There is a export restriction. Only parts which meet the export condition may be exported. Please regard that the condition under Export condition and the condition under Bitmaps work together.

    [Note] Note

    If conditions are defined, but none of them meets, then the bitmaps are grey.

Example

The used status bitmaps are according to the ones used in the catalog index.

3 = Dark green    =   Already usesd at all locations
2 = Middle green  =   Already used at two locations
1 = Light green   =   Already uses at on location
0 = Yellow        =   ERP number available
    Red           =   No ERP number available

[Tip] Tip

If you want to follow the example by yourself, see the settings in the PLDBDEMO database instance with user "location" in the role "LOC1"

PARTadmin -> "Roles" category -> "Display" index page: "Status indicating bitmaps for table view" dialog

PARTadmin -> "Roles" category -> "Display" index page: "Status indicating bitmaps for table view" dialog

For example insert the following in the Condition column:

((LOC1.EQ.'x').AND.(LOC2.EQ.'x').AND.(LOC3.EQ.'x'))

Meaning: If each of the "LOC1" AND "LOC2" AND "LOC3" column contain a 'x', then the condition is fulfilled. Then the bitmap defined in the Bitmap column is shown.

In the Tooltip column you insert a placeholder. This term is automatically inserted in the translation table on the Translations index page. You can insert there as many translations as you like. Now when you move the mouse cursor over a status bitmap, the translation is displayed.

The following figure shows the result in PARTdataManager, once in the table view and once in the list view.

Part selection table view

Part selection table view

Part selection list view: Status bitmaps in the variables list field

Part selection list view: Status bitmaps in the variables list field

[Note] Note
Display index page-> Status indicating bitmaps for table view

overwrites the default coloring red-green, which results from the condition under

General index page-> Export condition

Whether an export restriction is existing depends on the settings under General index page -> Export condition.

5.9.2.5.4.2.1. Syntax example of a complex condition
  • Syntax with CONTAINS, FALSE, TRUE and combination of several conditions:

    (CONTAINS(NB,'DIN').EQ..FALSE.).AND.(CONTAINS(NB,'schraube').EQ..TRUE.).AND.D.LE.8

    The following three conditions are combined with 'AND':

    • The NB may NOT contain the string 'DIN'.

    • The NB HAS TO contain the string 'bolt'.

    • The variable 'D' has to be lower or equal than 8. ('LE' is for "lower than")

    A blue symbol is chosen as bitmap.

    Condition in PARTadmin

    Condition in PARTadmin

    Result in PARTdataManager: ISO bolt with diameter smaller or equal than 8

    Result in PARTdataManager: ISO bolt with diameter smaller or equal than 8