# BOM Format for ZWMold

# Define columns
#
# COL[id] = "title"
#
#    attrib = label/attribute name
#             {"Name" - Name of the part
#              "Number" - Part Number
#              "Supplier" - Part Supplier
#              "Designer" - Part Designer
#              "Manager" - Part Manager
#              "Cost" - Cost of the part
#              "Class" - CAM class of the part} (Part Attributes form)
#             {"Material" = Material of part } (Material Attributes form)
#             {"Index" - ordinal number assigned to part during BOM generation}
#             {"Quantity" - Number of instances of a part}
#             {"ZMD_STOCK_SIZE" - stock size attribute, set by ZWMold }
#             {name of user-defined attribute} (Part Attributes form)
#
#        Note: Index, Name, Quantity, this three attributes are protected attribute, default set by system. which user can't edit their value. 
#
#    key_field = { true, false } (If two part have the same value of the attributes which are marked as key field, then they will be merged as one row in BOM )
#                                (Default is false)
#        Note: Quantity can not use be key_field.
#
#    sort_no   = { -1, 0, 1, 2, ... } 
#                  (Sort by..., can set more than one attribute to do this.)
#                  (0 is the first attribute used to compare, if still same, next to compare 1 marked sort by... column, ...)
#                  (Default is -1, no affect about sort)
#
#    sort_order = { 0, 1 } 
#                  (0  Incremental alphabetical order, 1 Descending alphabetical order)
#                  (Default is 0)
#


COL[0] = ID
  attrib = Index
END_COL

COL[1] = Name
  attrib = Name
  key_field = true
  sort_no = 0
  sort_order = 0
END_COL

COL[2] = # Schrupp-EL
  attrib = RoughNum
  def_val = 1
END_COL

COL[3] = Schrupp-Spalt
  attrib = RoughGap
  def_val = 0.25
END_COL

COL[4] = # Schlicht-EL
  attrib = FinishNum
  def_val = 1
END_COL

COL[5] = Schlicht-Spalt
  attrib = FinishGap
  def_val = 0.1
END_COL


