4.21.2.3. Customize erpcustom.cfg

In In general, configuring works in the fields of the add2db dialog, as previously described in the [USERDIALOG] section in erpcustom.cfg.

Differences with regard to V11:

  • If VBS statements are used, there are the context objects "table" (proxyTableC), "document", "prjpath". This should also work in PSOL without any changes. Before that, you can access these objects using application.ActiveTable.Table and application.ActiveDocument, but this makes no sense in a server environment. Example: [table.NN]

  • There was also a way to fill out a ComboBox using VBS statements. You got a reference to a Qt ComboBox object and could add items. Now the snippet must return a list of strings. You need two strings per item, the internal value and the visible value. Example: [Array("1", "A", "2", "B")]