powered by CADENAS

Manual

Manual

2.2.5.3.1. Key "Material": Alternative methods

[Note] Note

The standard declaration is normally completely sufficient. For the sake of completeness, it shall be mentioned that the ERP material column can also be specified directly.

There are two possibilities: Without and with mapping table.

  • The material name is directly taken from the ERP material column (default is "MAT_NAME") and transferred 1:1.

    The mapping table is not used.

    ?GetObject("iface.calcnameservice").start(0)
    .Format("<ATTR(MAT_NAME)>").value()

  • The material name is directly taken from the ERP material column (default is "MAT_NAME").

    Then, with the help of the mapping table (see Configuration File -> Block "MatMap"), the determined name is mapped onto the CAD system material name.

    ?context.TranslateStringInGlobalOptionArray("MATMAP","",GetObject("iface.calcnameservice")
    .start(0).Format("<ATTR(MAT_NAME)>").value())