$CADENAS_SETUP/ erpcustom.cfg
:
This configuration file is used in order to customize ERP processing.
The file is subdivided in a couple of blocks:
USERDIALOG, VARS, LOAD, BEFTBLLOAD, AFTTBLLOAD, MAIL, ADDTODB
Entries can be made per group (role). Thereby the behavior of PARTsolutions can be adjusted on role level.
For details see Section 4.12, “Timestamp number on/off”.
When using the SAP MM Schnittstelle also see Customizing der PARTsolutions-ERP-Schnittstelle.
The block VARS contains common keys.
The following entries can be made per group (role). Thereby the behavior of PARTsolutions can be adjusted role-specific.
[VARS(Rolle1)]
Key value is the variable name of the database column. In the user interface, you can set it in PARTlinkManager under Extras menu-> Configure ERP environment.
If you enter a database field here the ERP number is copied into this field (for multiple locations only).
0: The ERP number entered by the user or the number returned by the ERP system is inserted in the link database.
1: A so called timestamp number is generated and inserted into the link database. This setting only makes sense in special cases (e.g. at multiple location systems).
ERPADD=$CADENAS_SETUP/erpadd.cfg
Contains the path to the configuration file
erpadd.cfg.The block name contains the path to the PARTsolutions project file (part family), the key name is the identifier for the ERP-System, key value is fixed or a variable name of the PARTsolutions table. A variable name starts with a $ character and ends with . (point).
[norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj] NAME=Screw FIELD1=$D.
The given entry is searched in the respective PARTsolutions project file and exported to the ERP system.
![[Note]](https://webapi.partcommunity.com/service/help/latest/pages/it/partwarehouse/doc/images/note.png)
Note Normally the settings in
plinkcommon.cfgare used and not these. See Section 4.17.5, “E-mail settings / plinkcommon.cfg -> Block [MAIL]”.Address of the e-mail sender when requesting a new ERP number via e-mail.
Name of the e-mail server for requesting a new ERP number via e-mail.
State of the new created part.
Possible values are 0 (locked), 1 (released) and 2 (expired).
See Section 4.21.2, “ Default value for new "ACTIVE_STATE" values - erpcustom.cfg -> Block [VARS] -> Key "NEWASTATE" ”.
A list of scripts which is loaded at startup of
erpcustom.vbb.A list of scripts which is loaded before startup of
erpcustom.vbb.A list of scripts which is loaded after startup of
erpcustom.vbb.The scripts indicated here will be loaded by pressing the button Request ERP number per e-mail
.The scripts indicated here will be loaded by pressing the button Add dataset to link database
.

