4.7.3.1.7.  Export condition - plinkgroups.cfg -> Block [role name] -> Key "EXPORTRESTRICTION"

[Note]Note

Export condition is role-dependent and must therefore be defined separately for each role.

Export restrictions contribute substantially to the controlled use of parts.

The setting is made in the user interface under PARTadmin -> Category Roles -> General tab -> Export condition or alternatively via configuration file plinkgroups.cfg -> Block [Role name] -> Key EXPORTRESTRICTION.

Standard condition

Standard condition

An existing export restriction is signalized by a status light in the table, at the beginning of each line.

Standard status display: The green/red display is standard:

  • Green: Export allowed

  • Red: Export forbidden

Standard status lights

Standard status lights

Extended status display: With the setting under PARTadmin -> Category Roles -> Display tab page -> Status bitmaps for table [Status indicating bitmaps for table view] dialog area, you can use any type of status display. See Status Section 4.7.3.3.1, “ Status icons for table - plinkgroups.cfg -> Block [<role name>] - key "BMPCONDITION<number>" ”" Section 4.7.3.3.1, “ Status icons for table - plinkgroups.cfg -> Block [<role name>] - key "BMPCONDITION<number>" ”.

Enhanced status lights (example 1)

Enhanced status lights (example 1)

Enhanced status lights (example 2)

Enhanced status lights (example 2)

Configuration

Setting via user interface: PARTadmin -> Category Roles -> General tab -> Export condition

For this setting you can use Fortran syntax or SQL syntax as well.

Examples:

  • Example 1

    EXPORTRESTRICTION = ERP_PDM_NUMBER.NE.''

    or

    EXPORTRESTRICTION = ERP_PDM_NUMBER<>''

    Meaning: ERP_PDM_NUMBER may not be equal to "blank".

    Only rows which meet the condition get the green status light.

    A data record without ERP number is displayed in red and thus is not exportable.

  • Example 2

    EXPORTRESTRICTION = ((ERP_PDM_NUMBER.NE.'').AND.(ACTIVE_STATE.EQ.'1'))

    Meaning: There has to be an ERP_PDM_NUMBER AND the entry in the "Active state" column must be "Released". Both conditions have to be fulfilled.

    Line 6 and 10 do not meet the condition.

    Line 6 and 10 do not meet the condition.

  • Example 3

    EXPORTRESTRICTION = ((ACTIVE_STATE.EQ.1).AND.(BLNNR.NE.'')) 

    Meaning: Only data sets can be exported, which current status is "Released" and which have an entry in the "BLNR" column.

  • Example 4

    This example shows the setting options via config file or via PARTadmin in detail and shows enhanced status lights.

    Setting in configuration file $CADENAS_SETUP/plinkgroups.cfg:

    Block [<role name>], key EXPORTRESTRICTION, value contains condition

    EXPORTRESTRICTION = ((ERP_PDM_NUMBER.NE.'').AND.(LOC3.EQ.'x'))

    Meaning: ERP_PDM_NUMBER may not be equal to "blank" AND the column LOC3 has to have the term 'x' as entry.

    Result in PARTdataManager

    Example: The user with the role "Location 3" cannot export line 7 because column LOC3 does not show the entry 'x', which is required in the export condition [Export condition].

    Line 7 cannot be exported. A notification message is displayed.

    Line 7 cannot be exported. A notification message is displayed.

    For this example, additional settings are required under PARTadmin -> Category Roles -> Display tab -> Status bitmaps for table [Status indicating bitmaps for table view]. This overwrites the standard red-green display, but the export condition remains unaffected. Details can be found under Section 4.7.3.3.1, “ Status icons for table - plinkgroups.cfg -> Block [<role name>] - key "BMPCONDITION<number>" ”.