- 4.20.1. Load additional scripts - erpcustom.cfg -> Block [LOAD]
- 4.20.2. Default value for "ACTIVE_STATE" for new part creation / erpcustom.cfg -> Block [VARS] -> Key "NEWASTATE"
- 4.20.3. Values of the "New ident number " dialog window - erpcustom.cfg -> Block [VARS] -> Key "SENDTO", "SENDFROM", "SUBJECT", "SERVER"
- 4.20.4. Values of the "New ident number " dialog window - erpcustom.cfg -> Block [VARS] -> Key "SENDTO", "SENDFROM", "SUBJECT", "SERVER"
$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.
Details can be found under Section 4.11, “ Design "New ident number " dialog box - erpcustom.cfg -> Block [USERDIALOG] ”
When using the SAP MM interface, please see Section 3.3.3.6, “Customizing PARTsolutions ERP interface ”.
The VARS block contains general keys.
The following entries can be made per group (role). Thereby the behavior of PARTsolutions can be adjusted role-specific.
[VARS(Rolle1)]
Enter the variable name of the database column here. You can set this in the PARTlinkManager under the menu Extras -> 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 By default, the settings in
plinkcommon.cfg
are used and not these. See Section 4.16.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).
A list of scripts that are loaded when
erpcustom.vbb
is started.A list of scripts that are loaded before the start of
erpcustom.vbb
.A list of scripts that are loaded after starting
erpcustom.vbb
.A list of the scripts that are loaded by e-mail [Request ERP number per e-mail] when the Request ERP number [Request ERP number per e-mail] button is pressed
button.
A list of scripts that are loaded when the Add record to link database [Add dataset to link database] button is pressed
button will be loaded.