attribute
exec program mxupdate --update --path E:\EPLM_workspace\Enovia-5-3\40_mxupdate\datamodel\attribute\ --attribute "NSN Network Element Type";
type
exec program mxupdate --update --path E:\EPLM_workspace\Enovia-5-3\40_mxupdate\datamodel\type\ --type "Conflict Mineral Declaration";
person
exec program mxupdate --update --path C:\workspace\EPLM\vendor\dbschema\user\person\ --person admin_platform;
run tcl script
40_mxupdate/datamodel/type/TYPE_Conflict Mineral Declaration.tcl
query bus with where clause
1 2 3 4
| temp query bus Part * * where ((current == Approved) && (attribute[Material Category] ~~ 'Plastic') && (to[Component Substitution].from.name ~~ '*Clutch*') && (to[Component Substitution].from.name ~~ '*Transmission*'));
|
query bus with Date
1
| temp query bus "NSN Sales Item" * * where "attribute[NSN GSC Base] != '0.0' && attribute[NSN Cost Effective Date] <= 'Jan 07 2020'" dump | limit 5 ;
|
mod bus sample
1
| mod bus TYPE NAME REVISION ATTR_NAME ATTR_NEW_VALUE;
|
exec prog with method
1
| exec program 'NSNSalesItem' -method queryAndCopyCostsRelatedAttrsToCurrentFields;
|
update prog and compile
1 2
| exec program mxupdate --update --path D:\EPLM_Workspace\Enovia-DEV\40_mxupdate\program\jpo\ --program NSNSalesItem; compile prog NSNSalesItem;
|
insert and compile prog
1 2
| insert prog PROG_FILE_PATH compile prog PROG_NAME
|
mod user
1 2
| mod person ddong assign role ROLE_NAME mod person ddong PROPERTY_NAME PROPERTY_VALUE
|
check assigned role
1
| print person ddong select assignment;
|