powered by CADENAS

Manual

Manual

1.7.3.3.2. Settings on project level

If settings have been made for a certain project (standard or supplier part), when opening the part in PARTdataManager, the dialog box Discontinued part is displayed, where one or several parts are listed, which can be loaded instead of the original selection (if this option has been activated in the configuration file replace_std.cfg).

Dialog box "Discontinued part"

Dialog box "Discontinued part"

If the key SHOWBITMAPS (see Section 1.7.3.3.1, “General settings”) is set to '1', in PARTdataManager index tree, additional icons are displayed for replaced or removed standards.

Icons in index tree and "Symbols" view

Icons in index tree and "Symbols" view

Meaning of icons

  • Config entry:

    ALLOW_OLD=0: Old standard removed without replacement

    No entry under NEW1, 2, etc.

  • Display in the dialog box:

    Product discontinued. Please do not use for new projects.

    No display of alternative parts

  • Config entry:

    ALLOW_OLD=1: Old standard temporarily allowed

    No entry under NEW1, 2, etc.

  • Display in dialog box:

    Product to be discontinued. Please do not use for new projects.

    No display of alternative parts

  • Config entry:

    ALLOW_OLD=1: Old standard temporarily allowed

    Entry under NEW1, 2, etc.

  • Display in dialog box:

    Product to be discontinued. Please do not use for new projects.

    Display of alternative parts

  • Config entry:

    ALLOW_OLD=0: Old standard removed without replacement

    Entry under NEW1, 2, etc.

  • Display in dialog box:

    Product discontinued. Please do not use for new projects.

    Display of alternative parts

You can access the configuration file in PARTadmin under category Configuration files -> $CADENAS_DATA/datasetup -> replace_std.cfg.

[Note] Note

Please restart PARTdataManager after changes.

Sections with project path

In the following blocks, you specify the expired standard and supplier parts.

Block name is the complete relative path down to the project file. This is the project to be replaced.

Example:

[norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj]

  • ALLOW_OLD = (Value range 0 or 1)

    If set to 1, the Open button is visible.

    ALLOW_OLD = 1: Button "Open" button visible

    ALLOW_OLD = 1: Button "Open" button visible

    If set to 0, the Open button is not visible.

    ALLOW_OLD = 0: Button "Open" is hidden

    ALLOW_OLD = 0: Button "Open" is hidden

  • EXPORT_OLD = (Value range 0 or 1)

    • 0: When exporting a part the following message is displayed:

      This part is said to be obsolete and may not exported by you.

    • 1: Part may be exported.

      A message is displayed.

  • CREATENR_OLD = (Value range 0 or 1)

    If set to 0, then when clicking on the button Add dataset to link database , an error message is displayed.

    [Note] Note

    To use this function, in erpcustom.cfg -> block [ADDTODB], the script replace_mm.vbs has to be activated.

  • NEW1 = norm/din_en_iso/schrauben/zylinderschrauben/din_en_iso_4762.prj

    Relative path to new project (starting with the catalog name).

    [Note] Note

    If no entry is made, the icon for Replaced without substitution" will be displayed.

Specify all projects in this way.

Separate replacement table

The specification of the replacement file can occur in the replace_std.cfg file, or, with larger amounts of data, in a separate table of the LinkDB (REPLACE_TABLE).

In the "Keys" field, the key must be given.

In the "Value" field, you must enter the value.

In the "Keys" field, the key must be given.

In the "Value" field, you must enter the value.

SECTION

KEYS

VALUE

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

ALLOW_OLD

0 or 1

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

EXPORT_OLD

0 or 1

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

CREATENR_OLD

0 or 1

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

NEW1

norm/ din_en_iso/ schrauben/ zylinderschrauben/ din_en_iso_4762.prj

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

NEW2

More project may be given, which are to be listed. These will be called NEWx in increments.

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj incremented.

NEW3

Other project