Professional Documents
Culture Documents
Ips Data Upload 10-2-1 TSD
Ips Data Upload 10-2-1 TSD
Ips Data Upload 10-2-1 TSD
RELEASED
Document Info
Revision: 11.2.1
Copyright © 2015 Siemens Industry Software. All rights reserved.
Copyright in this work is vested in Siemens Industry Software and the document is issued in confidence for the purpose
only for which it is supplied. It must not be reproduced in whole or in part or used for tendering or manufacturing purposes
except under an agreement or with the consent in writing of Siemens Industry Software and then only on the condition that
this notice is included in any such reproduction. No information as to the contents or subject matter of this document or
any part thereof arising directly or indirectly there from shall be given orally or in writing or communicated in any manner
whatsoever to any third party being an individual firm or company or any employee thereof without the prior consent in
writing of Siemens Industry Software.
SIEMENS Technical Document
CIRCULATION
No. Copies to Location
DOCUMENT HISTORY
6.7.0 12/01/2007 Guy Bursell Fixed error when check-in an object that is
checked-out to another user.
7.4.0 31/03/2010 Tim Williams See major update list in section Appendix M:
Major updates. This version covers new
features from 6.8.0 through to 7.4.0.
7.6.0 25/10/2010 Tim Williams Includes updates from 7.5.0 and 7.6.0.
See major update list in section Appendix M:
Major updates.
7.7.0 11/02/2011 Tim Williams See major update list in section Appendix M:
Major updates for 7.7.0 mods.
8.0.0 21/06/2011 Tim Williams See major update list in section Appendix M:
Major updates for 8.0.0 mods.
Main changes:
8.1.0 18/08/2011 Tim Williams See major update list in section Appendix M:
Major updates for 8.1.0 mods.
8.2.0 24/10/2011 Tim Williams See major update list in section Appendix M:
Major updates for 8.2.0 mods.
9.0.0 24/04/2012 Tim Williams See major update list in section Appendix M:
Major updates for 9.0.0 mods.
9.2.0 02/07/2012 Tim Williams See major update list in section Appendix M:
Major updates for 9.1.0 and 9.2.0 mods.
10.0.0 31/08/2012 Tim Williams See major update list in section Appendix M:
Major updates for 10.0.0 mods.
10.1.0 21/11/2012 Tim Williams See major update list in section Appendix M:
Major updates for 10.1.0 mods.
10.1.1 26/11/12 Tim Williams Added details and examples for creating
legacy and modular variant options and
conditions during a BOM import. See BOM
MODULE NOTES and examples in Appendix.
10.3.0 10/01/13 Tim William Can now set general properties on projects.
10.5.0 18/03/13 Tim Williams Add support for multiple language properties
when using general colon property fields.
10.6.0 27/03/13 Tim Williams Added new field AlternateRevIDs to specify rev
IDs for alternate (substitute) revs for a BOM
child.
10.7.0 05/04/13 Tim Williams Added new option to generate basic ‘nnnnnn’
format item IDs.
10.10.0 25/10/13 Tim Williams Added support to create, update and use
specific revision sequences.
11.0.0 03/04/2014 Tim Williams 1) Added support for MultiField Keys in Tc 10.1
to allow for multiple items with the same item
ID by specifying .KEY fields.
11.1.0 19/06/2014 Tim Williams 1) Added support for creating relations using
Copyright © 2015 Siemens Industry Software. All rights reserved.
REFERENCE DOCUMENTS
Document Revision Date Doc Reference
CONTENTS
1. EXECUTIVE SUMMARY.....................................................................................................12
2. TECHNICAL OVERVIEW...................................................................................................13
2.1 Modes........................................................................................................................ 13
2.2 USAGE...................................................................................................................... 14
2.3 INPUT DATA FILE..................................................................................................... 15
2.3.1 [7.0.0] End of File....................................................................................................... 16
2.3.2 [7.0.0] General properties.......................................................................................... 16
2.3.2.1 [7.0.0] Field Modifiers................................................................................................. 17
2.3.2.2 [7.0.0] Relation properties (Tc8+)..............................................................................22
2.3.2.3 [7.1.0] Setting project................................................................................................. 22
2.4 CONFIGURATION OPTIONS...................................................................................22
2.4.1 [7.6.0] INCLUDE CONFIG FILE.................................................................................22
2.4.2 General Configuration Options...................................................................................23
2.5 RUNNING AN IMPORT............................................................................................. 26
2.6 [9.2.0] Overriding BMIDE rules on attributes..............................................................26
2.7 [11.0.0] MultiField Keys in Tc10+...............................................................................27
2.7.1 Introduction................................................................................................................ 27
2.7.2 Data Field modifiers................................................................................................... 27
2.7.3 Considerations........................................................................................................... 27
3. TROUBLESHOOTING..........................................................................................................29
3.1 The log file.................................................................................................................. 29
3.2 The Repeat File.......................................................................................................... 29
3.3 Debugging.................................................................................................................. 29
3.4 [8.1.0] Field Validation................................................................................................ 29
3.4.1 Command Line Arguments......................................................................................... 30
3.4.2 Configuration Options................................................................................................ 30
3.4.3 Example Report File................................................................................................... 30
4. ITEMS MODE.........................................................................................................................32
4.1 INPUT DATA FIELDS................................................................................................ 32
4.1.1 Item fields................................................................................................................... 32
4.1.2 Revision fields............................................................................................................ 32
4.1.3 Ownership fields......................................................................................................... 33
4.1.4 Miscellaneous fields................................................................................................... 33
4.1.5 Status fields............................................................................................................... 33
4.1.6 Item and ItemRevision Master Forms........................................................................34
4.1.7 Checkin/Checkout/Cancel Checkout..........................................................................34
4.2 CONFIGURATION OPTIONS...................................................................................34
4.2.1 Items/Revisions.......................................................................................................... 34
4.2.2 Miscellaneous............................................................................................................ 36
4.2.3 Owning Site................................................................................................................ 37
4.2.4 Status and Checkin/Checkout (CICO).......................................................................37
4.3 MODULE NOTES...................................................................................................... 41
4.3.1 RELEASE STATUS................................................................................................... 41
4.3.2 DATE RESTRICTIONS.............................................................................................. 42
Copyright © 2015 Siemens Industry Software. All rights reserved.
MODE 78
9.1 INPUT DATA FIELDS................................................................................................ 78
9.1.1 Datasets..................................................................................................................... 78
9.1.2 Files........................................................................................................................... 79
9.1.3 Forms......................................................................................................................... 79
9.2 CONFIGURATION OPTIONS...................................................................................79
9.2.1 Datasets..................................................................................................................... 79
TABLES
Table 2.1 Outline list of operation modes........................................................................................... 13
Table 2.2 Command line options........................................................................................................ 15
1. EXECUTIVE SUMMARY
The following document provides technical documentation for using the
IPS_DATA_UPLOAD utility developed by Siemens PLM, UK. This utility is used to provide
bulk data upload and data cleanup capability in Teamcenter Engineering and Teamcenter
UA.
o Items
o Forms
o Datasets
o Folders
o BOMs
o Relations
o List of Values (LOVs) (Prior to UA only)
o Identifiers
o Projects
o Manufacturing (Including CC and SC objects and structures)
o Classification
o Workflow [7.0.0]
o Pom [9.0.0]
Each module has various configuration and data definition options, all of which are
described in this document.
2. TECHNICAL OVERVIEW
The IPS_DATA_UPLOAD utility is a generic all-purpose tool used to import data into
Teamcenter Engineering and Teamcenter UA. It is capable of importing various types of
objects and data and operates in a number of modes to achieve this:
2.1 Modes
The ability to use the ips_data_upload utility requires the following pre-requisites:
The ips_data_upload utility itself allows a number of ways of setting configuration and
input data options; via command line arguments, a separate configuration file and even the
ability to place configuration options in the input data file!
If command line arguments are supplied they will override the configuration file and the data
file. The following order of precedence should be observed when specifying configuration
options:-
2.2 USAGE
When running the utility, there are several command line arguments that it takes. These
arguments take the format:-
-option=<value>
The arguments are used to provide login user details, operating mode and data input file
and configuration files as shown in the table below:
OPTION DESCRIPTION
-h Displays the full usage
-u=<user_id> Where <user_id> is the iMAN login user ID
-p=<password> Where <password> is the iMAN users’ password
-g=<group> Where <group> is the users’ group to use
-m=<mode> Specifies the mode of operation, such as items, bom,
-mode=<mode> datasets or relations.
[7.0.0] Can also use –mode=<mode>.
-i=<input_data_file> Where <input_data_file> is the data file to upload
-cfg=<config_file> Where <config_file> is the configuration options file
-o=<output_file> Where <output_file> is the output log file. If not supplied
the default filename will be input_data_file.log
-r=<repeat_file> Where is the repeat file which will contain a copy of any
data lines which caused an error. If not supplied the
default filename will be input_data_file.rep
-noautologin [7.0.0] Turns off auto login which would prompt for a user
name and password should any supplied values fail. This
would cause problems during batch processes. So by
turning off auto login with this argument allows the program
to terminate cleanly and provide details in the log file about
a login failure.
-report_file=<report_file> [7.0.0] This option turns off all create and update options
effectively just writing a report of objects found and not
found in the specified report file.
-v [6.9.0] Turns on verbose mode to get more detailed output
about relations being processed.
-h With just –h the full usage will be displayed. Otherwise
-h=<mode> | args specify a mode to get help on or args to get help on
arguments.
-debug=MAX Turns on program debug putput when running. Can be
any of the following: 1|2|4|8|16|32 | MAX
Typically this is set to MAX
-validation=<n> [8.1.0] Turns on field validation and will validate n data
lines. For example, to validate the first 2 data lines, use:-
-validation=2
Validation can also be turned on using configuration
options.
OPTION DESCRIPTION
See the trouble shooting section on [8.1.0] Field Validation.
-validation_import [8.1.0] If supplied turns on import with field validation.
See the trouble shooting section on [8.1.0] Field Validation.
-new_items_ids_log=<New [10.0.0] Specifies a file into which will be written any auto
item IDs log file> generated item IDs if AUTO GENERATE ITEM ID = ON.
The above arguments are generic and apply regardless of mode. Each mode, though, may
have its own set of arguments. To see the arguments specific to a mode use –h=<mode>.
!~ItemID~RevID~Desc~Name~Owner~Group
In this example, there are 6 fields defined using case sensitive keywords. An example of
the Header line followed by a data input line, and preceded by a configuration option is
shown below:
The above data line will create or find the Item GUY12345, Revision A, and set its Item
Description, Item Name and Owning User and Owning Group properties to the values
supplied.
If a field needs to be ignored during input, maybe because the column contains only
superfluous information, then insert Ignore: in the field name, e.g.:-
Ignore:Owner~Ignore:Group
[7.0.0] To set a property to a null or empty value use the keyword NULL as a value.
[7.0.0] If a line containing END-OF-FILE is included in the file then processing will stop at
that line. This is useful to test just a few lines of a large input file.
[8.1.0] An alternative test import method is to use the validation options to control how many
lines are imported as a validation test (if any). See the trouble shooting section on [8.1.0]
Field Validation.
IPS Data Upload has many predefined field names that can be used in the header line, like
ItemID and RevID in the example above. These are all detailed in the specific module
sections in the rest of this document and there are some predefined fields which are
mandatory for each mode.
To provide more flexibility version 7.0.0 introduced the ability to specify any general and
writable Teamcenter object property instead of using a predefined field name. If a non
writeable property is specified then an error will be given stating that the property cannot be
written too.
The format to specify a general property is:-
<OBJECT>:<property>
Where:-
<OBJECT> specifies the object by:-
type, e.g. Document, UGMASTER, Design BOMView Revision;
class specified within round brackets and can be a parent class,
e.g. (Item), (Dataset);
or keyword, e.g. I for Item, BV for BOMView.
<property> specifies the Teamcenter property name
Example:-
!~ItemID~DesignBOMView:owning_group ~Design BOMView Revision:owning_group
The following table shows the available keywords to identify objects:-
OPTION OBJECT
ACT Activity
I Item
R ItemRevision
FORM Form
DSET Dataset
FL Folder
MEPR MEProcess
MEPRREV MEProcessRevision
MEOP MEOperation
MEOPREV MEOperationRevision
OPTION OBJECT
BV BOMView
BVR BOMView Revision
BL BOM Line
NOTE: This is not available via a type or class.
BLCTXT [8.0.0] BOM Line In Context to another revision.
SC Structure Context
CC Collaboration Context
WFPROC Workflow Process
ATTACHMENT Attachment to item or revision
IDENTIFIER [10.2.0] Identifier
IDENTIFIER_REV [10.2.0] Identifier rev
PROJECT [10.3.0] Project.
NOTE: The general property owning_user requires a fully defined user identification containing
person name and user ID, e.g. Tim Williams(tim) as seen in Tc.
Version 7.0.0 also introduced field modifiers which can be used with general properties in the
format:-
<OBJECT>:<property>[.<modifier>[.<modifier>[.<modifier>.<…>]]]
The following table shows the available modifiers:-
OPTION DESCRIPTION
.FILE Indicates that the value supplied in the data line for this field is
actually the name of a file containing the values to be set for this
field.
The root directory containing the value files can be set by the
configuration option VALUE FILES ROOT DIR.
This will typically be used for array or note fields. See the
example for ARRAY just below.
.DATE Indicates that the field is a date property for the format of the
supplied date values is specified in the configuration option
DATE FORMAT.
.ARRAY Indicates that the field is an array property.
By default values supplied for an array will be split on a comma,
but a different separator can be specified using the configuration
option MULTI VALUE SEPARATOR STRING.
Alternatively specify the values in a file, e.g.:
!~ItemID~RevID~RM:array_attr.ARRAY.FILE
000001~A~array_attr_list_000001A.txt
File array_attr_list_000001A.txt:
Value 1
Value 2
Value 3
Copyright © 2015 Siemens Industry Software. All rights reserved.
OPTION DESCRIPTION
.UPPER Forces the value to be set as UPPER CASE.
.LOWER Forces the value to be set as lower case.
.TAG Indicates that the value supplied is the tag (or PUID) of an object
to be set in a typed or untyped reference property.
.BY_VAL Indicates that if a typed reference property has an LOV attached
to it then a value from the LOV has been specified instead of an
object tag.
.PARENT Indicates that the property value being set should be read from
the objects parent, e.g. for a revision set the property value to
the same as the value on its owning item.
The same result can be achieved by supplying a value of
$PARENT.
[11.0.0] When used in conjunction with a .KEY modifier on an
item ( I: ) field it distinguishes between parent and child
MultiField key fields for parent and child items in bom and
relation modes.
.PARTICIPANT [8.2.0] Used to set Participant relations, e.g. ProposedReviewer,
Analyst.
Must be used with .USER, .GROUP or .GROUP_MEMBER.
.USER [8.2.0] Specifies that the supplied value is a user name to find
the user object to attach, e.g. use with .PARTICIPANT to attach
a user.
.GROUP [8.2.0] Specifies that the supplied value is a group name to find
the group object to attach, e.g. use with .PARTICIPANT to
attach a group.
.GROUP_MEMBER [8.2.0] Specifies that the supplied value is a group member to
find the group member object to attach, e.g. use
with .PARTICIPANT to attach a group member.
The string format to specify a group member is:-
<group1[,group2[,…]]>/<role1[,role2[,…]]>/<user1[,user2[,…]]>
For example:-
dba/DBA/infodba
Multiple group member strings can be supplied separated by the
separator defined by the config option:-
MULTI VALUE SEPARATOR STRING.
The ‘/’ and ‘,’ separators can be specified using the config
options:-
GROUP MEMBER MAIN SEPARATOR
GROUP MEMBER MULTI VALUE SEPARATOR
.RESOURCE_POOL [11.2.0] Specifies that the supplied value is a resource pool to
add to a .PARTICIPANT field. The format is:-
<group>[/<role>[/NO_SUB_GROUPS]]
For example:-
dba - defaults to * for role
dba/*
dba/DBA
*/DBA
OPTION DESCRIPTION
dba/*/NO_SUB_GROUPS
.POM [9.2.0] Sets the value using a POM function to override access
and any BMIDE rules set on the attribute, e.g.
write_only_if_null.
Alternatively the new config option SET COLON PROPS WITH
POM can be used to provide a CSV list of general property
fields to be set with POM functions. See section 2.4.2.
.LANG[=lang] [10.5.0] Specifies a field as a language field. By default the
value in the config option DEFAULT LANGUAGE will be used
as the language unless specified with the optional =lang, e.g.:-
R:object_name.LANG=fr_FR
Multiple language fields can be set in the same data file. For
example:-
DEFAULT LANGUAGE = fr_FR
!~ItemID~RevID~R:object_name.LANG~R:object_name.LANG=de_DE
000001~A~French name~German name
By default the language value status will be set to Approved, but
this can be defaulted with the config option DEFAULT
LANGUAGE STATUS.
NOTE: To be able to set languages against a property it must
be defined as a language field in BMIDE.
.MAND [10.11.0] Indicates a mandatory field. Currently only applies
when a new Item is created. Use it to indicate mandatory item,
rev and master form attributes so that they get set at the time of
creation.
For example, if object_desc has been set as mandatory for the
item use:-
I:object_desc.MAND
OPTION DESCRIPTION
The <search_attrs> specifies the class of object to find and the
attributes to search on in the format:-
<Class><sep><attr1>[<sep><attr2>[…]]
I.e. a class and at least one attribute separated by a
configurable separator using the config option FIND FIELD
DATA SEPARATOR, or a comma by default.
Values supplied in the data line, using the same separator, will
supply values for each attribute to search on. Any value can be
blank to not search on a specific attribute for that data line. A
blank value will perform no search at all.
If more than one value is found for a non-array attribute then the
first object will be set for the attribute. An array attribute will
have all objects set.
For example, to set owning_project:-
I:owning_project.FIND=TC_Project,project_id
Project X
Project Y
The first line here is the header field and the others are example
data values.
An asterix, *, can be used in a value to perform a wild card
search.
For example, to find a list of test projects to set as a project list
where the project ID starts with Test and the name = Test:-
I:project_list.POM.FIND=TC_project,project_id,project_name
Test *,Test
Note that this example also uses the .POM field modifier as
project_list is normally a non-modifiable attribute.
NOTE 1: Currently only string attributes can be searched on to
find objects using the .FIND modifier.
.KEY [11.0.0] Indicates MultiField Key fields to provide unique
property values to find specific items that can have the same
Item ID.
To provide different keys for parent and child items, e.g. in bom
mode child keys must be further identified by adding the .CHILD
modifier.
.CHILD [11.0.0] Indicates that a field is used to identify a child property.
This is used in conjunction with the .KEY modifier to differentiate
between parent and child MultiField Key fields.
.BOM_OCC_KEY [11.0.0] Identifies fields during a BOM update that are used to
identify an occurrence to be updated. This fields can be used as
well as or instead of the fields specified with the BOM UPDATE
ID FIELDS configuration option
OPTION DESCRIPTION
created or updated.
For example, to look for CompanyLocation objects using name
and type:-
!
~CompanyLocation:object_name.KEY~CompanyLocation:object
_type.KEY
.CLASS Used to define the class name of an object to attach to a typed
or un-typed reference attribute.
For example to create a Web Link form and specify the WebLink
class (to store the url value) in the form’s data_file attribute:-
!
~Form:object_name.KEY~Form:object_type.KEY~Form:object_
desc~Form:data_file.CLASS~WebLink:url~
google~Web Link~Google
UK~WebLink~http://www.google.co.uk/
NOTE: This is just an example to create a form using the pom
mode, normally the form mode would be used.
.REPLACE Used to replace an existing referenced object stored in a typed
or un-typed reference attribute.
.PROP Used to specify that the value should be set as a general
property rather than using direct POM functions to do everything
directly.
This is useful for situations like the example described above for
.CLASS for creating forms in which case the WebLink class was
defined against the Form’s data_file attribute in one field and the
url in another. But by using the .PROP modifier this can be
specified in one field using Form:url.PROP.
Another important distinction here is that the .CLASS method
would look for an existing WebLink object with the specified url
and attach it to the current form. Which in the case of forms is
not good as the form could never be deleted as it would
reference a WebLink object attached to another form. Whereas
the .PROP method would create a new WebLink object every
time.
However, using the pom mode, the option CREATE POM
OBJECTS ALWAYS can be used to ensure a new object is
always created.
See the [9.0.0] POM MODE section for full details on creating/updating general POM objects.
Also supported from Teamcenter 8 onwards is the ability to set properties on relations when they
get created. For example when a form or dataset is attached to an item or revision then a
property can be set on the relation created between the two objects.
To set a relation property define a general property field with the relation name as the type, e.g.:-
IMAN_specification:<property>
Projects can now also be assigned to individual objects using the general properties format by
specifying any of the project_ids, project_list, projects_list property.
For example to set projects for any dataset use the field:-
(Dataset):project_ids
Or
DSET:project_ids.
Multiple projects can be supplied in a comma separated list with no spaces. A value of NULL will
un-assign all projects from the object. This can also be used as an alternative to set projects on
items and revs too.
The projects must already exist. This method will not create or update projects. Use the normal
projects mode and fields to do this. Errors will be provided for any project which does not exist.
The <value> may be user values, such as an Item or Form type for instance, or predefined
keywords such as ON or OFF for example, used for switching options. An example of
defining configuration options is shown below.
CREATE ITEMS = ON
FORM TYPE = Mfg Data Form
In version 7.6.6 a new configuration option INCLUDE was added to include another config
file, e.g. a global_config file to set general settings like DATE FORMAT.
Multiple INCLUDE options can be used and also nested through config files, e.g.
global_config.cfg
DATE FORMAT = %m/%d/%Y
DEFAULT REV = 01
NEWLINE TOK = |
SET BYPASS = ON
create_items_common.cfg
INCLUDE = global_config.cfg
CREATE ITEMS = ON
CREATE REVS = ON
UPDATE ITEMS = OFF
UPDATE REVS = OFF
create_document_items.cfg
INCLUDE = create_items_common.cfg
ITEM TYPE = Document
The included configuration files will be looked for in the same directory as the main
configuration file as specified with the –cfg argument, unless a specific path is supplied for
the included config file.
The following are general options which are not related to any specific module:-
FIELD DESCRIPTION
INCLUDE [7.6.0] Include another configuration file.
See section [7.6.0] INCLUDE CONFIG FILE above for
details.
MODE Re-set the mode. **OBSOLETED**
LOG FILE Override the default log file name.
REPEAT FILE Override the default repeat file name.
FOLDER NAME Default folder name for new items and other objects.
NOTE 1: Only new objects are placed in the specified
folder. To add existing objects to a folder use the
folder_insert or relations modes.
NOTE 2: If the folder does not exist it will be created. To
get the folder added to the import user’s Home folder set
TOP FOLDER = Home and prefix the FOLDER NAME
folder with \.
FOLDER TYPE Default Folder Type for folder creation/insertion.
NEWLINE TOK Newline token to allow multi line text entry into a Note form
attribute type. Default if not specified is ‘%#10;’
SET BYPASS ON|OFF flag to control if bypass privilege is available for
DBA user. (General All-module option).
UPDATE MODIFY DATES ON|OFF flag to control if the modification date on updated
objects should be changed.
NOTE: Requires SET BYPASS = ON
DATE FORMAT Describes the format date fields are in.
For example:
%d-%b-%Y %H:%M = 30-Apr-2003 07:50
%d/%m/%Y = 30/04/2003
%y%m%d = 03/04/30
Note: The format is the same as that used by the UNIX
date command. All of the options can be found by using
man date at the UNIX prompt.
FIELD DESCRIPTION
See Appendix A for all DATE FORMAT values available.
TC DATE FORMAT [10.0.1] Sets the date format used by Teamcenter in case it
can’t be read from timelocal_locale.xml.
NOTE: For Tc9.1 64bit this MUST be used as the value
from timelocal_locale.xml is not useable.
The typical Tc data format is:-
TC DATE FORMAT = %d-%b-%Y %H:%M
OUTPUT COL SIZE TYPE [6.9.0] These three options can be used to control the size
of the output columns for the Type, Name and Status
OUTPUT COL SIZE NAME
columns respectively. Simply set them to the number of
OUTPUT COL SIZE characters required in the column.
STATUS
MULTI VALUE SEPARATOR [7.0.0] Defines the separator used between values for an
STRING array property.
The default separator is a comma.
VALUE FILES ROOT DIR [7.0.0] Sets a root directory containing files which contain
values for properties define by a general property field with
the .FILE modifier. See section [7.0.0] General properties
for details.
LOG FILE FORMATS [7.0.0] Specifies formats for additional log files as a CSV list
containing one or more options from:-
CSV Creates a Comma Separated Values file with an
extension of .csv.
DELIM Creates a delimited file with an extension of
.txt.
The original log file is still written as normal.
DELIM FORMAT SEP [7.0.0] Specifies the delimiter to use with a LOG FILE
FORMAT of DELIM.
The default is the separator that was used in the log file.
DATA VALIDATION [8.1.0] ON|OFF flag to turn field validation off and on.
Validation can also be turned on using command line
arguments.
See the trouble shooting section on [8.1.0] Field Validation.
DATA VALIDATION [8.1.0] ON|OFF flag to turn import with field validation off
IMPORT and on.
DATA VALIDATION [8.1.0] Provides the name of a folder to put new objects
IMPORT FOLDER into, specifically for validation.
DATA VALIDATION LINE [8.1.0] Specifies how many lines to perform field validation
COUNT on.
GROUP MEMBER MAIN [8.2.0] Specifies the main separator in
SEPARATOR a .GROUP_MEMBER filed that separate the group, role
and user values.
The default value is a forward slash (/).
GROUP MEMBER MULTI [8.2.0] Specifies the value separator in
FIELD DESCRIPTION
VALUE SEPARATOR a .GROUP_MEMBER filed that separate individual group,
role and user values.
The default value is a comma (,).
SET COLON PROPS WITH [9.2.0] Provides a CSV list of general property fields (or
POM ‘colon’ (:) fields) which are to have their values set with
POM functions to override access and BMIDE rules on
attributes. This can be used instead of, or as well as, using
the .POM field modifier.
A value of ALL can also be supplied to set all general
property fields using POM.
The fields defined in the list can include their object type
prefix (I: for items, R: for rev etc) or not. If they do then
only the attribute for that object will be set using POM and
fields setting the same attribute for other objects will not. If
just the attribute name is supplied then all object type fields
setting that attribute will use POM.
For example:-
#SET COLON PROPS WITH POM = ALL
SET COLON PROPS WITH POM =
R:ContactName,dt7subject
!
~ItemID~RevID~R:ContactName~R:dt7subject~I:dt7subject
Will use POM for R:ContactName, R:dt7subject and
I:dt7subject.
DEFAULT LANGUAGE [10.5.0] Sets the default language for a field with a colon
header containing the modifier .LANG. E.g.:-
R:object_name.LANG
DEFAULT LANGUAGE [10.5.0] Sets the default language status for a language
STATUS field.
The default is Approved. Available options are:-
Approved
Pending
Review (for in-review)
Invalid
FIND FIELD DATA [10.11.0] Specifies the separator to use for a .FIND field
SEPARATOR modifier to separate the class and attributes names in the
header field and the values in the data to search on.
See .FIND in section [7.0.0] Field Modifiers.
C:\>SET IMAN_ROOT=C:\APPS\TCENG0913
C:\>SET IMAN_DATA=\\SERVER\SHARE\iman_data
C:\>%IMAN_DATA%\iman_profilevars
C:\> ips_data_upload_2007u_1_4_nti_7_3_3.exe –u=infodba –p=infodba
–i=data_file_name –cfg=config_file_name –m=mode -v
2.7.1 Introduction
Prior to Teamcenter 10 only one item could exist with an item ID, i.e. another item could not
have the same item ID as another item.
From Tc10 this is no longer the case with the introduction of MultiField Keys. Through
BMIDE additional item properties can be defined as MultiField Keys to be combined such
that their values produce an overall unique identification for each item.
Typically object_type acts as a default key so that items can be created with the same item
ID with different item types, but only one item per type. But, with another key defined as
well, then multiple items can be created with the same item ID and the same item type.
For IPS Data Upload this has required modifications across most modules since most of
them need to find an item so they now need to be able to handle multiple fields to define
Copyright © 2015 Siemens Industry Software. All rights reserved.
values to use to search for an item and handle the situation where more than one item is
returned.
To identify fields that are supplying a key value to search for an item the field modifier .KEY
is used, for example when object_type is a MultiField Key then I:object_type.KEY is used.
Item ID is treated as a key by default and so does not have the .KEY modifier added.
Some modules require more than one set of key fields, these are bom, relations and mfg,
although mfg does not support MultiField Keys in version 11.0.0 of IPS Data Upload.
For bom and relations distinction must be made between parent and child key fields. This
is done by adding the .PARENT and .CHILD modifiers respectively.
For example, a bom data file with keys may look like this:-
!~ItemID~RevID~I:object_type.KEY.PARENT~I:pw6_mfk_key1.KEY.PARENT~ChildID~ChildRev~I:object_type.KEY.CHILD~
I:pw6_mfk_key2.KEY.CHILD.BOM_OCC_KEY~SeqNo
M000001~A~PW6_MFK_TestType~val1~M000001~A~PW6_MFK_Type2~val1~10
M000001~A~PW6_MFK_TestType~val1~M000001~A~PW6_MFK_Type2~val2~20
M000001~A~PW6_MFK_TestType~val1~M000001~A~PW6_MFK_Type2~val2~20
M000001~A~PW6_MFK_TestType~val1~M000001~A~PW6_MFK_Type2~val1~10
M000001~A~PW6_MFK_TestType~val2~M000001~A~PW6_MFK_Type2~val1~10
2.7.3 Considerations
1. MultiField Key properties must be defined as Create Input properties in BMIDE as the
value must be supplied for item creation. If this is not done then there will be errors
received during item creation that the property is not a Create Input property.
2. Since MultiField Key properties are mandatory by definition they don’t have to be
specified as .MAND fields as well as all key fields have to be supplied with non-null
values to create an item.
3. If not all keys have fields specified and values supplied to find a single item then an
error will be given if more than one item is found.
4. Currently, in version 11.0.0 it’s not possible to update multiple items with the same key
values, if not all are defined for uniqueness, from a single data line, i.e. without
supplying all key values. So a separate line must be supplied for each item to be
updated by providing all of its unique key values.
5. Items with MANDatory properties, specified with the .MAND field modifier, must be
created in items mode. This is because multiple sets of .MAND fields, i.e. for parent
and child items, are not supported.
3. TROUBLESHOOTING
3.3 Debugging
In some remote cases, where an error being encountered is complex or not reported, it may
be useful to have further detailed information. In this instance, a system log (.syslog) is
generated and automatically stored, typically, in the %TEMP% folder location on Windows.
In order for the syslog file to provide meaningful information, it is important the
accompanying .pdb file (Microsoft program debug database) exists in the same location as
the IPS_DATA_UPLOAD executable. This is only required on the Windows platform.
Low level debugging information can also be generated when the utility is run providing a
trace of the operation of the utility. The following environment variables should be set in the
sourced Teamcenter Engineering environment the utility is running in and takes the format:
DEBUG_MAX=MAX
DEBUG_FILE_NAME=<filename>
For example, on Windows use:-
C:\>SET DEBUG_MAX=MAX
C:\>SET DEBUG_FILE_NAME=c:\debug.log
C:\>Run upload
This will then create a debug trace in the file c:\debug.log which is typically very useful
to Siemens PLM Technical personnel in resolving any problems.
Field Validation is used to validate that fields and values line up correctly in the data file and
will write a report for each line required, the default is one line, providing a list of <FIELD
NAME> : <FIELD VALUE> pairs and will indicate if there are fields without values specified
or values without fields specified.
Field validation is turned on with the DATA VALIDATION configuration option or the
–validation=n argument. The number of data lines to be validated can be specified and
these lines can optionally be imported.
By default the validated data lines will not be imported, but the configuration option DATA
VALIDATION IMPORT or the command line argument –validation_import can be used to
turn on import. In which case each validated line will also be imported.
Any errors encountered during the import, along with the normal import output will also be
written to the validation report file.
The name of the validation report file is <data_file>_field_report.txt.
DATA VALIDATION IMPORT [8.1.0] ON|OFF flag to turn import with field validation off
and on.
DATA VALIDATION IMPORT [8.1.0] Provides the name of a folder to put new objects
FOLDER into, specifically for validation.
DATA VALIDATION LINE [8.1.0] Specifies how many lines to perform field validation
COUNT on.
HEADER LINE
ItemID¦RevID¦Folder¦Name¦Desc¦I:project_list¦CreateDate¦Ignore:Own
er¦Ignore:Group¦Ignore:ModifyDate¦Ignore:LastModBy¦R:DocumentSubje
ct¦BadField
------------------------------------------------------------------
Copyright © 2015 Siemens Industry Software. All rights reserved.
----
DATA LINE 1
DOC-700001¦01¦a/b/c/d¦Tooling¦Tooling Allocation Decision
Record¦¦01/01/2010 00:00:00¦¦¦¦¦Tooling Allocation Decision
Record¦Bad Field Value¦Duff1¦Duff2¦
FIELD VALUES
[ 1] ItemID : 'DOC-700001'
[ 2] RevID : '01'
[ 3] Folder : 'a/b/c/d'
[ 4] Name : 'Tooling'
[ 5] Desc : 'Tooling Allocation
Decision Record'
[ 6] I:project_list : ''
[ 7] CreateDate : '01/01/2010 00:00:00'
[ 8] Ignore:Owner : ''
[ 9] Ignore:Group : ''
[ 10] Ignore:ModifyDate : ''
[ 11] Ignore:LastModBy : ''
[ 12] R:DocumentSubject : 'Tooling Allocation
Decision Record'
[ 13] BadField : 'Bad Field Value'
[ 14] : 'Duff1'
[ 15] : 'Duff2'
------------------------------------------------------------------
----
Line Action Obj Type Obj Name
Status - Notes
==================================================================
=================================
(0002)[0001] Document DOC-700001
ITEM EXISTS -
[0002] DocumentRevision DOC-700001 / 01
REV EXISTS - (SeqID 1)
If the property is a standard system one like owning_user then look for an IPS Data Upload
supplied keyword, e.g. Owner, in the fields section for the mode being used, though most
can be found in the Items mode, in particular sections 4.1.3 Ownership fields and 4.1.5
Status fields.
If it’s known that the property is stored in a single attribute in the database including links to
other existing objects, unlike status which has a separate status object created and
attached, then it may be possible to use the .POM field modifier to set the attribute directly.
If a reference is required to another object the .TAG field modifier can also be used with
.POM if the internal UID of the object to be references is known. Or the .FIND field modifier
could be used to specify the class and unique attribute values to find the required object, for
example:-
HEADER: I:project_list.POM.FIND=TC_project,project_id,project_name
VALUE: Test *,Test
4. ITEMS MODE
This section outlines the input data field definitions, configuration options and usage
information for the items mode. The items mode is used to import data around the following
criteria:
This mode is entered by default if no mode is specified in the command line options for the
utility or by setting the command line argument:
-m=items
o The attribute name (replacing <attr> above) must be the real name from the
database and not the display name.
o If the attribute is defined in the database as a date then use IMD: or RMD:.
Then the date format configuration option (DATE FORMAT) can be used in
the configuration file to define the format of the dates supplied in the data
file.
4.2.1 Items/Revisions
FIELD DESCRIPTION
CREATE ITEMS ON|OFF flag to control creation of Items
UPDATE ITEMS ON|OFF flag to control updating Items
CREATE REVS ON|OFF flag to control creation of Revisions
UPDATE REVS ON|OFF flag to control updating Revisions
UPDATE LATEST REV ON|OFF flag to use attach to latest rev/update the latest
rev.
[10.0.0] Added option ONLY to force finding latest rev
even if RevID supplied.
DEFAULT REV Default rev, if not supplied, when creating a new Item
ITEM TYPE Item Type to create new Items as
DEFAULT OWNER Default Owner, if not supplied in the data input file
DEFAULT GROUP Default Group, if not supplied in the data input file
UPDATE ITEM ATTACHMENTS ON|OFF flag to control if Item attachments have their
names updated to reflect a new ItemID. Default is ON
UPDATE REV ATTACHMENTS ON|OFF flag to control if Revision attachments have their
names updated to reflect a new ItemID and/or RevID.
Default is ON
AUTO GENERATE ITEM ID ON|OFF flag to control if ItemID should be auto generated
if ON and ItemID field is empty. Requires an ItemID
naming rule is in force in the Business Modeller.
AUTO GENERATE BASIC [10.7.0] ON|OFF flag to control if ItemID should be auto
ITEM ID generated when no naming rule exists, so will create
standard nnnnnn format IDs.
This uses USER_new_item_id which should use
"ITEM_id_prefix" and "ITEM_id_postfix" preferences.
ITEM REV ID SEPARATOR [6.8.0] Defines a set of alternative separators instead of
LIST those defined in the preferences:
FLColumnCatIVFSeparatorPref
FLColumnCatObjSeparatorPref
A max of 10 separator characters can be specified.
For example...
FIELD DESCRIPTION
UPDATE ITEM ATTACHMENT [7.0.0] A CSV list of relation types in which to update
RELATIONS attachments to the item.
UPDATE REV ATTACHMENT [7.0.0] A CSV list of relation types in which to update
RELATIONS attachments to the item revision.
UPDATE DSET ATTACHMENT [7.0.0] A CSV list of relation types in which to update
RELATIONS attachments to the dataset.
USE ITEMS WITH DIFF [7.0.1] ON|OFF flag to control if an item found with a
CASE different case should be used. The default value is YES,
albeit if different behaviour than before this option existed.
This comes into play during the creation of an item where
the create fails with a duplicate ID error because Tc found
an existing item with an ID of different case to the one
supplied for creation. In which case if the flag is set to ON
then the existing item will be used and a WARNING is
added to the log, otherwise an error will be given.
ITEM REV RULE [7.1.0] Can be used instead of UPDATE LATEST REV to
identify a revision to update based on a revision rule.
ALLOW REPEAT ITEM AND [9.1.0] ON|OFF flag to control if the same item and rev on
REV LINES subsequent lines should be processed. The default is NO
and a message SAME REV is given and if subsequent
lines contain the same item and rev and the rev will not be
updated.
SEARCH FOR ITEMS BY [10.0.0] Used to find multiple items for update. The value
specifies the type of search and additional parameters.
Options are:-
NAME:<NameField> Specifies to search for items by
searching on item Name using the
data field specified by
<NameField>.
For example:-
NAME:ItemID
MATCH ITEM BY NAME AND [10.0.0] ON|OFF flag to control if an item with matching ID
ID and Name should be looked for in the items returned
when using SEARCH FOR ITEMS BY, and if not found
then create an item, if CREATE ITEMS = ON, using the
supplied values.
CREATE REV SEQS [10.10.0] ON|OFF to control if new revision sequences
should be created.
UPDATE REV SEQS [10.10.0] ON|OFF to control if existing revision sequences
should be updated.
SET PREV REV SEQ IMMUNE [10.10.0] ON|OFF to control if the previous revision
sequence should be set to immune (to prevent deletion on
purge) when a new revision sequence is created.
Default is OFF.
4.2.2 Miscellaneous
FIELD DESCRIPTION
MODE Re-set the mode. **OBSOLETED**
FOLDER NAME Default folder name for new items.
NOTE 1: Only new objects are placed in the specified
folder. To add existing objects to a folder use the
folder_insert or relations modes.
NOTE 2: If the folder does not exist it will be created. To
get the folder added to the import user’s Home folder set
TOP FOLDER = Home and prefix the FOLDER NAME
folder with \.
LOG FILE Override the default log file name
REPEAT FILE Override the default repeat file name
FOLDER TYPE Default Folder Type for folder creation/insertion
NEWLINE TOK Newline token to allow multi line text entry into a Note
form attribute type. Default if not specified is ‘%#10;’
SET BYPASS ON|OFF flag to control if bypass privilege is available for
DBA user. (General All-module option).
UPDATE MODIFY DATES ON|OFF flag to control if the modification date on updated
objects should be changed.
DATE FORMAT Describes the format date fields are in.
For example:
%d-%b-%Y %H:%M = 30-Apr-2003 07:50
%d/%m/%Y = 30/04/2003
%y%m%d = 03/04/30
Note: The format is the same as that used by the UNIX
date command. All of the options can be found by using
man date at the UNIX prompt.
FIELD DESCRIPTION
RELEASE STATUS Name of default release status to use
RELEASE ITEM ON|OFF flag to control if Item is to be released. (Default =
OFF)
BASED ON STATUS Default release status for Based On Item/Revision
RELEASE BASED ON ITEM ON|OFF flag to control if Based On Item is to be released.
(Default = OFF)
UPDATE REVS ATTACHS ON|OFF flag to control if the Revisions’ attachments are
STATUS released, and release them if not. (Default = ON)
RELEASE RELATIONS A Comma separated list of relations in which to release
objects. The default is IMAN_specification.
RELEASE NAMED REFS ON|OFF flag to control if forms stored as named
references in a dataset are released when applying a
status. (Default = ON).
UNRELEASE NAMED REFS ON|OFF flag to control if forms stored as named
references in a dataset are unreleased when unreleasing
objects. (Default = ON).
UNRELEASE ITEMS ON|OFF flag to control un-releasing Items
UNRELEASE REVS ON|OFF flag to control un-releasing Revisions
UNRELEASE KEEP LAST ON|OFF flag to control if the last status is to be kept, i.e.
to clean up multiple statuses
CREATE STATUS ON|OFF flag. Controls if non released objects should be
released
FIELD DESCRIPTION
UPDATE STATUS Controls how released objects should have their status
updated. Can be set to one of the following options:
Turns off ALL status updating
OFF
LAST (Default). Only the last status object on a released object
will be updated.
ADD UNIQUE Like ADD, but only adds a new status if the object does
not already have a status object with the supplied status
name.
UNRELEASE Un-releases objects. Note: to use this option, no Status
field should be specified in the data fields.
Specifies that a specific status name only is to be
BY NAME updated. The specific status name is supplied using the
configuration option UPDATE STATUS NAME
UDPATE STATUS NAME Supplies a specific status name to match against and can
be used in several of the UPDATE STATUS options as
follows:
LAST The last status will only be updated if it matches,
otherwise any last status object will be updated.
ADD Only adds a new status object if it matches, otherwise a
new status will be added anyway.
ADD UNIQUE Only adds a new status object if it matches, otherwise a
new status will be added anyway or updated if already
existing.
USE PARENT STATUS ON|OFF flag to control if each object being released
should have a new status (OFF) or its parent’s status
attached (ON). (Default = OFF (Changed from ON in
10.0.0))
RELEASE OBJECTS FILTER Specifies a Class/Type filter to indicate which objects to
release/update. The format is:
(Class)[!Type1!Type2] for a class with excluded
types or Type1,Type2… for a comma separated list of
possible types to match
FIELD DESCRIPTION
ITEM RELEASE RELATIONS MUST BE SPECIFIED WHEN RELEASING VIA ITEMS
TO RELEASE RELATIONS,
Specifies a comma separated list of Revision relations to
find objects in. The following are valid keywords:
ALL Specifies all standard relations only, i.e. does not include
Revisions and BOMViews.
FIELD DESCRIPTION
UPDATE CICO Options to define what action to take on an object which
already has a Check-Out set. Valid options are:
Turn off applying any update operation to an existing
OFF
Check-Out.
Perform a Check-In operation to an object with an existing
CHECK IN Check-Out.
Default = OFF.
CHECK OUT REASON Reason/Comment text to add when performing a Check-
Out on an object.
DEFAULT = “Checked-Out by IPS_DATA_UPLOAD” if
not specified and ‘CheckOutReason’ data field not used.
CICO OBJECTS FILTER Specifies to comma separated list of object types valid to
perform Check-In/Check-Out/Cancel Check-Out operation
on. The format is:
Type1,Type2…
To exclude certain Classes/Types from the
Check-In/Check-Out/Cancel Check-Out operations, the
format is:
(Class)[!Type1!Type2]
If this Configuration option is not specified, all objects will
be processed.
1. In all modes of operation if the Item being operated on exists and has a different
Type to that supplied as a configuration option or input data file field value the
operation will not be performed.
2. If AUTO GENERATE ITEM ID = ON configuration option is set and the ItemID data
field has been left blank, the following rules are followed in generating an automatic
Item ID:
o Naming Rule for item_id must be attached to the Item Type in Business
Modeller.
o Auto Generation must not be turned off in Teamcenter Engineering.
o The top (first) pattern in item_id Naming Rule is always used.
3. To assign projects using the items mode, UPDATE ITEMS or UPDATE REVS must
be set to ON. This is not required if using projects mode.
4. V9 projects can be created, updated and assigned using the items mode to get
output from the items perspective. Alternatively, to get output from the project
perspective use the projects mode.
If no release status date is given, the date is taken from the time of program run.
When setting a release status, all Specification attachments of a Item Revision, and any
BOMViewRevisions (BVRs), are all given the same status as the rev. If multiple Revisions
of the same item are to be given a status, they need to be listed in the data file in the order
they are to be released as the dates are generated sequentially to avoid duplication.
If the release date is to be UPDATED to the current date/time then the header option is
required but the column must be left empty.
If a Revision is already released then by default all of the Specification objects and BVRs
will still be checked to see if they are released. If any attachments are found to not be
released then the release status object attached to the Revision will be attached to these
attachments. If just the release date is being updated this checking can be turned off by
setting the configuration option UPDATE REVS ATTACHS STATUS = OFF.
The Operating System regional settings (on Windows this is called Locale) should be set to
English UK or English US to maintain correct date translations. This is true even if using
"dd/mm/yyyy". The results for given dates in none-English UK or English US region
settings may translate as follows:
1/10/2004 -> 1/1/2004 and 1/12/2004 -> 1/1/2004
The following points should be noted when using the Check-In/Check-Out functionality:
It is also possible to Un-Release Items, Revisions and attached BOMViews (BVs), BVRs
and Specification objects. Any forms attached to datasets will also be un-released.
It is possible to just keep the last release status if an object has multiple statuses by setting
the configuration option UNRELEASE KEEP LAST = ON. The default is to remove all
status objects.
It is also possible to un-release all the Revisions in an Item or just the latest Revision by just
supplying the ItemID, so there is no need to specify any Revision IDs. If the configuration
option UPDATE LATEST REV = OFF is set (the default) then all of the Items' Revisions
will be un-released. If set to ON then just the latest revision will be un-released.
Once all of the status objects have been removed from the Item, Revisions and attachments
an attempt will be made to delete the status objects themselves. If however any of the
status objects are still attached to any other objects in the database an error 515110 will be
written to the syslog file. This is not a problem since all of the required objects will have
been un-released.
4.3.5 V7 EFFECTIVITIES
It automatically checks if V7 effectivity mode is active and sets the effectivity data
accordingly, including pre V7 effectivity if using pre V7 mode.
If V7 effectivity is being used and the EffStartDate and EffEndDate columns are included,
but with no values then any existing pre V7 start and end dates will be applied as V7
effectivity dates, i.e. a pre V7 to V7 conversion.
It will update any existing effectivity dates, so long as there is only one set of dates. In V7
mode if there are more than one range of dates then they will not be updated and a
message will be given stating "Cannot update multiple V7 effectivities".
If the NewItemID data field is supplied and configuration options CREATE ITEMS = OFF is
set but UPDATE ITEMS = ON is set, the Item ID will be changed to that supplied value.
If the NewRevID data field is supplied and configuration options CREATE REVS = OFF is
set but UPDATE REVS = ON is set, the Revision ID will be changed to that supplied value.
When either the Item or Revision ID is updated all corresponding objects which by default
have their names made up from a combination of the IDs will also be updated. This goes
for Master forms and BOM Views for both the Item and the Revision and all Revisions in the
item. These object names will only be updated if their old names matched the
corresponding combination with the original Item and Rev IDs.
Other attachments will also have their names updated if they contain
<ItemID><Separator><RevID> or just <ItemID> with the NewItemID and/or NewRevID.
This is on by default, but can be disabled using the configuration options UPDATE ITEM
ATTACHMENTS = OFF and UPDATE REV ATTACHMENTS = OFF.
For example:
If the Revision 000001/A is having the item ID changed to 999999 and Revision ID 1 then
the dataset called TEXT-000001/A-001 would be renamed to TEXT-999999/1-001.
NOTE: The NewItemID and NewRevID fields control the updating of IDs and the
revise/save as to new Revisions and Items depending on the setting of the relevant CREATE
and UPDATE options. In short, assuming UPDATE is ON then if CREATE is ON new objects
are created otherwise the ID on the existing objects are updated.
If CREATE REVS =ON, the NewRevID data field is supplied and NewItemID is supplied
(and is equal to the existing Item ID OR is empty), OR NewItemID has not been supplied,
then the Revision is copied (Revised) within the Item. The new Revision ID is that of
NewRevID or generated by Teamcenter Engineering if empty (using
USER_new_revision_id()).
If the data field NewItemID is supplied and does NOT match the existing Item ID and
CREATE ITEMS is ON, a new Item is created using that ID and the value of NewRevID if
set. If NewItemID and/or NewRevID are empty, the default Teamcenter Engineering
behaviour for ID generation is used (USER_new_id() and USER_new_revision_id()).
UPDATE ITEMS and/or UPDATE REVS set to ON will control the updating of the NEW
Revision and OLD Item if a "revise" has occurred OR the NEW Item and NEW Revision if a
"save as" occurred. Caution must be exercised when setting the create date of the new
revision.
In Teamcenter Engineering V9+ a Deep Copy will also be performed on any new Items or
Revisions to perform any Deep Copy Rules that may be set.
The data fields NewItemID and NewRevID control the updating of IDs and the Revise/Save
As to new Revisions/Items depending on the setting of the relevant CREATE and UPDATE
options. In short, assuming UPDATE is ON then if CREATE is ON new objects are created
otherwise the ID on the existing objects are updated.
Specific revision sequences can now be created and updated. By default, if the new field
RevSeqID is not specified then the active/latest sequence ID will be found and used for any
actions on a revision.
But, by using RevSeqID a previous revision sequence can be found and used as the
revision for actions, or a new later revision sequence created. Older, previously purged,
revision sequences cannot be re-created.
If there is a jump from the current active sequence ID to the new supplied sequence ID then
all sequences will be created in turn by performing multiple check-outs and check-ins with a
check-out message being added each time.
By default only 3 sequences are kept. These are all actually revisions, but only one (usually
the latest) is kept as active. Just like with dataset versions, when a new one is created the
oldest is deleted if required so that only 3 remain. But older revision sequences can be set
to immune so that they don’t get deleted (or purged) in this way. The config option SET
PREV REV SEQ IMMUNE can be set to ON to set the previous sequence to immune when
a new one is created. So as successive sequences are created during an import the older
ones can all become immune if required.
NOTE: There’s currently no feature to remove the immunity during an upload.
For Tc 8.3+ items are now created using a new general ITK function TC_create_object
which allows additional attributes to be set at creation time thus providing a means to create
items that have mandatory attributes defined on them in BMIDE.
Mandatory attributes need to be identified so that they can be set at item creation time.
This is done by adding the field modifier .MAND to the field name for each mandatory
attribute.
See the table entry for .MAND in section [7.0.0] Field Modifiers.
4.3.10.1 owning_project
Owning project can be set by using the .FIND field modifier to find a TC_project object.
For example:-
!~ItemID~I:owning_project.FIND=TC_Project,project_id
000001~Project X
4.3.10.2 project_list
Although project_list can be set by supplying a comma separated list of project IDs which
uses the ITK function PROJ_assign_objects, the .FIND field modifier can also be used to
find projects using other attributes, other than just project_id, as well if required. This will
set project_list directly, but as it’s a non-modifiable attribute it also requires the .POM field
modifier. For example:-
!~ItemID~I:project_list.POM.FIND=TC_project,project_id,project_name
000001~Test *,Test
4.5 EXAMPLES
Simple example showing mixture of keywords and general properties:-
!~ItemID~RevID~I:object_desc~R:object_desc~R:owning_user~RM:project_id
000001~A~Test Item~Revision A~Tim Williams(tim)~Project X
5. BOMS MODE
This section outlines the input data field definitions, configuration options and usage
information for the bom mode. The bom mode is used to import data around the following
criteria:
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=bom
5.1.1 BOMs
FIELD DESCRIPTION
ParentID or ItemID Item ID of parent
ParentRev or RevID Rev ID of parent
ChildID Child Item ID
ChildRev Child Rev ID
Qty Quantity.
SeqNo Sequence number for occurrence
OccQty Occurrence Quantity.
Alternates Supplies a comma separated list of alternates/substitutes.
The config option ALTERNATES LIST SEPARATOR can
be used to specify a different separator to a comma.
AlternateRevIDs [10.6.0] Supplies a comma separated list of alternate
revision IDs. The list must be in sync with the item IDs
listed in the Alternates field. But blanks can be included
to select the latest rev for certain alternate items.
For example:-
…~Alternates~AlternateRevIDs~…
…~alt_item_1,alt_item_2,alt_item_3~A,,E~…
Will add revs A and E for alt_item_1 and alt_item_3, but
the latest rev for alt_item_2.
NOTE: Any occurrence notes which do not exist as types will be created as occurrence
note types prior to Teamcenter Unified Architecture. From TcUA onwards occurrence notes
must first be created using the BMIDE.
Version 7.0.0 introduced the ability to create and update variant options and conditions for
both legacy and modular variants.
Version 7.4.0 introduced the ability to create and update legacy variant rules.
FIELD DESCRIPTION
LVarOptName The Legacy Option Name
LVarOptDesc The Legacy Option Description
LVarOptVal The Legacy Option Value, which can be a CSV of values.
LVarOptDefVal The Legacy Option Default Value
LVarOptSetIfVal The Legacy Option Set If Value (Derived value)
LVarOptSetIfCond The Legacy Option Set If Condition.
This is a fully defined condition string. See Legacy
conditions below.
LVarOptCondition A Legacy Option condition to apply to an occurrence.
LVarOptAction Specifies an action to perform on an option. The possible
action values are..
delete deletes the option
replace replaces the option
LVarOptValAction Specifies an action to perform on an option value. The
possible action values are..
delete deletes the value
replace replaces the value
LVarRuleName The Legacy Rule Name.
LVarRuleDesc The Legacy Rule Description.
LVarRuleOptSet The Legacy Rule Option Set. This specifies a list of
options and values to be set by this rule. The format is...
<option> = <value> & <option> = <value> &...
See section 5.3.4.2.1 for further format details.
LVarOptErrorIfMsg [10.12.0] The Legacy Option Error If message.
LVarOptErrorIfCond [10.12.0] The Legacy Option Error If condition.
FIELD DESCRIPTION
MVarOptName The Modular Option Name
MVarOptDesc The Modular Option Description
MVarOptVis The Modular Option Visibility, allowable options are:-
Public or Private.
MVarOptValType The Modular Option Value Type, allowable options are:-
STRING, INTEGER, LOGICAL or REAL
MVarOptVal The Modular Option Value, which can be a CSV of
values.
MVarOptDefVal The Modular Option Default Value
MVarOptCondition The Modular Option Condition
MVarOptAction The Modular Option Action, which can be one of the
following:-
delete to delete an existing option.
Set MVarOptName to * to delete ALL
options.
replace to replace the values of an existing option.
For both options UPDATE MODULAR VARIANT OPTION
must be set to ON.
Any writable standard property can now be set by using the general property format as
described in section [7.0.0] General properties. For BOM Line properties using the type
keyword BL. For example:-
BL:bl_occurrence_name
BL:bl_occ_xform_matrix
BL:bl_is_occ_suppressed
The general property format can also be used to set specific ownership on just BOMViews
or BOMView Revisions too, with a field like:-
Design BOMView:owning_group.PARENT~Design BOMView Revision:owning_group
BV:owning_user
To create a publish link the source and target parent BOM Item IDs, and optionally rev IDs,
and the Child item ID will need to be specified.
FIELD DESCRIPTION
TargetParentID Item ID of target parent.
5.2.1 BOMS
OPTION DESCRIPTION
BOM FORMAT Only “parent_child” is supported
VIEW TYPE The BOMViewRevision Type
SET BOMS PRECISE ON|OFF flag to control setting BOMS precise.
(Default = OFF, imprecise)
USE PS CREATE OCC ON|OFF flag to control which ITK function set is
used to create occurrences. If this is set to ON the
PS ITK functions will be used instead of BOM
functions.
PS functions are faster than BOM functions, which
is the reason for this option!!
PS functions are fine for simple BOM creation and
some updates, but more complex options such
Options & Variants must use BOM functions.
The default is OFF, i.e. use BOM functions.
CREATE BOMS ON|OFF flag to control creation of BVRs
UPDATE BOMS ON|OFF flag to control update of BVRs
BOM UPDATE OPTION BOMViewRevision update from:
ADD OCCURRENCES Adds occurrences to existing BOMViewRevision
REPLACE ALL Removes all occurrences from the BVR before
OCCURRENCES adding occurrences.
Update individual occurrences, but only the first one
UPDATE OCCURRENCES if multiple matches are found.
Update individual occurrences and update ALL
UPDATE ALL OCCURRENCES
matching occurrences.
BOM UPDATE ID FIELDS A comma separated list of fields to use to identify
occurrences to update.
For example, to match on ChildID and SeqNo;
ChildID,SeqNo
[11.0.0] This option can now be combined with, or
replaced by, fields flagged by the field modifier
.BOM_OCC_KEY. This allows many more fields,
including BL fields to identify different occurrence
properties, to be used to identify occurrences to be
updated.
ALTERNATES LIST SEPARATOR Specify a different separator than a comma when
supplying a list of alternate items
BOM UPDATE ADD OCCURRENCES ON|OFF flag to control if new occurrences should
be created. This will add occurrences that could
not be found during a BOM Update.
[10.0.0] Added new value of LATEST REV to force
OPTION DESCRIPTION
the latest rev of any found child to be added, thus
only effective for precise BOMs.
BOM UPDATE PRE DELETE ATTR Defines a BOM attribute to use to find occurrences
to be deleted before any updates for the BOM are
done
BOM UPDATE PRE DELETE VALUE Defines the value for the PRE DELETE ATTR to be
matched
BOM UDPATE DELETE FIELD Defines a field header name to be used to delete
Occurrences.
For example, the field name is user definable, i.e.
“DELETE THIS”
BOM UPDATE DELETE VALUE Defines the value for the DELETE FIELD to be
matched to identify occurrences to be deleted.
For example, “DELETE”
BOM SUBST CHILD OPTION REVISE|SUBST flag to control BOM Child
substation behaviour
BOM REVISE CHILD USE ON|OFF flag to control if existing Items/Revisions
EXISTING can be used in REVISE mode.
BOM REV RULE Revision Rule to use to set the revision rule to be
used to load a bom.. (Default = Latest Working).
[7.0.1] Can also be used to specify a revision rule in
case of problems adding BOM lines due to rev rule
errors.
PRED UPDATE ID FIELDS Used in conjunction with the new BOM field
PredSeqNo to find the correct predecessor
occurrence. An example of the new cfg option is:-
NOTE:
NOTE: If UPDATE BOMS = ON is set the BOMViewRevision will toggle to satisfy the setting
for SET BOMS PRECISE. I.e. if SET BOMS PRECISE = ON is set and the
BOMVewRevision is not precise, it will be toggled to Precise and vice-versa.
NOTE: The following configuration options are only used if BOM UPDATE OPTION is set to
UPDATE OCCURRENCES or UPDATE ALL OCCURRENCES:
1. BOM UPDATE ADD OCCURRENCES
2. BOM UPDATE PRE DELETE ATTR
3. BOM UPDATE PRE DELETE VALUE
4. BOM UPDATE DELETE FIELD
NOTE: items mode can be used to set all Item and ItemRevision properties on EC
Items/ItemRevisions.
OPTION DESCRIPTION
Legacy Variant Rules.
The available options are:-
REPLACE – to replace the entire Option
Set. Must be used for new option sets! This is
the default option.
UPDATE – to update individual options
CREATE MODULAR VARIANT OPTION ON|OFF flag to control creation of Modular
Variant Options
UPDATE MODULAR VARIANT OPTION ON|OFF flag to control updating Modular Variant
Options
O&V CHECK FOR EXISTING RULE [11.0.0] ON|OFF flag to control if existing rules
should be checked for in order to prevent
duplications from being created.
By default this is ON, but can have major
performance issues. So set this to OFF if
performance is an issue.
OPTION DESCRIPTION
LEAVE Do nothing.
The default is LEAVE.
1. It is recommended the data be sorted by the ParentID and ParentRev fields and a
parts list for a single parent should be wholly contained within the data file,
otherwise there is a possibility any children for that parent in a subsequent data file
may not be added under certain circumstances.
2. To control the creation of parent and child Items and Revisions use the options
CREATE ITEMS and CREATE REVS to provide any combination of PARENT and
CHILD as the value. For example:
Any BOM attribute can be updated. Occurrences can be identified by one or a multiple of
attributes, for example just ChildID or ChildID and SeqNo if there are multiple occurrences
of the same child. By default occurrences will be matched just on the ChildID.
[11.0.0] Previously a comma separated list of field names was specified with the
configuration option BOM UPDATE ID FIELDS, but this did now allow any colon (:) fields to
be used. But, now any field can be flagged with the field modifier .BOM_OCC_KEY.
Any occurrences found will be updated with all supplied values. If a field is to be used to
identify an occurrence and this value is also to be updated then a second field should be
supplied with the same header name, but prefixed with "New". For example if matching on
"SeqNo" then a field with the header "NewSeqNo" should be used to supply the new
Sequence Number.
Several occurrences can be pre-deleted by specifying a particular attribute and value to look
for. All occurrences with this value will be deleted. Otherwise occurrences can be deleted
by 'marking' children in the data file. This is done by specifying a particular field and value
in the data file.
If an occurrence is not marked for delete, but cannot be found for update then it will be
added. However, there is an option to stop this if required. All options are configurable.
When identifying occurrences a [*] can be used in an identifying field to match any value, or
a value of NULL can be used to match empty values. Thus it would be possible, for
example, to unset the Sequence Number for ALL occurrences using a data file simply
containing:
!~ParentID~ChildID~SeqNo
Assembly123~*~NULL
In update mode children can now be substituted with either existing Items or Revisions, or
with Revised or Saved-As Revisions of the child.
Occurrences should be located as per the configuration option BOM OCCURRENCE UPDATE,
which by default is to match on just the ChildID field.
By setting BOM UPDATE OPTION = UPDATE ALL OCCURRENCES all found occurrences
will have their Item/Revision substituted.
All occurrences where substitution is done will retain all their existing occurrence attributes.
However, new values for any attribute can be supplied in the data file in the normal way. If
occurrence attributes are NOT to be kept then do not use these substitute options, but
instead, delete the existing occurrence using a delete field and add the replacement child as
a new occurrence.
This functionality uses the SubstChildID and SubstChildRev data fields along with BOM
SUBST CHILD OPTION and BOM REVISE CHILD USE EXISTING configuration options.
5.3.3.1 Introduction
This functionality adds the ability to create Part / CAD alignment links (or Publish Links (PL))
between an occurrence in a design (CAD) BOM and an occurrence in a business (Part)
BOM.
The occurrence within each BOM will be identified by its item ID.
This functionality is only available from Teamcenter 2007 UA onwards.
The link is created by viewing both BOMs, selecting an occurrence in each BOM and
selecting the Publish Data menu option, which provides the following dialog:-
Teamcenter calls the Part/CAD alignment links Publish Links and so in the output for
importing links many of the messages relating to the publish links are prefixed with PL.
To import links the data must include information about both the source and target children.
For the source child use the standard BOM fields ParentID, ParentRev and ChildID; and
for the target child use the new fields TargetParentID, TargetParentRev and
TargetChildID.
5.3.3.3.1 Example
Simple example to create part/CAD alignment links:-
!~ParentID~ParentRev~ChildID~TargetParentID~TargetParentRev~TargetChildID
New_Assy1~A~child1~New_Assy3~A~Sub_assy4
New_Assy1~A~child1~New_Assy3~A~child1
For both legacy and modular variants the allowable options and their values must be
specified with one option at a time on separate data lines with only the parent specified, i.e.
the ChildID field, if supplied, must have a blank value.
All options and their values must be defined, in a series of data lines with just the Parent ID,
before supplying any data lines with children to specify the child conditions.
5.3.4.1.1 Legacy
Legacy options are created using the fields LVarOptName, LVarOptDesc, and
LVarOptVal. where LVarOptVal can take a CSV list of values.
For example:-
!~ItemID~ParentRev~ChildID~ChildRev~LVarOptName~LVarOptDesc~LVarOptVal
AHD54302~001~~~Load_Mainstream~Load_Mainstream GM Legacy Option.~Y,N
5.3.4.1.2 Modular
Legacy options are created using the fields MVarOptName, MVarOptDesc, MVarOptVis,
MVarOptValType and MVarOptVal, where:-
MVarOptValVis is one of Public or Private.
MVarOptValType is one of STRING, INTEGER, LOGICAL or REAL. Default is STRING.
MVarOptVal can take a CSV list of values.
For example:-
!
~ItemID~ParentRev~ChildID~ChildRev~MVarOptName~MVarOptDesc~MVarOptVis~MV
arOptValType~MVarOptCondition
BG00000020~A~~~MyOption006~Option desc~public~LOGICAL~
Conditions for a child are specified on a line with the ChildID supplied, but after the options
and values have been defined.
5.3.4.2.1 Legacy
For legacy conditions, specified in the LVarOptCondition field, and for defining Option Sets
using the fields LVarRuleOptSet, CCSOSOptSet or SCSOSOptSet, the format is:-
[(]<clause>[&||]<clause>[)]
i.e. a series of clause separated by & (ampersand) for AND or | (pipe) for OR. Optionally a
set of clauses can be grouped with brackets, and again & or |’s used between bracketed
series.
For example:-
((AHD53175; M_LTL_C; ==; Y | AHD53175; M_LTL_K; ==; Y) & (AHD53175; M_LGW_1;
==; Y | AHD53175; M_LGW_2; ==; Y)) & (AHD53175; M_LCW_05; ==; Y | AHD53175;
M_LCW_07; ==; Y | AHD53175; M_LCW_09; ==; Y | AHD53175; M_LCW_10; ==; Y)
Each clause is specified with 4 or 5 fields with values separated by a semi colons (;), in the
format:-
<item_id>[;<rev_id>];<option_name>;<operator>;<values>
Where:-
<item_id> - is the item ID of the item that has the option defined on it.
<rev_id> - is the optional rev ID of the item with the option defined on it.
<option_name> - is the name of the option to be set.
<operator> - is one of:-
= or == for the set option equals this value
!= or <> for not equals
> for greater than
>= for greater than or equal to
< for less than
<= for less than or equal to
NOTE: If the item or revision cannot be found an error will be given. If the rev_id is not
supplied then the configuration option UPDATE LATEST REV can be set to ON to get the
latest revision.
5.3.4.2.2 Modular
For modular conditions, specified in the MVarOptCondition field, the string value as used
in the Tc UI is used in the data line. So the easiest method is to create some conditions, as
required, in the UI to get the format by looking at the property bl_occ_mvl_condition,
e.g.:-
For example:-
!
~ItemID~ParentRev~ChildID~ChildRev~MVarOptName~MVarOptDesc~MVarOptVis~MVar
OptValType~MVarOptCondition
BG00000020~A~~~MyOption006~Option desc~public~LOGICAL~
BG00000020~A~BG00000006~@@~~~~~BG00000020:MyOption006 = true
Option error rules can be specified with the fields LVarOptErrorIfMsg and
LVarOptErrorIfCond.
[11.0.0] By default any existing rules will be searched first to see if the current defined rule
already exists in order to prevent duplication. But, if there are many options defined then
this can have a major impact on performance, potentially hours instead of minutes. If
duplicates are unlikely to occur from the data being supplied and the performance is an
issue then the check for an existing rules can be turedn off by setting the configuration
option:-
Copyright © 2015 Siemens Industry Software. All rights reserved.
Occurrence effectivities can be set on BOM occurrences, but with limited functionality as
follows:-
Effectivities must have an ID.
It’s possible to create legacy or unified effectivities, depending upon the OOTB
preference CFMOccEffMode which can have the values legacy, maintenance or
upgrade.
Only single date ranges can be created, but an end date can be left blank for open
ended (or UP).
Multiple unified effectivities can be added to an occurrence.
It will find existing effectivities to attach.
Existing effectivities cannot be updated.
5.5 EXAMPLES
NOTE: More examples for bom mode can be found in Appendix C.
6. FORMS MODE
This section outlines the input data field definitions, configuration options and usage
information for the forms mode. The forms mode is used to import data around the
following criteria:
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=forms
6.1.1 Forms
FIELD DESCRIPTION
ItemID Item ID to attach the form to
RevID The Rev ID of the ItemID to attach the form to
FormName The name of the form
FormDesc The description of the form
FormType The Form Type
F:<Attr> A form attribute to populate. This must be the must
be the real name from the database and not the
display name.
6.2.1 Forms
OPTION DESCRIPTION
UPDATE FORMS ON|OFF flag to control updating forms
CREATE FORMS ON|OFF flag to control creation of forms
FORM TYPE
RELATION NAME The relation type name to use.
For example, Spec, Manif, Ref, Req,
IMAN_custom_relation
RELATION PARENT TYPE The type of parent, either ITEM or REV.
1. The forms mode should be avoided for just setting Item or ItemRevision Master form
attributes. The items mode should be used for these forms.
6.4.1 Forms
FIELD DESCRIPTION
-ft=<Form Type> Specify default Form Type to use.
TCENG PREFERENCE equivalent:
IPS_IMP_Form_Type
Configuration Option equivalent: FORM TYPE
-ao=<Attach Obj Type> Attach to Object Type. Valid options are ITEM|REV.
Configuration Option equivalent: RELATION PARENT
TYPE
-rel=<Relation Name> Specify the Relation to use where Relation is one of:
Spec | Manif | Req | Ref.
Configuration Option equivalent: RELATION NAME
6.5 EXAMPLES
Simple example showing mixture of keywords and general properties:-
!~ItemID~RevID~FormType~FormName~F:object_desc~F:owning_user~F:charge_number
000001~A~ECO Sample Form~ECO-000001/A~Test ECO Form~Tim Williams(tim)~12
7. LOVS MODE
This section outlines the input data field definitions, configuration options and usage
information for the list of values (LOVS) mode. The LOVS mode is used to import data
around the following criteria:
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=create_lovs
7.1.1 Lovs
FIELD DESCRIPTION
LovName The name of the LOV to populate
LovType The type of LOV, i.e. STRING, INT or DOUBLE
LovVal The value to add
7.2.1 Lovs
OPTION DESCRIPTION
LOV NAME The name of the LOV to populate
LOV TYPE STRING|INT|DOUBLE flag to control the LOV Type
1. The List of Values (LOV) must be created first in Teamcenter Engineering prior to
using ips_data_upload to populate it.
2. The LOV module is not available with Tc UA onwards as BMIDE must be used.
3. The following is a mapping of the LOV types that can be populated in Teamcenter
Engineering by using ips_data_upload:
STRING = ListOfValuesString
INT = ListOfValuesInteger
DOUBLE = ListOfValuesDouble
7.5 EXAMPLES
Examples for create_lovs mode can be found in Appendix E.
8. RELATIONS MODE
This section outlines the input data field definitions, configuration options and usage
information for the relations mode. The relations mode is used mainly to import data around
the following criteria:
-m=relations
8.2.1 Relations
FIELD DESCRIPTION
^ItemID or ParentID The Item ID of the parent Item
[RevID or ParentRev] OPTIONAL. The Revision ID of the Parent Revision
*ChildID The ItemID of an item to be cut or pasted from/into the
parent.
[ChildRev] OPTIONAL. The Revision ID of the Revision to be cut
or pasted from/into the parent.
FormType The type of form to be cut or pasted from/into the
parent. Used with FormName.
FIELD DESCRIPTION
*FormName The name of the form to be cut or pasted from/into the
parent. Used with FormType.
DsetType The type of the dataset to be cut or pasted from/into the
parent. Used with DsetName.
*DsetName The name of dataset to be cut or pasted from/into the
parent. Used with DsetType.
RelationName The Name/Type of the relation to paste as, or cut from.
[11.1.0] When using RELATION BMIDE OVERRIDE =
ON and the relation is to be created in a class other than
that specified with RelationName, and not in the class
ImanRelation then add the field modifier:-
.ON_CLASS=ClassName
To specify the class to create the relation on, e.g.
RelationName.ON_CLASS=ComponentRelation
See Module Notes for further details.
[NewRelation] OPTIONAL. New relation name/type to move the child
object to.
For example, from RelationName to NewRelation.
<Relation>:<Property> [7.0.0] This is a general property format for setting
properties on the relation itself at the time of creating the
relation.
<Relation> is the relation name, i.e.
IMAN_specification.
<Property> is the name of a property on the
relation.
RelChildType [7.3.3] Used to specify any WSOM object type to be cut
or pasted from/into the parent. Used in conjunction with
RelChildName.
Using these fields different object types can be attached
in one import, e.g. datasets, forms and object types.
*RelChildName [7.3.3] Used to specify any WSOM object name to be
cut or pasted from/into the parent. Used in conjunction
with RelChildType.
Using these fields different object types can be attached
in one import, e.g. datasets, forms and object types.
ChildRelation [8.0.0] The relation between a Child item or revision
(using ChildID and ChildRev) and the required
workspace object to be attached to the parent object.
ParentType [8.0.0] The workspace type of the parent/primary object.
^ParentName [8.0.0] The name of the parent/primary object.
ParentRelation [8.0.0] The relation between a Parent item or revision
(using ParentID and ParentRev) and the required
workspace object to be attached to the parent object.
ChildOwner [10.1.0] The owner of the child/secondary object to be
FIELD DESCRIPTION
used in conjunction with name and type to find objects.
ChildGroup [10.1.0] The group of the child/secondary object to be
used in conjunction with name and type to find objects.
*ChildPUID [10.1.0] The database PUID of the child/secondary
object to be used on its own to find a specific object.
ChildClass [10.1.0] The class of the child/secondary object to be
used with the database PUID to validate the class of the
object.
Append ‘…’ to the class name to check for descended
from class. See note 4 below.
ParentOwner [10.1.0] The owner of the parent/primary object to be
used in conjunction with name and type to find objects.
ParentGroup [10.1.0] The group of the parent/primary object to be
used in conjunction with name and type to find objects.
^ParentPUID [10.1.0] The database PUID of the parent/primary object
to be used on its own to find a specific object.
ParentClass [10.1.0] The class of the parent/primary object to be
used with the database PUID to validate the class of the
object.
Append ‘…’ to the class name to check for descended
from class. See note 4 below.
^ NOTE: Only one of the parent fields ItemID, ParentID, ParentName or ParentPUID can
be used to find the parent/primary object. These fields are mutually exclusive.
* NOTE: Only one of the child fields ChildID, FormName, DsetName, RelChildName or
ChildPUID can be used to find the child/secondary object. These fields are mutually
exclusive.
8.3.1 Relations
OPTION DESCRIPTION
RELATION NAME The Name/Type of the relation to paste as
RELATION PARENT TYPE The type of parent object ITEM or REV.
If REV is used and no ParentRev or RevID is given in
the data file then the latest revision will be used.
RELATION CHILD TYPE The Type of child object ITEM or REV.
If REV is used and no ChildRev ID is given in the data
file then the latest revision will be used.
NEW RELATION NAME Optional new relation name/type to move the child
object to.
For example, from RelationName to NewRelation
CUT RELATIONS ON|OFF flag to turn on and off cutting of relations.
Default is OFF.
PASTE RELATIONS ON|OFF flag to turn on and off pasting of relations.
Default is OFF.
RELATION PARENT [8.0.0] The default relation to be used between a
RELATION parent item or revision and the desired parent
workspace object, if not specified with the field
ParentRelation.
RELATION CHILD [8.0.0] The default relation to be used between a child
RELATION item or revision and the desired child workspace
object, if not specified with the field ChildRelation.
RELATION MULTI PARENT [8.0.0] Specifies what to do if more than one parent
OPTION object is found. The available options are:-
NONE - Use none of them
FIRST - Use the first one
ALL - Use all of them
RELATION MULTI CHILD [8.0.0] Specifies what to do if more than one child
OPTION object is found. The available options are:-
NONE - Use none of them
FIRST - Use the first one
ALL - Use all of them
RELATION PARENT WSOM [8.0.0] The default parent workspace object type, if not
TYPE specified with the field ParentType.
RELATION CHILD WSOM [8.0.0] The default parent workspace object type, if not
TYPE specified with the field ParentType.
RELATION BMIDE [10.11.0] An ON|OFF flag to use POM functions for
OVERRIDE relations in order to override BMIDE rules.
The default is OFF.
1. If ChildID, RevID, DsetName and DsetType are all supplied then the dataset will be
found in the specified child revision and copied to the parent Revision or item
Accordingly.
2. Both Parent and Child objects must already exist in Teamcenter Engineering. This
mode will not create the objects.
3. The following order of precedence is used for specifying a relation:
a. The Internal Teamcenter Engineering Relation Name
b. One of the following Keywords:
i. SPEC (IMAN_specification)
ii. MANIF (IMAN_manifestation)
iii. REQ (IMAN_requirement)
iv. REF (IMAN_reference)
IPS Data Upload only knows short cuts for these historic 4 relation types.
Apart from these the full system relation name must be used, i.e. not the
display name. So for Rendering (the display name), for example,
IMAN_Rendering (yes, UPPER case R) must be specified.
4. [10.1.0] When specifying a optional class with a PUID, to confirm the PUID used in is
the required class, e.g. ChildClass with ChildPUID then 3 dots can be appended to
the class name value supplied to check if the class is descended from the class
name specified, e.g. Item will check that the object is an Item, whereas Item… will
check that the object is descended from Item.
These notes apply to when having the following option set to create a GRM relation using
POM functions to override any rules set in BMIDE that would normally prevent the relation
from being created:-
RELATION BMIDE OVERRIDE = YES
By default if a class exists for the supplied relation name then an object will be created in
that class.
For example the OOTB Fnd0ListsParamReqments has a Business object and a class:-
But, if a direct class doesn’t exist, but the relation type is defined on a sub class to
ImanRelation then the class needs to be specified with the .ON_CLASS=class field
modifier added to the RelationName field.
For example the OOTB IMAN_MEComponent has a Business Object, but no direct class
but it’s defined on the class ComponentRelation:-
Sometimes a class will require some default attributes to be set. To test this try creating
one relation and if it returns the error “The instance cannot be saved because it contains
empty attributes.” then look in the corresponding syslog to find entries about empty
attributes, e.g.:-
NOTE - 2014/6/19-14:36:53.219 UTC - NoId - Instance 00007839 <gcGAAAKYYRLTNB-
gcGAAAKYYRLTNB>(ComponentRelation) attribute rel_subtype is empty -
Teamcenter.POM at d:\tc91w0201\src\foundation\pom\dms\dms_util.cxx(490)
NOTE: To get a syslog to remain in order to see this error it may be necessary to set the
environment variable TC_KEEP_SYSTEM_LOG=1, otherwise the syslog may get deleted.
Because different classes have different default attributes to be set at the time of creation
these need to be specified in the configuration file using the POM option POM DEFAULT
ATTRS FOR CLASS Class, for example:-
POM DEFAULT ATTRS FOR CLASS Fnd0ListsParamReqments =
description,name,fnd0SecondaryBomView,fnd0PrimaryBomView, fnd0SequenceNumber
POM DEFAULT ATTRS FOR CLASS ComponentRelation = rel_subtype
NOTE: The default attributes on a class may change with different versions of Teamcenter.
For example fnd0SequenceNumber on Fnd0ListsParamReqments exists in Tc 10.1, but
not in Tc 9.1.
In either case still use the relation type in any field headers to set relation attributes, e.g.:-
Example 1
!
~ParentID~ParentRev~ChildID~ChildRev~RelationName~Fnd0ListsParamReqments:Fnd0p
arameter~Fnd0ListsParamReqments:Fnd0value~Fnd0ListsParamReqments:description
1000001-MAND~A~1000002-MAND~A~Fnd0ListsParamReqments~Size~99~Size=99?
Example 2
!
~ParentID~ParentRev~ChildID~ChildRev~RelationName.ON_CLASS=ComponentRelation
~IMAN_MEComponent:rel_subtype.POM
1000001-MAND~A~1000002-MAND~A~IMAN_MEComponent~99
In this second example the .POM modifier has been added to rel_subtype to use POM to
set it, otherwise the error “Property rel_subtype is not modifiable.” is received.
Until the class and attributes are defined correctly a relation may be created in the class of
ImanRelation only and not allow any attributes on sub class to be set because there is not
object in that class. This can give an error that he attribute does not exist on ImanRelation.
So it may be necessary to cut the relation by setting the config option:-
CUT RELATIONS = ON
temporarily to cut the relation before trying again.
8.5.1 Relations
FIELD DESCRIPTION
-rel=<Relation Name> Name of the Relation to populate.
Configuration Option equivalent: RELATION NAME
-newrel=<New Relation Specify the new Relation Name to populate.
Name>
Configuration Option equivalent: NEW RELATION
TYPE
8.6 EXAMPLES
1) Simple example:-
!~ItemID~RevID~RelChildName~RelChildType
000003~A~Text-000003/A~Text
000003~A~ECO_sample_000003/A~ECO Sample Form
!~ItemID~RevID~ParentName~ParentType~ChildID~ChildRev~DsetName~DsetType~RelationName
tim-98765~A~Text-tim-98765-1-txt~Text~tim-98765~A~Text-tim-98765-1-cfg~Text~IMAN_Rendering
!~ParentName~ParentType~DsetName~DsetType~RelationName
Text-tim-98765-1~Text~Text-tim-98765-1-cfg~Text~IMAN_Rendering
!~ParentName~ParentType~RelationName~ChildName~ChildType~ParentOwner~ChildOwner
Home~Folder~~Home~Folder~infodba~tim
!~ParentPUID~ChildPUID~ChildClass~ParentClass
#A1OAAAg9YRLTNB~AsPAAAAYYRLTNB~Folder~Folder...
AsPAAAAYYRLTNB~A1OAAAg9YRLTNB~Folder~Folder...
9. DATASETS MODE
This section outlines the input data field definitions, configuration options and usage
information for the datasets mode. The datasets mode is used to import data around the
following criteria:
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=datasets
9.1.1 Datasets
FIELD DESCRIPTION
ItemID The Item ID of the parent Item
[RevID] OPTIONAL. The Revision ID of the Parent Revision
*DsetName The name of the dataset to paste in
*DsetType The type of the dataset
*DsetDesc Dataset Description
DsetGroup Dataset Owning Group
*DsetOwner Dataset Owning User
*DsetCrtDate Dataset Create Date
*DsetModDate Dataset Mod Date
*DsetModBy Dataset Last Modified By User
NewDsetName New Dataset Name. Use DsetName to find the
dataset and NewDsetName to change the name of the
dataset.
Volume Defines the volume for new files imported
DsetID Dataset ID
DsetRev Dataset Revision
* NOTE: These fields can be replaced with the standard item header fields, but if creating
items at the same time then use the Dset header fields if the dataset is to have different
Copyright © 2015 Siemens Industry Software. All rights reserved.
data to that of the item and rev. [7.0.0] Alternatively use specific general properties for
items, revisions and datasets as required.
9.1.2 Files
FIELD DESCRIPTION
FileRef The name of the dataset reference to attach to
File The name and path of the file to import
9.1.3 Forms
FIELD DESCRIPTION
FormName The Name of a form to add as a reference to the
dataset
FormType The Type of the form
FormRef The name of the dataset reference to attach to
F:<attr> The attribute name on the form to populate
The following input data fields are valid in this mode and are specifically related to
relations
FIELD DESCRIPTION
RelationName The Name/Type of the relation to paste as
9.2.1 Datasets
OPTION DESCRIPTION
CREATE DATASET ON|OFF flag to control creation of Datasets
UPDATE DATASET ON|OFF flag to control updating of Datasets
OPTION DESCRIPTION
DATASET TYPE The default dataset type for new datasets
SET OWNER BY PARENT ON|OFF flag to control owner settings
(DEFAULT = OFF (Changed from ON in 10.0.0))
FILE REF NAME Dataset reference to attach file to
UPDATE FILES ON|OFF flag to control updating file references
UPDATE FILE REF NAME Update file reference option from:
NEW REF Create new references only, do nothing if exists
ADD REF Add new reference, even one already exists
REPLACE REF Replace existing ref
NEW VERSION Create new version of dataset and replace
CREATE NEW DATASET VERSION ON|OFF flag to be used instead of NEW
VERSION option in UPDATE FILE REF NAME
option. This can be used in conjunction with the
3 other options for more flexibility.
FILE REF REPLACE OPTION Options to define REPLACE REF option from:
ALL REFS Replace ALL references with new reference
MATCH FILE NAME Replay only the reference with the same file
MATCH REF TYPE name
Replace ALL references with the reference type
provided with the new file
FORM REF NAME Dataset reference to attach form to
UPDATE FORMS ON|OFF flag to control updating form references
UPDATE FORM REF NAME Update file reference option from:
NEW REF Create new references only, do nothing if exists
ADD REF Add new reference, even one already exists
REPLACE REF Replace existing reference
NEW VERSION Create new version of form and replace
FORM REF REPLACE OPTION Options to define REPLACE REF option from:
ALL REFS
Replace ALL references with new reference
MATCH FORM TYPE
Replay only the reference with the same for type
RELATION NAME The Name/Type of the relation to paste as
RELATION PARENT TYPE The type of parent object ITEM or REV.
If REV is used and no ParentRev or RevID is
given in the data file then the latest revision will
be used.
NOTE: All items mode configuration options are available in this mode.
1. For best performance sort the data file by ItemID, RevID, Dataset Name and Ref
Name fields.
2. If the Revision ID is not supplied in the data file then datasets will be attached to the
Item (Default) or the Latest Revision, depending on the setting of the configuration
option RELATION PARENT TYPE.
9.5 EXAMPLES
Simple example showing mixture of keywords and general properties:-
!~ItemID~RevID~DsetType~DsetName~File~DsetDesc~DSET:owning_user
000001~A~Text~Text-000001/A~file1.txt~Dset Desc file1.txt~Tim Williams(tim)
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=folder_create
-m=folder_insert
10.1.1 Folders
FIELD DESCRIPTION
ItemID The ItemID of the Item to insert into the folder
Folder The Folder Name or Path
FolderDesc The folder Description
FolderPath A Folder Path to create (nested folder structure).
FolderType The Type of folder to use.
10.2.1 Folders
OPTION DESCRIPTION
FOLDER SEPERATOR Define the character separator in folder path.
Default = /
TOP FOLDER The Name of a TOP folder to create folders in
TOP FOLDER DESCRIPTION The description of the top folder
DEFAULT FOLDER DESCRIPTION Default description for new folders
PUT FAILS IN NEWSTUFF ON|OFF flag to control using Newstuff if any
folder inserts fail
GLOBAL FOLDER SEARCH ON|OFF flag to control if the whole database is
searched for a folder (ON) or just folders owned
by the login user (OFF)
TOP FOLDER TYPE The Type of the top folder. (Default is "Folder")
2. For the best performance, sort the data file by folder path.
4. If the configuration options TOP FOLDER = Home and TOP FOLDER TYPE =
Folder, new Folder objects will be created/inserted into the users’ Home folder.
5. Beware of non-folder mode imports, such as items, that create objects and use
FOLDER NAME (or the Folder field) to insert the new object into a folder IF owner
and group fields are supplied as these will also set the ownership of the folder!
This means that, by default, a second run will not find the folder as it will search for
folders owner by the log-in user. So it may be necessary to use the option GLOBAL
FOLDER SEARCH = ON in order to search for folders owned by other users, but this
will only work reliably if the supplied folder name is unique.
Alternatively use a second import using either the folder_insert or relations mode to
attach the new objects to the folder.
10.5 EXAMPLES
Examples for folders mode can be found in Appendix H.
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=projects
NOTE: This functionality is only available in Teamcenter Engineering Version 9 and later.
11.1.1 Projects
FIELD DESCRIPTION
ProjID MANDATORY. Project ID
ProjName Project Name. If not supplied then the name will be set
with the Project ID
ProjDesc ProjectDescription
ProjMemberUser Project Member user. If used without role and group
then all group members for the user will be assigned
ProjMemberGroup Project Member Group. Can be supplied without role
and user to assign just to a group.
ProjMemberRole Project Member Role. If used without user and role
then all group members with this role will be assigned.
ProjAdminUser Project Admin User
ProjPrivUser Project Privileged user. Can be a comma separated list
of privileged users.
ItemID The ID of the Item to be assigned to the project
RevID The ID of the Revision to be assigned to the project
11.2.1 Projects
OPTION DESCRIPTION
CREATE PROJECTS ON|OFF flag to control if Projects should be created if
OPTION DESCRIPTION
they do not exist
UPDATE PROJECTS ON|OFF flag to control if Projects should be updated if
they already exist
PROJECT ASSIGN TO TYPE ITEM|REV. Controls if the specified ITEM or REVision
should be assigned to the project. Assigning an item
also assigns its Revisions automatically (this is
standard TcEng bahaviour).
PROJECT APPEND MEMBERS ON|OFF flag to control if Project members can be
added (appended) to an existing project (team).
Default = OFF. If not used, any existing project
assigned team will be replaced!
1. To assign Items or Revisions to a project then the login user must be a privileged
user for the project.
2. Use separate data lines to assign multiple Items/Revisions to a project, one line per
Item/Revision.
3. Issues may be encountered trying to delete any existing members which are not
present in the new team being specified. It is recommended only to assign the
team when the project is created.
11.5 EXAMPLES
Examples for projects mode can be found in Appendix I.
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=inclass
NOTE: This functionality is only available in Teamcenter Engineering Version 8 and later.
12.2.1 classification
OPTION DESCRIPTION
INCLASS CREATE ICO ON|OFF flag to control if InClass ICOs should be
created if they do not exist
INCLASS UPDATE ICO ON|OFF flag to control if InClass ICOs should be
updated if they already exist
OPTION DESCRIPTION
INCLASS UPDATE ICO OPTION ICO update option from:
SINGLE ICO ONLY
Only singly classified objects can be updated
FIRST ICO
If multiple ICOs on an object, only update the first
ALL ICOS
Update all ICOs on an object
INCLASS DEFAULT CLASS ID <ClassID>
Specifies a default class ID
INCLASS ICO CLASSIFY OBJECT ITEM|REV. Controls if the specified ITEM or
REVision should be classified with the InClass
ICO
INCLASS ALLOW MULTIPLE ON|OFF flag to control if multiple ICOs are
CLASSIFICATION allowed to be classified on a single item or
revision. If OFF only one ICO classification is
allowed. This option only affects the creation of
ICOs and subsequent classification. So if the
item, or rev, is already classified and this option
is OFF then the ICO will not be created
1. Use standard items mode fields to specify Item and Revision details, in particular
ItemID and RevID to specify the Item ID and optionally the Revision ID of the Item
or Revision to classify. All other 'items' fields can be used to create or update items
and revs too.
3. If no IcoID or IcoPUID field is specified then the Item ID specified will be used as
the IcoID, or 'ItemID/RevID' if classifying the revision.
4. To update individual ICOs on an object which has multiple classifications then use
the IcoPUID.
ICO will be deleted, but the Workspace Object will remain, before the ICO is
deleted. The delete is based on specifying the ICOs PUID in the IcoPUID field.
12.5 EXAMPLES
Examples for classification mode can be found in Appendix J.
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=identifiers
NOTE: This functionality is only available in Teamcenter Engineering Version 9 and later.
13.1.1 Identifiers
FIELD DESCRIPTION
AlternateID Alternate ID
AlternateRevID Alternate ID Supplementary ID for Revision
AlternateIDContext ID Context to use – must be defined in Teamcenter
Engineering
AltIDName Alternate ID object Name
AltIDDesc Alternate ID object Description
AltRevIDName Alternate Revision Name
AltRevIDDesc Alternate Revision description
ItemID ItemID the Identifier object is to be attached to
RevID RevID the supplementary Identifier object is to be attached to
AltIDOwner Owning user
AltIDGroup Owning group
AltIDType [7.7.0] Alternate ID object Type
Status [10.2.0] A status to be applied to the item revision and also
the identifier (AltID) and/or identifier rev (AltIDRev) depending
on the new config options RELEASE IDENTIFIERS and
RELEASE IDENTIFIER REVS.
All standard status fields and config options also apply.
13.2.1 identifiers
OPTION DESCRIPTION
CREATE IDENTIFIERS ON|OFF flag to control if Identifiers should be created if
they do not exist
UPDATE IDENTIFIERS ON|OFF flag to control if Identifiers should be updated if
they already exist
ALTERNATE ID CONTEXT Default ID Context to use when creating Alternate IDs.
CREATE IDFR REVS ON|OFF flag to control if IdentifierRev objects should be
created if they do not already exist at the Supplied
Revision. Default = ON
UDPATE IDFR REVS ON|OFF flag to control if IdentifierRev objects should be
updated if they do already exist at the Supplied Revision.
Default = OFF
IDENTIFIER TYPE [7.7.0] Default identifier type.
RELEASE IDENTIFIERS [10.2.0] ON|FLAG to control the releasing of the identifier
object.
Default = OFF
RELEASE IDENTIFIER [10.2.0] ON|FLAG to control the releasing of the identifier
REVS rev object.
Default = ON
1. Use standard items mode fields to specify Item and Revision details in particular
ItemID and RevID to specify the Item and Revision to attach the Alternate ID and
Supplemental Identifier to.
4. The input fields Name and Desc will be used if no AltIDName and AltIDDesc
fields are specified. The input fields RevName and RevDesc will be used if no
AltRevIDName and AltRevIDDesc fields are specified.
5. If no Name field is specified at all, the default Identifier object name will be the same
as the ID.
6. Other cfg options, CREATE ITEMS, CREATE REVS, UPDATE ITEMS, UPDATE
REVS, UPDATE ITEM ATTACHMENTS etc. can be used in conjunction with
creating and updating Identifier objects.
7. [10.2.0] Status can now be applied to the identifier and/or identifier rev using the
standard status fields and/or config options. The status options will also be applied
to the supplied item revision.
13.5 EXAMPLES
Examples for identifiers mode can be found in Appendix K.
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=mfg
NOTE: This functionality is only available in Teamcenter Engineering Version 9 and later.
14.1.1 Manufacturing
FIELD DESCRIPTION
ProcID MEProcess ID
ProcRevID MEProcess Revision ID
ProcType MEProcess class Type
ProcName MEProcess Name
ProcDesc MEProcess Description
OpID MEOP ID
OpRevID MEOP Revision ID
OpType MEOP Class Type
OpName MEOP Name
OpDesc MEOP Description
WorkID MEWorkArea ID
WorkRevID MEWorkArea Revision ID
WorkType MEWorkArea Class Type
WorkName MEWorkArea Name
WorkDesc MEWorkArea Description
ActType MEActivity Class Type
FIELD DESCRIPTION
ActName MEActivity Name
ActDesc MEActivity Description
ActTime MEActivity time (Duration)
ActPreds Name of MEActivity Objects attached to MEOP which
are predecessor Activities. (Used to provide
sequencing/flow in MSE).
FormType MEActivity Form Type
FormName MEActivity Form Name
FormDesc MEActivity Form Description
F:<attr> MEActivity Form attribute to populate. This must the
real attribute name, not the display name.
PlantTargetID Item ID for Plant BOM to link/consume from
PlantTargetRevID Rev ID for Plant BOM to link/consume from
ProductTargetID Item ID for Product BOM to link/consume from
ProductTargetRevID Rev ID for Plant BOM to link/consume from
TargetChildSeqNo Occurrence Seq No in Product/Plant BOM
TargetChildID Occurrence Item ID in Product/Plant BOM
TargetChildRev Occurrence Rev ID in Product/Plant BOM
TargetChildAbsOccID Occurrence AbsOccID in Product/Plant BOM context
ProcChildID Occurrence Item ID of operation in Process BOM to
consume target occurrence
ProcChildRev Occurrence Rev ID of operation in Process BOM to
consume target occurrence
FIELD DESCRIPTION
CCName Name of CC
NewCCName New Name for existing CC with name specified by
CCName.
CCType Type of CC
CCDesc Description of CC
CCOwner Owner of CC
CCGroup Group of CC
CCStatus Status of CC
CCCfgContext Cfg Context for CC
CCRevRule Rev Rule for CC
CCSOSName [10.8.0] Saved Option Set (SOS) Name for CC.
FIELD DESCRIPTION
CCSOSDesc [10.8.0] Saved Option Set (SOS) Desc for CC.
CCSOSOptSet [10.8.0] Saved Option Set (SOS) Option Set for CC
legacy options.
For example:-
AHD54302; Load_Mainstream; ==; Y &
[AHD54302]Tim_test = Y
This example show the two possible different formats
allowed for setting values for options.
See section 5.3.4.2.1 for further format details.
SCName Name of SC
NewSCName New Name for existing SC with name
SCType Type of SC
SCDesc Description of SC
SCOwner Owner of SC
SCGroup Group of SC
SCStatus Status of SC
SCCfgContext Cfg Context for SC. To create the Cfg Context with
the same name as the SC specify the name as
$SC_NAME.
SCRevRule Rev Rule for SC
SCSOSName [10.8.0] Saved Option Set (SOS) Name for SC.
SCSOSDesc [10.8.0] Saved Option Set (SOS) Desc for SC.
SCSOSOptSet [10.8.0] Saved Option Set (SOS) Option Set for SC
legacy options.
For example:-
AHD54302; Load_Mainstream; ==; Y &
[AHD54302]Tim_test = Y
This example show the two possible different formats
allowed for setting values for options.
See section 5.3.4.2.1 for further format details.
SCAttObjClass Class of object to attach to SC.
Use in conjunction with ItemID and RevID then set
SCAttObjClass to:-
ITEM - to attach the item
REV - to attach the revision
BVR - to attach the BomView Revision
SCAttObjType Type of object to attach to SC.
Use in conjunction with SCAttObjClass to verify the
type of item, rev or BVR to be attached.
CfgContextType Type of Cfg context
To set general properties for CC and SC objects use CC:<property> and SC:<property>.
1) To attach an item, rev or BVR to an SC supply an ItemID field with the required
item ID and RevID field with the required rev ID.
Then set SCAttObjClass to ITEM, REV or BVR as required.
3) To create a CC -> SC structure supply as many lines as SC’s required with CC and
SC details.
14.2.1 Manufacturing
OPTION DESCRIPTION
CREATE PROCESSES ON|OFF flag to control creating MEProcesses if they
do not exist
UPDATE PROCESSES ON|OFF flag to control updating MEProcesses if the
already exist.
CREATE PROCESS REVS ON|OFF flag to control creating MEProcess Revisions
if they do not exist
UPDATE PROCESS REVS ON|OFF flag to control updating MEProcess Revisions
if the already exist.
CREATE OPERATIONS ON|OFF flag to control creating MEOPs if they do not
exist
UPDATE OPERATIONS ON|OFF flag to control updating MEOPs if the already
exist.
CREATE OPERATION REVS ON|OFF flag to control creating MEOP Revisions if
they do not exist
UPDATE OPERATION REVS ON|OFF flag to control updating MEOP Revisions if
they already exist
CREATE ACTIVITIES ON|OFF flag to control creating MEActivities if they
don’t already exist
UPDATE ACTIVITIES ON|OFF flag to control updating MEActivities if they
already exist
CREATE ACTIVITY FORMS ON|OFF flag to control creating forms if they do not
exist on an MEActivity.
UPDATE ACTIVITY FORMS ON|OFF flag to control updating forms if they already
exist on an MEActivity.
LINK OP TO PROCESS ON|OFF flag to control if Process BOM (MEProcess
MEOP(s) ) should be created and/or updated for the
MEProcess structure (BOP). If OFF objects are
created independently – no BOP structure
OPTION DESCRIPTION
PROCESS TYPE A valid MEProcess Type to use
OPERATION TYPE A valid MEOP Class Type to use
ACTIVITY TYPE A valid MEActivity Type to use
ACTIVITY FORM TYPE A valid Form Type to use
DEFAULT OWNER Default Owning User. Must be a valid user
DEFAULT GROUP Default Owning Group. Must be a valid group
CREATE WORKAREAS ON|OFF flag to control if MEWorkArea objects should
be created if they do not exist
UPDATE WORKAREAS ON|OFF flag to control if MEWorkArea objects should
be updated if they already exist.
CREATE WORKAREA REVS ON|OFF flag to control if MEWorkArea Revisions
should be created if they do not exist
UPDATE WORKAREA REVS ON|OFF flag to control if MEWorkArea Revisions
should be updated if they already exist
WORKAREA TYPE MEWorkArea Class Type. The valid name of
MEWorkArea Type to use.
LINK PRODUCT TO PROCESS ON|OFF flag to control linking Product structure root to
Process structure root.
LINK PLANT TO PROCESS ON|OFF flag to control linking Plant structure root to
Process structure root.
OPTION DESCRIPTION
CREATE CC ON|OFF flag to control creating CC’s if they do not exist.
CREATE CC ALWAYS ON|OFF flag to control creating CC’s always, even if one
already exists with the same name.
UPDATE CC ON|OFF flag to control updating CC’s if they exist.
CREATE SC ON|OFF flag to control creating SC’s if they do not exist.
UPDATE SC ON|OFF flag to control updating SC’s if they exist.
CREATE CFG CONTEXT ON|OFF flag to control creating the CfgContext if one does
not exist for the SC.
UPDATE CFG CONTEXT ON|OFF flag to control updating the CfgContext if one
already exists for the SC.
CREATE CC STRUCTURE ON|OFF flag to control creating the CC’s structure if one
does not exist.
UPDATE CC STRUCTURE ON|OFF flag to control updating the CC’s structure if one
already exists.
OPTION DESCRIPTION
CREATE SC STRUCTURE ON|OFF flag to control creating the SC’s structure if one
does not exist.
UPDATE SC STRUCTURE ON|OFF flag to control updating the SC’s structure if one
already exists.
CC DEFAULT TYPE Sets the default Collaboration Context (CC) type.
The default is CCObject.
SC DEFAULT TYPE Sets the default Structure Context (SC) type.
The default is StructureContext.
CFG CONTEXT DEFAULT Sets the default Configuration Context type.
TYPE
The default is ConfigurationContext.
CREATE LEGACY VRULE Same option as used in BOM legacy VRule creation to
control the behaviour with creating CC and SC SOSs.
UPDATE LEGACY VRULE Same option as used in BOM legacy VRule update to
control the behaviour with updating CC and SC SOSs.
UPDATE LEGACY VRULE Same option as used in BOM legacy VRule update to
OPTION control the behaviour when updating CC and SC SOSs.
The available options are:-
REPLACE – to replace the entire Option Set. Must
be used for new option sets! This is the default option.
UPDATE – to update individual options
1. Processes, Operations and WorkAreas can have their system properties set by
running in items mode after they have been created.
2. If PROCESS TYPE configuration option and ProcType data field are not set, the
Process Type will default to MEProcess. The data field value takes precedence
over the configuration option.
3. If OPERATION TYPE configuration option and OpType data field are not set, the
Operation Type will default to MEOP. The data field value takes precedence over the
configuration option.
4. If ACTIVITY TYPE configuration option and ActType data field are not set, the
Activity Type will default to MEActivity. The data field value takes precedence
over the configuration option.
5. The DEFAULT OWNER/DEFAULT GROUP options apply to all objects in mfg mode
and will be applied at create or update (if configuration allows) of an object.
7. See Section 2 for BOM module config settings/input fields. The BOM module
functionality is fully exposed to the MFG module and used to create Process<--
Operation structures.
8. All supplied object Types are validated before attempting to create objects.
10. If UPDATE ACTIVITY = OFF, any form updates are disabled no matter what
ACTIVITY FORM settings are present. If ACTIVITY UPDATE = ON, the
ACTIVITY FORM configuration options are then activated.
11. All mfg objects are created BEFORE being added to the Process structure.
12. Assumption: There will be only 1 form of a particular type with a specific name
attached to an Activity.
13. Use mfg mode to create all MEWorkArea objects and then use BOM mode to
create a Plant structure with bom data set.
14. If WORKAREA TYPE configuration option and WorkType data field are not set, the
WorkArea Type will default to MEWorkArea. The data field value takes precedence
over the configuration option.
16. [7.7.0] Objects can be attached to SCs using a GRM relation by supplying the
RelationName field or the RELATION NAME option.
14.5 EXAMPLES
Examples for mfg mode can be found in Appendix L.
This mode is specified in the command line options for the utility or by setting the command
line argument:
-m=workflow
NOTE: This functionality does provide any functionality for assigning any users to any
tasks, or perform any actions on tasks in any way. It merely creates or updates workflow by
adding targets and references, and optionally initiating those processes.
15.1.1 Workflow
FIELD DESCRIPTION
WFProcessName The name of the workflow process to create or update.
This is a mandatory field.
WFProcessDesc The description to set on the workflow process.
WFProcessTpl The workflow template to create a new workflow process from.
WFProcessOwner The owning user to be set for the workflow process. This is the
responsible party for the process,
WFProcessGroup The owning group to be set for the workflow process.
WFAttachType Specifies where to attach objects to the workflow process from:-
TARGET Attach the item or rev as a target
REFERENCE Attach the item or rev as a reference
Alternatively, set a default value with the config option
WORKFLOW ATTACH TYPE.
If not value is specified then the default is TARGET.
WFAttachObject Specifies which object to attach, from:-
ITEM Attach the item.
REV Attach the rev
FIELD DESCRIPTION
Alternatively, set a default value with the config option
WORKFLOW ATTACH OBJECT.
If not value is specified then the default is REV.
WFInitiate Specifies if the workflow process should be initiated, by
supplying the value YES, this is the default behaviour, i.e.
initiate.
So supply some other value such as NO to stop new processes
form being initiated, or set the config option WORKFLOW
INITIATE PROCESS = NO.
15.2.1 Workflow
OPTION DESCRIPTION
CREATE WF PROCESS ON|OFF flag to control if new workflow processes should
be created if they do not exist.
The default is ON.
CREATE WF PROCESS ON|OFF flag to control if new workflow processes should
ALWAYS always be created even if one already exists with the same
name.
The default is OFF.
UPDATE WF PROCESS ON|OFF flag to control if existing workflow processes
should be updated. This allows updating of properties of
the workflow process and adding additional target and
reference objects.
The default is OFF.
WORKFLOW TEMPLATE The name of the workflow template to base a new
workflow process on.
WORKFLOW ATTACH TYPE Set a default attachment type, from:-
TARGET Attach the item or rev as a target
OPTION DESCRIPTION
REFERENCE Attach the item or rev as a reference
The default is TARGET.
WORKFLOW ATTACH Set a default attachment object type, from:-
OBJECT
ITEM Attach the item.
REV Attach the rev
The default is REV.
WORKFLOW INITIATE ON|OFF flag to control if new workflow processes should
PROCESS be initiated.
The default is ON.
WORKFLOW INDIVIDUAL ON|OFF flag to control if new workflow processes should
PROCESSES be created for each object found, e.g. in a folder.
The default is ON.
15.5 EXAMPLES
UPDATE WF PROCESS = ON
CREATE WF PROCESS = ON
CREATE WF PROCESS ALWAYS = OFF
#------------------
END-OF-FILE
#------------------
!
~WFProcessName~WFProcessDesc~WFProcessTpl~WFProcessOwner~WFProcessGrou
p~WFAttachType~WFAttachObject~WFInitiate~ItemID~CCName~FolderContents
WF-tim-1~First test workflow~0-TEST Check Conf
Child~tim~Designers~TARGET~REV~NO~New_Assy2
WF-tim-1~First test workflow~0-TEST Check Conf
Child~tim~Designers~REFERENCE~~NO~~~TEST UPLOAD FOLDER
WF-tim-1~First test workflow~0-TEST Check Conf
Child~tim~Designers~REFERENCE~REV~YES~New_Assy1XX
WF-tim-2~First test workflow~0-TEST-Xtrac
MRP~tim~Designers~TARGET~REV~NO~000010
Copyright © 2015 Siemens Industry Software. All rights reserved.
#------------------
END-OF-FILE
#------------------
!
~WFProcessName~WFProcessDesc~WFProcessTpl~WFProcessOwner~WFProcessGrou
p~WFAttachType~WFAttachObject~WFInitiate~FolderContents
WF-tim-1~First test workflow~0-TEST Check Conf
Child~tim~Designers~TARGET~~YES~TEST UPLOAD FOLDER
WF-tim-2~First test workflow~0-TEST Check Conf
Child~tim~Designers~TARGET~~YES~UPLOAD FOLDER FOR CCs
#------------------
END-OF-FILE
#------------------
-m=pom
WARNING: This is a very powerful mode and with great power comes great responsibility
so great care should be taken, with comprehensive testing, when using this mode as it’s
possible to create and update data that may cause problems with the data in Teamcenter.
See General methodology of the pom mode for full instructions on using this mode.
Pom fields are dynamic as they need to specify a class and an attribute name, for
example:-
CompanyLocation:object_name.KEY
This specifies the class as CompanyLocation and the attribute as object_name. This
example is also specified as being a key field to search on by the .KEY modifier.
Parent fields defined for the Relations mode can be used to find parents for the primary
pom objects being created or updated, i,e:-
ItemID or ParentID
[RevID or ParentRev]
RelationName
ParentType
ParentName
FIELD DESCRIPTION
ModifyDate Set the primary object’s Modify Date.
Owner Set the primary object’s Owner.
Group Set the primary object’s Group.
LastModBy Set the primary object’s Last Modified By.
Status Set the primary object’s Release Status.
16.2.1 Pom
OPTION DESCRIPTION
POM PRIMARY CLASS Defines the class of the primary object being created.
If not supplied then the first class listed in CREATE
POM OBJECTS will be used as the primary class.
CREATE POM OBJECTS Defines a comma separated list of object classes to be
created.
For example if a Web Link form is to be created then its
WebLink data object must also be created and so the
following list would be required:-
CREATE POM OBJECTS = Form,WebLink
NOTE: The CSV list must NOT contain spaces around
the commas.
CREATE POM OBJECTS Defines a comma separated list of object classes to be
ALWAYS created ALWAYS, i.e even if one exists with the same
KEY values.
As in the above example for creating a Web Link form a
WebLink data object must always be created since no
two forms should reference the same data object.
Therefore this option would be set to:-
CREATE POM OBJECTS ALWAYS = WebLink
NOTE: If this class is not defined in the CREATE POM
OBJECTS list then it will be added to it by default.
UPDATE POM OBJECTS Defines a comma separated list of object classes to be
updated.
For example if a Web Link form is to be updated and its
WebLink data object is also to be updated then the
following list would be required:-
UPDATE POM OBJECTS = Form,WebLink
NOTE: The CSV list must NOT contain spaces around
the commas.
OPTION DESCRIPTION
UPDATE MULTI POM Specifies what to do if more than one pom object is
OBJECTS OPTION found. The available options are:-
NONE - Update none of them
FIRST - Update the first one
ALL - Update all of them
NOTE: This applies to all classes being updated as
defined by UPDATE POM OBJECTS.
FIND POM OBJECTS IF NOT ON|OFF flag to control if objects should be found by a
IN PARENT general search, i.e. not in the specified parent, or only
attached to a specified parent when ParentID and
ParentRev fields are specified to define a parent, for
example.
Default is OFF.
POM DEFAULT ATTRS FOR Specifies a comma separated list of attributes to be
CLASS <class_name> defaulted wiuth null values for a the specified
<class_name>, for example to set some default
attributes for the class CompanyLocation:-
POM DEFAULT ATTRS FOR CLASS
CompanyLocation =
object_desc,url,owning_organization,owning_project,
region,state_province
Se the section 2.4.2 General Configuration Options for general options that can also be
used.
When parent fields are used then the following relation options, as defined in 8.3.1
Relations, can be used:-
RELATION NAME
RELATION PARENT TYPE
RELATION CHILD TYPE
RELATION PARENT RELATION
RELATION MULTI PARENT OPTION
RELATION PARENT WSOM TYPE
16.3.1.1 Introduction
The pom mode is designed to be able to create almost any object in the Teamcenter data model and
set attributes directly. So this bypasses general ITK functions that would validate such data to ensure
data integrity. It also bypasses general access rules too. Therefore great care should be taken and
extensive testing should be done when using this mode and with the aid of an SQL query tool to see
exactly what gets created/updated in the database to ensure that the desired results are achieved
and that Teamcenter still behaves correctly with the affected objects.
Objects will either be found by searching the database, looking in a parent object (see Attaching to
parent objects) or found attached to referenced attributes (see Object references).
To find objects stored in the database some KEY attributes for a class need to be specified as values
to search on and are specified using the header field modifier .KEY, for example to search for Form
objects using object_name and object_type the following fields would be used:-
!~Form:object_name.KEY~Form:object_type.KEY
Key fields are only used for searching and will not be updated. To update a key field supply the field
again without the .KEY modifier.
Type specific ITK functions, e.g. item specific, would also set any required default attributes for an
object being created, but this does not happen when using low level POM functions as used by the
pom mode. Therefore it’s necessary to supply values for all attributes for an object, or at least
specify which attributes should be set to a null default value based on an attributes data type. See
the Notes on creating a POM object section below on a method to help find out all of the attributes
that need to be set or defaulted for a class.
The CREATE and UPDATE options for the pom module work differently to other modes as they
supply a comma separated list of classes to create or update rather than a simple ON/OFF flag.
This is because a data file may supply data for several objects to be created or updated and linked
together through referenced attributes. So it may be that a primary object is to be updated but a new
secondary object created.
Many attributes in the Teamcenter data model are typed or un-typed references to other objects. The
typed attributes have to a specific (or typed) class of object attached whereas un-typed attributes can
have almost any type of object attached. The pom mode does provide some ability to set these
attributes.
This is done by specifying a referenced attribute with the .CLASS modifier added to its field header.
The supplied value for this field then supplies the class name of the secondary object that will be
attached to the referenced attribute in the primary object. Subsequent header fields will then be
prefixed with the class name of the secondary object’s class name to set values for that object. The
pom mode has been designed to allow this to happen recursively, i.e. to attach further objects to
referenced attributes in the secondary object.
For example a Form object has a data file object attached to it in the data_file attribute, where the
data file object contains the custom attributes that a user would set on a form, whereas the actual
form object contains the system properties like create date, owner etc.
To use a specific example the Form of type Web Link uses a data object class called WebLink (no
space) which has an attribute url. Since the primary object here is a Form then all fields setting
values on the Form must be prefixed with Form and any fields setting values on the data object
prefixed with WebLink. The link between the two occurs on the Form attribute data_file which must
have the .CLASS modifier and a corresponding data value of WebLink thus:-
!~…~Form:data_file.CLASS~…
…~WebLink~…
A Form object is a Workspace object and requires certain attributes to be populated like Name, Type
and Description. But there are also other values which must at least be defaulted and these can
increase with subsequent versions of Teamcenter. At 8.3 the attributes owning_organization and
owning_project must be set. If specific values don’t need to be set then these can be defaulted in
the configuration file with a specific option to default Form attributes, thus:-
POM DEFAULT ATTRS FOR CLASS Form = owning_organization,owning_project
Some system attributes still get defaulted by Teamcenter though. For example, Workspace object
attributes like owner, group, create date, last modified date and last modified by will be defaulted by
default. And then are some known attributes which get set by default by IPS Data Upload depending
upon the object’s class. For example for a Workspace object attributes like gov_classification and
wso_thread will get defaulted, and for a Form form_file and data_file will get defaulted.
But all other attributes need to be specified in the data file. So bringing it all together for a Web Link
form we have:-
If a primary object needs updating and it’s secondary object replaced with another one then use
the .REPLACE modifier as well as the .CLASS modifier, for example:-
!~…~Form:data_file.CLASS.REPLACE~…
…~WebLink~…
NOTE: The original object attached to the attribute will not be deleted from the database.
For convenience it’s possible to specify a property (as opposed to an attribute) using the .PROP field
modifier which will get Teamcenter to do a lot of work for you. In the above example for setting the
url attribute on the WebLink data object in a Web Link form it’s easier to set this as a property on the
Form, thus:-
!~Form:object_name.KEY~Form:object_type.KEY~Form: object_desc ~Form:url.PROP~…
google2~Web Link~Google Search~http://www.google.com/~
instead of specifying the WebLink as a referenced object to the Form’s data_file attribute, as above,
using:-
!
~Form:object_name.KEY~Form:object_type.KEY~Form:object_desc~Form:data_file.CLASS~WebL
ink:url~
google2~Web Link~Google Search~WebLink~http://www.google.com/~
Various system properties can be set on the primary object using known field keywords, see System
fields for a list of these.
Also the keywords Name and Desc can be used instead object_name and object_desc.
1) Start by using the minimum of key fields, e.g. object_name and object_type, to get a CREATE
FAILED, e.g.:-
!~CompanyLocation:object_name.KEY~CompanyLocation:object_type.KEY
Siemens~CompanyLocation
3) Any of these that are not required to have a specific value need to be added to a config option to
set default empty values for, e.g.:-
POM DEFAULT ATTRS FOR CLASS CompanyLocation =
owning_organization,owning_project,region,state_province
4) All others should be set in the data file as non KEY fields, e.g.:-
!
~CompanyLocation:object_name.KEY~CompanyLocation:object_type.KEY~CompanyLocation:countr
y~CompanyLocation:postal_code~CompanyLocation:city~CompanyLocation:street
Siemens~CompanyLocation~UK~GU15 3SY~Camberley~Knoll Road
5) If still get CREATE FAILED check the syslog again for further empty attributes, e.g.:-
Instance 000077f2 <gYH9UDlMI4WWSA>(CompanyLocation) attribute object_desc is empty
Instance 000077f2 <gYH9UDlMI4WWSA>(CompanyLocation) attribute url is empty
16.5 EXAMPLES
This example will update existing forms if found, or create new forms if not. It will also update an
existing WebLink object already attached to a form, or if not then ALWAYS create a new one, hence
no .KEY fields are required for WebLink as no search is required.
CREATE POM OBJECTS = Form
CREATE POM OBJECTS ALWAYS = WebLink
UPDATE POM OBJECTS = Form,WebLink
FIND POM OBJECTS IF NOT IN PARENT = ON
POM DEFAULT ATTRS FOR CLASS Form = owning_organization,owning_project
SET BYPASS = ON
!
~Form:object_name.KEY~Form:object_type.KEY~Form:object_desc~Form:data_file.CLASS~WebLin
k:url~ParentID~ParentRev~RelationName~Owner~CreateDate
google2~Web Link~Google
Search~WebLink~http://www.google.com/~000028~A~IMAN_reference~infodba~16-Mar-2000 10:00
google~Web Link~Google UK~WebLink~http://www.google.co.uk/~000028~A~IMAN_reference~~16-
Mar-2000 10:00
SET BYPASS = ON
UPDATE MODIFY DATES = OFF
Copyright © 2015 Siemens Industry Software. All rights reserved.
!
~CompanyLocation:object_name.KEY~CompanyLocation:object_type.KEY~CompanyLocation:countr
y~CompanyLocation:postal_code~CompanyLocation:city~CompanyLocation:street~ParentID~Parent
Rev~RelationName~CompanyLocation:last_mod_date
Siemens~CompanyLocation~UK~GU15 3SY~Camberley~Knoll
Road~000010~A~IMAN_reference~01-Apr-2000 09:00
OPTION DESCRIPTION
%W week number of year with Monday as first day of week (00..53)
%x locale's date representation (mm/dd/yy)
%X locale's time representation (%H:%M:%S)
%y last two digits of year (00..99)
%Y year (1970)
%z RFC-822 style numeric timezone (-0500) (a nonstandard extension)
%Z time zone (e.g., EDT), or nothing if no time zone is determinable
Config File
-------------------------------
CREATE ITEMS = ON
UPDATE ITEMS = ON
CREATE REVS = ON
UPDATE REV S = ON
Data File
-------------------------------
!~ItemID~RevID~Owner~Group~CreateDate~RM:project_id~RMD:date_valid_from
BomAssy1~A~williams~designers~16/03/1997~Project X~01/04/1997
BomChild1~A~williams~designers~16/03/1997~Project X~01/04/1997
BomChild2~A~williams~designers~16/03/1997~Project X~01/04/1997
BomChild3~A~williams~designers~16/03/1997~Project X~01/04/1997
Config File
-------------------------------
CREATE ITEMS = ON
UPDATE ITEMS = OFF
CREATE REVS = ON
UPDATE REVS = ON
UPDATE REV ATTACHMENTS = ON
UPDATE ITEM ATTACHMENTS = OFF
UPDATE FORMS = ON
UPDATE DATASET = ON
UPDATE BOMS = ON
Data File
-------------------------------
!~ItemID~RevID
GUY98765~A
Config File
-------------------------------
CREATE ITEMS = ON
UPDATE ITEMS = OFF
CREATE REVS = ON
UPDATE REVS = ON
UPDATE REV ATTACHMENTS = ON
UPDATE ITEM ATTACHMENTS = OFF
UPDATE FORMS = ON
UPDATE DATASET = ON
UPDATE BOMS = ON
Data File
-------------------------------
!~ItemID~RevID~CheckOutID
GUY98765~A~CID_982KDME8001
Config File
-------------------------------
MODE = bom
BOM FORMAT = parent_child
DATE FORMAT = %d/%m/%y %H:%M:%S
FOLDER NAME = Upload Tests
DEFAULT REV =A
SET BOMS PRECISE = OFF
Data File
-------------------------------
ITEM TYPE = Item
VIEW TYPE = Design
DATE FORMAT = %d/%m/%Y
BOM FORMAT = parent_child
!~ItemID~ChildID~Qty~Owner~Group~CreateDate
BomAssy1~BomChild1~2~williams~designers~16/03/1997
BomAssy1~BomChild2~3~williams~designers~16/03/1997
BomAssy1~BomChild3~5~williams~designers~16/03/1997
Config File
-------------------------------
CREATE BOMS = ON
UPDATE BOMS = ON
BOM UPDATE OPTION = UPDATE ALL OCCURRENCES
Data File
-------------------------------
!~ParentID~ChildID~SeqNo
Assembly123~*~NULL
Config File
--------------------------------
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ID FIELDS = ChildID,SeqNo
Config File
--------------------------------
!~ParentID~ChildID~SeqNo~NewSeqNo
Assembly123~Child1~10~1
Assembly123~Child2~30~2
Assembly123~Child3~30~3
Config File
-------------------------------
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ID FIELDS = ChildID,SeqNo
BOM UPDATE ADD OCCURRENCES = OFF
BOM UPDATE PRE DELETE ATTR = RDN Letter
BOM UPDATE PRE DELETE VALUE = *
BOM UPDATE DELETE FIELD = RDN Letter
BOM UPDATE DELETE VALUE =X
Data File
-------------------------------
!~ParentID~ChildID~SeqNo~Qty~ON:RDN Letter
Assembly123~Child1~1~2~C
Assembly123~Child2~2~20~R
Assembly123~Child3~3~5~C
Assembly123~Child4~4~0~X
Assembly123~Child5~5~0~X
Config File
-------------------------------
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ADD OCCURRENCES = OFF
BOM UPDATE PRE DELETE ATTR = ChildID
BOM UPDATE PRE DELETE VALUE = *
Data File
-------------------------------
!~ParentID~ChildID
Assembly123~*
Config File
-------------------------------
BOM FORMAT = parent_child
UPDATE BOMS = ON
CREATE BOMS = ON
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ID FIELDS = ChildID,AbsOccID,SeqNo
BOM REV RULE = RR Latest Agreed Scenery
Data File
-------------------------------!
~ParentID~ParentRev~ChildID~ChildRev~SeqNo~AbsOccID~ContextItemID~ContextItem
RevID~ContextAbsOccID~ContextParentAbsOccID
XSUPERCAR~A~XCAR99~A~10~Vectra~~~~
XCAR99~A~XAXLE99~A~10~RearAxle~XSUPERCAR~A~Vectra-RearAxle~Vectra
XAXLE99~A~XWHEEL~A~10~LeftWheel~XSUPERCAR~A~Vectra-RearAxle-
LeftWheel~Vectra-RearAxle
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-
RearAxle-LeftWheel-nut1~Vectra-RearAxle-LeftWheel
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-
RearAxle-LeftWheel-nut2~Vectra-RearAxle-LeftWheel
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-
RearAxle-LeftWheel-nut3~Vectra-RearAxle-LeftWheel
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-
RearAxle-LeftWheel-nut4~Vectra-RearAxle-LeftWheel
XAXLE99~A~XWHEEL~A~20~RightWheel~XSUPERCAR~A~Vectra-
RearAxle-RightWheel~Vectra-RearAxle
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-
RearAxle-RightWheel-nut1~Vectra-RearAxle-RightWheel
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-
RearAxle-RightWheel-nut2~Vectra-RearAxle-RightWheel
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-
RearAxle-RightWheel-nut3~Vectra-RearAxle-RightWheel
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-
RearAxle-RightWheel-nut4~Vectra-RearAxle-RightWheel
XCAR99~A~XAXLE99~A~20~FrontAxle~XSUPERCAR~A~Vectra-
FrontAxle~Vectra
XAXLE99~A~XWHEEL~A~10~LeftWheel~XSUPERCAR~A~Vectra-
FrontAxle-LeftWheel~Vectra-FrontAxle
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-
FrontAxle-LeftWheel-nut1~Vectra-FrontAxle-LeftWheel
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-
FrontAxle-LeftWheel-nut2~Vectra-FrontAxle-LeftWheel
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-
FrontAxle-LeftWheel-nut3~Vectra-FrontAxle-LeftWheel
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-
FrontAxle-LeftWheel-nut4~Vectra-FrontAxle-LeftWheel
XAXLE99~A~XWHEEL~A~20~RightWheel~XSUPERCAR~A~Vectra-
FrontAxle-RightWheel~Vectra-FrontAxle
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-
FrontAxle-RightWheel-nut1~Vectra-FrontAxle-RightWheel
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-
FrontAxle-RightWheel-nut2~Vectra-FrontAxle-RightWheel
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-
FrontAxle-RightWheel-nut3~Vectra-FrontAxle-RightWheel
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-
FrontAxle-RightWheel-nut4~Vectra-FrontAxle-RightWheel
Config File
-------------------------------
BOM FORMAT = parent_child
UPDATE BOMS = ON
CREATE BOMS = ON
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ID FIELDS = ChildID,AbsOccID
BOM REV RULE = RR Latest Agreed Scenery
Data File
-------------------------------!
~ParentID~ParentRev~ChildID~ChildRev~SeqNo~AbsOccID~ContextItemID~ContextItem
RevID~ContextAbsOccID
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-RearAxle-LeftWheel-nut1
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-RearAxle-LeftWheel-nut2
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-RearAxle-LeftWheel-nut3
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-RearAxle-LeftWheel-nut4
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-RearAxle-RightWheel-nut1
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-RearAxle-RightWheel-nut2
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-RearAxle-RightWheel-nut3
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-RearAxle-RightWheel-nut4
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-FrontAxle-LeftWheel-nut1
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-FrontAxle-LeftWheel-nut2
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-FrontAxle-LeftWheel-nut3
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-FrontAxle-LeftWheel-nut4
XWHEEL~A~XWHEELNUT~A~10~nut1~XSUPERCAR~A~Vectra-FrontAxle-RightWheel-nut1
XWHEEL~A~XWHEELNUT~A~20~nut2~XSUPERCAR~A~Vectra-FrontAxle-RightWheel-nut2
XWHEEL~A~XWHEELNUT~A~30~nut3~XSUPERCAR~A~Vectra-FrontAxle-RightWheel-nut3
XWHEEL~A~XWHEELNUT~A~40~nut4~XSUPERCAR~A~Vectra-FrontAxle-RightWheel-nut4
Config File
--------------------------------
BOM FORMAT = parent_child
UPDATE BOMS = ON
CREATE BOMS = ON
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ID FIELDS = ChildID
BOM REV RULE = Latest Working
CREATE ITEMS = ON
CREATE REVS = ON
UPDATE ITEMS = ON
UPDATE REVS = ON
SET BYPASS = ON
CREATE DATASET = OFF
UPDATE DATASET = OFF
REV RELEASE RELATIONS = IMAN_specification,BOMVIEW
CREATE STATUS = ON
UPDATE STATUS = LAST
CREATE EC ITEMS = ON
UPDATE EC ITEMS = ON
CREATE EC REVS = ON
UPDATE EC REVS = ON
EC TYPE = WA
ADD CHILD TO EC FOLDER = problem_items
SET EC IN BOM IC CONTEXT = ON
EC FORMS LIST TO ADD = Checklist Template Form
EC PROCESS AUTO INIT = ON
EC PROCESS TEMPLATE = CMII WA
EC PROCESS DESC = MES PROCESS NON-CONFORMANCE
Data File
-------------------------------
!
~ParentID~ParentRev~ChildID~ChildRev~ECID~ECRev~ECName~ECDesc~ECType~Stat
us~EffEndItem~UnitStart~UnitEnd
IC_PROC1~A~IC_OP10~A~WA98765443~A~~This is a test~WA~Released~IC_PROC1
~1234~1234
CREATE BOMS = ON
UPDATE BOMS = ON
UPDATE ITEMS = ON
UPDATE REVS = ON
END-OF-FILE
!
~ItemID~Name~ChildID~LVarOptName~LVarOptVal~LVarOptCondition~LVarOptAction~LVarOptDefV
al~LVarOptSetIfVal~LVarOptSetIfCond
IQN-0~IQN~~POTEN~10,12,15,25,70,80,SIN,xxxxxxxx~ ~~15~SIN~[IQN-0]I = SIN
END-OF-FILE
!~ItemID~Name~ChildID~LVarOptName~LVarOptVal~LVarOptCondition~LVarOptAction
IQN-0~IQN~~*~~ ~delete
END-OF-FILE
!~ItemID~Name~ChildID~LVarOptName~LVarOptVal~LVarOptCondition~LVarOptAction
IQN-0~IQN~~COMPL~N,S~ ~
IQN-0~IQN~~MARCA~I,xxxxxxxx~ ~
IQN-0~IQN~~COLO1~NEGRT,xxxxxxxx~ ~
IQN-0~IQN~~COLO2~NEGRT,xxxxxxxx~ ~
IQN-0~IQN~~CLASE~I,xxxxxxxx~ ~
IQN-0~IQN~~PLAMP~E27,E40,xxxxxxxx~ ~
IQN-0~IQN~~O~1,xxxxxxxx~ ~
IQN-0~IQN~~C~P1,VL,xxxxxxxx~ ~
IQN-0~IQN~~E~SIN,xxxxxxxx~ ~
IQN-0~IQN~~R~SIN,xxxxxxxx~ ~
IQN-0~IQN~~F~SIN,xxxxxxxx~ ~
IQN-0~IQN~~I~CON,SIN,SINC,xxxxxxxx~ ~
IQN-0~IQN~~LAMPA~H,M,S,SIN,xxxxxxxx~ ~
IQN-0~IQN~~POTEN~10,12,15,25,70,80,SIN,xxxxxxxx~ ~
IQN-0~IQN~~TENSI~220,230,240,SIN,xxxxxxxx~ ~
IQN-0~IQN~~FRECU~50,60,SIN,xxxxxxxx~ ~
IQN-0~IQN~~ARRAN~TR,IDL,IDM,IDT,IDY,SIN,xxxxxxxx~ ~
IQN-0~IQN~~DONIV~LM,TP,SIN,xxxxxxxx~ ~
IQN-0~IQN~~REACT~ELT,ETI,LAY,SIN,xxxxxxxx~ ~
IQN-0~IQN~~FOTOC~SIN,xxxxxxxx~ ~
IQN-0~IQN~~MCONT~SIN,xxxxxxxx~ ~
IQN-0~IQN~~CEMER~SIN,xxxxxxxx~ ~
IQN-0~IQN~~PFUSI~SIN,xxxxxxxx~ ~
IQN-0~IQN~~EMBAL~ST~ ~delete
IQN-0~IQN~~EMBAL~ST~ ~
IQN-0~IQN~13-00532-30x~TORNILLO DIN-7985A M5x10 IN H~~IQN-0; COMPL; ==; S & IQN-0; I;
==; CON|SINC~
IQN-0~IQN~13-02106-30x~ARANDELA DIN-6798-A p. M 6 IN~~(IQN-0; COMPL; ==; S & IQN-0; C;
==; VL & IQN-0; I; ==; CON|SINC) | [IQN-0]POTEN = 10|12|15~
IQN-0~IQN~52-62003-04~MARCO P/VIDRIO IQN-250 NEGRT ~~
IQN-0~IQN~13-00535-30~TORNILLO DIN-7985A M5x20 IN H~~IQN-0; C; ==; P1|VL~
IQN-0~IQN~13-00905-01~ARANDELA VISTOP M 5 BI~~IQN-0; C; ==; P1|VL~
IQN-0~IQN~52-62000-02~REFLECTOR DE.ASIM. IQN-150 ~~IQN-0; COMPL; ==; S~
IQN-0~IQN~13-00581-02~TORNILLO DIN-7500C M 5x 8 CI P~~IQN-0; COMPL; ==; S & IQN-0; C; ==;
VL~
END-OF-FILE
!~ItemID~Name~ChildID~LVarOptName~LVarOptVal~LVarOptCondition~LVarOptAction
IQN-0~IQN~~Tim1~A,B,C~ ~delete
IQN-0~IQN~~Tim2~A,B,C~ ~delete
IQN-0~IQN~~Tim3~A,B,C~ ~delete
IQN-0~IQN~~Tim3~A,B,D~ ~
END-OF-FILE
#-------------------------
END-OF-FILE
#-------------------------
!~ItemID~ParentRev~ChildID~ChildRev~BL:bl_variant_condition
AHD54302~001~AHD53108~001~[AHD54302]Load_Mainstream = Y AND [AHD54302]Tim_test = Y
#-------------------------
END-OF-FILE
#-------------------------
!~ItemID~ChildID~ItemType~BL:bl_occurrence_name~LVarOptCondition
AHD54302~AHD53108~CORP_Proc_Plan~MAINSTREAM MODULE~AHD54302; Load_Mainstream;
==; Y
#-------------------------
END-OF-FILE
#-------------------------
!
~ItemID~ChildID~Qty~SeqNo~ON:Test~Uom~RM:project_id~MVarOptName~MVarOptDesc~MVarOpt
Vis~MVarOptValType~MVarOptVal~MVarOptDefVal~MVarOptCondition~LVarOptName~LVarOptDesc
~LVarOptVal~LVarOptCondition~MVarOptAction~LVarOptAction~LVarOptValAction
# Delete Option...
New_Assy2~~1~10~Test Note 1~mm~Project test~~~~~~~~L Option 2~Legacy option
2~val1,val2,val3~~~delete
# Legacy option
END-OF-FILE
# Delete Option...
#New_Assy1~~1~10~Test Note 1~mm~Project test~OPTION7~~~~~~~~~~~delete
# public OPTION1 string "A multi list STRING option" = "Value 1", "Value 2", "Value 3" default "Value
1"
New_Assy1~~1~10~Test Note 1~mm~Project test~Option 1~A New STRING
option~public~STRING~"Value1", "Value2", "Value3"~Value3
# public 'OPTION WITH SPACE' real "A real range" = >=10.5, <=19.5
New_Assy1~~1~10~Test Note 1~mm~Project test~Option 2~OPTION WITH SPACE~public~real~>=10.5,
<=19.5
# public OPTION7 integer "Integer with range" = 1 to 100, 201 to 300 default 1
New_Assy1~~1~10~Test Note 1~mm~Project test~OPTION7~Integer with range~public~integer~1 to 100,
201 to 300~1
!~ItemID~ParentRev~ChildID~ChildRev~LVarOptName~LVarOptSetIfVal~LVarOptSetIfCond
AHD54302~001~~~[AHD54301]OPT1~value1-2~[AHD54301]OPT2 = value2-2
#-------------------------
END-OF-FILE
#-------------------------
!~ItemID~ParentRev~ChildID~ChildRev~LVarOptName~LVarOptDesc~LVarOptVal~Ignore:LVarOptDefVal~LVarOptErrorIf
AHD54302~001~~~[AHD54301]OPT1~~~value1-1~OPT 2 value value2-2 NOT ALLOWED~[AHD54301]OPT2 = value2-2
#-------------------------
END-OF-FILE
#-------------------------
CREATE BOMS = ON
UPDATE BOMS = ON
UPDATE ITEMS = ON
UPDATE REVS = ON
Config File
-------------------------------
#MODE = create_forms
#FORM RELATION = Reference
#FORM TYPE = Company
#FORM PARENT TYPE = ITEM
Data File
-------------------------------
CREATE FORMS = ON
UPDATE FORMS = ON
FORM TYPE = Company
RELATION PARENT TYPE = ITEM
RELATION NAME = Reference
!~ItemID~RevID~Name~Desc~F:_elm_company_01~F:_elm_company_02
TestAssy~A~Comp FormA~Company Form~Services~Casing
If the revision already exists and so does the Custom Form then the
Custom Form and the revision master form will be updated. Otherwise
the revision and the Custom Form will be created.
Config File
-------------------------------
CREATE ITEMS = ON
UPDATE ITEMS = ON
CREATE REVISIONS = ON
UPDATE REVISIONS = ON
CREATE FORMS = ON
UPDATE FORMS = ON
FORM TYPE = Custom Form
RELATION NAME = Spec
FOLDER NAME = New items
DEFAULT REV =A
Data File
-------------------------------
ITEM TYPE = Item
!~ItemID~RevID~RM:project_id~F:cust_attr_1~F:cust_attr_2
BomAssy1~A~Project X~Value 1~Value 2
BomChild1~A~Project X~Value 1~Value 2
BomChild2~A~Project X~Value 1~Value 2
BomChild3~A~Project X~Value 1~Value 2
Config File
-------------------------------
LOV NAME = TEST_LOV
LOV TYPE = STRING
Data File
-------------------------------
!~LovName~LovType~LovVal
TEST_LOV~STRING~Value 2
TEST_LOV~STRING~Value 5
TEST_LOV~STRING~Value 7
TEST_LOV~STRING~Value 100
Config File
-------------------------------
RELATION NAME = Ref
RELATION PARENT TYPE = REV
NEW RELATION NAME = Spec
Data File
-------------------------------
!~ItemID~ParentRev~DsetName~DsetType~RelationName~NewRelation
Engine7~A~Engine7/A~UGMASTER~~des
Engine7~O~Engine7/O~UGPART~Req~
Engine7~Q~Engine7/Q~Text~Ref~Spec
Config File
-------------------------------
RELATION NAME = Ref
RELATION PARENT TYPE = REV
#NEW RELATION NAME = Spec
Data File
-------------------------------
!~ItemID~ParentRev~ChildID~RelationName
000002~A~000003~Spec
000002~A~000003~ref
000002~A~000003~req
Config File
-------------------------------
RELATION NAME = Ref
RELATION PARENT TYPE = REV
NEW RELATION NAME = Spec
Data File
-------------------------------
!~ItemID~ParentRev~FormName~RelationName
tim-00002~tim-00001-txt~Req
#===================================================================
END-OF-FILE
#===================================================================
#-------------------------
# Item to Item
#-------------------------
!~ItemID~ChildID~RelationName
tim-98765~tim-34567~IMAN_reference
#-------------------------
# Item to Rev
#-------------------------
!~ItemID~ChildID~RelationName
tim-98765~tim-34567~IMAN_reference
#-------------------------
# Rev to Item
#-------------------------
!~ItemID~ChildID~RelationName
tim-98765~tim-34567~IMAN_reference
#-------------------------
# Rev to Rev
#-------------------------
!~ItemID~ChildID~ChildRev~RelationName
tim-98765~tim-34567~A~IMAN_reference
#-------------------------------------
# Cut dataset from dataset in rev
#-------------------------------------
CUT RELATIONS = ON
!~ItemID~RevID~ParentName~ParentType~DsetName~DsetType~RelationName
tim-98765~A~Text-tim-98765-1-txt~Text~Text-tim-98765-1-cfg~Text~IMAN_Rendering
#----------------------------------------------
# Dataset in rev into another dataset in rev
#----------------------------------------------
!~ItemID~RevID~ParentName~ParentType~ChildID~ChildRev~DsetName~DsetType~RelationName
tim-98765~A~Text-tim-98765-1-txt~Text~tim-98765~A~Text-tim-98765-1-cfg~Text~IMAN_Rendering
#-------------------------
# CC and SC into Rev
#-------------------------
!~ItemID~ParentRev~CCName~CCType~SCName~SCType
tim-98765~A~CC_test_publish_link~CCObject~~
tim-98765~A~CC_test_publish_link~CCObject~source_bom~StructureContext
#----------------------------------------------
# Dataset(s) to Rev
#----------------------------------------------
!~ItemID~ParentRev~DsetName~DsetType
tim-98765~A~Text-tim-98765-1~Text~
tim-98765~A~tim-98765~Text~
#----------------------------------------------
# Dataset(s) to Dataset(1)
#----------------------------------------------
!~ParentName~ParentType~DsetName~DsetType~RelationName
Text-tim-98765-1~Text~Text-tim-98765-1-cfg~Text~IMAN_Rendering
#----------------------------------------------
# WSOM(s) to WSOM(1)
#----------------------------------------------
!~ParentName~ParentType~ChildName~ChildType~RelationName
#Text-tim-98765-1~Text~Text-tim-98765-1-cfg~Text~IMAN_Rendering
#Text-tim-98765-1~Text~A GeneralDesignElement form~GeneralDesignElement~IMAN_Rendering
Text-tim-98765-1~Text~Home~Folder~IMAN_Rendering
#----------------------------------------------
# WSOM(s) to Rev
#----------------------------------------------
!~ItemID~RevID~ChildName~ChildType~RelationName
tim-98765~~Text-tim-98765-1-cfg~Text~IMAN_reference
tim-98765~A~A GeneralDesignElement form~GeneralDesignElement~IMAN_reference
tim-98765~A~Home~Folder~IMAN_reference
#----------------------------------------------
# Form(s) to Rev
#----------------------------------------------
!~ItemID~ParentRev~FormName~FormType
tim-98765~A~A GeneralDesignElement form~GeneralDesignElement
#----------------------------------------------
# Form(s) to Rev, move to IMAN_ref
#----------------------------------------------
!~ItemID~ParentRev~FormName~Ignore:FormType~NewRelation
tim-98765~A~A GeneralDesignElement form~GeneralDesignElement~IMAN_reference
#----------------------------------------------
# WSOM(s) to Folder
#----------------------------------------------
!~ParentName~ParentType~ChildName~ChildType~RelationName
TEST UPLOAD FOLDER~Folder~Text-tim-98765-1-cfg~Text~IMAN_reference
Config File
-------------------------------
#============================================
# General options
#============================================
FOLDER NAME = IMPORT_FILES
DEFAULT REV =A
PUT FAILS IN NEWSTUFF = ON
SET BYPASS = ON
DEFAULT OWNER = williamt
DEFAULT GROUP = designer
CREATE ITEMS = ON
UPDATE ITEMS = ON
CREATE REVS = ON
UPDATE REVS = ON
UPDATE LATEST REV = ON
#============================================
# Dataset specific options
#============================================
DATASET TYPE = Text
CREATE DATASET = ON
UPDATE DATASET = ON
#SET OWNER BY PARENT = OFF
#============================================
# Dataset File Reference Options
#============================================
FILE REF NAME = Text
#UPDATE FILE REF NAME = ADD REF
#UPDATE FILE REF NAME = NEW REF
UPDATE FILE REF NAME = REPLACE REF
#UPDATE FILE REF NAME = NEW VERSION
#FILE REF REPLACE OPTION = ALL REFS
Data File
-------------------------------
!
~ItemID~RevID~Name~Desc~RM:project_id~DsetName~FileRef~File~DsetDesc~Relation
Name
tim-00001~2~DS Test~Dataset Test~DS Testing~tim-00001-cfg~Text~file2_tim.cfg~A Text
DS with cfg ref~Req
tim-00001~2~DS Test~Dataset Test~DS Testing~tim-00001-txt~Text~file1_tim.txt~A Text
DS with txt ref
tim-00001~2~DS Test~Dataset Test~DS Testing~tim-00001-txt~Text~file2_tim.txt
Example 2: Create Item, dataset and import form and set group
ownership.
Data File
-------------------------------
!
~ItemID~RevID~Name~Desc~RM:project_id~DsetName~DsetType~FormRef~FormType~
F:project_id~F:series_desc~FormDesc~Group
tim-00002~A~DS Test with Form~Dataset Test with Form~DS Testing~tim-00001-
txt~FormTest~Form~Item Master~DS Form Testing1~~~
tim-00002~~DS Test with Form~Dataset Test with Form~DS Testing~tim-00001-
txt~FormTest~Form~CMSForm~DS Form Testing7~DS Form Testing1~DS Form
Testing2~designer
Data File
-------------------------------
!
~ItemID~Name~Desc~RM:project_id~DsetName~FileRef~File~CrtDate~ModDate~ModBy~
Owner~Group
tim-00001~DS Test~Dataset Test~DS Testing~tim-00001-txt~Text~file1_tim.txt~01-Aug-
1999 00:00~02-Aug-1999~williamt~williamt~designer
tim-00001~DS Test~Dataset Test~DS Testing~tim-00001-cfg~Text~file2_tim.cfg
Config File
-------------------------------
CREATE ITEMS = ON
UPDATE ITEMS = OFF
CREATE REVS = ON
UPDATE REVS = ON
UPDATE REV ATTACHMENTS = ON
UPDATE ITEM ATTACHMENTS = OFF
CREATE DATASET = ON
UPDATE DATASET = ON
Data File
-------------------------------
!~ItemID~RevID~DsetName~DsetType
GUY98765~A~GUYTXT_0001~Text
Creating folders.
Config File
-------------------------------
TOP FOLDER = MasterUploadFolder
SET BYPASS = OFF
FOLDER SEPARATOR =.
TOP FOLDER DESCRIPTION = This is the top folder
DEFAULT FOLDER DESCRIPTION = This is an upload folder
PUT FAILS IN NEWSTUFF = ON
GLOBAL FOLDER SEARCH = ON
Data File
-------------------------------
FOLDER SEPARATOR = /
!~ItemID~Folder~FolderDesc
200001~TestFolder/SubFolder/SubFolder2~This is SubFolder2
200002~TestFolder3/SubFolder/SubFolder2~This is SubFolder2
200003~TestFolder4~This is TestFolder4
#000003~TestFolder/SubFolder/SubFolder3~This is SubFolder3
#000004~TestFolder/SubFolderX/SubFolder3~This is SubFolder3
#000005~TestFolder2/SubFolderY/SubFolder3~This is SubFolder3 in TestFolder2
#000006~TestFolder/SubFolderX/SubFolder3~This is SubFolder3
#000007~TestFolder/SubFolderX/SubFolder3~This is SubFolder3
Config File
-------------------------------
CREATE PROJECTS = ON
UPDATE PROJECTS = ON
#PROJECT ASSIGN TO TYPE = ITEM
PROJECT ASSIGN TO TYPE = REV
# This option can be used to assign the latest revision when only
# supplying the item ID.
UPDATE LATEST REV = ON
Data File
-------------------------------
!
~ProjID~ProjName~ProjDesc~ProjMemberUser~ProjMemberGroup~ProjMemberRole~Proj
AdminUser~ProjPrivUser~ItemID
#PR-67890~PR-67890~Upload test project 67890~tim~Engineering~Designer~tim~tim
#PR-34567~~Upload test project 34567~tim~Engineering~Designer~tim~tim~000001
PR-34567~~Upload test project 34567~tim~Project Administration~Project
Administrator~tim~tim~000001
PR-12677~~Upload test project 12677~tim~Engineering~Designer~tim~tim~000001
PR-12677~~~~~~~~000002
Config File
-------------------------------
# Item and revision options...
#CREATE ITEMS = ON
#UPDATE ITEMS = ON
#CREATE REVS = ON
#UPDATE REVS = ON
UPDATE LATEST REV = ON
# Classification options...
#INCLASS CREATE ICO = OFF
INCLASS UPDATE ICO = OFF
#INCLASS UPDATE ICO OPTION = SINGLE ICO ONLY
#INCLASS UPDATE ICO OPTION = FIRST ICO
INCLASS UPDATE ICO OPTION = ALL ICOS
Data File
-------------------------------
!
~IcoPUID~IcsClassID~IcoID~ItemID~IcsAttr:1000~IcsAttr:1001~IcsAttr:1002~Ignore:IcsAttr
:1003~RM:project_id
#ApNFL4wOVpZy6A~TEST-Bolts-Square~000001~000001~Some sort of
metal~AL~987.5~15.87~Project Inclass
~TEST-Bolts-Square~Ico000001~000005~Some sort of metal~STL~123.5~9.1~Project
Inclass
~TEST-Bolts-Square~~000005~Some sort of metal~STL~123.5~9.1~Project Inclass
~TEST-Bolts-Hex~~000005~Some sort of metal~STL~123.5~9.1~Project Inclass
#pNFL4wOVpZy6A~TEST-Bolts-Square~000001~000001~Some sort of
metal~AL~987.5~15.87~Project Inclass
#~UNCLASSIFY~000001~000001~Steel~Steel~10~Project Inclass
NOTE: The ICOPuid in lines 1 and 5 was extracted using a PLMXML export. The ICOPuid
allows specific ICOs to be updated. The last line was used to test unclassifying an Item.
Data File
-------------------------------
!~IcsClassID~IcoID~IcsAttr:1000~IcsAttr:1001~IcsAttr:1002
TEST-Bolts-Square~Ico000022~Some sort of metal~STL~1234.12
Example 3: How to delete a specific ICO give its PUID, which was
taken from a PLMXML export.
Data File
-------------------------------
!~IcoPUID~IcsClassID
AJBJZ03olhbFzC~DELETE
QFFJZwmvlhbFzC~DELETE
Config File
-------------------------------
CREATE ITEMS = OFF
UPDATE ITEMS = OFF
#UPDATE ITEM ATTACHMENTS = OFF
#UPDATE REV ATTACHMENTS = OFF
CREATE REVS = OFF
UPDATE REVS = OFF
SET BYPASS = ON
#UPDATE LATEST REV = ON
CREATE IDENTIFIERS = ON
UPDATE IDENTIFIERS = ON
CREATE IDFR REVS = ON
UPDATE IDFR REVS = ON
ALTERNATE ID CONTEXT = Supplier Part
Data File
-------------------------------
!
~ItemID~RevID~AlternateID~AlternateRevID~AltIDName~AltIDDesc~AltRevIDName~AltRe
vIDDesc~AltIDOwner~AltIDGroup
GUY987~A~BB6781~02~BB6781~A Test Altid part~PLATE 10x10~AltID revision
description~bursell~dba
GUY987~B~BB6781~03~BB6781~A Test Altid part~PLATE 10x10~AltID revision
description~bursell~dba
Config File
-------------------------------
#MEProcess options
CREATE PROCESSES = ON
UPDATE PROCESSES = ON
CREATE PROCESS REVS = ON
UPDATE PROCESS REVS = ON
PROCESS TYPE = MEProcess
#MEOP options
CREATE OPERATIONS = ON
UPDATE OPERATIONS = ON
CREATE OPERATION REVS = ON
UPDATE OEPRATION REVS = ON
OPERATION TYPE = MEOP
#LINK OP TO PROCESS = OFF
LINK OP TO PROCESS = ON
#MEActivity options
CREATE ACTIVITIES = ON
UPDATE ACTIVITIES = ON
ACTIVITY TYPE = MEActivity
#MEActivity Form options
ACTIVITY FORM TYPE = RR_Activity Form
CREATE ACTIVITY FORMS = ON
UPDATE ACTIVITY FORMS = ON
#BOM module cfg options
BOM FORMAT = parent_child
UPDATE BOMS = ON
CREATE BOMS = ON
BOM UPDATE OPTION = UPDATE OCCURRENCES
#ownership
DEFAULT OWNER = bursell
DEFAULT GROUP = Trent1700
Data File
-------------------------------
ProcID~ProcRevID~ProcName~ProcType~ProcDesc
PROCESS1~A~MY PROCESS 1~MEProcess~My Process Description
Data File
-------------------------------
OpID~OpRevID~OpName~OpType~OpDesc
OPN1~A~MY OPERATION 1~MEOP~My Operation Description
Data File
-------------------------------
OpID~OpRevID~ActName~ActDesc~ActType~ActTime
OPN2~A~ACT1~My Activity Description~MEActivity~43.2
Data File
-------------------------------
OpID~OpRevID~ActName~ActDesc~ActType~ActTime~FormName~FormType~FormDesc
~F:rr_activity_detail_text~F:rr_activity_std_text
OPN2~A~ACT1~My Activity Description~MEActivity~43.2~ACT1FORM~RR_Activity
Form~My Form Description~the first attribute value~the,second,attr,array,values
Data File
-------------------------------
ProcID~ProcRevID~OpID~OpRevID~SeqNo
PROCESS1~A~OPN1~A~10
PROCESS1~A~OPN2~A~20
Data File
-------------------------------
OpID~OpRevID~ActName~ActDesc~ActType~ActTime~FormName~FormType~FormDesc
~F:rr_activity_detail_text~F:rr_activity_std_text
OPN2~A~ACT1~My Activity Description~MEActivity~43.2~ACT1FORM~RR_Activity
Form~My Form Description~the first attribute value~the,second,attr,array,values
OPN2~A~ACT2~My Activity Description 2~MEActivity~5~ACT2FORM~RR_Activity
Form~My Form Description~the first attribute value~the,second,attr,array,values
Data File
-------------------------------
ProcID~ProcRevID~OpID~OpRevID~SeqNo~Predecessor~ActName~ActPreds
PROC1~A~OP1~A~10~ACT1~
PROC1~A~OP1~A~20~ACT2~ACT1
Data File
-------------------------------
ProcID~ProcRevID~OpID~OpRevID~SeqNo~Predecessor
PROC1~A~OP1~A~10~
PROC1~A~OP2~A~20~OP1
Config File
-------------------------------
#MEProcess options
CREATE PROCESSES = ON
UPDATE PROCESSES = ON
CREATE PROCESS REVS = ON
UPDATE PROCESS REVS = ON
PROCESS TYPE = MEProcess
#MEOP options
CREATE OPERATIONS = ON
UPDATE OPERATIONS = ON
CREATE OPERATION REVS = ON
UPDATE OEPRATION REVS = ON
OPERATION TYPE = MEOP
LINK OP TO PROCESS = ON
#MEActivity options
CREATE ACTIVITIES = ON
UPDATE ACTIVITIES = ON
ACTIVITY TYPE = MEActivity
#MEActivity Form options
ACTIVITY FORM TYPE = RR_Activity Form
CREATE ACTIVITY FORMS = ON
UPDATE ACTIVITY FORMS = ON
#MEWorkArea options
CREATE WORKAREAS = ON
UPDATE WORKAREAS = ON
CREATE WORKAREA REVS = ON
UPDATE WORKAREA REVS = ON
WORKAREA TYPE = MEWorkarea
#BOM module cfg options (Mandatory)
BOM FORMAT = parent_child
UPDATE BOMS = ON
CREATE BOMS = ON
BOM UPDATE OPTION = UPDATE OCCURRENCES
BOM UPDATE ID FIELDS = ChildID,AbsOccID
Data File
-------------------------------!
~ProcID~ProcRevID~ProcType~ProcName~ProcDesc~OpID~OpRevID~OpType~OpName
~OpDesc~SeqNo~Predecessor~ActName~ActType~ActTime~ActDesc~ActPreds~Product
TargetID~ProductTargetRevID~PlantTargetID~PlantTargetRevID~OccType~TargetChildID
~TargetChildRevID~TargetChildAbsOccID~TargetChildSeqNo~ProcChildID~~~
GPROC1~A~MEProcess~GPROC1-NAME~Process
Description~GOP1~A~MEOP~OP1~Op1 Description~10~~10~MEActivity~23.76~Activity
10~~~~~~~~~~~~~~
GPROC1~A~~~~GOP1~A~MEOP~OP1~Op1 Description~10~~20~MEActivity~99~Activity
20~10~~~~~~~~~~~~~
GPROC1~A~~~~GOP1~A~MEOP~OP1~Op1 Description~10~~30~MEActivity~10~Activity
30~20~~~~~~~~~~~~~
GPROC1~A~~~~GOP2~A~MEOP~OP2~Op2
Description~20~GOP1~~~~~~~~~~~~~~~~~~
GPROC1~A~~~~GOP3~A~MEOP~OP3~Op3
Description~30~GOP2~~~~~~~~~~~~~~~~~~
GPROC1~A~~~~GOP4~A~MEOP~OP4~Op4
Description~40~GOP3~~~~~~~~~~~~~~~~~~
GPROC1~A~~~~GOP4~A~MEOP~OP4~~40~~10~MEActivity~123.909~Activity
10~~~~~~~~~~~~~~
GPROC1~A~~~~GOP4~A~MEOP~OP4~~40~~20~MEActivity~14~Activity
20~10~~~~~~~~~~~~~
GPROC1~A~~~~~~~~~~~~~~~~XSUPERCAR~A~~~MEConsumed~XWHEEL~A~Vectra-
RearAxle-LeftWheel~~GOP1~~~
GPROC1~A~~~~~~~~~~~~~~~~XSUPERCAR~A~~~MEConsumed~XWHEEL~A~Vectra-
RearAxle-RightWheel~~GOP2~~~
GPROC1~A~~~~~~~~~~~~~~~~XSUPERCAR~A~~~MEConsumed~XWHEEL~A~Vectra-
FrontAxle-LeftWheel~~GOP3~~~
GPROC1~A~~~~~~~~~~~~~~~~XSUPERCAR~A~~~MEConsumed~XWHEEL~A~Vectra-
FrontAxle-RightWheel~~GOP4~~~
GPROC1~A~~~~~~~~~~~~~~~~XSUPERCAR~A~~~MEConsumed~XWHEEL~A~Vectra-
FrontAxle-RightWheel~~GOP4~~~
GPROC1~A~~~~~~~~~~~~~~~~~~STWORK1~A~MEWorkArea~STWORK0001~A~F1_
WorkArea1~~GOP1~~~
To Release an MEOP Revision, and also Status any MEActivities (any
other other attachments to Activity_Root/MEActivities).
Config File
-------------------------------
CREATE ITEMS = OFF
UPDATE ITEMS = OFF
CREATE REVS = OFF
UPDATE REVS= ON
REV RELEASE RELATIONS = SPECIFICATION,BOMVIEW,ACTIVITIES
UPDATE REVS ATTACHS STATUS = ON
UNRELEASE REVS = ON
CREATE STATUS = ON
#UPDATE STATUS = UNRELEASE
Data File
-------------------------------
!~ItemID~RevID~Status
GOP1~A~Released
TCG02000105315~A~Released
CREATE CC = ON
CREATE CC ALWAYS = ON
CREATE CC = ON
UPDATE CC = OFF
CREATE SC = ON
UPDATE SC = ON
Copyright © 2015 Siemens Industry Software. All rights reserved.
CREATE CC STRUCTURE = ON
UPDATE CC STRUCTURE = ON
CREATE SC STRUCTURE = ON
UPDATE SC STRUCTURE = ON
Data File
-------------------------------
!
~CCName~NewCCName~CCType~CCDesc~CCOwner~CCGroup~CCStatus~CCCfgCont
ext~CCRevRule~CCSOSName~SCName~NewSCName~SCType~SCDesc~SCOwner~SC
Group~SCStatus~SCCfgContext~SCRevRule~SCSOSName~Ignore:CfgContextType~Item
ID~SCAttObjClass~SCAttObjType
CC_test_upl_2~~MECollaborationContext~Test CC 2~tim~dba~Released~CC1~Latest
Working~CC1_SOS1~SC~~~An SC~tim~dba~Released~SC Cfg~Latest
Working~SC_SOS1~CfgCtxType~Sub_assy1~REV~
CC_test_upl_2~~MECollaborationContext~Test CC 2~tim~dba~Released~CC1~Latest
Working~CC1_SOS1~Product~Product~MEProductContext~Test Product
SC~tim~dba~Released~Product Cfg~Latest
Working~SC_SOS1~~Sub_assy1~BVR~Design
CC_test_upl_2~~MECollaborationContext~Test CC 2~tim~dba~Released~CC1~Latest
Working~CC1_SOS1~Plant~Plant~MEPlantContext~Test Plant
SC~tim~dba~Released~Plant Cfg~Latest Working~SC_SOS1~~Sub_assy2~BVR~
CC_test_upl_2~~MECollaborationContext~Test CC 2~tim~dba~Released~CC1~Latest
Working~CC1_SOS1~Process~Process~MEProcessContext~Test Process
SC~tim~dba~Released~Process Cfg~Latest Working~SC_SOS1~~New_Assy1~BVR~
CC_test_upl_3~~MECollaborationContext~Test CC 3~~Designers~Released~CC1~Latest
Working~CC1_SOS1~SC~~~An SC~~Designers~Released~SC Cfg~Latest
Working~SC_SOS1~CfgCtxType~Sub_assy1~REV~
6.8.0 ITEM REV 1) Fixed problem with objects in revisions not being renamed 4.2
SEPARATOR correctly when changing the item and rev ids due to different
separators being used, e.g. a / in the master form and a - in
UGMASTER. Solved by checking for both separators
defined in the preferences FLColumnCatIVFSeparatorPref
and FLColumnCatObjSeparatorPref.
6.9.0 VERBOSE 1) Added new config option VERBOSE OUTPUT and argument 2.2
-v to add additional output. For now this includes attachment
details when processing items and revisions, e.g. for
changing IDs.
OUTPUT 2) Added new config options to control the output column 2.4.2
DISPLAY sizes:-
OUTPUT COL SIZE TYPE, OUTPUT COL SIZE NAME,
OUTPUT COL SIZE STATUS.
6.10.0 OLD ITEM ID 1) Added new field OldItemID to specify an old item ID to look 4.1
for in attached relations to change to the current ID.
7.0.0 VARIANTS 1) Added ability to create and update legacy and modular 5.1.6
options and set variant conditions.
CC & SC 2) Added ability to create and update Collaboration Context and 14.1.2
Structure Context objects and build their structures complete
with Configuration Context objects. Ownership details and
release status can be set on CC and SC objects.
BL PROPS 6) Added ability to set occurrence translation matrices via the 2.3.2
new general property assignment, e.g.
BL:bl_occ_xform_matrix
MODE 7) Added -mode arg equal to -m arg, to fix many confusions 2.2
over the arg name!
OOTB PROPS 9) Allow OOTB property names to be used in header line 2.3.2
instead of keywords.
ARRAYS 10) Ability to enter multiple values for array attributes. This 2.4.2
includes a new configuration option MULTI VALUE
SEPARATOR STRING to define the separator used
between values. The default separator is a comma.
ARRAY FILE 11) Ability to specify a file name to contain multiple values. Also 2.3.2.1
added new configuration option VALUE FILES ROOT DIR
to set the root directory containing the ‘values’ files.
BV OWNER 12) Better definition of BOMView Revision ownership via OOTB 2.3.2
property names.
ACT OWNER 13) Better definition of Activity ownership via OOTB property 2.3.2
names.
OCC NAME 14) Added ability to set occurrence names via OOTB property 2.3.2
names.
NULL VALS 15) Allow for a value of NULL to blank form values. 2.3
NOTES IN UA 17) For UA do not create Note Types if they don’t exist. --
BL VAL REF 19) Allow typed reference attributes to be set by value. Added 2.3.2.1
new field option BY_VAL to do this.
REL ATTRS 20) Allow attributes to be set on relations for Tc8+. 2.3.2.1
LOG FILE 21) Added new option LOG FILE FORMATS with options CSV 2.4.2
FORMATS and DELIM to write an additional log file that's easier to
process programatically.
7.0.1 DUP ID 1) Added Check for duplicate ID and try to find item using --
ITEM_find_item to check for different case ID.
FORM FOLDER 2) Added functionality to put new forms created using FORMS --
mode into a supplied folder.
BOM REV RULE 3) BOM Import now can use BOM REV RULE to specify a --
revision rule in case of problems adding BOM lines due to
rev rule errors.
7.1.0 PROJECTS 1) Added support to set projects on any object, using general 2.3.2.3
properties for projects, i.e. project_ids, project_list,
projects_list.
LOG FILE 2) Started to set true config option names in log file settings 3.1
section. Done General and Items settings so far as these
are always shown.
LOG FILE 3) Made report settings section more appropriate to current 3.1
mode.
LOG FILE 4) Now showing options with blank values to show what's 3.1
available.
DUP ITEM ID 5) Added check for duplicate identifier if create item fails due to --
duplicate identifier ID with a different case.
ITEM REV 6) Added new configuration option ITEM REV RULE which can 4.2.1
RULE be used instead of UPDATE LATEST REV to identify a
revision to update based on a revision rule.
7.2.0 PREDECESSO 1) Added ability to use SeqNo to help find unique predecessors 5.
R MATCHING by adding a new cfg option PRED UPDATE ID FIELDS and
a new BOM field PredSeqNo. An example of the new cfg
option is:-
7.3.0 BLANK MFG 1) Updated MFG mode to allow blank revisions for ProcRevID, --
REVS OpRevID and WorkRevID. So, for new items the general
DEFAULT REV, or "A" if not set, will be used, and for
updates the latest rev will be found if UPDATE LATEST REV
is ON.
LOG FILE 2) Updated log settings to show true option names for Mfg, 3.1
BOM, Files, Forms and Relation settings.
with one data file. Items and Revisions require their own
data file using ChildID and ChildRev fields.
DATA FILE 2) Increased both max line length and max field length to --
20,000 to allow for large condition strings!
VARIANTS 3) Added new fields LVarOptDefVal to set default values and 5.1.6.1
LVarOptSetIfVal and LVarOptSetIfCond to set Set If
(derived) values and their conditions. The conditions are
supplied in the same format as Load If conditions on
occurrences.
VARIANT RULE 4) Added new functionality to create and update saved legacy **
variant rules with options set.
7.4.6 BOM UPDATE Fixed problem with BOM UPDATE OPTION = UPDATE ALL --
OCCURRENCES not working. Only one occurrence would get
updated.
This problem was probably introduced in 7.2.0.
7.5.0 CFG INCLUDE Added new configuration option INCLUDE to include another --
config file, e.g. a global_config file to set general settings like
DATE FORMAT.
INCLUDE = global_config.cfg
INCLUDE = common_create_items.cfg
7.6.0 PART->CAD Added new functionality to create Part/CAD alignment links (or 2.4.1,
LINK publish links) between occurrences in different BVRs. 5.2.4
TargetParentID
TargetParentRev
PublishLinkType
PublishLinkName
7.7.0 IDENTIFIERS 1) Add option and field to define type of Identifier. 13.
Field =AltIDType
BOM 4) Fixed BOM upload crash if ChildID was blank. This is a valid
situation to update properties on the parent and set parent
options for V & O.
...
Initialisation took [10.91] seconds
...
[14] total lines read
[4] data lines read in [1.22] seconds
[0.30] seconds per data line
...
DATE & TIME 8) Fixed DST date issue with <prop>: fields. This code was not
using the same DST fix added in 7.4.3! So this fixes an hour
being added to times during summer (DST) months.
8.0.0 RELATIONS 1) The relations module was completely re-written to provide 8.1
functionality to create/cut relations between any 2 workspace
objects.
8.1.0 VALIDATION 1) Added field validation options, including options to specify 3.4
how many data lines to validate and whether or not to import
them.
FIELD LENGTH 2) Added check for field value length to report error if value to
long, since the AOM ITK function used caused memory
errors when trying to set a value that was too long.
EFFECTIVITIES 2) Added multiple effectivity date range support and a new field 4.1.5
EffID to allow creation and update of multiple effectivities
with Effectivity IDs and allowing for shared effectivities by
searching for existing effectivities with the supplied EffID.
9.0.0 POM OBJECTS 1) Added functionality to create and update almost any type of 15.
object using POM functions.
9.1.0 REPEAT REVS 1) Added new option ALLOW REPEAT ITEM AND REV LINES 4.2.1
to process consecutive lines with the same item and rev ids
in items mode.
9.2.0 POM FIELDS 1) Added new .POM field modifier to allow a colon property to 2.3.2.1
be set using a POM function to override BMIDE rules on
attributes.
POM FIELDS 2) Added new CFG option SET COLON PROPS WITH POM to 2.4.2
supply a CSV list of general property fields which are to have
their values set with POM functions.
10.0.0 MULTI ITEM 1) Added new option SEARCH FOR ITEMS BY = 4.2.1
UPDATE NAME:<NameField> to search for items by name instead of
item ID, which allows multiple items to be updated from one
data line. <ItemField> is the name of the field that contains
the name to search on, e.g. NAME:ItemID searched on
name using the value from the ItemID field.
This works in items mode for updating items and also
datasets mode for creating/updating datasets attached to the
found items or revisions.
MATCH ID & 2) Added new ON|OFF option MATCH ITEM BY NAME AND ID 4.2.1
NAME which checks if any of the items found using the new option
SEARCH FOR ITEMS BY (decribed above in 3)) has a
matching item ID and name. If one isn't found then, if
CREATE ITEMS = ON, a new item will be created using the
fields supplied.
LATEST ONLY 3) Added new option value ONLY to the option UPDATE 4.2.1
LATEST REV which forces the latest rev to be found even if
the RevID field is supplied.
FIND OCC BY 4) Added new BOM option BOM FIND OCC BY NAME AS ID = 5.2.1
NAME ON|OFF to match occurrences during a BOM update by
checking Item Name against the value supplied in ChildID.
ADD LATEST 5) Added new option value LATEST REV to BOM UPDATE 5.2.1
ADD OCCURRENCES to always find the latest revision of a
child even if ChildRev is supplied.
NEW IDs LOG 6) Added new arg -new_items_ids_log=<New item IDs log file> 2.2
to specify a file name into which auto generated item IDs will
be written to. The file will only be created if the config option
AUTO GENERATE ITEM ID = ON.
NEW ITEM 7) New items now get name set to ID if name field not supplied.
NAME
10.0.1 DATE FORMAT 1) Added new config option TC DATE FORMAT option which
must be used in Tc 9.1 64bit.
10.2.0 IDENTIFIER 1) Added ability to set a status on identifier and identifier rev 13.1.1
STATUS objects using the standard status fields and config options
when using the identifier mode. New config options
RELEASE IDENTIFIERS and RELEASE IDENTIFIER REVS
were added to help control which objects get released.
IDENTIFIER 2) Can now also set general properties on IDENTIFIERS and 2.3.2
PROPS IDENTIFIER REVS.
10.3.0 PROJECT 1) Added ability to set general properties on projects using 2.3.2
PROPERTIES PROJECT:<attr> or TC_Project:<attr>.
10.4.0 OCCURRENCE 1) Added ability to set basic occurrence effectivities with limited 5.1.1,
EFFECTIVITY functionality. 5.2.5
10.5.0 MULTI 1) Added ability to set property values with different languages. 2.3.2.1,
LANGUAGE This is done by adding the field modifier .LANG[=lang], with 2.4.2
PROPERTIES new configuration options to set the DEFAULT LANGUAGE
and DEFAULT LANGUAGE STATUS.
10.6.0 ALTERNATE / 1) Added new field AlternateRevIDs to specify rev IDs for alternate 5.1.1
SUBSTITUTE (substitute) revs for a BOM child.
REV IDS
10.7.0 BASIC AUTO 1) Added new config flag option AUTO GENERATE BASIC 4.2.1
ITEM ID ITEM ID to generate basic item ID.
GENERATION
10.8.0 CC/SC SOS 1) Completed functionality to create CC and SC SOS (Variant 14.1.2
rule) creation and update complete with defining an option
set. 14.2.2
10.9.0 AUTO ITEM ID 1) Added new field AutoItemIDMapping to define a value to be 4.1.1
AMPPING written to the auto IDs log file for reference.
10.10.0 REVISION 1) Added new support to create and update revision sequences, 4.1.2
SEQUENCES with support to add datasets to specific sequences. 4.2.1
4.3.8
10.11.0 ITEM CREATE 1) Items can now be created with mandatory attributes. 2.3.2.1
MAND ATTRS 4.3.9
.FIND FLD MOD 2) Typed and un-typed reference attributes can now have 2.3.2.1
& OWNING objects found to set by using the new .FIND=<class>,<attr> 4.3.10.1
PROJECT field modifier.
This can be used to set owning_project.
10.12.0 LEGACY O&V 1) Added new legacy O&V fields LVarOptErrorIfMsg and 5.1.6.1
ERROR IF LVarOptErrorIfCond to set Error If rules.
19.9.5
2) Option names can now indicate options on items outside of
the current BOM.
11.0.0 MULTI FIELD 1) Added support for MultiField Keys in Tc 10.1 to allow for 2.7
KEYS multiple items with the same item ID by specifying .KEY
fields or just checking on item type.
EXISTING O&V 3) Added O&V CHECK FOR EXISTING RULE option to stop 5.3.4.3
RULES searching for existing option and variant rules to improve
Copyright © 2015 Siemens Industry Software. All rights reserved.
performance.
11.1.0 RELATION SUB 1) Added support/fix to allow setting relation properties on sub 8.4.1
CLASSES classed relations under ImanRelation when using
RELATION BMIDE OVERRIDE to creation the relation with
POM.