4.12.2.  erpcustom.cfg -> Block [dialogOnExport] - Automatic generation of ERP number: Export dialog for material and other fields yes/no

In addition to the activation of the script erp_export_ts.vbb you can control via configuration file, whether, when exporting a line, which has not got an ERP number yet, a dialog box for the materials shall be displayed. The entry is immediately visible in PARTdataManager.

$CADENAS_SETUP/erpcustom.cfg

[dialogOnExport]
activ=1
*=0
norm/=1

The key activ (0/1) controls the activation of the export dialog.

The figure shows the table without any export limitations.

The figure shows the table without any export limitations.

In addition, you can specify via config key, whether the dialog shall be displayed at all parts or only for parts of the industry standards catalog.

[dialogOnExport]
*=0
norm/=1

When exporting, for lines already containing an ERP number no dialog box appears.

Just as well you could use the described function in combination with an Export condition (see Section 4.7.3.1.7, “ Export condition - plinkgroups.cfg -> Block [Role_name] -> Key "EXPORTRESTRICTION" ”). Both functions are independent, however you have to make sure that the conditions interact in an effective way.