powered by CADENAS

Manual

Manual

4.11.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.

  • 0: The ERP number is automatically set without dialog and displayed in the PARTdataManager at once. Directly afterwards the export is processed. The number is transferred together with the other part properties to the CAD system.

  • 1: In addition to the setting of the ERP number the dialog box new ident-no. is displayed. Here you can select the desired Material in the list field (on this also see Section 4.10, “ Basic design of "new ident-no." dialog box - erpcustom.cfg -> Block [USERDIALOG] ”). This is also inserted in the link database before the export and transferred as part property during export.

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 ???). Both functions are independent, however you have to make sure that the conditions interact in an effective way.