Production > Variant production > Variant generator > Tables - robinfeng/beashelp GitHub Wiki

表格


Navigation: Production > Variant production > Variant generator: Tables No contents entries on this page Contents In addition to formulas, you can also store decision tables. This means that you can store values or even other formulas for specific occurrences (or areas) of parameters. The number of parameters stored in a table is referred to as the dimension of the table.

For example, you can store processing times for obtaining the sofa depending on the sofa length. Tables are particularly useful if parameters have a limited number of input options, or if there is a limited set of results.

Example: If sofa length < 150cm then produced on machine x. If sofa length >= 150cm then produced on machine y.

Table tab Field Description Table Table name Match code Match code Description Table description

Dimensions tab (Definition of used dimensions in table. Max. 6 dimensions) Feld Description Pos Position Varname Name of the Variable Designation Designation of the Variable UoM Unit of measurement Origin type Origin of variable:

  • Formula
  • Table
  • Variant (from product configuration)
  • Item field
  • Order line
  • Manually (enter manually at run time)
  • beas-Script Origin name Name of the object from origin type Comparison Desired logic for comparison
  • = (equal)
  • (greater)

  • < (smaller)
  • => (greater or equal)
  • <= (smaller or equal) Change Allow changes at run time Type Output type of formula (numeric or string) Dec Number of decimals (if numeric) Operation Mark, to save the variable globally with prefix "agbez_". Then it can be accessed in a description of an operation. see Operation Variables Cross reference Enter a link (Only useful with origin type "manually" or "Change") Validity Validity of variable:
  • local (only within the formula and all formulas and tables called by it)
  • shared (within the assembly and for all following items, but not sub-assemblies)
  • global (in complete structure from the moment of calculation)

Values tab (Values for positions in dimensions tab) Field Description Pos Position <name of Variable 1> Value for Variable 1 <name of Variable 2> Value for Variable 2 <name of Variable 3> Value for Variable 3 <name of Variable 4> Value for Variable 4 <name of Variable 5> Value for Variable 5 <name of Variable 6> Value for Variable 6 Origin Origin of variable:

  • Formula
  • Table
  • Variant (from product configuration)
  • Item field
  • Order line
  • Manually (enter manually at run time)
  • beas-Script Origin name Name of the object from origin type

Example for a two dimensional table: The value depends on both the color and length. This could be the required time to upholster the sofas. Values can be stored for all combinations.

Pos Varname Designation UoM Origin type Origin name Comparison Change Type Dec 10 length Cover length

Manually B => x Number 2 20 color Cover color

Manually B

x Number 2

⚠️ **GitHub.com Fallback** ⚠️