powered by CADENAS

Manual

Manual

5.9.1. Basic design of "Neue Ident-Nummer" dialog box - erpcustom.cfg -> Block [USERDIALOG]

Creation of the dialog box Neue Ident-Nummer, which is opened through Datensatz zur Linkdatenbank hinzufügen or Beantragen einer ERP-Nummer per E-Mail .

Datensatz zur Linkdatenbank hinzufügen: Zum Basisdialog ist ein Feld für die ERP-Nummer hinzugefügt.

Datensatz zur Linkdatenbank hinzufügen: Zum Basisdialog ist ein Feld für die ERP-Nummer hinzugefügt.

Beantragen einer ERP-Nummer per E-Mail: Zum Basisdialog sind die entsprechenden Felder aus plinkcommon.cfg bzw. plinkgroups.cfg hinzugefügt.

Beantragen einer ERP-Nummer per E-Mail: Zum Basisdialog sind die entsprechenden Felder aus plinkcommon.cfg bzw. plinkgroups.cfg hinzugefügt.

Dialog "Neue Ident-Nummer"

Dialog "Neue Ident-Nummer"

[Hinweis] Hinweis

If you need a different layout for the Beantragen einer ERP-Nummer per E-Mail dialog you can activate the following block:

[USERDIALOG(MAIL)]

What is the structure of the dialog?

  • Some rows such as "Standard Title", "Standard Number" or "Dimension" for example ensure a correct identification of a part.

  • Any other rows may be added optionally when building the dialog box. In this way values can be selected or entered by free input and then be transferred into the LinkDB.

Beispiel 2 für Dialog "Neue Ident-Nummer"

Beispiel 2 für Dialog "Neue Ident-Nummer"

Syntax:

Concerning key naming oriente at general variable names such as NTLANG, NN, LINALANG, NB or LinkDB variable names.

For each key a list of values has to be specified.

In the following the field values (separated be the character defined under "SEPARATOR") are listed.

  • InternalVar=VarPLinkInternal:

    (in order to avoid any problems, normally use the key name again here)

  • StaticText: Description text of input row

  • required:

    Value range: 0/1

    • 1 (default): entry required

    • 0: no entry required

  • Add2DB: Value entered in LINKDB

    Value range: 0/1; default 1

  • default: Default value (empty by default)

  • freeinput: Visibility of respective row.

    Value range: 0/1

    • 0: Row not visible

      Makes sense for Standard Title, Standard Number, Dimension or automatically generated ERP number for example.

    • 1: Necessarily set for all rows with values which have to be changed.

  • ShowInDialog: Visibility in the dialog box

    Value range: 0/1

    • 1 (default): The respective row is visible.

    • 0: The respective row is not visible (but a default value can be entered in the LINKDB, however it will not be shown in the dialog box)

  • selectionfile: File (e.g. material_assign.cfg) containing options, which are displayed in a combo box.

    Also see material_assign.cfg.

    Exemplary content of the stated file:

    [*]
    0=
    1=8.8
    2=10.9
    3=12.9

    For a certain standard number, other default values may be defined as well.

    Exemplary content of the stated file:

    [norm/din_en_iso/stifte/scherstifte/din_1.prj]
    
    1=1.4301 (V2A)
    2=1.4571 (V4A)

    Also see Abschnitt 5.9.3, „erpcustom.cfg -> Block [dialogOnExport] - Automatische Generierung der ERP-Nummer: Exportdialog für Werkstoff und andere Felder ja/nein“.

  • combotype:

    Value range:

    • full: it is possible both to select an option or to enter a value

    • static (no own values may be entered)

    • button

    • empty (entry of own value possible)

  • regular expression

    Example:

    [0-9]*

  • Message if Regexp fails

    Example:

    Only numbers allowed (no comma)