4.12.1.2.4.2. Duplicate check in the course of ERP number assignment

Optionally, when assigning an ERP number ( Add data record to [Add dataset to link database] link database [PARTdataManager] or Add to [Add to link database] link database [3Dfindit]), you can run a duplicate check. The system checks whether a LinkDB entry with the same values (project path + LineId) would be created on the selected line if the desired action were carried out. Variants (e.g. with a different length) are different and do not trigger an action, nor do differences in material or surface, for example.

[Note]Note

The check does not aim to equal ERP numbers.

Click on the corresponding icon to open the New ident number [new ident-no.] dialog box. The following illustration shows an example of a new entry with a different material. No action is triggered.

New Ident Number [new ident-no.] dialog box

New Ident Number [new ident-no.] dialog box

If the material "10.9" is selected again in the list field in the example above, a message appears: "The desired new entry already exists. Continue anyway?" The exact action depends on the settings. See below for comparison.

Example: Message in 3Dfindit

Example: Message in 3Dfindit

Example: Message in PARTdataManager

Example: Message in PARTdataManager

If you click Yes, a duplicate will be created.

Administrative settings

In order for the duplicate check to be executed, you have to activate the following key with respective script:

erpcustom.cfg

[ADDTODB]
dupcheck=$CADENAS_SETUP/scripts/erp/erp_duplicate_check.vbb

Key for duplicate check

Key for duplicate check

Furthermore you can specify the desired action:

erpcustom.cfg

[ADDTODB_DUPLICATECHECK]
allowCreationOfDuplicate=ask | block | warn

Determine desired action by value selection in list field

Determine desired action by value selection in list field

  • ask

    -> Message: "The desired entry is already available. Do you still want to proceed?"

  • block

    -> No action will be performed.

  • warn

    -> Message: "The desired new entry is already available and selected. Please export this one."