There are three common fields that should be used with each output node:
The taggenlink field specifies a name that is used to identify the record in the database so that it is linked with the template. This allows the record to be found for an update or delete operation.
The value should include a unique reference to the template type and a reference to the output record within the template. The recommended way to achieve this consistently is to use the format of [TypeRef].[RefID] (as outlined in Template Section: Outputs).
The linked field should be set to '1'.
The edit code is a number that represents the bitmask of the database (DBF) fields based on the physical order in the DBF file. When the bit in the mask is set, the corresponding field will be marked read-only in the Project activity. If no fields are to be marked as read only, this field can be left blank or removed from the output definition.
The algorithm to determine an edit code is listed in Equipment Templates: Output Database. The combined edit code for few fields is a sum of edit codes of all fields. For example, the edit code for first (edit code = 1), second (edit code = 2), fourth (edit code = 8) and 20th fields (edit code = 524288) is 1 + 2 + 8 + 524288 = 524299, or in decimals: 0x00001 (edit code for first field) + 0x00002 (edit code for second field) + 0x00008 (edit code for third field) + 0x80000 (edit code for 20th field) = 0x8000B
See Also
Published June 2018