1.6.4.9.18.2. Seamless: Enter ERP number during export

The standard case when using an ERP integration in PARTsolutions is the assignment of ERP numbers from PARTdataManager using the ERP toolbar and the Add data record to link database [Add dataset to link database] command. At the same time, there is usually an export restriction for parts that do not have an ERP number.

Add data record to the link database [Add dataset to link database]

Add data record to the link database [Add dataset to link database]

This means that in the standard case, parts without an ERP number cannot be exported directly from the Seamless environment to CAD.

With V11 SP3, it is now possible to automatically call up the New Ident Number [new ident-no.] dialog in Seamless when exporting to create an ERP number if parts do not yet have an ERP number.

Hereto perform the following settings:

[Note]Note

These are not dedicated settings for Seamless, but are just mentioned at this place for the sake of completeness.

  1. It is crucial that the value Seamless is entered under plinkcommon.cfg -> Block [Common] -> Key APPNAMES.

    [Common]
    APPNAMES=PARTdataManager,PARTproject,PARTcreatorprint,Seamless

    As of V11 SP3 this should be the case by default.

  2. Go to erpcustom.cfg -> Block [dialogOnExport] -> Key default and set the value to 1.

    [dialogOnExport]
    default=1

    See also Section 4.12.1.2.3, “ Create ERP number directly on export ”.

  3. Activate the key erp_export_ts under erpcustom.cfg -> Block [LOAD].

    [LOAD]
    ;Generate ERP on Export
    erp_export_ts=$CADENAS_SETUP/scripts/erp/erp_export_ts.vbb

    See also Section 4.20.1, “ Load additional scripts - erpcustom.cfg -> Block [LOAD]”.

  4. Activate the key erp_nrgenerator at erpcustom.cfg -> Block [ADDTODB].

    [ADDTODB]
    #:HELP;default;Activation of the ERP Number Generator. 
    erp_nrgenerator=$CADENAS_SETUP/scripts/erp/erp_nrgenerator.vbb

    See also Section 4.12.1.2.4.1, “ ERP Number Generator - erpcustom.cfg -> Blocks [ERP_NRGENERATOR] and [ERP_NRGENERATOR_CONDITIONS] ”.

[Note]Note