diff --git a/CodeTree/Innovator/Client/Solutions/PLM/xml/ui_resources.xml b/CodeTree/Innovator/Client/Solutions/PLM/xml/ui_resources.xml new file mode 100644 index 0000000..8534e7b --- /dev/null +++ b/CodeTree/Innovator/Client/Solutions/PLM/xml/ui_resources.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Imports/PLM/Import/Method/CM2 Doc Part Filter Tool.xml b/Imports/1-Pre/PLM/Import/Method/CM2 Doc Part Filter Tool.xml similarity index 98% rename from Imports/PLM/Import/Method/CM2 Doc Part Filter Tool.xml rename to Imports/1-Pre/PLM/Import/Method/CM2 Doc Part Filter Tool.xml index fa0f04c..78928e5 100644 --- a/Imports/PLM/Import/Method/CM2 Doc Part Filter Tool.xml +++ b/Imports/1-Pre/PLM/Import/Method/CM2 Doc Part Filter Tool.xml @@ -1,10 +1,10 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - - JavaScript - CM2 Doc Part Filter Tool - + + + A73B655731924CD0B027E4F4D5FCC0A9 + + JavaScript + CM2 Doc Part Filter Tool + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/Document Child Document.xml b/Imports/1-Pre/PLM/Import/RelationshipType/Document Child Document.xml similarity index 71% rename from Imports/PLM/Import/RelationshipType/Document Child Document.xml rename to Imports/1-Pre/PLM/Import/RelationshipType/Document Child Document.xml index a45e416..37ef60c 100644 --- a/Imports/PLM/Import/RelationshipType/Document Child Document.xml +++ b/Imports/1-Pre/PLM/Import/RelationshipType/Document Child Document.xml @@ -1,42 +1,60 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - B88C14B99EF449828C5D926E39EE8B89 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - DOCUMENT_CHILD_DOCUMENT - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - Document Child Document - - - - 640 - B88C14B99EF449828C5D926E39EE8B89 - Document Child Document - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + B88C14B99EF449828C5D926E39EE8B89 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + DOCUMENT_CHILD_DOCUMENT + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + Document Child Document + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 878F10B86E394C1E8E9E2BF0A5759832 + 0 + quantity + + + + + 640 + B88C14B99EF449828C5D926E39EE8B89 + Document Child Document + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/Document Document.xml b/Imports/1-Pre/PLM/Import/RelationshipType/Document Document.xml similarity index 71% rename from Imports/PLM/Import/RelationshipType/Document Document.xml rename to Imports/1-Pre/PLM/Import/RelationshipType/Document Document.xml index f9a1fbd..01ee72c 100644 --- a/Imports/PLM/Import/RelationshipType/Document Document.xml +++ b/Imports/1-Pre/PLM/Import/RelationshipType/Document Document.xml @@ -30,7 +30,25 @@ 0 1 Document Document - + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 20E87EABA32240FB8935B1532A8AE63A + 0 + quantity + + 768 diff --git a/Imports/PLM/Import/RelationshipType/Document Part.xml b/Imports/1-Pre/PLM/Import/RelationshipType/Document Part.xml similarity index 82% rename from Imports/PLM/Import/RelationshipType/Document Part.xml rename to Imports/1-Pre/PLM/Import/RelationshipType/Document Part.xml index acf9566..20f8abe 100644 --- a/Imports/PLM/Import/RelationshipType/Document Part.xml +++ b/Imports/1-Pre/PLM/Import/RelationshipType/Document Part.xml @@ -1,81 +1,99 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - DOCUMENT_PART - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - Document Part - - - - 512 - B88C14B99EF449828C5D926E39EE8B89 - Document Part - - - - - left - 4F1AC04A2B484F3ABA4E20DB63808A88 - item - 0 - 1 - 1 - 0 - 0 - 0 - float - 0 - 0 - 3456 - 488A2D333F0D49F5BC4C3EFE71BE8D87 - 0 - related_id - - - onsearchdialog - - - CM2 Doc Part Filter Tool - - - 128 - - - related_id - 488A2D333F0D49F5BC4C3EFE71BE8D87 - - - - - - - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + DOCUMENT_PART + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + Document Part + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 488A2D333F0D49F5BC4C3EFE71BE8D87 + 0 + quantity + + + + + 512 + B88C14B99EF449828C5D926E39EE8B89 + Document Part + + + + + left + 4F1AC04A2B484F3ABA4E20DB63808A88 + item + 0 + 1 + 1 + 0 + 0 + 0 + float + 0 + 0 + 3456 + 488A2D333F0D49F5BC4C3EFE71BE8D87 + 0 + related_id + + + onsearchdialog + + + CM2 Doc Part Filter Tool + + + 128 + + + related_id + 488A2D333F0D49F5BC4C3EFE71BE8D87 + + + + + + + + + \ No newline at end of file diff --git a/Imports/1-Pre/PLM/Import/RelationshipType/Part CAD.xml b/Imports/1-Pre/PLM/Import/RelationshipType/Part CAD.xml new file mode 100644 index 0000000..3172069 --- /dev/null +++ b/Imports/1-Pre/PLM/Import/RelationshipType/Part CAD.xml @@ -0,0 +1,135 @@ + + + 1 + hard_fixed + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + CCF205347C814DD1AF056875E0A880AC + 1 + 2 + + + 1 + 0 + 0 + 0 + table + PART_CAD + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 0 + tabs off + 0 + 1 + Part CAD + + + left + string + 1 + 1 + 1 + 0 + 0 + 0 + + 0 + 0 + 3328 + 935DF68BCFD849EBB5C3A528F04C5B5B + 256 + 0 + external_id + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3456 + 935DF68BCFD849EBB5C3A528F04C5B5B + 128 + 0 + external_owner + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 935DF68BCFD849EBB5C3A528F04C5B5B + 128 + 0 + external_type + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 4096 + 935DF68BCFD849EBB5C3A528F04C5B5B + 0 + quantity + + + + + 576 + 4F1AC04A2B484F3ABA4E20DB63808A88 + Part CAD + + + + + left + integer + 1 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 128 + 935DF68BCFD849EBB5C3A528F04C5B5B + 0 + sort_order + + + + + + \ No newline at end of file diff --git a/Imports/1-Pre/PLM/Import/RelationshipType/Part Document.xml b/Imports/1-Pre/PLM/Import/RelationshipType/Part Document.xml new file mode 100644 index 0000000..e91b80c --- /dev/null +++ b/Imports/1-Pre/PLM/Import/RelationshipType/Part Document.xml @@ -0,0 +1,157 @@ + + + 1 + float + 0 + 0 + Documents + 0 + 1 + 1 + 0 + + 1 + B88C14B99EF449828C5D926E39EE8B89 + 1 + 2 + + + 1 + 0 + 0 + 0 + table + PART_DOCUMENT + 0 + 1 + 0 + + Documents + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + Part Document + + + left + string + 1 + 1 + 1 + 0 + 0 + 0 + + 0 + 0 + 3584 + BFE7AD9711A547FBB05827B5169493CE + 256 + 0 + external_id + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3712 + BFE7AD9711A547FBB05827B5169493CE + 128 + 0 + external_owner + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3840 + BFE7AD9711A547FBB05827B5169493CE + 128 + 0 + external_type + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 4096 + BFE7AD9711A547FBB05827B5169493CE + 0 + quantity + + + 83FB72FC3E4D42B8B51BCD7F4194E527 + 128 + BFE7AD9711A547FBB05827B5169493CE + + + + + 512 + 4F1AC04A2B484F3ABA4E20DB63808A88 + Part Document + + + oninsertrow + + + Increment Sequence Number + + + 128 + 09CBB0294FAB477AA7300906DC035462 + + + + + + + left + 70 + integer + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + BFE7AD9711A547FBB05827B5169493CE + 0 + sort_order + + + + + + \ No newline at end of file diff --git a/Imports/1-Pre/imports.mf b/Imports/1-Pre/imports.mf new file mode 100644 index 0000000..1a7b556 --- /dev/null +++ b/Imports/1-Pre/imports.mf @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Imports/ApplicationCore/Import/Form/mpp_Location.xml b/Imports/2-Post/ApplicationCore/Import/Form/mpp_Location.xml similarity index 100% rename from Imports/ApplicationCore/Import/Form/mpp_Location.xml rename to Imports/2-Post/ApplicationCore/Import/Form/mpp_Location.xml diff --git a/Imports/ApplicationCore/Import/ItemType/mpp_Location.xml b/Imports/2-Post/ApplicationCore/Import/ItemType/mpp_Location.xml similarity index 100% rename from Imports/ApplicationCore/Import/ItemType/mpp_Location.xml rename to Imports/2-Post/ApplicationCore/Import/ItemType/mpp_Location.xml diff --git a/Imports/ApplicationCore/Import/Permission/Location.xml b/Imports/2-Post/ApplicationCore/Import/Permission/Location.xml similarity index 100% rename from Imports/ApplicationCore/Import/Permission/Location.xml rename to Imports/2-Post/ApplicationCore/Import/Permission/Location.xml diff --git a/Imports/ApplicationCore/Import/Variable/Application Core.xml b/Imports/2-Post/ApplicationCore/Import/Variable/Application Core.xml similarity index 100% rename from Imports/ApplicationCore/Import/Variable/Application Core.xml rename to Imports/2-Post/ApplicationCore/Import/Variable/Application Core.xml diff --git a/Imports/PLM/Import/Action/CM2 CR to CN.xml b/Imports/2-Post/PLM/Import/Action/CM2 CR to CN.xml similarity index 97% rename from Imports/PLM/Import/Action/CM2 CR to CN.xml rename to Imports/2-Post/PLM/Import/Action/CM2 CR to CN.xml index 96f55d0..48721cc 100644 --- a/Imports/PLM/Import/Action/CM2 CR to CN.xml +++ b/Imports/2-Post/PLM/Import/Action/CM2 CR to CN.xml @@ -1,15 +1,15 @@ - - - <Item type="{@type}" id="{@id}" levels= "1" action="get" /> - - client - - - CM2 Create Change Item - - - none - item - CM2 CR to CN - + + + <Item type="{@type}" id="{@id}" levels= "1" action="get" /> + + client + + + CM2 Create Change Item + + + none + item + CM2 CR to CN + \ No newline at end of file diff --git a/Imports/PLM/Import/Action/CM2 IR to CR.xml b/Imports/2-Post/PLM/Import/Action/CM2 IR to CR.xml similarity index 97% rename from Imports/PLM/Import/Action/CM2 IR to CR.xml rename to Imports/2-Post/PLM/Import/Action/CM2 IR to CR.xml index e2eb33c..847ba4c 100644 --- a/Imports/PLM/Import/Action/CM2 IR to CR.xml +++ b/Imports/2-Post/PLM/Import/Action/CM2 IR to CR.xml @@ -1,15 +1,15 @@ - - - <Item type="{@type}" id="{@id}" levels= "1" action="get" /> - - client - - - CM2 Create Change Item - - - none - item - CM2 IR to CR - + + + <Item type="{@type}" id="{@id}" levels= "1" action="get" /> + + client + + + CM2 Create Change Item + + + none + item + CM2 IR to CR + \ No newline at end of file diff --git a/Imports/PLM/Import/Action/CM2 WA BOM Derive.xml b/Imports/2-Post/PLM/Import/Action/CM2 WA BOM Derive.xml similarity index 100% rename from Imports/PLM/Import/Action/CM2 WA BOM Derive.xml rename to Imports/2-Post/PLM/Import/Action/CM2 WA BOM Derive.xml diff --git a/Imports/PLM/Import/Form/Affected Item.xml b/Imports/2-Post/PLM/Import/Form/Affected Item.xml similarity index 97% rename from Imports/PLM/Import/Form/Affected Item.xml rename to Imports/2-Post/PLM/Import/Form/Affected Item.xml index f7b62d9..5ba107b 100644 --- a/Imports/PLM/Import/Form/Affected Item.xml +++ b/Imports/2-Post/PLM/Import/Form/Affected Item.xml @@ -1,253 +1,253 @@ - - - 0 - 329 - - 684 - Affected Item - - - #FFFFFF - 128 - B1364B03CD9A4E89A1D1D9B674F5CEEB - - - 0 - actionGroupBox - px - radio button list - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - 0 - horizontal - static - 0B5961440D414B70A0D576593A0A98CB - 1 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 512 - 1 - action - - - 2 - px - groupbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - - 0 - 1 - Action - 0 - horizontal - 256 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 0 - 4 - actionGroupBox - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - E673F552428B49E2A36944803C2D943C - 512 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 1 - 64 - affected_id - - - onchange - - - checkAffectedTypeOnForm - - - 128 - A2DA25D491674934A2D2A371909EC45D - - - - - 0 - inBuildGroupBox - px - radio button list - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - 0 - vertical - static - C9752E16B19E4A029BB90917C74E1BCF - 1 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 1024 - 1 - in_build_disposition - - - 0 - inServiceGroupBox - px - radio button list - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - 0 - vertical - static - 0EF6B03DCBDD4E7697AC452CA40E7F11 - 1 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 1152 - 1 - in_service_disposition - - - 2 - px - groupbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - - 0 - 1 - In Build - 0 - horizontal - 768 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 0 - 300 - inBuildGroupBox - - - 2 - px - groupbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - - 0 - 1 - In Service - 0 - horizontal - 1024 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 0 - 300 - inServiceGroupBox - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6D86F636B0834917A46440C9DBB55B5E - 1280 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 896 - 1 - 399 - 54 - 120 - is_condition - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - B0C0850295AF4552BE828B932A0A4D8E - 640 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 1 - 64 - new_item_id - - - onchange - - - checkAffectedTypeOnForm - - - 128 - 4283447E64D94B57B4B885E7FC140AD7 - - - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 113B5BEE95F74C278451DCFFF9AA27DE - 1664 - FA5DF0A67EBC4B42A0D4CB01C767D1CD - 768 - 1 - 399 - 54 - 210 - was_condition - - - - - + + + 0 + 329 + + 684 + Affected Item + + + #FFFFFF + 128 + B1364B03CD9A4E89A1D1D9B674F5CEEB + + + 0 + actionGroupBox + px + radio button list + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + 0 + horizontal + static + 0B5961440D414B70A0D576593A0A98CB + 1 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 512 + 1 + action + + + 2 + px + groupbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + + 0 + 1 + Action + 0 + horizontal + 256 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 0 + 4 + actionGroupBox + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + E673F552428B49E2A36944803C2D943C + 512 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 1 + 64 + affected_id + + + onchange + + + checkAffectedTypeOnForm + + + 128 + A2DA25D491674934A2D2A371909EC45D + + + + + 0 + inBuildGroupBox + px + radio button list + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + 0 + vertical + static + C9752E16B19E4A029BB90917C74E1BCF + 1 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 1024 + 1 + in_build_disposition + + + 0 + inServiceGroupBox + px + radio button list + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + 0 + vertical + static + 0EF6B03DCBDD4E7697AC452CA40E7F11 + 1 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 1152 + 1 + in_service_disposition + + + 2 + px + groupbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + + 0 + 1 + In Build + 0 + horizontal + 768 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 0 + 300 + inBuildGroupBox + + + 2 + px + groupbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + + 0 + 1 + In Service + 0 + horizontal + 1024 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 0 + 300 + inServiceGroupBox + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6D86F636B0834917A46440C9DBB55B5E + 1280 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 896 + 1 + 399 + 54 + 120 + is_condition + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + B0C0850295AF4552BE828B932A0A4D8E + 640 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 1 + 64 + new_item_id + + + onchange + + + checkAffectedTypeOnForm + + + 128 + 4283447E64D94B57B4B885E7FC140AD7 + + + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 113B5BEE95F74C278451DCFFF9AA27DE + 1664 + FA5DF0A67EBC4B42A0D4CB01C767D1CD + 768 + 1 + 399 + 54 + 210 + was_condition + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CAD.xml b/Imports/2-Post/PLM/Import/Form/CAD.xml similarity index 97% rename from Imports/PLM/Import/Form/CAD.xml rename to Imports/2-Post/PLM/Import/Form/CAD.xml index fd25ebf..8952d59 100644 --- a/Imports/PLM/Import/Form/CAD.xml +++ b/Imports/2-Post/PLM/Import/Form/CAD.xml @@ -1,653 +1,653 @@ - - - 0 - 399 - - 734 - CAD - - - 128 - 5F4F4A0D83BF49AEB96FEAA6412C8838 - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5C9197607AF44358A6E741AB09582BF8 - 896 - 78FF67B806994D3BAE0354222986B938 - 896 - 1 - 330 - 90 - authoring_tool - - - 0 - 43 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3E4D0AB8E3E24F93B04312FD13C98FC4 - 1024 - 78FF67B806994D3BAE0354222986B938 - 1024 - 1 - 465 - 90 - authoring_tool_version - - - 0 - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 768 - 78FF67B806994D3BAE0354222986B938 - 768 - 1 - 200 - 90 - classification - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - E0F6A2AB23DB40BBA95F50B250CDC2FA - 2688 - 78FF67B806994D3BAE0354222986B938 - 103704 - 1 - 370 - 260 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - ECA4196E5AE14505B07322498B9AAC60 - 1152 - 78FF67B806994D3BAE0354222986B938 - 1152 - 1 - 295 - 28 - 200 - 130 - description - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 3624652F01A64C5EA060F35DF49E1431 - 2304 - 78FF67B806994D3BAE0354222986B938 - 98712 - 1 - 368 - 220 - from_template - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 9E0ADA9EAAE5481693C2AC1176482331 - 1920 - 78FF67B806994D3BAE0354222986B938 - 95000 - 1 - 20 - 290 - has_change_pending - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - right - 0 - A118305C63D845E0BEC525A847B26ADC - 2048 - 78FF67B806994D3BAE0354222986B938 - 98456 - 1 - 20 - 310 - is_standard_part - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - right - 0 - 441111CD398A4EE68E504F7B869B3C09 - 2176 - 78FF67B806994D3BAE0354222986B938 - 98584 - 1 - 20 - 330 - is_template - - - px - html - -]]> - 0 - 1 - 0 - 1024 - 78FF67B806994D3BAE0354222986B938 - 0 - 0 - 0 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1BF8C96521A94CB0B658C2EE08C1C871 - 128 - 78FF67B806994D3BAE0354222986B938 - 128 - 1 - 200 - 10 - item_number - - - 0 - 5 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - -]]> - 0 - 1 - - top - 0 - 256 - 78FF67B806994D3BAE0354222986B938 - 256 - 0 - 330 - 10 - major_rev - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1536 - 78FF67B806994D3BAE0354222986B938 - 1536 - 1 - 368 - 180 - managed_by_id - - - 0 - 295 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3AC10B5A42004CC3A1C76B3CC3955FA5 - 640 - 78FF67B806994D3BAE0354222986B938 - 640 - 1 - 200 - 50 - name - - - 0 - 114 - px - file item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - AE4EBCCCB7BC428AA0F8F18EE219BC17 - 1280 - 78FF67B806994D3BAE0354222986B938 - 1280 - 1 - 520 - 180 - native_file - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1408 - 78FF67B806994D3BAE0354222986B938 - 1408 - 1 - 200 - 180 - owned_by_id - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -function openPart() { - if (!document.getElementById("partid") || !document.getElementById("partid").value) { - return; - } - var partid = document.getElementById("partid").value; - - if(partid == "tab") { - var relshipId = top.aras.getRelationshipTypeId("CAD Part"); - parent.relationships.relTabbar.SetTabVisible(relshipId , true); - parent.relationships.relTabbar.selectTab(relshipId ); - } - else { - top.aras.uiShowItem("Part", partid , undefined); - } -} - - - -]]> - 0 - 1 - - top - 0 - 1792 - 78FF67B806994D3BAE0354222986B938 - 1792 - 0 - 200 - 220 - part - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 71A92F131BB5443CBBE25B1295A7D87F - 2560 - 78FF67B806994D3BAE0354222986B938 - 204256 - 1 - 200 - 260 - release_date_plan - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 384 - 78FF67B806994D3BAE0354222986B938 - 384 - 0 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 8BDF3473237447DE993D3D1D8BEEC9CD - 512 - 78FF67B806994D3BAE0354222986B938 - 512 - 1 - 150 - 520 - 10 - thumbnail - - - 0 - 114 - px - file item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - BE0CA82B96C4425C98E9450365C6CE76 - 1664 - 78FF67B806994D3BAE0354222986B938 - 1664 - 1 - 520 - 220 - viewable_file - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2432 - 78FF67B806994D3BAE0354222986B938 - 1 - 700 - 10 - xclass - - - - - onformpopulated - - - PE_retrievePartOnCADForm - - - 128 - 5F4F4A0D83BF49AEB96FEAA6412C8838 - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 256 - 5F4F4A0D83BF49AEB96FEAA6412C8838 - - - onformpopulated - - - Fill Form Fields - - - 384 - 5F4F4A0D83BF49AEB96FEAA6412C8838 - - - - - - - - classification - CCF205347C814DD1AF056875E0A880AC - - - - - - - - major_rev - CCF205347C814DD1AF056875E0A880AC - - - - - - - - managed_by_id - CCF205347C814DD1AF056875E0A880AC - - - - - - - - owned_by_id - CCF205347C814DD1AF056875E0A880AC - - - - - - - - state - CCF205347C814DD1AF056875E0A880AC - - - + + + 0 + 399 + + 734 + CAD + + + 128 + 5F4F4A0D83BF49AEB96FEAA6412C8838 + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5C9197607AF44358A6E741AB09582BF8 + 896 + 78FF67B806994D3BAE0354222986B938 + 896 + 1 + 330 + 90 + authoring_tool + + + 0 + 43 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3E4D0AB8E3E24F93B04312FD13C98FC4 + 1024 + 78FF67B806994D3BAE0354222986B938 + 1024 + 1 + 465 + 90 + authoring_tool_version + + + 0 + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 768 + 78FF67B806994D3BAE0354222986B938 + 768 + 1 + 200 + 90 + classification + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + E0F6A2AB23DB40BBA95F50B250CDC2FA + 2688 + 78FF67B806994D3BAE0354222986B938 + 103704 + 1 + 370 + 260 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + ECA4196E5AE14505B07322498B9AAC60 + 1152 + 78FF67B806994D3BAE0354222986B938 + 1152 + 1 + 295 + 28 + 200 + 130 + description + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 3624652F01A64C5EA060F35DF49E1431 + 2304 + 78FF67B806994D3BAE0354222986B938 + 98712 + 1 + 368 + 220 + from_template + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 9E0ADA9EAAE5481693C2AC1176482331 + 1920 + 78FF67B806994D3BAE0354222986B938 + 95000 + 1 + 20 + 290 + has_change_pending + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + right + 0 + A118305C63D845E0BEC525A847B26ADC + 2048 + 78FF67B806994D3BAE0354222986B938 + 98456 + 1 + 20 + 310 + is_standard_part + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + right + 0 + 441111CD398A4EE68E504F7B869B3C09 + 2176 + 78FF67B806994D3BAE0354222986B938 + 98584 + 1 + 20 + 330 + is_template + + + px + html + +]]> + 0 + 1 + 0 + 1024 + 78FF67B806994D3BAE0354222986B938 + 0 + 0 + 0 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1BF8C96521A94CB0B658C2EE08C1C871 + 128 + 78FF67B806994D3BAE0354222986B938 + 128 + 1 + 200 + 10 + item_number + + + 0 + 5 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + +]]> + 0 + 1 + + top + 0 + 256 + 78FF67B806994D3BAE0354222986B938 + 256 + 0 + 330 + 10 + major_rev + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1536 + 78FF67B806994D3BAE0354222986B938 + 1536 + 1 + 368 + 180 + managed_by_id + + + 0 + 295 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3AC10B5A42004CC3A1C76B3CC3955FA5 + 640 + 78FF67B806994D3BAE0354222986B938 + 640 + 1 + 200 + 50 + name + + + 0 + 114 + px + file item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + AE4EBCCCB7BC428AA0F8F18EE219BC17 + 1280 + 78FF67B806994D3BAE0354222986B938 + 1280 + 1 + 520 + 180 + native_file + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1408 + 78FF67B806994D3BAE0354222986B938 + 1408 + 1 + 200 + 180 + owned_by_id + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +function openPart() { + if (!document.getElementById("partid") || !document.getElementById("partid").value) { + return; + } + var partid = document.getElementById("partid").value; + + if(partid == "tab") { + var relshipId = top.aras.getRelationshipTypeId("CAD Part"); + parent.relationships.relTabbar.SetTabVisible(relshipId , true); + parent.relationships.relTabbar.selectTab(relshipId ); + } + else { + top.aras.uiShowItem("Part", partid , undefined); + } +} + + + +]]> + 0 + 1 + + top + 0 + 1792 + 78FF67B806994D3BAE0354222986B938 + 1792 + 0 + 200 + 220 + part + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 71A92F131BB5443CBBE25B1295A7D87F + 2560 + 78FF67B806994D3BAE0354222986B938 + 204256 + 1 + 200 + 260 + release_date_plan + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 384 + 78FF67B806994D3BAE0354222986B938 + 384 + 0 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 8BDF3473237447DE993D3D1D8BEEC9CD + 512 + 78FF67B806994D3BAE0354222986B938 + 512 + 1 + 150 + 520 + 10 + thumbnail + + + 0 + 114 + px + file item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + BE0CA82B96C4425C98E9450365C6CE76 + 1664 + 78FF67B806994D3BAE0354222986B938 + 1664 + 1 + 520 + 220 + viewable_file + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2432 + 78FF67B806994D3BAE0354222986B938 + 1 + 700 + 10 + xclass + + + + + onformpopulated + + + PE_retrievePartOnCADForm + + + 128 + 5F4F4A0D83BF49AEB96FEAA6412C8838 + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 256 + 5F4F4A0D83BF49AEB96FEAA6412C8838 + + + onformpopulated + + + Fill Form Fields + + + 384 + 5F4F4A0D83BF49AEB96FEAA6412C8838 + + + + + + + + classification + CCF205347C814DD1AF056875E0A880AC + + + + + + + + major_rev + CCF205347C814DD1AF056875E0A880AC + + + + + + + + managed_by_id + CCF205347C814DD1AF056875E0A880AC + + + + + + + + owned_by_id + CCF205347C814DD1AF056875E0A880AC + + + + + + + + state + CCF205347C814DD1AF056875E0A880AC + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Application Order.xml b/Imports/2-Post/PLM/Import/Form/CM2 Application Order.xml similarity index 100% rename from Imports/PLM/Import/Form/CM2 Application Order.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Application Order.xml diff --git a/Imports/PLM/Import/Form/CM2 CN.xml b/Imports/2-Post/PLM/Import/Form/CM2 CN.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 CN.xml rename to Imports/2-Post/PLM/Import/Form/CM2 CN.xml index 1cef56f..f7fb74a 100644 --- a/Imports/PLM/Import/Form/CM2 CN.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 CN.xml @@ -1,644 +1,644 @@ - - - 0 - - 420 - - 699 - CM2 CN - - - #FFFFFF - 128 - 95A3685E8ADE452392094A63C21374C4 - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1807316D11534AC99830DB1AB28D5CA4 - 2560 - 34F8B737D17643B2A2200AB150EFC884 - 6528 - 1 - 350 - 50 - 190 - 290 - adnl_details - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1158BE7AA40346D2BF0B8958186D6434 - 1280 - 34F8B737D17643B2A2200AB150EFC884 - 5760 - 1 - 810 - 370 - ara_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 858503A94936401689118800B4904E79 - 768 - 34F8B737D17643B2A2200AB150EFC884 - 768 - 1 - 540 - 90 - change_type - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - E49EC7A634554870B386ECA58E170F9D - 1408 - 34F8B737D17643B2A2200AB150EFC884 - 5888 - 1 - 590 - 370 - cl_id - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - AFF430C4AD6B4D6386B13894D6CE8252 - 3328 - 34F8B737D17643B2A2200AB150EFC884 - 7040 - 1 - 810 - 50 - cm2_implementation_plan - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 0813BF52B8104EC8A3D6738A977DA7F2 - 2176 - 34F8B737D17643B2A2200AB150EFC884 - 1280 - 1 - 350 - 50 - 190 - 130 - description - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 57F353AA9A7A4D5DB9A485C8C9A68996 - 3456 - 34F8B737D17643B2A2200AB150EFC884 - 1536 - 1 - 810 - 10 - effectivity_date - - - 0 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 451FB6227CF24C6BA03B83B731AD6F75 - 512 - 34F8B737D17643B2A2200AB150EFC884 - 512 - 1 - 680 - 90 - fast_track - - - px - html - -]]> - 0 - 1 - 0 - 1920 - 34F8B737D17643B2A2200AB150EFC884 - 0 - 0 - 0 - item_info - - - 0 - 80 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - DF45C703C32146CF9DBB4615DD82D592 - 128 - 34F8B737D17643B2A2200AB150EFC884 - 128 - 1 - 190 - 10 - item_number - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 068DDD2647E3447DB3BC58089DC8CFCD - 2688 - 34F8B737D17643B2A2200AB150EFC884 - 6656 - 1 - 350 - 50 - 590 - 290 - key_dates - - - 0 - 30 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3200 - 34F8B737D17643B2A2200AB150EFC884 - 4480 - 1 - 290 - 10 - major_rev - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2944 - 34F8B737D17643B2A2200AB150EFC884 - 3584 - 1 - 390 - 370 - managed_by_id - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2816 - 34F8B737D17643B2A2200AB150EFC884 - 3456 - 1 - 190 - 370 - owned_by_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 58997CA08F534C0D85E4F9E51882E578 - 640 - 34F8B737D17643B2A2200AB150EFC884 - 640 - 1 - 430 - 90 - priority - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4E6B69CF078B4AA18BF88E25A8011E7D - 2048 - 34F8B737D17643B2A2200AB150EFC884 - 6784 - 1 - 440 - 10 - project - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3F50B9A66BB94EFC922E8A1B47513AE5 - 2304 - 34F8B737D17643B2A2200AB150EFC884 - 1408 - 1 - 750 - 50 - 190 - 210 - proposed_solution - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 8894B9A6F8294C4B8E9A06A329A7B4E5 - 2432 - 34F8B737D17643B2A2200AB150EFC884 - 6400 - 1 - 350 - 50 - 590 - 130 - ramifications - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 82E69C0CE9F74050B97D691EC273ADC9 - 896 - 34F8B737D17643B2A2200AB150EFC884 - 896 - 1 - 600 - 50 - requested_by - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 7A229CF76BEC49099A6DF6AC9FB66137 - 1536 - 34F8B737D17643B2A2200AB150EFC884 - 6016 - 1 - 340 - 10 - security - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - EE6143A7681D4C949FDD639FE0278233 - 1792 - 34F8B737D17643B2A2200AB150EFC884 - 6272 - 1 - 190 - 90 - severity - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C73D727DE1F745C3872D11A0CCF33FE0 - 1024 - 34F8B737D17643B2A2200AB150EFC884 - 1024 - 1 - 280 - 90 - source - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 384 - 34F8B737D17643B2A2200AB150EFC884 - 384 - 1 - 670 - 10 - state - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - CF5067B073394E80A7A6C720685B132F - 1664 - 34F8B737D17643B2A2200AB150EFC884 - 6144 - 1 - 590 - 10 - status - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3072 - 34F8B737D17643B2A2200AB150EFC884 - 5632 - 1 - 810 - 90 - team_id - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9D569BEF196E4CEF9DBED0997DA7D9C4 - 256 - 34F8B737D17643B2A2200AB150EFC884 - 256 - 1 - 350 - 15 - 190 - 50 - title - - - - - - - - - - major_rev - 2D4799413792453DA08C1EDE6AA22A76 - - - - - - - - managed_by_id - 85F86794FACF42599F07019F7BEA1D46 - - - - - - - - owned_by_id - 85F86794FACF42599F07019F7BEA1D46 - - - - - - - - state - 85F86794FACF42599F07019F7BEA1D46 - - - - - - - - team_id - 85F86794FACF42599F07019F7BEA1D46 - - - + + + 0 + + 420 + + 699 + CM2 CN + + + #FFFFFF + 128 + 95A3685E8ADE452392094A63C21374C4 + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1807316D11534AC99830DB1AB28D5CA4 + 2560 + 34F8B737D17643B2A2200AB150EFC884 + 6528 + 1 + 350 + 50 + 190 + 290 + adnl_details + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1158BE7AA40346D2BF0B8958186D6434 + 1280 + 34F8B737D17643B2A2200AB150EFC884 + 5760 + 1 + 810 + 370 + ara_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 858503A94936401689118800B4904E79 + 768 + 34F8B737D17643B2A2200AB150EFC884 + 768 + 1 + 540 + 90 + change_type + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + E49EC7A634554870B386ECA58E170F9D + 1408 + 34F8B737D17643B2A2200AB150EFC884 + 5888 + 1 + 590 + 370 + cl_id + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + AFF430C4AD6B4D6386B13894D6CE8252 + 3328 + 34F8B737D17643B2A2200AB150EFC884 + 7040 + 1 + 810 + 50 + cm2_implementation_plan + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 0813BF52B8104EC8A3D6738A977DA7F2 + 2176 + 34F8B737D17643B2A2200AB150EFC884 + 1280 + 1 + 350 + 50 + 190 + 130 + description + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 57F353AA9A7A4D5DB9A485C8C9A68996 + 3456 + 34F8B737D17643B2A2200AB150EFC884 + 1536 + 1 + 810 + 10 + effectivity_date + + + 0 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 451FB6227CF24C6BA03B83B731AD6F75 + 512 + 34F8B737D17643B2A2200AB150EFC884 + 512 + 1 + 680 + 90 + fast_track + + + px + html + +]]> + 0 + 1 + 0 + 1920 + 34F8B737D17643B2A2200AB150EFC884 + 0 + 0 + 0 + item_info + + + 0 + 80 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + DF45C703C32146CF9DBB4615DD82D592 + 128 + 34F8B737D17643B2A2200AB150EFC884 + 128 + 1 + 190 + 10 + item_number + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 068DDD2647E3447DB3BC58089DC8CFCD + 2688 + 34F8B737D17643B2A2200AB150EFC884 + 6656 + 1 + 350 + 50 + 590 + 290 + key_dates + + + 0 + 30 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3200 + 34F8B737D17643B2A2200AB150EFC884 + 4480 + 1 + 290 + 10 + major_rev + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2944 + 34F8B737D17643B2A2200AB150EFC884 + 3584 + 1 + 390 + 370 + managed_by_id + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2816 + 34F8B737D17643B2A2200AB150EFC884 + 3456 + 1 + 190 + 370 + owned_by_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 58997CA08F534C0D85E4F9E51882E578 + 640 + 34F8B737D17643B2A2200AB150EFC884 + 640 + 1 + 430 + 90 + priority + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4E6B69CF078B4AA18BF88E25A8011E7D + 2048 + 34F8B737D17643B2A2200AB150EFC884 + 6784 + 1 + 440 + 10 + project + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3F50B9A66BB94EFC922E8A1B47513AE5 + 2304 + 34F8B737D17643B2A2200AB150EFC884 + 1408 + 1 + 750 + 50 + 190 + 210 + proposed_solution + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 8894B9A6F8294C4B8E9A06A329A7B4E5 + 2432 + 34F8B737D17643B2A2200AB150EFC884 + 6400 + 1 + 350 + 50 + 590 + 130 + ramifications + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 82E69C0CE9F74050B97D691EC273ADC9 + 896 + 34F8B737D17643B2A2200AB150EFC884 + 896 + 1 + 600 + 50 + requested_by + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 7A229CF76BEC49099A6DF6AC9FB66137 + 1536 + 34F8B737D17643B2A2200AB150EFC884 + 6016 + 1 + 340 + 10 + security + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + EE6143A7681D4C949FDD639FE0278233 + 1792 + 34F8B737D17643B2A2200AB150EFC884 + 6272 + 1 + 190 + 90 + severity + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C73D727DE1F745C3872D11A0CCF33FE0 + 1024 + 34F8B737D17643B2A2200AB150EFC884 + 1024 + 1 + 280 + 90 + source + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 384 + 34F8B737D17643B2A2200AB150EFC884 + 384 + 1 + 670 + 10 + state + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + CF5067B073394E80A7A6C720685B132F + 1664 + 34F8B737D17643B2A2200AB150EFC884 + 6144 + 1 + 590 + 10 + status + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3072 + 34F8B737D17643B2A2200AB150EFC884 + 5632 + 1 + 810 + 90 + team_id + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9D569BEF196E4CEF9DBED0997DA7D9C4 + 256 + 34F8B737D17643B2A2200AB150EFC884 + 256 + 1 + 350 + 15 + 190 + 50 + title + + + + + + + + + + major_rev + 2D4799413792453DA08C1EDE6AA22A76 + + + + + + + + managed_by_id + 85F86794FACF42599F07019F7BEA1D46 + + + + + + + + owned_by_id + 85F86794FACF42599F07019F7BEA1D46 + + + + + + + + state + 85F86794FACF42599F07019F7BEA1D46 + + + + + + + + team_id + 85F86794FACF42599F07019F7BEA1D46 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 CR.xml b/Imports/2-Post/PLM/Import/Form/CM2 CR.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 CR.xml rename to Imports/2-Post/PLM/Import/Form/CM2 CR.xml index 05923ab..5335ab2 100644 --- a/Imports/PLM/Import/Form/CM2 CR.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 CR.xml @@ -1,643 +1,643 @@ - - - 0 - 420 - - 699 - CM2 CR - - - #FFFFFF - 128 - 6A7BC6A7507C4AA8A7005B684524CA51 - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - EF15840ABDA0438FAF7299996D1A25E5 - 2560 - A0CF1AFC22654FD1BA67A607AA59E024 - 6528 - 1 - 350 - 50 - 190 - 290 - adnl_details - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 635A566F9B984272BC1871762832DD89 - 1280 - A0CF1AFC22654FD1BA67A607AA59E024 - 5760 - 1 - 810 - 370 - ara_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 003F601FB8BD486C8A23FFAD1B3B5584 - 768 - A0CF1AFC22654FD1BA67A607AA59E024 - 768 - 1 - 540 - 90 - change_type - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9645B584F0964BB3AEFEDAF4B543F682 - 1408 - A0CF1AFC22654FD1BA67A607AA59E024 - 5888 - 1 - 590 - 370 - cil_id - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - CC221653F43E4F5BAAF070A9EB20B2D2 - 3328 - A0CF1AFC22654FD1BA67A607AA59E024 - 7040 - 1 - 810 - 50 - cm2_implementation_plan - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3B8C27F6214A41A2B1B7386BFB7E9EC1 - 2176 - A0CF1AFC22654FD1BA67A607AA59E024 - 1280 - 1 - 350 - 50 - 190 - 130 - description - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 67381D85943842B8B9FBC953ED5ABF26 - 3456 - A0CF1AFC22654FD1BA67A607AA59E024 - 1536 - 1 - 810 - 10 - effectivity_date - - - 0 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1A1AA52797A748AB8E97304F886C58FA - 512 - A0CF1AFC22654FD1BA67A607AA59E024 - 512 - 1 - 680 - 90 - fast_track - - - px - html - -]]> - 0 - 1 - 0 - 1920 - A0CF1AFC22654FD1BA67A607AA59E024 - 0 - 0 - 0 - item_info - - - 0 - 80 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9110E797851145C0B05D302A65DBF194 - 128 - A0CF1AFC22654FD1BA67A607AA59E024 - 128 - 1 - 190 - 10 - item_number - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - FF7DB7A240AD45BABCAC6B0A3C8B0D4D - 2688 - A0CF1AFC22654FD1BA67A607AA59E024 - 6656 - 1 - 350 - 50 - 590 - 290 - key_dates - - - 0 - 30 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3200 - A0CF1AFC22654FD1BA67A607AA59E024 - 4480 - 1 - 290 - 10 - major_rev - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2944 - A0CF1AFC22654FD1BA67A607AA59E024 - 3584 - 1 - 390 - 370 - managed_by_id - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2816 - A0CF1AFC22654FD1BA67A607AA59E024 - 3456 - 1 - 190 - 370 - owned_by_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C98D479B46AB4DDCBA371EEDEDDE943E - 640 - A0CF1AFC22654FD1BA67A607AA59E024 - 640 - 1 - 430 - 90 - priority - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3BF016100BFD4B7BAD35F282E87E9CC3 - 2048 - A0CF1AFC22654FD1BA67A607AA59E024 - 6784 - 1 - 440 - 10 - project - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3210172D045B467F94AEF3D4859DEB66 - 2304 - A0CF1AFC22654FD1BA67A607AA59E024 - 1408 - 1 - 750 - 50 - 190 - 210 - proposed_solution - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9B6AFBB990F6423FBBD753E761C496F2 - 2432 - A0CF1AFC22654FD1BA67A607AA59E024 - 6400 - 1 - 350 - 50 - 590 - 130 - ramifications - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6FB90A47EF874F7DAA104DD69C1E5BED - 896 - A0CF1AFC22654FD1BA67A607AA59E024 - 896 - 1 - 600 - 50 - requested_by - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 38F3CE9CF0F344788080D4123C5F3218 - 1536 - A0CF1AFC22654FD1BA67A607AA59E024 - 6016 - 1 - 340 - 10 - security - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 821F8BB5AC2748AEAE27ECFB40B0AE17 - 1792 - A0CF1AFC22654FD1BA67A607AA59E024 - 6272 - 1 - 190 - 90 - severity - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - B1A05409008C4900BC7CE693163119E9 - 1024 - A0CF1AFC22654FD1BA67A607AA59E024 - 1024 - 1 - 280 - 90 - source - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 384 - A0CF1AFC22654FD1BA67A607AA59E024 - 384 - 1 - 670 - 10 - state - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 942B3E2A0001400FBC4ADCF797CCD6A9 - 1664 - A0CF1AFC22654FD1BA67A607AA59E024 - 6144 - 1 - 590 - 10 - status - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3072 - A0CF1AFC22654FD1BA67A607AA59E024 - 5632 - 1 - 810 - 90 - team_id - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 200478AA209B4F9E9C3D11217CE66238 - 256 - A0CF1AFC22654FD1BA67A607AA59E024 - 256 - 1 - 350 - 15 - 190 - 50 - title - - - - - - - - - - major_rev - 2D4799413792453DA08C1EDE6AA22A76 - - - - - - - - managed_by_id - 2D4799413792453DA08C1EDE6AA22A76 - - - - - - - - owned_by_id - 2D4799413792453DA08C1EDE6AA22A76 - - - - - - - - state - 2D4799413792453DA08C1EDE6AA22A76 - - - - - - - - team_id - 2D4799413792453DA08C1EDE6AA22A76 - - - + + + 0 + 420 + + 699 + CM2 CR + + + #FFFFFF + 128 + 6A7BC6A7507C4AA8A7005B684524CA51 + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + EF15840ABDA0438FAF7299996D1A25E5 + 2560 + A0CF1AFC22654FD1BA67A607AA59E024 + 6528 + 1 + 350 + 50 + 190 + 290 + adnl_details + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 635A566F9B984272BC1871762832DD89 + 1280 + A0CF1AFC22654FD1BA67A607AA59E024 + 5760 + 1 + 810 + 370 + ara_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 003F601FB8BD486C8A23FFAD1B3B5584 + 768 + A0CF1AFC22654FD1BA67A607AA59E024 + 768 + 1 + 540 + 90 + change_type + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9645B584F0964BB3AEFEDAF4B543F682 + 1408 + A0CF1AFC22654FD1BA67A607AA59E024 + 5888 + 1 + 590 + 370 + cil_id + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + CC221653F43E4F5BAAF070A9EB20B2D2 + 3328 + A0CF1AFC22654FD1BA67A607AA59E024 + 7040 + 1 + 810 + 50 + cm2_implementation_plan + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3B8C27F6214A41A2B1B7386BFB7E9EC1 + 2176 + A0CF1AFC22654FD1BA67A607AA59E024 + 1280 + 1 + 350 + 50 + 190 + 130 + description + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 67381D85943842B8B9FBC953ED5ABF26 + 3456 + A0CF1AFC22654FD1BA67A607AA59E024 + 1536 + 1 + 810 + 10 + effectivity_date + + + 0 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1A1AA52797A748AB8E97304F886C58FA + 512 + A0CF1AFC22654FD1BA67A607AA59E024 + 512 + 1 + 680 + 90 + fast_track + + + px + html + +]]> + 0 + 1 + 0 + 1920 + A0CF1AFC22654FD1BA67A607AA59E024 + 0 + 0 + 0 + item_info + + + 0 + 80 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9110E797851145C0B05D302A65DBF194 + 128 + A0CF1AFC22654FD1BA67A607AA59E024 + 128 + 1 + 190 + 10 + item_number + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + FF7DB7A240AD45BABCAC6B0A3C8B0D4D + 2688 + A0CF1AFC22654FD1BA67A607AA59E024 + 6656 + 1 + 350 + 50 + 590 + 290 + key_dates + + + 0 + 30 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3200 + A0CF1AFC22654FD1BA67A607AA59E024 + 4480 + 1 + 290 + 10 + major_rev + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2944 + A0CF1AFC22654FD1BA67A607AA59E024 + 3584 + 1 + 390 + 370 + managed_by_id + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2816 + A0CF1AFC22654FD1BA67A607AA59E024 + 3456 + 1 + 190 + 370 + owned_by_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C98D479B46AB4DDCBA371EEDEDDE943E + 640 + A0CF1AFC22654FD1BA67A607AA59E024 + 640 + 1 + 430 + 90 + priority + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3BF016100BFD4B7BAD35F282E87E9CC3 + 2048 + A0CF1AFC22654FD1BA67A607AA59E024 + 6784 + 1 + 440 + 10 + project + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3210172D045B467F94AEF3D4859DEB66 + 2304 + A0CF1AFC22654FD1BA67A607AA59E024 + 1408 + 1 + 750 + 50 + 190 + 210 + proposed_solution + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9B6AFBB990F6423FBBD753E761C496F2 + 2432 + A0CF1AFC22654FD1BA67A607AA59E024 + 6400 + 1 + 350 + 50 + 590 + 130 + ramifications + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6FB90A47EF874F7DAA104DD69C1E5BED + 896 + A0CF1AFC22654FD1BA67A607AA59E024 + 896 + 1 + 600 + 50 + requested_by + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 38F3CE9CF0F344788080D4123C5F3218 + 1536 + A0CF1AFC22654FD1BA67A607AA59E024 + 6016 + 1 + 340 + 10 + security + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 821F8BB5AC2748AEAE27ECFB40B0AE17 + 1792 + A0CF1AFC22654FD1BA67A607AA59E024 + 6272 + 1 + 190 + 90 + severity + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + B1A05409008C4900BC7CE693163119E9 + 1024 + A0CF1AFC22654FD1BA67A607AA59E024 + 1024 + 1 + 280 + 90 + source + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 384 + A0CF1AFC22654FD1BA67A607AA59E024 + 384 + 1 + 670 + 10 + state + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 942B3E2A0001400FBC4ADCF797CCD6A9 + 1664 + A0CF1AFC22654FD1BA67A607AA59E024 + 6144 + 1 + 590 + 10 + status + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3072 + A0CF1AFC22654FD1BA67A607AA59E024 + 5632 + 1 + 810 + 90 + team_id + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 200478AA209B4F9E9C3D11217CE66238 + 256 + A0CF1AFC22654FD1BA67A607AA59E024 + 256 + 1 + 350 + 15 + 190 + 50 + title + + + + + + + + + + major_rev + 2D4799413792453DA08C1EDE6AA22A76 + + + + + + + + managed_by_id + 2D4799413792453DA08C1EDE6AA22A76 + + + + + + + + owned_by_id + 2D4799413792453DA08C1EDE6AA22A76 + + + + + + + + state + 2D4799413792453DA08C1EDE6AA22A76 + + + + + + + + team_id + 2D4799413792453DA08C1EDE6AA22A76 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Document Section.xml b/Imports/2-Post/PLM/Import/Form/CM2 Document Section.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Document Section.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Document Section.xml index 3e9896a..40ae01f 100644 --- a/Imports/PLM/Import/Form/CM2 Document Section.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Document Section.xml @@ -1,673 +1,673 @@ - - - 0 - 399 - - 759 - CM2 Document Section - - - #FFFFFF - 128 - 66BEB95CFDD34B5986D24022A0E079DF - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 8B905482951A4EB8BA3F70C1FA8309C6 - 128 - 4CF92C454E304C62881510FF7489DC8C - 3200 - 1 - 340 - 90 - authoring_tool - - - 0 - 58 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 894E0A47F1BC4CA0A40C3DA13CE73EA9 - 256 - 4CF92C454E304C62881510FF7489DC8C - 3328 - 1 - 479 - 89 - authoring_tool_ver - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 586D6ED94F514B19B3F0FFE8CDDEBB25 - 5888 - 4CF92C454E304C62881510FF7489DC8C - 204512 - 1 - 200 - 340 - cage_code - - - 0 - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 512 - 4CF92C454E304C62881510FF7489DC8C - 40 - 1 - 200 - 90 - classification - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9EEEFDD77BB94E1CA2F496719D476886 - 5376 - 4CF92C454E304C62881510FF7489DC8C - 204384 - 1 - 400 - 260 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4655EAC739744E0094364EE3B9875E4D - 640 - 4CF92C454E304C62881510FF7489DC8C - 640 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1152 - 4CF92C454E304C62881510FF7489DC8C - 1152 - 1 - 400 - 340 - effective_date - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 63A784E5CFA94A69B663E67E2FB796E5 - 4864 - 4CF92C454E304C62881510FF7489DC8C - 103968 - 1 - 200 - 262 - from_template - - - 0 - - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 23A9BF24CF17499EAD9BC235C3A134D3 - 2816 - 4CF92C454E304C62881510FF7489DC8C - 5 - 0 - 15 - 310 - has_change_pending - - - 0 - - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 7928AFC1D8CB4F64B142289B58E79EE8 - 4352 - 4CF92C454E304C62881510FF7489DC8C - 1 - 0 - 15 - 290 - has_files - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - right - 0 - 72868A94693C4790AA5D99DAA1EE7906 - 4736 - 4CF92C454E304C62881510FF7489DC8C - 103840 - 1 - left - 15 - 330 - is_template - - - px - html - -]]> - 0 - 1 - 0 - 1280 - 4CF92C454E304C62881510FF7489DC8C - 0 - -1 - -5 - -1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2A0700C4954641F7A36B026F9134A0EC - 768 - 4CF92C454E304C62881510FF7489DC8C - 128 - 1 - 200 - 10 - item_number - - - 0 - 5 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - -]]> - 0 - 1 - - top - 0 - 1408 - 4CF92C454E304C62881510FF7489DC8C - 2176 - 1 - 330 - 10 - -1 - major_rev - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1536 - 4CF92C454E304C62881510FF7489DC8C - 21760 - 1 - 570 - 50 - managed_by_id - - - 0 - 328 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 364519C1348C4A57B88D142C3B1F538E - 1792 - 4CF92C454E304C62881510FF7489DC8C - 384 - 1 - 64 - 2 - 199 - 49 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1920 - 4CF92C454E304C62881510FF7489DC8C - 20480 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5760 - 4CF92C454E304C62881510FF7489DC8C - 2944 - 1 - 570 - 300 - release_date - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 626210DC2DDD4A808DD7953B806D4026 - 5504 - 4CF92C454E304C62881510FF7489DC8C - 204256 - 1 - 400 - 300 - release_date_plan - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - B8DCB5274AB94DCBB61DCB27D03CDFA7 - 5632 - 4CF92C454E304C62881510FF7489DC8C - 204640 - 1 - 410 - 10 - section - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 274B66EABFCC45C5B049ADF32352B049 - 5248 - 4CF92C454E304C62881510FF7489DC8C - 204128 - 1 - 200 - 300 - source - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 0 - 1 - - top - 0 - 2560 - 4CF92C454E304C62881510FF7489DC8C - 1 - 570 - 90 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 61EEC41F3F954342AC675D44D8B5F0A8 - 4608 - 4CF92C454E304C62881510FF7489DC8C - 104096 - 1 - 150 - 570 - 130 - thumbnail - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 72570579552D474998D5A94CFD6D1F01 - 4992 - 4CF92C454E304C62881510FF7489DC8C - 204000 - 1 - 328 - 30 - 200 - 208 - version_comment - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5120 - 4CF92C454E304C62881510FF7489DC8C - 1 - 730 - 10 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 256 - 66BEB95CFDD34B5986D24022A0E079DF - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 512 - 66BEB95CFDD34B5986D24022A0E079DF - - - - - - - - classification - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - effective_date - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - managed_by_id - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - owned_by_id - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - release_date - B88C14B99EF449828C5D926E39EE8B89 - - - + + + 0 + 399 + + 759 + CM2 Document Section + + + #FFFFFF + 128 + 66BEB95CFDD34B5986D24022A0E079DF + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 8B905482951A4EB8BA3F70C1FA8309C6 + 128 + 4CF92C454E304C62881510FF7489DC8C + 3200 + 1 + 340 + 90 + authoring_tool + + + 0 + 58 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 894E0A47F1BC4CA0A40C3DA13CE73EA9 + 256 + 4CF92C454E304C62881510FF7489DC8C + 3328 + 1 + 479 + 89 + authoring_tool_ver + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 586D6ED94F514B19B3F0FFE8CDDEBB25 + 5888 + 4CF92C454E304C62881510FF7489DC8C + 204512 + 1 + 200 + 340 + cage_code + + + 0 + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 512 + 4CF92C454E304C62881510FF7489DC8C + 40 + 1 + 200 + 90 + classification + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9EEEFDD77BB94E1CA2F496719D476886 + 5376 + 4CF92C454E304C62881510FF7489DC8C + 204384 + 1 + 400 + 260 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4655EAC739744E0094364EE3B9875E4D + 640 + 4CF92C454E304C62881510FF7489DC8C + 640 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1152 + 4CF92C454E304C62881510FF7489DC8C + 1152 + 1 + 400 + 340 + effective_date + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 63A784E5CFA94A69B663E67E2FB796E5 + 4864 + 4CF92C454E304C62881510FF7489DC8C + 103968 + 1 + 200 + 262 + from_template + + + 0 + + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 23A9BF24CF17499EAD9BC235C3A134D3 + 2816 + 4CF92C454E304C62881510FF7489DC8C + 5 + 0 + 15 + 310 + has_change_pending + + + 0 + + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 7928AFC1D8CB4F64B142289B58E79EE8 + 4352 + 4CF92C454E304C62881510FF7489DC8C + 1 + 0 + 15 + 290 + has_files + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + right + 0 + 72868A94693C4790AA5D99DAA1EE7906 + 4736 + 4CF92C454E304C62881510FF7489DC8C + 103840 + 1 + left + 15 + 330 + is_template + + + px + html + +]]> + 0 + 1 + 0 + 1280 + 4CF92C454E304C62881510FF7489DC8C + 0 + -1 + -5 + -1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2A0700C4954641F7A36B026F9134A0EC + 768 + 4CF92C454E304C62881510FF7489DC8C + 128 + 1 + 200 + 10 + item_number + + + 0 + 5 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + +]]> + 0 + 1 + + top + 0 + 1408 + 4CF92C454E304C62881510FF7489DC8C + 2176 + 1 + 330 + 10 + -1 + major_rev + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1536 + 4CF92C454E304C62881510FF7489DC8C + 21760 + 1 + 570 + 50 + managed_by_id + + + 0 + 328 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 364519C1348C4A57B88D142C3B1F538E + 1792 + 4CF92C454E304C62881510FF7489DC8C + 384 + 1 + 64 + 2 + 199 + 49 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1920 + 4CF92C454E304C62881510FF7489DC8C + 20480 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5760 + 4CF92C454E304C62881510FF7489DC8C + 2944 + 1 + 570 + 300 + release_date + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 626210DC2DDD4A808DD7953B806D4026 + 5504 + 4CF92C454E304C62881510FF7489DC8C + 204256 + 1 + 400 + 300 + release_date_plan + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + B8DCB5274AB94DCBB61DCB27D03CDFA7 + 5632 + 4CF92C454E304C62881510FF7489DC8C + 204640 + 1 + 410 + 10 + section + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 274B66EABFCC45C5B049ADF32352B049 + 5248 + 4CF92C454E304C62881510FF7489DC8C + 204128 + 1 + 200 + 300 + source + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 0 + 1 + + top + 0 + 2560 + 4CF92C454E304C62881510FF7489DC8C + 1 + 570 + 90 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 61EEC41F3F954342AC675D44D8B5F0A8 + 4608 + 4CF92C454E304C62881510FF7489DC8C + 104096 + 1 + 150 + 570 + 130 + thumbnail + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 72570579552D474998D5A94CFD6D1F01 + 4992 + 4CF92C454E304C62881510FF7489DC8C + 204000 + 1 + 328 + 30 + 200 + 208 + version_comment + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5120 + 4CF92C454E304C62881510FF7489DC8C + 1 + 730 + 10 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 256 + 66BEB95CFDD34B5986D24022A0E079DF + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 512 + 66BEB95CFDD34B5986D24022A0E079DF + + + + + + + + classification + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + effective_date + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + managed_by_id + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + owned_by_id + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + release_date + B88C14B99EF449828C5D926E39EE8B89 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Document.xml b/Imports/2-Post/PLM/Import/Form/CM2 Document.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Document.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Document.xml index 607dc32..908af96 100644 --- a/Imports/PLM/Import/Form/CM2 Document.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Document.xml @@ -1,673 +1,673 @@ - - - 0 - 399 - - 759 - CM2 Document - - - #FFFFFF - 128 - 13A0C6FF991B4A67B373A0F0ECBEFD86 - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 8B905482951A4EB8BA3F70C1FA8309C6 - 128 - 05904F4D887C4A1FB01513C189CB8569 - 3200 - 1 - 340 - 90 - authoring_tool - - - 0 - 58 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 894E0A47F1BC4CA0A40C3DA13CE73EA9 - 256 - 05904F4D887C4A1FB01513C189CB8569 - 3328 - 1 - 479 - 89 - authoring_tool_ver - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 586D6ED94F514B19B3F0FFE8CDDEBB25 - 5632 - 05904F4D887C4A1FB01513C189CB8569 - 204512 - 1 - 200 - 340 - cage_code - - - 0 - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 512 - 05904F4D887C4A1FB01513C189CB8569 - 40 - 1 - 200 - 90 - classification - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9EEEFDD77BB94E1CA2F496719D476886 - 5376 - 05904F4D887C4A1FB01513C189CB8569 - 204384 - 1 - 400 - 260 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4655EAC739744E0094364EE3B9875E4D - 640 - 05904F4D887C4A1FB01513C189CB8569 - 640 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 0 - - left - 0 - 1F1141FC77064287BFF8C3E6D7CCD5A0 - 1024 - 05904F4D887C4A1FB01513C189CB8569 - 1280 - 1 - 205 - 250 - drawing_size - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1152 - 05904F4D887C4A1FB01513C189CB8569 - 1152 - 1 - 400 - 340 - effective_date - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 63A784E5CFA94A69B663E67E2FB796E5 - 4864 - 05904F4D887C4A1FB01513C189CB8569 - 103968 - 1 - 200 - 262 - from_template - - - 0 - - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 23A9BF24CF17499EAD9BC235C3A134D3 - 2816 - 05904F4D887C4A1FB01513C189CB8569 - 5 - 0 - 15 - 310 - has_change_pending - - - 0 - - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 7928AFC1D8CB4F64B142289B58E79EE8 - 4352 - 05904F4D887C4A1FB01513C189CB8569 - 1 - 0 - 15 - 290 - has_files - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - right - 0 - 72868A94693C4790AA5D99DAA1EE7906 - 4736 - 05904F4D887C4A1FB01513C189CB8569 - 103840 - 1 - left - 15 - 330 - is_template - - - px - html - -]]> - 0 - 1 - 0 - 1280 - 05904F4D887C4A1FB01513C189CB8569 - 0 - -1 - -5 - -1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2A0700C4954641F7A36B026F9134A0EC - 768 - 05904F4D887C4A1FB01513C189CB8569 - 128 - 1 - 200 - 10 - item_number - - - 0 - 5 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - -]]> - 0 - 1 - - top - 0 - 1408 - 05904F4D887C4A1FB01513C189CB8569 - 2176 - 1 - 330 - 10 - -1 - major_rev - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1536 - 05904F4D887C4A1FB01513C189CB8569 - 21760 - 1 - 570 - 50 - managed_by_id - - - 0 - 328 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 364519C1348C4A57B88D142C3B1F538E - 1792 - 05904F4D887C4A1FB01513C189CB8569 - 384 - 1 - 64 - 2 - 199 - 49 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1920 - 05904F4D887C4A1FB01513C189CB8569 - 20480 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5760 - 05904F4D887C4A1FB01513C189CB8569 - 2944 - 1 - 570 - 300 - release_date - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 626210DC2DDD4A808DD7953B806D4026 - 5504 - 05904F4D887C4A1FB01513C189CB8569 - 204256 - 1 - 400 - 300 - release_date_plan - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 274B66EABFCC45C5B049ADF32352B049 - 5248 - 05904F4D887C4A1FB01513C189CB8569 - 204128 - 1 - 200 - 300 - source - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 0 - 1 - - top - 0 - 2560 - 05904F4D887C4A1FB01513C189CB8569 - 1 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 61EEC41F3F954342AC675D44D8B5F0A8 - 4608 - 05904F4D887C4A1FB01513C189CB8569 - 104096 - 1 - 150 - 570 - 130 - thumbnail - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 72570579552D474998D5A94CFD6D1F01 - 4992 - 05904F4D887C4A1FB01513C189CB8569 - 204000 - 1 - 328 - 30 - 200 - 208 - version_comment - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5120 - 05904F4D887C4A1FB01513C189CB8569 - 1 - 730 - 10 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 256 - 13A0C6FF991B4A67B373A0F0ECBEFD86 - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 512 - 13A0C6FF991B4A67B373A0F0ECBEFD86 - - - - - - - - classification - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - effective_date - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - managed_by_id - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - owned_by_id - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - release_date - B88C14B99EF449828C5D926E39EE8B89 - - - + + + 0 + 399 + + 759 + CM2 Document + + + #FFFFFF + 128 + 13A0C6FF991B4A67B373A0F0ECBEFD86 + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 8B905482951A4EB8BA3F70C1FA8309C6 + 128 + 05904F4D887C4A1FB01513C189CB8569 + 3200 + 1 + 340 + 90 + authoring_tool + + + 0 + 58 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 894E0A47F1BC4CA0A40C3DA13CE73EA9 + 256 + 05904F4D887C4A1FB01513C189CB8569 + 3328 + 1 + 479 + 89 + authoring_tool_ver + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 586D6ED94F514B19B3F0FFE8CDDEBB25 + 5632 + 05904F4D887C4A1FB01513C189CB8569 + 204512 + 1 + 200 + 340 + cage_code + + + 0 + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 512 + 05904F4D887C4A1FB01513C189CB8569 + 40 + 1 + 200 + 90 + classification + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9EEEFDD77BB94E1CA2F496719D476886 + 5376 + 05904F4D887C4A1FB01513C189CB8569 + 204384 + 1 + 400 + 260 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4655EAC739744E0094364EE3B9875E4D + 640 + 05904F4D887C4A1FB01513C189CB8569 + 640 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 0 + + left + 0 + 1F1141FC77064287BFF8C3E6D7CCD5A0 + 1024 + 05904F4D887C4A1FB01513C189CB8569 + 1280 + 1 + 205 + 250 + drawing_size + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1152 + 05904F4D887C4A1FB01513C189CB8569 + 1152 + 1 + 400 + 340 + effective_date + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 63A784E5CFA94A69B663E67E2FB796E5 + 4864 + 05904F4D887C4A1FB01513C189CB8569 + 103968 + 1 + 200 + 262 + from_template + + + 0 + + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 23A9BF24CF17499EAD9BC235C3A134D3 + 2816 + 05904F4D887C4A1FB01513C189CB8569 + 5 + 0 + 15 + 310 + has_change_pending + + + 0 + + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 7928AFC1D8CB4F64B142289B58E79EE8 + 4352 + 05904F4D887C4A1FB01513C189CB8569 + 1 + 0 + 15 + 290 + has_files + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + right + 0 + 72868A94693C4790AA5D99DAA1EE7906 + 4736 + 05904F4D887C4A1FB01513C189CB8569 + 103840 + 1 + left + 15 + 330 + is_template + + + px + html + +]]> + 0 + 1 + 0 + 1280 + 05904F4D887C4A1FB01513C189CB8569 + 0 + -1 + -5 + -1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2A0700C4954641F7A36B026F9134A0EC + 768 + 05904F4D887C4A1FB01513C189CB8569 + 128 + 1 + 200 + 10 + item_number + + + 0 + 5 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + +]]> + 0 + 1 + + top + 0 + 1408 + 05904F4D887C4A1FB01513C189CB8569 + 2176 + 1 + 330 + 10 + -1 + major_rev + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1536 + 05904F4D887C4A1FB01513C189CB8569 + 21760 + 1 + 570 + 50 + managed_by_id + + + 0 + 328 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 364519C1348C4A57B88D142C3B1F538E + 1792 + 05904F4D887C4A1FB01513C189CB8569 + 384 + 1 + 64 + 2 + 199 + 49 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1920 + 05904F4D887C4A1FB01513C189CB8569 + 20480 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5760 + 05904F4D887C4A1FB01513C189CB8569 + 2944 + 1 + 570 + 300 + release_date + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 626210DC2DDD4A808DD7953B806D4026 + 5504 + 05904F4D887C4A1FB01513C189CB8569 + 204256 + 1 + 400 + 300 + release_date_plan + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 274B66EABFCC45C5B049ADF32352B049 + 5248 + 05904F4D887C4A1FB01513C189CB8569 + 204128 + 1 + 200 + 300 + source + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 0 + 1 + + top + 0 + 2560 + 05904F4D887C4A1FB01513C189CB8569 + 1 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 61EEC41F3F954342AC675D44D8B5F0A8 + 4608 + 05904F4D887C4A1FB01513C189CB8569 + 104096 + 1 + 150 + 570 + 130 + thumbnail + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 72570579552D474998D5A94CFD6D1F01 + 4992 + 05904F4D887C4A1FB01513C189CB8569 + 204000 + 1 + 328 + 30 + 200 + 208 + version_comment + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5120 + 05904F4D887C4A1FB01513C189CB8569 + 1 + 730 + 10 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 256 + 13A0C6FF991B4A67B373A0F0ECBEFD86 + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 512 + 13A0C6FF991B4A67B373A0F0ECBEFD86 + + + + + + + + classification + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + effective_date + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + managed_by_id + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + owned_by_id + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + release_date + B88C14B99EF449828C5D926E39EE8B89 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Eng Location.xml b/Imports/2-Post/PLM/Import/Form/CM2 Eng Location.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Eng Location.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Eng Location.xml index e441123..753533d 100644 --- a/Imports/PLM/Import/Form/CM2 Eng Location.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Eng Location.xml @@ -1,106 +1,106 @@ - - - 0 - 234 - - 699 - CM2 Eng Location - - - #FFFFFF - 128 - 1D615DD9285A488D9442EB432EAEFCD1 - - - 0 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1AD65EAD1E2A43A69BF92FB1CEE6A2D0 - 384 - 728D9305D6DE4787962D089FF67268AB - 3328 - 1 - 190 - 90 - active - - - 0 - 64 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - CE694B51C990458EBF535562239E0D35 - 256 - 728D9305D6DE4787962D089FF67268AB - 3200 - 1 - 190 - 50 - description - - - px - html - -]]> - 0 - 1 - 0 - 512 - 728D9305D6DE4787962D089FF67268AB - 0 - 0 - 0 - item_info - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 67D585983B214306ACF10EFAC26521AA - 128 - 728D9305D6DE4787962D089FF67268AB - 3072 - 1 - 190 - 10 - name - - - - - + + + 0 + 234 + + 699 + CM2 Eng Location + + + #FFFFFF + 128 + 1D615DD9285A488D9442EB432EAEFCD1 + + + 0 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1AD65EAD1E2A43A69BF92FB1CEE6A2D0 + 384 + 728D9305D6DE4787962D089FF67268AB + 3328 + 1 + 190 + 90 + active + + + 0 + 64 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + CE694B51C990458EBF535562239E0D35 + 256 + 728D9305D6DE4787962D089FF67268AB + 3200 + 1 + 190 + 50 + description + + + px + html + +]]> + 0 + 1 + 0 + 512 + 728D9305D6DE4787962D089FF67268AB + 0 + 0 + 0 + item_info + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 67D585983B214306ACF10EFAC26521AA + 128 + 728D9305D6DE4787962D089FF67268AB + 3072 + 1 + 190 + 10 + name + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 IR Cost.xml b/Imports/2-Post/PLM/Import/Form/CM2 IR Cost.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 IR Cost.xml rename to Imports/2-Post/PLM/Import/Form/CM2 IR Cost.xml index bc39715..63b0f7d 100644 --- a/Imports/PLM/Import/Form/CM2 IR Cost.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 IR Cost.xml @@ -1,39 +1,39 @@ - - - 0 - 234 - - 699 - CM2 IR Cost - - - #FFFFFF - 128 - A268BD60BD114F0F87AE9AD5CF4C2281 - - - px - html - -]]> - 0 - 1 - 0 - 128 - 027EA84A52D14FE797B7846F1F8E1DF1 - 0 - 0 - 0 - item_info - - - - - + + + 0 + 234 + + 699 + CM2 IR Cost + + + #FFFFFF + 128 + A268BD60BD114F0F87AE9AD5CF4C2281 + + + px + html + +]]> + 0 + 1 + 0 + 128 + 027EA84A52D14FE797B7846F1F8E1DF1 + 0 + 0 + 0 + item_info + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 IR Old.xml b/Imports/2-Post/PLM/Import/Form/CM2 IR Old.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 IR Old.xml rename to Imports/2-Post/PLM/Import/Form/CM2 IR Old.xml index c8a6614..f01fc3a 100644 --- a/Imports/PLM/Import/Form/CM2 IR Old.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 IR Old.xml @@ -1,261 +1,261 @@ - - - 0 - 234 - - 699 - CM2 IR Old - - - #FFFFFF - 128 - BF3CFE7AACA24DE598E6F6648007405B - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - E7AE645E8F3B45D8957E796495DFCAFA - 896 - 47123D52ABB64DC3BA110FDB2BA8F645 - 5760 - 1 - 190 - 285 - ara_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2ABAB03B27C54A86BD6A3E6B7C909050 - 512 - 47123D52ABB64DC3BA110FDB2BA8F645 - 768 - 1 - 190 - 165 - change_type - - - px - html - -]]> - 0 - 1 - 0 - 1408 - 47123D52ABB64DC3BA110FDB2BA8F645 - 0 - 0 - 0 - item_info - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C02F9AB8D6FA4D6193F5D48645E14680 - 128 - 47123D52ABB64DC3BA110FDB2BA8F645 - 128 - 1 - 190 - 10 - item_number - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 038BF18ABA2F467F8FAECE0BFF8EB36B - 384 - 47123D52ABB64DC3BA110FDB2BA8F645 - 640 - 1 - 190 - 125 - priority - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 022199C45725423FA6617C00090113E7 - 1280 - 47123D52ABB64DC3BA110FDB2BA8F645 - 6784 - 1 - 190 - 405 - project - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6E0CC510F3304FBBA647BDD2FD65D13B - 640 - 47123D52ABB64DC3BA110FDB2BA8F645 - 896 - 1 - 190 - 205 - requested_by - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - BB0EF9DA50174FB48FB664438F3F373A - 1024 - 47123D52ABB64DC3BA110FDB2BA8F645 - 6016 - 1 - 190 - 325 - security - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F21A54A6EEBD4230AECE71CEE1C67572 - 1152 - 47123D52ABB64DC3BA110FDB2BA8F645 - 6272 - 1 - 190 - 365 - severity - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 806525F46FEE489D89B25D90BC542C35 - 768 - 47123D52ABB64DC3BA110FDB2BA8F645 - 1024 - 1 - 190 - 245 - source - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - A5A69F753C784863BBE9C5CD3D8035DF - 256 - 47123D52ABB64DC3BA110FDB2BA8F645 - 256 - 1 - 350 - 50 - 190 - 50 - title - - - - - + + + 0 + 234 + + 699 + CM2 IR Old + + + #FFFFFF + 128 + BF3CFE7AACA24DE598E6F6648007405B + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + E7AE645E8F3B45D8957E796495DFCAFA + 896 + 47123D52ABB64DC3BA110FDB2BA8F645 + 5760 + 1 + 190 + 285 + ara_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2ABAB03B27C54A86BD6A3E6B7C909050 + 512 + 47123D52ABB64DC3BA110FDB2BA8F645 + 768 + 1 + 190 + 165 + change_type + + + px + html + +]]> + 0 + 1 + 0 + 1408 + 47123D52ABB64DC3BA110FDB2BA8F645 + 0 + 0 + 0 + item_info + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C02F9AB8D6FA4D6193F5D48645E14680 + 128 + 47123D52ABB64DC3BA110FDB2BA8F645 + 128 + 1 + 190 + 10 + item_number + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 038BF18ABA2F467F8FAECE0BFF8EB36B + 384 + 47123D52ABB64DC3BA110FDB2BA8F645 + 640 + 1 + 190 + 125 + priority + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 022199C45725423FA6617C00090113E7 + 1280 + 47123D52ABB64DC3BA110FDB2BA8F645 + 6784 + 1 + 190 + 405 + project + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6E0CC510F3304FBBA647BDD2FD65D13B + 640 + 47123D52ABB64DC3BA110FDB2BA8F645 + 896 + 1 + 190 + 205 + requested_by + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + BB0EF9DA50174FB48FB664438F3F373A + 1024 + 47123D52ABB64DC3BA110FDB2BA8F645 + 6016 + 1 + 190 + 325 + security + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F21A54A6EEBD4230AECE71CEE1C67572 + 1152 + 47123D52ABB64DC3BA110FDB2BA8F645 + 6272 + 1 + 190 + 365 + severity + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 806525F46FEE489D89B25D90BC542C35 + 768 + 47123D52ABB64DC3BA110FDB2BA8F645 + 1024 + 1 + 190 + 245 + source + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + A5A69F753C784863BBE9C5CD3D8035DF + 256 + 47123D52ABB64DC3BA110FDB2BA8F645 + 256 + 1 + 350 + 50 + 190 + 50 + title + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 IR Signoffs.xml b/Imports/2-Post/PLM/Import/Form/CM2 IR Signoffs.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 IR Signoffs.xml rename to Imports/2-Post/PLM/Import/Form/CM2 IR Signoffs.xml index cc98fd4..39bf9e5 100644 --- a/Imports/PLM/Import/Form/CM2 IR Signoffs.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 IR Signoffs.xml @@ -1,39 +1,39 @@ - - - 0 - 234 - - 699 - CM2 IR Signoffs - - - #FFFFFF - 128 - 285AF73575AB4BEC8FEA34B42550FED8 - - - px - html - -]]> - 0 - 1 - 0 - 128 - ADD77C0E33DB4357868388C210B25879 - 0 - 0 - 0 - item_info - - - - - + + + 0 + 234 + + 699 + CM2 IR Signoffs + + + #FFFFFF + 128 + 285AF73575AB4BEC8FEA34B42550FED8 + + + px + html + +]]> + 0 + 1 + 0 + 128 + ADD77C0E33DB4357868388C210B25879 + 0 + 0 + 0 + item_info + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 IR.xml b/Imports/2-Post/PLM/Import/Form/CM2 IR.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 IR.xml rename to Imports/2-Post/PLM/Import/Form/CM2 IR.xml index bc8c3d4..0fc76d4 100644 --- a/Imports/PLM/Import/Form/CM2 IR.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 IR.xml @@ -1,598 +1,598 @@ - - - 0 - 420 - - 699 - CM2 IR - - - #FFFFFF - 128 - 75BA493B8E624B038E8DED272814CC9C - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - FA64457CBC944D798B19079B53999B3A - 2560 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6528 - 1 - 350 - 50 - 190 - 290 - adnl_details - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - E7AE645E8F3B45D8957E796495DFCAFA - 1280 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 5760 - 1 - 590 - 370 - ara_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2ABAB03B27C54A86BD6A3E6B7C909050 - 768 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 768 - 1 - 510 - 90 - change_type - - - 0 - px - class structure - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3712 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 128 - 1 - 640 - 90 - classification - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 64BA557037984D9AA0BCC090D75E4847 - 3456 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 7040 - 1 - 810 - 90 - cn - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 4E7ED4F72E3C424DBEB751902AD9DEEB - 3328 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6912 - 1 - 810 - 50 - cr - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F295BFFEF95F499F94712CD92D1F51CC - 2176 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 1280 - 1 - 350 - 50 - 190 - 130 - description - - - px - html - -]]> - 0 - 1 - 0 - 1920 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 0 - 0 - 0 - item_info - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C02F9AB8D6FA4D6193F5D48645E14680 - 128 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 128 - 1 - 190 - 10 - item_number - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 7D8DEBD87DD844069B0E791557E5589E - 2688 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6656 - 1 - 350 - 50 - 590 - 290 - key_dates - - - 0 - 30 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3200 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 4480 - 1 - 320 - 10 - major_rev - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2944 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 3584 - 1 - 190 - 370 - managed_by_id - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 3584 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 768 - 1 - 410 - 370 - owned_by_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 038BF18ABA2F467F8FAECE0BFF8EB36B - 640 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 640 - 1 - 430 - 90 - priority - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 022199C45725423FA6617C00090113E7 - 2048 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6784 - 1 - 500 - 10 - project - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 863DAC9DB2254806855757DCA1569EA1 - 2304 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 1408 - 1 - 750 - 50 - 190 - 210 - proposed_solution - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - E5263DE8DA2A4C2299B98EF0062C8874 - 2432 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6400 - 1 - 350 - 50 - 590 - 130 - ramifications - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6E0CC510F3304FBBA647BDD2FD65D13B - 896 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 896 - 1 - 600 - 50 - requested_by - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - BB0EF9DA50174FB48FB664438F3F373A - 1536 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6016 - 1 - 390 - 10 - security - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F21A54A6EEBD4230AECE71CEE1C67572 - 1792 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6272 - 1 - 190 - 90 - severity - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 806525F46FEE489D89B25D90BC542C35 - 1024 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 1024 - 1 - 280 - 90 - source - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 384 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 384 - 1 - 830 - 10 - state - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - CED8F2075DF049BD987D1DD2D0DCDAB0 - 1664 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 6144 - 1 - 700 - 10 - status - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - A5A69F753C784863BBE9C5CD3D8035DF - 256 - 0C81DC63CEFF4AB19D11C7830DDFA9BC - 256 - 1 - 350 - 15 - 190 - 50 - title - - - - - - - - - - classification - 622CD8AFA3174EDE8E074BC06B829AC2 - - - - - - - - major_rev - 622CD8AFA3174EDE8E074BC06B829AC2 - - - - - - - - managed_by_id - 622CD8AFA3174EDE8E074BC06B829AC2 - - - - - - - - owned_by_id - 622CD8AFA3174EDE8E074BC06B829AC2 - - - - - - - - state - 622CD8AFA3174EDE8E074BC06B829AC2 - - - + + + 0 + 420 + + 699 + CM2 IR + + + #FFFFFF + 128 + 75BA493B8E624B038E8DED272814CC9C + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + FA64457CBC944D798B19079B53999B3A + 2560 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6528 + 1 + 350 + 50 + 190 + 290 + adnl_details + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + E7AE645E8F3B45D8957E796495DFCAFA + 1280 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 5760 + 1 + 590 + 370 + ara_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2ABAB03B27C54A86BD6A3E6B7C909050 + 768 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 768 + 1 + 510 + 90 + change_type + + + 0 + px + class structure + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3712 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 128 + 1 + 640 + 90 + classification + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 64BA557037984D9AA0BCC090D75E4847 + 3456 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 7040 + 1 + 810 + 90 + cn + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 4E7ED4F72E3C424DBEB751902AD9DEEB + 3328 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6912 + 1 + 810 + 50 + cr + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F295BFFEF95F499F94712CD92D1F51CC + 2176 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 1280 + 1 + 350 + 50 + 190 + 130 + description + + + px + html + +]]> + 0 + 1 + 0 + 1920 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 0 + 0 + 0 + item_info + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C02F9AB8D6FA4D6193F5D48645E14680 + 128 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 128 + 1 + 190 + 10 + item_number + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 7D8DEBD87DD844069B0E791557E5589E + 2688 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6656 + 1 + 350 + 50 + 590 + 290 + key_dates + + + 0 + 30 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3200 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 4480 + 1 + 320 + 10 + major_rev + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2944 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 3584 + 1 + 190 + 370 + managed_by_id + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 3584 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 768 + 1 + 410 + 370 + owned_by_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 038BF18ABA2F467F8FAECE0BFF8EB36B + 640 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 640 + 1 + 430 + 90 + priority + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 022199C45725423FA6617C00090113E7 + 2048 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6784 + 1 + 500 + 10 + project + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 863DAC9DB2254806855757DCA1569EA1 + 2304 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 1408 + 1 + 750 + 50 + 190 + 210 + proposed_solution + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + E5263DE8DA2A4C2299B98EF0062C8874 + 2432 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6400 + 1 + 350 + 50 + 590 + 130 + ramifications + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6E0CC510F3304FBBA647BDD2FD65D13B + 896 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 896 + 1 + 600 + 50 + requested_by + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + BB0EF9DA50174FB48FB664438F3F373A + 1536 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6016 + 1 + 390 + 10 + security + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F21A54A6EEBD4230AECE71CEE1C67572 + 1792 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6272 + 1 + 190 + 90 + severity + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 806525F46FEE489D89B25D90BC542C35 + 1024 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 1024 + 1 + 280 + 90 + source + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 384 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 384 + 1 + 830 + 10 + state + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + CED8F2075DF049BD987D1DD2D0DCDAB0 + 1664 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 6144 + 1 + 700 + 10 + status + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + A5A69F753C784863BBE9C5CD3D8035DF + 256 + 0C81DC63CEFF4AB19D11C7830DDFA9BC + 256 + 1 + 350 + 15 + 190 + 50 + title + + + + + + + + + + classification + 622CD8AFA3174EDE8E074BC06B829AC2 + + + + + + + + major_rev + 622CD8AFA3174EDE8E074BC06B829AC2 + + + + + + + + managed_by_id + 622CD8AFA3174EDE8E074BC06B829AC2 + + + + + + + + owned_by_id + 622CD8AFA3174EDE8E074BC06B829AC2 + + + + + + + + state + 622CD8AFA3174EDE8E074BC06B829AC2 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Incident.xml b/Imports/2-Post/PLM/Import/Form/CM2 Incident.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Incident.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Incident.xml index 152a313..1a648d1 100644 --- a/Imports/PLM/Import/Form/CM2 Incident.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Incident.xml @@ -1,348 +1,348 @@ - - - 0 - 234 - - 699 - CM2 Incident - - - #FFFFFF - 128 - 0E6A0FF10A7D4AC9A38A5D8518E7C2AF - - - 0 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 128 - C5DCFC82997049ADAD5249194B5416E9 - 128 - 1 - 340 - 10 - classification - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 384 - C5DCFC82997049ADAD5249194B5416E9 - 640 - 1 - 660 - 10 - created_by_id - - - 0 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 256 - C5DCFC82997049ADAD5249194B5416E9 - 512 - 1 - 480 - 10 - created_on - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 60C48E12D0DF4F6ABC238C4AE58DCFE5 - 1024 - C5DCFC82997049ADAD5249194B5416E9 - 3328 - 1 - 350 - 50 - 200 - 130 - description - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - D0755ADA43194379BC14D382FFC907DD - 1536 - C5DCFC82997049ADAD5249194B5416E9 - 3840 - 1 - 350 - 50 - 200 - 210 - investigation - - - px - html - -]]> - 0 - 1 - 0 - 1664 - C5DCFC82997049ADAD5249194B5416E9 - 0 - 0 - 0 - item_info - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 86646C352B40433C8C700596AE0FAA8A - 768 - C5DCFC82997049ADAD5249194B5416E9 - 3072 - 1 - 200 - 10 - item_number - - - 0 - 200 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 73D8BA044A2B4A75B20B5A0BB44963C4 - 896 - C5DCFC82997049ADAD5249194B5416E9 - 3200 - 1 - 200 - 90 - name - - - 0 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 512 - C5DCFC82997049ADAD5249194B5416E9 - 768 - 1 - 200 - 50 - owned_by_id - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F4361026365B48548B497E6909B7B8DF - 1408 - C5DCFC82997049ADAD5249194B5416E9 - 3712 - 1 - 580 - 50 - priority - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - D4B7B033C2DB440884E3D01ABAFBE14C - 1280 - C5DCFC82997049ADAD5249194B5416E9 - 3584 - 1 - 480 - 50 - severity - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 97A26F79DDCE44E98E7CA5763823F32A - 1152 - C5DCFC82997049ADAD5249194B5416E9 - 3456 - 1 - 360 - 50 - source - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 640 - C5DCFC82997049ADAD5249194B5416E9 - 1408 - 1 - 830 - 10 - state - - - - - - - - - - classification - C522A937F22247F997543CA11DCAE859 - - - - - - - - created_by_id - C522A937F22247F997543CA11DCAE859 - - - - - - - - created_on - C522A937F22247F997543CA11DCAE859 - - - - - - - - owned_by_id - C522A937F22247F997543CA11DCAE859 - - - - - - - - state - C522A937F22247F997543CA11DCAE859 - - - + + + 0 + 234 + + 699 + CM2 Incident + + + #FFFFFF + 128 + 0E6A0FF10A7D4AC9A38A5D8518E7C2AF + + + 0 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 128 + C5DCFC82997049ADAD5249194B5416E9 + 128 + 1 + 340 + 10 + classification + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 384 + C5DCFC82997049ADAD5249194B5416E9 + 640 + 1 + 660 + 10 + created_by_id + + + 0 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 256 + C5DCFC82997049ADAD5249194B5416E9 + 512 + 1 + 480 + 10 + created_on + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 60C48E12D0DF4F6ABC238C4AE58DCFE5 + 1024 + C5DCFC82997049ADAD5249194B5416E9 + 3328 + 1 + 350 + 50 + 200 + 130 + description + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + D0755ADA43194379BC14D382FFC907DD + 1536 + C5DCFC82997049ADAD5249194B5416E9 + 3840 + 1 + 350 + 50 + 200 + 210 + investigation + + + px + html + +]]> + 0 + 1 + 0 + 1664 + C5DCFC82997049ADAD5249194B5416E9 + 0 + 0 + 0 + item_info + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 86646C352B40433C8C700596AE0FAA8A + 768 + C5DCFC82997049ADAD5249194B5416E9 + 3072 + 1 + 200 + 10 + item_number + + + 0 + 200 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 73D8BA044A2B4A75B20B5A0BB44963C4 + 896 + C5DCFC82997049ADAD5249194B5416E9 + 3200 + 1 + 200 + 90 + name + + + 0 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 512 + C5DCFC82997049ADAD5249194B5416E9 + 768 + 1 + 200 + 50 + owned_by_id + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F4361026365B48548B497E6909B7B8DF + 1408 + C5DCFC82997049ADAD5249194B5416E9 + 3712 + 1 + 580 + 50 + priority + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + D4B7B033C2DB440884E3D01ABAFBE14C + 1280 + C5DCFC82997049ADAD5249194B5416E9 + 3584 + 1 + 480 + 50 + severity + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 97A26F79DDCE44E98E7CA5763823F32A + 1152 + C5DCFC82997049ADAD5249194B5416E9 + 3456 + 1 + 360 + 50 + source + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 640 + C5DCFC82997049ADAD5249194B5416E9 + 1408 + 1 + 830 + 10 + state + + + + + + + + + + classification + C522A937F22247F997543CA11DCAE859 + + + + + + + + created_by_id + C522A937F22247F997543CA11DCAE859 + + + + + + + + created_on + C522A937F22247F997543CA11DCAE859 + + + + + + + + owned_by_id + C522A937F22247F997543CA11DCAE859 + + + + + + + + state + C522A937F22247F997543CA11DCAE859 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Model.xml b/Imports/2-Post/PLM/Import/Form/CM2 Model.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Model.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Model.xml index 45d21a7..290fcc8 100644 --- a/Imports/PLM/Import/Form/CM2 Model.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Model.xml @@ -1,106 +1,106 @@ - - - 0 - 234 - - 699 - CM2 Model - - - #FFFFFF - 128 - 7550070342E04ACC8FB8669E90BA258B - - - 0 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4B9D1CB379494FB0A97A00B36378DD5B - 256 - 5B74D76E53A64233AC298E984AD903C8 - 3200 - 1 - 190 - 110 - active - - - px - html - -]]> - 0 - 1 - 0 - 384 - 5B74D76E53A64233AC298E984AD903C8 - 0 - 0 - 0 - item_info - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C2F04CECCC2C4EF891D87BC6A02BF760 - 128 - 5B74D76E53A64233AC298E984AD903C8 - 3072 - 1 - 190 - 10 - name - - - beige - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - A4BAE318CF9B4B6883E11340BC15F24A - 512 - 5B74D76E53A64233AC298E984AD903C8 - 3328 - 1 - 190 - 60 - sequence_id - - - - - + + + 0 + 234 + + 699 + CM2 Model + + + #FFFFFF + 128 + 7550070342E04ACC8FB8669E90BA258B + + + 0 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4B9D1CB379494FB0A97A00B36378DD5B + 256 + 5B74D76E53A64233AC298E984AD903C8 + 3200 + 1 + 190 + 110 + active + + + px + html + +]]> + 0 + 1 + 0 + 384 + 5B74D76E53A64233AC298E984AD903C8 + 0 + 0 + 0 + item_info + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C2F04CECCC2C4EF891D87BC6A02BF760 + 128 + 5B74D76E53A64233AC298E984AD903C8 + 3072 + 1 + 190 + 10 + name + + + beige + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + A4BAE318CF9B4B6883E11340BC15F24A + 512 + 5B74D76E53A64233AC298E984AD903C8 + 3328 + 1 + 190 + 60 + sequence_id + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Organizations.xml b/Imports/2-Post/PLM/Import/Form/CM2 Organizations.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Organizations.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Organizations.xml index 854db67..4e766de 100644 --- a/Imports/PLM/Import/Form/CM2 Organizations.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Organizations.xml @@ -1,91 +1,91 @@ - - - 0 - 234 - - 699 - CM2 Organizations - - - #FFFFFF - 128 - 4A9A92400EA341FE89BBEE7EA60EB875 - - - px - html - -]]> - 0 - 1 - 0 - 384 - 565AE9A7D79B400B9415C6B5560DF448 - 0 - 0 - 0 - item_info - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 128 - 565AE9A7D79B400B9415C6B5560DF448 - 128 - 1 - 190 - 10 - itemtype - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - ECF3ABEBB4444943AC8FCD93F1D2F585 - 256 - 565AE9A7D79B400B9415C6B5560DF448 - 3584 - 1 - 190 - 50 - name - - - - - - - - - - itemtype - FCAD6E3989234A6DB46771F937E8F1E6 - - - + + + 0 + 234 + + 699 + CM2 Organizations + + + #FFFFFF + 128 + 4A9A92400EA341FE89BBEE7EA60EB875 + + + px + html + +]]> + 0 + 1 + 0 + 384 + 565AE9A7D79B400B9415C6B5560DF448 + 0 + 0 + 0 + item_info + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 128 + 565AE9A7D79B400B9415C6B5560DF448 + 128 + 1 + 190 + 10 + itemtype + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + ECF3ABEBB4444943AC8FCD93F1D2F585 + 256 + 565AE9A7D79B400B9415C6B5560DF448 + 3584 + 1 + 190 + 50 + name + + + + + + + + + + itemtype + FCAD6E3989234A6DB46771F937E8F1E6 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Part Add.xml b/Imports/2-Post/PLM/Import/Form/CM2 Part Add.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Part Add.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Part Add.xml index 74798ee..eaf9d14 100644 --- a/Imports/PLM/Import/Form/CM2 Part Add.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Part Add.xml @@ -1,602 +1,602 @@ - - - 0 - 399 - - 784 - CM2 Part Add - - - #ffffff - 128 - A4801E4D767B411CBC9D87ED379EEA04 - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9022D2B4E7F847628EF0EAAF29CEDA2F - 5120 - 45878076A1C9451E855AB1E5601C3EC7 - 95384 - 1 - 200 - 250 - cage_code - - - 0 - {$this field rule} img { max-width: 150px; max-height: 150px; } - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 256 - 45878076A1C9451E855AB1E5601C3EC7 - 0 - 200 - 210 - classification - - - onchange - - - Show Class-Specific Fields - - - 128 - 2848FB964D694F8D91621F745859BCB2 - - - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - - - - - -Properties - - - - - - -]]> - 0 - 0 - 0 - 384 - 45878076A1C9451E855AB1E5601C3EC7 - 1 - 200 - 290 - classSpecificFields_border - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9D67000D1FCE4D10A6D44509418820D9 - 4864 - 45878076A1C9451E855AB1E5601C3EC7 - 95128 - 1 - 400 - 210 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 04EB70FA8BF04F2FBA12095F56F011A2 - 768 - 45878076A1C9451E855AB1E5601C3EC7 - 60 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 896 - 45878076A1C9451E855AB1E5601C3EC7 - 0 - 570 - 170 - effective_date - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 4608 - 45878076A1C9451E855AB1E5601C3EC7 - 1 - 360 - 6 - generation_major_rev - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 668EB2233D4341329EE97449B0267E3A - 4352 - 45878076A1C9451E855AB1E5601C3EC7 - 900 - 0 - 15 - 290 - has_change_pending - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 1024 - 45878076A1C9451E855AB1E5601C3EC7 - 1 - 1 - 1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 879EAA0579BD4120BF3DF324ABA7A341 - 1920 - 45878076A1C9451E855AB1E5601C3EC7 - 5 - 1 - 200 - 10 - item_number - - - 0 - {$this field rule} input -{ - width: 20px; -} - - 48 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 1 - 1 - - top - 0 - 1152 - 45878076A1C9451E855AB1E5601C3EC7 - 0 - 330 - 10 - major_rev - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F95E298391874E21A825EF5B0238B1C7 - 1280 - 45878076A1C9451E855AB1E5601C3EC7 - 50 - 1 - 290 - 90 - make_buy - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1408 - 45878076A1C9451E855AB1E5601C3EC7 - 30 - 1 - 570 - 50 - managed_by_id - - - 0 - 323 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6DE61A89F16848049DF8967B51FD7F58 - 1664 - 45878076A1C9451E855AB1E5601C3EC7 - 20 - 1 - 200 - 50 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1792 - 45878076A1C9451E855AB1E5601C3EC7 - 10 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5632 - 45878076A1C9451E855AB1E5601C3EC7 - 2944 - 1 - 570 - 130 - release_date - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4DFD2ED285794D5198ECA25CEAE7BE25 - 4992 - 45878076A1C9451E855AB1E5601C3EC7 - 95256 - 1 - 570 - 90 - release_date_plan - - - 0 - - 91 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 38 - 1 - 1 - - top - 0 - 2176 - 45878076A1C9451E855AB1E5601C3EC7 - 0 - 160 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 29CCA13C125B47A3B4723101F5443B00 - 4480 - 45878076A1C9451E855AB1E5601C3EC7 - 1 - 150 - 570 - 220 - thumbnail - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6EF283BEF0894DD1BE556E74F7A15AF0 - 2304 - 45878076A1C9451E855AB1E5601C3EC7 - 40 - 1 - 200 - 90 - unit - - - - - onformpopulated - - - Fill Form Fields - - - 128 - A4801E4D767B411CBC9D87ED379EEA04 - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 768 - A4801E4D767B411CBC9D87ED379EEA04 - - - - - - - - classification - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - effective_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - major_rev - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - managed_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - owned_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - release_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - state - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - + + + 0 + 399 + + 784 + CM2 Part Add + + + #ffffff + 128 + A4801E4D767B411CBC9D87ED379EEA04 + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9022D2B4E7F847628EF0EAAF29CEDA2F + 5120 + 45878076A1C9451E855AB1E5601C3EC7 + 95384 + 1 + 200 + 250 + cage_code + + + 0 + {$this field rule} img { max-width: 150px; max-height: 150px; } + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 256 + 45878076A1C9451E855AB1E5601C3EC7 + 0 + 200 + 210 + classification + + + onchange + + + Show Class-Specific Fields + + + 128 + 2848FB964D694F8D91621F745859BCB2 + + + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + + + + + +Properties + + + + + + +]]> + 0 + 0 + 0 + 384 + 45878076A1C9451E855AB1E5601C3EC7 + 1 + 200 + 290 + classSpecificFields_border + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9D67000D1FCE4D10A6D44509418820D9 + 4864 + 45878076A1C9451E855AB1E5601C3EC7 + 95128 + 1 + 400 + 210 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 04EB70FA8BF04F2FBA12095F56F011A2 + 768 + 45878076A1C9451E855AB1E5601C3EC7 + 60 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 896 + 45878076A1C9451E855AB1E5601C3EC7 + 0 + 570 + 170 + effective_date + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 4608 + 45878076A1C9451E855AB1E5601C3EC7 + 1 + 360 + 6 + generation_major_rev + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 668EB2233D4341329EE97449B0267E3A + 4352 + 45878076A1C9451E855AB1E5601C3EC7 + 900 + 0 + 15 + 290 + has_change_pending + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 1024 + 45878076A1C9451E855AB1E5601C3EC7 + 1 + 1 + 1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 879EAA0579BD4120BF3DF324ABA7A341 + 1920 + 45878076A1C9451E855AB1E5601C3EC7 + 5 + 1 + 200 + 10 + item_number + + + 0 + {$this field rule} input +{ + width: 20px; +} + + 48 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 1 + 1 + + top + 0 + 1152 + 45878076A1C9451E855AB1E5601C3EC7 + 0 + 330 + 10 + major_rev + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F95E298391874E21A825EF5B0238B1C7 + 1280 + 45878076A1C9451E855AB1E5601C3EC7 + 50 + 1 + 290 + 90 + make_buy + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1408 + 45878076A1C9451E855AB1E5601C3EC7 + 30 + 1 + 570 + 50 + managed_by_id + + + 0 + 323 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6DE61A89F16848049DF8967B51FD7F58 + 1664 + 45878076A1C9451E855AB1E5601C3EC7 + 20 + 1 + 200 + 50 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1792 + 45878076A1C9451E855AB1E5601C3EC7 + 10 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5632 + 45878076A1C9451E855AB1E5601C3EC7 + 2944 + 1 + 570 + 130 + release_date + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4DFD2ED285794D5198ECA25CEAE7BE25 + 4992 + 45878076A1C9451E855AB1E5601C3EC7 + 95256 + 1 + 570 + 90 + release_date_plan + + + 0 + + 91 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 38 + 1 + 1 + + top + 0 + 2176 + 45878076A1C9451E855AB1E5601C3EC7 + 0 + 160 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 29CCA13C125B47A3B4723101F5443B00 + 4480 + 45878076A1C9451E855AB1E5601C3EC7 + 1 + 150 + 570 + 220 + thumbnail + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6EF283BEF0894DD1BE556E74F7A15AF0 + 2304 + 45878076A1C9451E855AB1E5601C3EC7 + 40 + 1 + 200 + 90 + unit + + + + + onformpopulated + + + Fill Form Fields + + + 128 + A4801E4D767B411CBC9D87ED379EEA04 + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 768 + A4801E4D767B411CBC9D87ED379EEA04 + + + + + + + + classification + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + effective_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + major_rev + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + managed_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + owned_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + release_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + state + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Part Facility.xml b/Imports/2-Post/PLM/Import/Form/CM2 Part Facility.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Part Facility.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Part Facility.xml index 45cbf7a..7f865ad 100644 --- a/Imports/PLM/Import/Form/CM2 Part Facility.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Part Facility.xml @@ -1,644 +1,644 @@ - - - 0 - 399 - - 784 - CM2 Part Facility - - - #ffffff - 128 - 427E8C89EBA145369AB023B6022B2C5D - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9022D2B4E7F847628EF0EAAF29CEDA2F - 5120 - 530C85A20C1A4891B2E1396257B990A8 - 95384 - 1 - 200 - 250 - cage_code - - - 0 - {$this field rule} img { max-width: 150px; max-height: 150px; } - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 256 - 530C85A20C1A4891B2E1396257B990A8 - 0 - 200 - 210 - classification - - - onchange - - - Show Class-Specific Fields - - - 128 - 75C2AAC2BE9647ABB5D400258936B676 - - - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - - - - - -Properties - - - - - - -]]> - 0 - 0 - 0 - 384 - 530C85A20C1A4891B2E1396257B990A8 - 1 - 200 - 290 - classSpecificFields_border - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9D67000D1FCE4D10A6D44509418820D9 - 4864 - 530C85A20C1A4891B2E1396257B990A8 - 95128 - 1 - 400 - 210 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 04EB70FA8BF04F2FBA12095F56F011A2 - 768 - 530C85A20C1A4891B2E1396257B990A8 - 60 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 896 - 530C85A20C1A4891B2E1396257B990A8 - 0 - 570 - 170 - effective_date - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 4608 - 530C85A20C1A4891B2E1396257B990A8 - 1 - 360 - 6 - generation_major_rev - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 668EB2233D4341329EE97449B0267E3A - 4352 - 530C85A20C1A4891B2E1396257B990A8 - 900 - 0 - 15 - 290 - has_change_pending - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 1024 - 530C85A20C1A4891B2E1396257B990A8 - 1 - 1 - 1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 879EAA0579BD4120BF3DF324ABA7A341 - 1920 - 530C85A20C1A4891B2E1396257B990A8 - 5 - 1 - 200 - 10 - item_number - - - 0 - {$this field rule} input -{ - width: 20px; -} - - 48 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 1 - 1 - - top - 0 - 1152 - 530C85A20C1A4891B2E1396257B990A8 - 0 - 330 - 10 - major_rev - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F95E298391874E21A825EF5B0238B1C7 - 1280 - 530C85A20C1A4891B2E1396257B990A8 - 50 - 1 - 290 - 90 - make_buy - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1408 - 530C85A20C1A4891B2E1396257B990A8 - 30 - 1 - 570 - 50 - managed_by_id - - - 0 - 323 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6DE61A89F16848049DF8967B51FD7F58 - 1664 - 530C85A20C1A4891B2E1396257B990A8 - 20 - 1 - 200 - 50 - name - - - 0 - px - dropdown - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 308BE6EC045C4DBFB0929665214BC79D - 5760 - 530C85A20C1A4891B2E1396257B990A8 - 95896 - 1 - 400 - 250 - operational_status - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1792 - 530C85A20C1A4891B2E1396257B990A8 - 10 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5632 - 530C85A20C1A4891B2E1396257B990A8 - 2944 - 1 - 570 - 130 - release_date - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4DFD2ED285794D5198ECA25CEAE7BE25 - 4992 - 530C85A20C1A4891B2E1396257B990A8 - 95256 - 1 - 570 - 90 - release_date_plan - - - 0 - - 91 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 38 - 1 - 1 - - top - 0 - 2176 - 530C85A20C1A4891B2E1396257B990A8 - 0 - 160 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 29CCA13C125B47A3B4723101F5443B00 - 4480 - 530C85A20C1A4891B2E1396257B990A8 - 1 - 150 - 570 - 220 - thumbnail - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6EF283BEF0894DD1BE556E74F7A15AF0 - 2304 - 530C85A20C1A4891B2E1396257B990A8 - 40 - 1 - 200 - 90 - unit - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4736 - 530C85A20C1A4891B2E1396257B990A8 - 1 - 730 - 10 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 128 - 427E8C89EBA145369AB023B6022B2C5D - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 768 - 427E8C89EBA145369AB023B6022B2C5D - - - - - - - - classification - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - effective_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - major_rev - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - managed_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - owned_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - release_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - state - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - + + + 0 + 399 + + 784 + CM2 Part Facility + + + #ffffff + 128 + 427E8C89EBA145369AB023B6022B2C5D + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9022D2B4E7F847628EF0EAAF29CEDA2F + 5120 + 530C85A20C1A4891B2E1396257B990A8 + 95384 + 1 + 200 + 250 + cage_code + + + 0 + {$this field rule} img { max-width: 150px; max-height: 150px; } + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 256 + 530C85A20C1A4891B2E1396257B990A8 + 0 + 200 + 210 + classification + + + onchange + + + Show Class-Specific Fields + + + 128 + 75C2AAC2BE9647ABB5D400258936B676 + + + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + + + + + +Properties + + + + + + +]]> + 0 + 0 + 0 + 384 + 530C85A20C1A4891B2E1396257B990A8 + 1 + 200 + 290 + classSpecificFields_border + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9D67000D1FCE4D10A6D44509418820D9 + 4864 + 530C85A20C1A4891B2E1396257B990A8 + 95128 + 1 + 400 + 210 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 04EB70FA8BF04F2FBA12095F56F011A2 + 768 + 530C85A20C1A4891B2E1396257B990A8 + 60 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 896 + 530C85A20C1A4891B2E1396257B990A8 + 0 + 570 + 170 + effective_date + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 4608 + 530C85A20C1A4891B2E1396257B990A8 + 1 + 360 + 6 + generation_major_rev + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 668EB2233D4341329EE97449B0267E3A + 4352 + 530C85A20C1A4891B2E1396257B990A8 + 900 + 0 + 15 + 290 + has_change_pending + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 1024 + 530C85A20C1A4891B2E1396257B990A8 + 1 + 1 + 1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 879EAA0579BD4120BF3DF324ABA7A341 + 1920 + 530C85A20C1A4891B2E1396257B990A8 + 5 + 1 + 200 + 10 + item_number + + + 0 + {$this field rule} input +{ + width: 20px; +} + + 48 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 1 + 1 + + top + 0 + 1152 + 530C85A20C1A4891B2E1396257B990A8 + 0 + 330 + 10 + major_rev + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F95E298391874E21A825EF5B0238B1C7 + 1280 + 530C85A20C1A4891B2E1396257B990A8 + 50 + 1 + 290 + 90 + make_buy + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1408 + 530C85A20C1A4891B2E1396257B990A8 + 30 + 1 + 570 + 50 + managed_by_id + + + 0 + 323 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6DE61A89F16848049DF8967B51FD7F58 + 1664 + 530C85A20C1A4891B2E1396257B990A8 + 20 + 1 + 200 + 50 + name + + + 0 + px + dropdown + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 308BE6EC045C4DBFB0929665214BC79D + 5760 + 530C85A20C1A4891B2E1396257B990A8 + 95896 + 1 + 400 + 250 + operational_status + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1792 + 530C85A20C1A4891B2E1396257B990A8 + 10 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5632 + 530C85A20C1A4891B2E1396257B990A8 + 2944 + 1 + 570 + 130 + release_date + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4DFD2ED285794D5198ECA25CEAE7BE25 + 4992 + 530C85A20C1A4891B2E1396257B990A8 + 95256 + 1 + 570 + 90 + release_date_plan + + + 0 + + 91 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 38 + 1 + 1 + + top + 0 + 2176 + 530C85A20C1A4891B2E1396257B990A8 + 0 + 160 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 29CCA13C125B47A3B4723101F5443B00 + 4480 + 530C85A20C1A4891B2E1396257B990A8 + 1 + 150 + 570 + 220 + thumbnail + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6EF283BEF0894DD1BE556E74F7A15AF0 + 2304 + 530C85A20C1A4891B2E1396257B990A8 + 40 + 1 + 200 + 90 + unit + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4736 + 530C85A20C1A4891B2E1396257B990A8 + 1 + 730 + 10 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 128 + 427E8C89EBA145369AB023B6022B2C5D + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 768 + 427E8C89EBA145369AB023B6022B2C5D + + + + + + + + classification + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + effective_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + major_rev + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + managed_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + owned_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + release_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + state + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Part Model.xml b/Imports/2-Post/PLM/Import/Form/CM2 Part Model.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Part Model.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Part Model.xml index 20a14a5..c89db20 100644 --- a/Imports/PLM/Import/Form/CM2 Part Model.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Part Model.xml @@ -1,688 +1,688 @@ - - - 0 - 399 - - 784 - CM2 Part Model - - - #ffffff - 128 - 558BC306774448158C25F43BF505B59F - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9022D2B4E7F847628EF0EAAF29CEDA2F - 5120 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 95384 - 1 - 200 - 250 - cage_code - - - 0 - {$this field rule} img { max-width: 150px; max-height: 150px; } - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 256 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 0 - 200 - 210 - classification - - - onchange - - - Show Class-Specific Fields - - - 128 - 41793AD558C44E82804A3992F2658224 - - - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - - - - - -Properties - - - - - - -]]> - 0 - 0 - 0 - 384 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 1 - 200 - 290 - classSpecificFields_border - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9D67000D1FCE4D10A6D44509418820D9 - 4864 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 95128 - 1 - 400 - 210 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 04EB70FA8BF04F2FBA12095F56F011A2 - 768 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 60 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 896 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 0 - 570 - 170 - effective_date - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 4608 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 1 - 360 - 6 - generation_major_rev - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 668EB2233D4341329EE97449B0267E3A - 4352 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 900 - 0 - 15 - 290 - has_change_pending - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 1024 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 1 - 1 - 1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 879EAA0579BD4120BF3DF324ABA7A341 - 1920 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 5 - 1 - 200 - 10 - item_number - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 718239483D9A404395F512CDF805859E - 5504 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 95768 - 1 - 400 - 250 - lot - - - 0 - {$this field rule} input -{ - width: 20px; -} - - 48 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 1 - 1 - - top - 0 - 1152 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 0 - 330 - 10 - major_rev - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F95E298391874E21A825EF5B0238B1C7 - 1280 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 50 - 1 - 290 - 90 - make_buy - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1408 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 30 - 1 - 570 - 50 - managed_by_id - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - BC6BA1A8171F4C559EF19FE70F7B847D - 5248 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 95512 - 1 - 200 - 290 - model_id - - - 0 - 323 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6DE61A89F16848049DF8967B51FD7F58 - 1664 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 20 - 1 - 200 - 50 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1792 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 10 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5632 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 2944 - 1 - 570 - 130 - release_date - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4DFD2ED285794D5198ECA25CEAE7BE25 - 4992 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 95256 - 1 - 570 - 90 - release_date_plan - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 11E6CBE893D4402EA80E47371EAF0A73 - 5376 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 95640 - 1 - 400 - 290 - serial_number - - - 0 - - 91 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 38 - 1 - 1 - - top - 0 - 2176 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 0 - 160 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 29CCA13C125B47A3B4723101F5443B00 - 4480 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 1 - 150 - 570 - 220 - thumbnail - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6EF283BEF0894DD1BE556E74F7A15AF0 - 2304 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 40 - 1 - 200 - 90 - unit - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5760 - C1AA12DE4FAE4B24BC46663F40E2FBC3 - 1 - 730 - 10 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 128 - 558BC306774448158C25F43BF505B59F - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 768 - 558BC306774448158C25F43BF505B59F - - - - - - - - classification - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - effective_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - major_rev - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - managed_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - owned_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - release_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - state - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - + + + 0 + 399 + + 784 + CM2 Part Model + + + #ffffff + 128 + 558BC306774448158C25F43BF505B59F + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9022D2B4E7F847628EF0EAAF29CEDA2F + 5120 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 95384 + 1 + 200 + 250 + cage_code + + + 0 + {$this field rule} img { max-width: 150px; max-height: 150px; } + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 256 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 0 + 200 + 210 + classification + + + onchange + + + Show Class-Specific Fields + + + 128 + 41793AD558C44E82804A3992F2658224 + + + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + + + + + +Properties + + + + + + +]]> + 0 + 0 + 0 + 384 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 1 + 200 + 290 + classSpecificFields_border + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9D67000D1FCE4D10A6D44509418820D9 + 4864 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 95128 + 1 + 400 + 210 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 04EB70FA8BF04F2FBA12095F56F011A2 + 768 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 60 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 896 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 0 + 570 + 170 + effective_date + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 4608 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 1 + 360 + 6 + generation_major_rev + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 668EB2233D4341329EE97449B0267E3A + 4352 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 900 + 0 + 15 + 290 + has_change_pending + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 1024 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 1 + 1 + 1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 879EAA0579BD4120BF3DF324ABA7A341 + 1920 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 5 + 1 + 200 + 10 + item_number + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 718239483D9A404395F512CDF805859E + 5504 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 95768 + 1 + 400 + 250 + lot + + + 0 + {$this field rule} input +{ + width: 20px; +} + + 48 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 1 + 1 + + top + 0 + 1152 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 0 + 330 + 10 + major_rev + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F95E298391874E21A825EF5B0238B1C7 + 1280 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 50 + 1 + 290 + 90 + make_buy + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1408 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 30 + 1 + 570 + 50 + managed_by_id + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + BC6BA1A8171F4C559EF19FE70F7B847D + 5248 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 95512 + 1 + 200 + 290 + model_id + + + 0 + 323 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6DE61A89F16848049DF8967B51FD7F58 + 1664 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 20 + 1 + 200 + 50 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1792 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 10 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5632 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 2944 + 1 + 570 + 130 + release_date + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4DFD2ED285794D5198ECA25CEAE7BE25 + 4992 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 95256 + 1 + 570 + 90 + release_date_plan + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 11E6CBE893D4402EA80E47371EAF0A73 + 5376 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 95640 + 1 + 400 + 290 + serial_number + + + 0 + + 91 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 38 + 1 + 1 + + top + 0 + 2176 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 0 + 160 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 29CCA13C125B47A3B4723101F5443B00 + 4480 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 1 + 150 + 570 + 220 + thumbnail + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6EF283BEF0894DD1BE556E74F7A15AF0 + 2304 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 40 + 1 + 200 + 90 + unit + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5760 + C1AA12DE4FAE4B24BC46663F40E2FBC3 + 1 + 730 + 10 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 128 + 558BC306774448158C25F43BF505B59F + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 768 + 558BC306774448158C25F43BF505B59F + + + + + + + + classification + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + effective_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + major_rev + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + managed_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + owned_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + release_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + state + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Part.xml b/Imports/2-Post/PLM/Import/Form/CM2 Part.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Part.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Part.xml index afb9c35..b6394fb 100644 --- a/Imports/PLM/Import/Form/CM2 Part.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Part.xml @@ -1,622 +1,622 @@ - - - 0 - 399 - - 784 - CM2 Part - - - #ffffff - 128 - 03957E0309604F2B946AD099A696BF5E - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9022D2B4E7F847628EF0EAAF29CEDA2F - 5120 - 253F549F301B4EA2851829AA00C31BD5 - 95384 - 1 - 200 - 250 - cage_code - - - 0 - {$this field rule} img { max-width: 150px; max-height: 150px; } - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 256 - 253F549F301B4EA2851829AA00C31BD5 - 0 - 200 - 210 - classification - - - onchange - - - Show Class-Specific Fields - - - 128 - 547673F47C97461398BD48B316F3A045 - - - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - - - - - -Properties - - - - - - -]]> - 0 - 0 - 0 - 384 - 253F549F301B4EA2851829AA00C31BD5 - 1 - 200 - 290 - classSpecificFields_border - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9D67000D1FCE4D10A6D44509418820D9 - 4864 - 253F549F301B4EA2851829AA00C31BD5 - 95128 - 1 - 400 - 210 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 04EB70FA8BF04F2FBA12095F56F011A2 - 768 - 253F549F301B4EA2851829AA00C31BD5 - 60 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 896 - 253F549F301B4EA2851829AA00C31BD5 - 0 - 570 - 170 - effective_date - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 4608 - 253F549F301B4EA2851829AA00C31BD5 - 1 - 360 - 6 - generation_major_rev - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 668EB2233D4341329EE97449B0267E3A - 4352 - 253F549F301B4EA2851829AA00C31BD5 - 900 - 0 - 15 - 290 - has_change_pending - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 1024 - 253F549F301B4EA2851829AA00C31BD5 - 1 - 1 - 1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 879EAA0579BD4120BF3DF324ABA7A341 - 1920 - 253F549F301B4EA2851829AA00C31BD5 - 5 - 1 - 200 - 10 - item_number - - - 0 - {$this field rule} input -{ - width: 20px; -} - - 48 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 1 - 1 - - top - 0 - 1152 - 253F549F301B4EA2851829AA00C31BD5 - 0 - 330 - 10 - major_rev - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F95E298391874E21A825EF5B0238B1C7 - 1280 - 253F549F301B4EA2851829AA00C31BD5 - 50 - 1 - 290 - 90 - make_buy - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1408 - 253F549F301B4EA2851829AA00C31BD5 - 30 - 1 - 570 - 50 - managed_by_id - - - 0 - 323 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6DE61A89F16848049DF8967B51FD7F58 - 1664 - 253F549F301B4EA2851829AA00C31BD5 - 20 - 1 - 200 - 50 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1792 - 253F549F301B4EA2851829AA00C31BD5 - 10 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5632 - 253F549F301B4EA2851829AA00C31BD5 - 2944 - 1 - 570 - 130 - release_date - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4DFD2ED285794D5198ECA25CEAE7BE25 - 4992 - 253F549F301B4EA2851829AA00C31BD5 - 95256 - 1 - 570 - 90 - release_date_plan - - - 0 - - 91 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 38 - 1 - 1 - - top - 0 - 2176 - 253F549F301B4EA2851829AA00C31BD5 - 0 - 160 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 29CCA13C125B47A3B4723101F5443B00 - 4480 - 253F549F301B4EA2851829AA00C31BD5 - 1 - 150 - 570 - 220 - thumbnail - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6EF283BEF0894DD1BE556E74F7A15AF0 - 2304 - 253F549F301B4EA2851829AA00C31BD5 - 40 - 1 - 200 - 90 - unit - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4736 - 253F549F301B4EA2851829AA00C31BD5 - 1 - 730 - 10 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 128 - 03957E0309604F2B946AD099A696BF5E - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 768 - 03957E0309604F2B946AD099A696BF5E - - - - - - - - classification - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - effective_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - major_rev - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - managed_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - owned_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - release_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - state - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - + + + 0 + 399 + + 784 + CM2 Part + + + #ffffff + 128 + 03957E0309604F2B946AD099A696BF5E + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9022D2B4E7F847628EF0EAAF29CEDA2F + 5120 + 253F549F301B4EA2851829AA00C31BD5 + 95384 + 1 + 200 + 250 + cage_code + + + 0 + {$this field rule} img { max-width: 150px; max-height: 150px; } + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 256 + 253F549F301B4EA2851829AA00C31BD5 + 0 + 200 + 210 + classification + + + onchange + + + Show Class-Specific Fields + + + 128 + 547673F47C97461398BD48B316F3A045 + + + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + + + + + +Properties + + + + + + +]]> + 0 + 0 + 0 + 384 + 253F549F301B4EA2851829AA00C31BD5 + 1 + 200 + 290 + classSpecificFields_border + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9D67000D1FCE4D10A6D44509418820D9 + 4864 + 253F549F301B4EA2851829AA00C31BD5 + 95128 + 1 + 400 + 210 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 04EB70FA8BF04F2FBA12095F56F011A2 + 768 + 253F549F301B4EA2851829AA00C31BD5 + 60 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 896 + 253F549F301B4EA2851829AA00C31BD5 + 0 + 570 + 170 + effective_date + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 4608 + 253F549F301B4EA2851829AA00C31BD5 + 1 + 360 + 6 + generation_major_rev + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 668EB2233D4341329EE97449B0267E3A + 4352 + 253F549F301B4EA2851829AA00C31BD5 + 900 + 0 + 15 + 290 + has_change_pending + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 1024 + 253F549F301B4EA2851829AA00C31BD5 + 1 + 1 + 1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 879EAA0579BD4120BF3DF324ABA7A341 + 1920 + 253F549F301B4EA2851829AA00C31BD5 + 5 + 1 + 200 + 10 + item_number + + + 0 + {$this field rule} input +{ + width: 20px; +} + + 48 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 1 + 1 + + top + 0 + 1152 + 253F549F301B4EA2851829AA00C31BD5 + 0 + 330 + 10 + major_rev + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F95E298391874E21A825EF5B0238B1C7 + 1280 + 253F549F301B4EA2851829AA00C31BD5 + 50 + 1 + 290 + 90 + make_buy + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1408 + 253F549F301B4EA2851829AA00C31BD5 + 30 + 1 + 570 + 50 + managed_by_id + + + 0 + 323 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6DE61A89F16848049DF8967B51FD7F58 + 1664 + 253F549F301B4EA2851829AA00C31BD5 + 20 + 1 + 200 + 50 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1792 + 253F549F301B4EA2851829AA00C31BD5 + 10 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5632 + 253F549F301B4EA2851829AA00C31BD5 + 2944 + 1 + 570 + 130 + release_date + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4DFD2ED285794D5198ECA25CEAE7BE25 + 4992 + 253F549F301B4EA2851829AA00C31BD5 + 95256 + 1 + 570 + 90 + release_date_plan + + + 0 + + 91 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 38 + 1 + 1 + + top + 0 + 2176 + 253F549F301B4EA2851829AA00C31BD5 + 0 + 160 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 29CCA13C125B47A3B4723101F5443B00 + 4480 + 253F549F301B4EA2851829AA00C31BD5 + 1 + 150 + 570 + 220 + thumbnail + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6EF283BEF0894DD1BE556E74F7A15AF0 + 2304 + 253F549F301B4EA2851829AA00C31BD5 + 40 + 1 + 200 + 90 + unit + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4736 + 253F549F301B4EA2851829AA00C31BD5 + 1 + 730 + 10 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 128 + 03957E0309604F2B946AD099A696BF5E + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 768 + 03957E0309604F2B946AD099A696BF5E + + + + + + + + classification + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + effective_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + major_rev + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + managed_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + owned_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + release_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + state + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 Project.xml b/Imports/2-Post/PLM/Import/Form/CM2 Project.xml similarity index 97% rename from Imports/PLM/Import/Form/CM2 Project.xml rename to Imports/2-Post/PLM/Import/Form/CM2 Project.xml index 15f2181..e0cfd19 100644 --- a/Imports/PLM/Import/Form/CM2 Project.xml +++ b/Imports/2-Post/PLM/Import/Form/CM2 Project.xml @@ -1,83 +1,83 @@ - - - 0 - 234 - - 699 - CM2 Project - - - #FFFFFF - 128 - 007724B3E0144FA19D2AC6B965ADDEE6 - - - px - html - -]]> - 0 - 1 - 0 - 384 - 3ED448A851584E42B19373460053F14E - 0 - 0 - 0 - item_info - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 8FD9F32C9FFE45FA9CEF8F634847B94E - 128 - 3ED448A851584E42B19373460053F14E - 3072 - 1 - 190 - 10 - item_number - - - 0 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C68EA73C3D9B49A8BFB6EA1F15440D44 - 256 - 3ED448A851584E42B19373460053F14E - 3200 - 1 - 190 - 50 - name - - - - - + + + 0 + 234 + + 699 + CM2 Project + + + #FFFFFF + 128 + 007724B3E0144FA19D2AC6B965ADDEE6 + + + px + html + +]]> + 0 + 1 + 0 + 384 + 3ED448A851584E42B19373460053F14E + 0 + 0 + 0 + item_info + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 8FD9F32C9FFE45FA9CEF8F634847B94E + 128 + 3ED448A851584E42B19373460053F14E + 3072 + 1 + 190 + 10 + item_number + + + 0 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C68EA73C3D9B49A8BFB6EA1F15440D44 + 256 + 3ED448A851584E42B19373460053F14E + 3200 + 1 + 190 + 50 + name + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/CM2 WA BOM Header.xml b/Imports/2-Post/PLM/Import/Form/CM2 WA BOM Header.xml similarity index 100% rename from Imports/PLM/Import/Form/CM2 WA BOM Header.xml rename to Imports/2-Post/PLM/Import/Form/CM2 WA BOM Header.xml diff --git a/Imports/PLM/Import/Form/CR Cost.xml b/Imports/2-Post/PLM/Import/Form/CR Cost.xml similarity index 97% rename from Imports/PLM/Import/Form/CR Cost.xml rename to Imports/2-Post/PLM/Import/Form/CR Cost.xml index 6eebb9e..8aa86e7 100644 --- a/Imports/PLM/Import/Form/CR Cost.xml +++ b/Imports/2-Post/PLM/Import/Form/CR Cost.xml @@ -1,39 +1,39 @@ - - - 0 - 234 - - 699 - CR Cost - - - #FFFFFF - 128 - DC5E451A829D4D8285CEDEEC7405DB57 - - - px - html - -]]> - 0 - 1 - 0 - 128 - A7DD63FC8BB746479A8225FB59BCFEB9 - 0 - 0 - 0 - item_info - - - - - + + + 0 + 234 + + 699 + CR Cost + + + #FFFFFF + 128 + DC5E451A829D4D8285CEDEEC7405DB57 + + + px + html + +]]> + 0 + 1 + 0 + 128 + A7DD63FC8BB746479A8225FB59BCFEB9 + 0 + 0 + 0 + item_info + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/Document.xml b/Imports/2-Post/PLM/Import/Form/Document.xml similarity index 97% rename from Imports/PLM/Import/Form/Document.xml rename to Imports/2-Post/PLM/Import/Form/Document.xml index 28da8a3..c982041 100644 --- a/Imports/PLM/Import/Form/Document.xml +++ b/Imports/2-Post/PLM/Import/Form/Document.xml @@ -1,621 +1,621 @@ - - - 0 - 399 - - 759 - Document - - - #FFFFFF - 128 - D95D1B10CE6D47CDB7AE755108DBA13D - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 8B905482951A4EB8BA3F70C1FA8309C6 - 128 - 1616C23245254BAD80BECBEC29A02D16 - 3200 - 1 - 340 - 90 - authoring_tool - - - 0 - 58 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 894E0A47F1BC4CA0A40C3DA13CE73EA9 - 256 - 1616C23245254BAD80BECBEC29A02D16 - 3328 - 1 - 479 - 89 - authoring_tool_ver - - - 0 - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 512 - 1616C23245254BAD80BECBEC29A02D16 - 40 - 1 - 200 - 90 - classification - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9EEEFDD77BB94E1CA2F496719D476886 - 5376 - 1616C23245254BAD80BECBEC29A02D16 - 204384 - 1 - 400 - 260 - cn - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4655EAC739744E0094364EE3B9875E4D - 640 - 1616C23245254BAD80BECBEC29A02D16 - 640 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 0 - - left - 0 - 1F1141FC77064287BFF8C3E6D7CCD5A0 - 1024 - 1616C23245254BAD80BECBEC29A02D16 - 1280 - 1 - 205 - 250 - drawing_size - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1152 - 1616C23245254BAD80BECBEC29A02D16 - 1152 - 1 - 570 - 90 - effective_date - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 63A784E5CFA94A69B663E67E2FB796E5 - 4864 - 1616C23245254BAD80BECBEC29A02D16 - 103968 - 1 - 200 - 262 - from_template - - - 0 - - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 23A9BF24CF17499EAD9BC235C3A134D3 - 2816 - 1616C23245254BAD80BECBEC29A02D16 - 5 - 0 - 15 - 310 - has_change_pending - - - 0 - - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 7928AFC1D8CB4F64B142289B58E79EE8 - 4352 - 1616C23245254BAD80BECBEC29A02D16 - 1 - 0 - 15 - 290 - has_files - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - right - 0 - 72868A94693C4790AA5D99DAA1EE7906 - 4736 - 1616C23245254BAD80BECBEC29A02D16 - 103840 - 1 - left - 15 - 330 - is_template - - - px - html - -]]> - 0 - 1 - 0 - 1280 - 1616C23245254BAD80BECBEC29A02D16 - 0 - -1 - -5 - -1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 2A0700C4954641F7A36B026F9134A0EC - 768 - 1616C23245254BAD80BECBEC29A02D16 - 128 - 1 - 200 - 10 - item_number - - - 0 - 5 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - -]]> - 0 - 1 - - top - 0 - 1408 - 1616C23245254BAD80BECBEC29A02D16 - 2176 - 1 - 330 - 10 - -1 - major_rev - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1536 - 1616C23245254BAD80BECBEC29A02D16 - 21760 - 1 - 570 - 50 - managed_by_id - - - 0 - 328 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 364519C1348C4A57B88D142C3B1F538E - 1792 - 1616C23245254BAD80BECBEC29A02D16 - 384 - 1 - 64 - 2 - 199 - 49 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1920 - 1616C23245254BAD80BECBEC29A02D16 - 20480 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 626210DC2DDD4A808DD7953B806D4026 - 5504 - 1616C23245254BAD80BECBEC29A02D16 - 204256 - 1 - 400 - 300 - release_date_plan - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 274B66EABFCC45C5B049ADF32352B049 - 5248 - 1616C23245254BAD80BECBEC29A02D16 - 204128 - 1 - 200 - 300 - source - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 0 - 1 - - top - 0 - 2560 - 1616C23245254BAD80BECBEC29A02D16 - 1 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 61EEC41F3F954342AC675D44D8B5F0A8 - 4608 - 1616C23245254BAD80BECBEC29A02D16 - 104096 - 1 - 150 - 570 - 130 - thumbnail - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 72570579552D474998D5A94CFD6D1F01 - 4992 - 1616C23245254BAD80BECBEC29A02D16 - 204000 - 1 - 328 - 30 - 200 - 208 - version_comment - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5120 - 1616C23245254BAD80BECBEC29A02D16 - 1 - 730 - 10 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 256 - D95D1B10CE6D47CDB7AE755108DBA13D - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 512 - D95D1B10CE6D47CDB7AE755108DBA13D - - - - - - - - classification - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - effective_date - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - managed_by_id - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - - owned_by_id - B88C14B99EF449828C5D926E39EE8B89 - - - + + + 0 + 399 + + 759 + Document + + + #FFFFFF + 128 + D95D1B10CE6D47CDB7AE755108DBA13D + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 8B905482951A4EB8BA3F70C1FA8309C6 + 128 + 1616C23245254BAD80BECBEC29A02D16 + 3200 + 1 + 340 + 90 + authoring_tool + + + 0 + 58 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 894E0A47F1BC4CA0A40C3DA13CE73EA9 + 256 + 1616C23245254BAD80BECBEC29A02D16 + 3328 + 1 + 479 + 89 + authoring_tool_ver + + + 0 + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 512 + 1616C23245254BAD80BECBEC29A02D16 + 40 + 1 + 200 + 90 + classification + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9EEEFDD77BB94E1CA2F496719D476886 + 5376 + 1616C23245254BAD80BECBEC29A02D16 + 204384 + 1 + 400 + 260 + cn + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4655EAC739744E0094364EE3B9875E4D + 640 + 1616C23245254BAD80BECBEC29A02D16 + 640 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 0 + + left + 0 + 1F1141FC77064287BFF8C3E6D7CCD5A0 + 1024 + 1616C23245254BAD80BECBEC29A02D16 + 1280 + 1 + 205 + 250 + drawing_size + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1152 + 1616C23245254BAD80BECBEC29A02D16 + 1152 + 1 + 570 + 90 + effective_date + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 63A784E5CFA94A69B663E67E2FB796E5 + 4864 + 1616C23245254BAD80BECBEC29A02D16 + 103968 + 1 + 200 + 262 + from_template + + + 0 + + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 23A9BF24CF17499EAD9BC235C3A134D3 + 2816 + 1616C23245254BAD80BECBEC29A02D16 + 5 + 0 + 15 + 310 + has_change_pending + + + 0 + + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 7928AFC1D8CB4F64B142289B58E79EE8 + 4352 + 1616C23245254BAD80BECBEC29A02D16 + 1 + 0 + 15 + 290 + has_files + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + right + 0 + 72868A94693C4790AA5D99DAA1EE7906 + 4736 + 1616C23245254BAD80BECBEC29A02D16 + 103840 + 1 + left + 15 + 330 + is_template + + + px + html + +]]> + 0 + 1 + 0 + 1280 + 1616C23245254BAD80BECBEC29A02D16 + 0 + -1 + -5 + -1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 2A0700C4954641F7A36B026F9134A0EC + 768 + 1616C23245254BAD80BECBEC29A02D16 + 128 + 1 + 200 + 10 + item_number + + + 0 + 5 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + +]]> + 0 + 1 + + top + 0 + 1408 + 1616C23245254BAD80BECBEC29A02D16 + 2176 + 1 + 330 + 10 + -1 + major_rev + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1536 + 1616C23245254BAD80BECBEC29A02D16 + 21760 + 1 + 570 + 50 + managed_by_id + + + 0 + 328 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 364519C1348C4A57B88D142C3B1F538E + 1792 + 1616C23245254BAD80BECBEC29A02D16 + 384 + 1 + 64 + 2 + 199 + 49 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1920 + 1616C23245254BAD80BECBEC29A02D16 + 20480 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 626210DC2DDD4A808DD7953B806D4026 + 5504 + 1616C23245254BAD80BECBEC29A02D16 + 204256 + 1 + 400 + 300 + release_date_plan + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 274B66EABFCC45C5B049ADF32352B049 + 5248 + 1616C23245254BAD80BECBEC29A02D16 + 204128 + 1 + 200 + 300 + source + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 0 + 1 + + top + 0 + 2560 + 1616C23245254BAD80BECBEC29A02D16 + 1 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 61EEC41F3F954342AC675D44D8B5F0A8 + 4608 + 1616C23245254BAD80BECBEC29A02D16 + 104096 + 1 + 150 + 570 + 130 + thumbnail + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 72570579552D474998D5A94CFD6D1F01 + 4992 + 1616C23245254BAD80BECBEC29A02D16 + 204000 + 1 + 328 + 30 + 200 + 208 + version_comment + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5120 + 1616C23245254BAD80BECBEC29A02D16 + 1 + 730 + 10 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 256 + D95D1B10CE6D47CDB7AE755108DBA13D + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 512 + D95D1B10CE6D47CDB7AE755108DBA13D + + + + + + + + classification + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + effective_date + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + managed_by_id + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + + owned_by_id + B88C14B99EF449828C5D926E39EE8B89 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/ECN ECR.xml b/Imports/2-Post/PLM/Import/Form/ECN ECR.xml similarity index 100% rename from Imports/PLM/Import/Form/ECN ECR.xml rename to Imports/2-Post/PLM/Import/Form/ECN ECR.xml diff --git a/Imports/PLM/Import/Form/ECN Signoffs.xml b/Imports/2-Post/PLM/Import/Form/ECN Signoffs.xml similarity index 97% rename from Imports/PLM/Import/Form/ECN Signoffs.xml rename to Imports/2-Post/PLM/Import/Form/ECN Signoffs.xml index 5937a10..4671672 100644 --- a/Imports/PLM/Import/Form/ECN Signoffs.xml +++ b/Imports/2-Post/PLM/Import/Form/ECN Signoffs.xml @@ -1,39 +1,39 @@ - - - 0 - 234 - - 699 - ECN Signoffs - - - #FFFFFF - 128 - 4E62BE85053849518D576538BF009BAA - - - px - html - -]]> - 0 - 1 - 0 - 128 - 6425E85146BF48C3833FB7F0683F71D9 - 0 - 0 - 0 - item_info - - - - - + + + 0 + 234 + + 699 + ECN Signoffs + + + #FFFFFF + 128 + 4E62BE85053849518D576538BF009BAA + + + px + html + +]]> + 0 + 1 + 0 + 128 + 6425E85146BF48C3833FB7F0683F71D9 + 0 + 0 + 0 + item_info + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/ECR ECNs.xml b/Imports/2-Post/PLM/Import/Form/ECR ECNs.xml similarity index 97% rename from Imports/PLM/Import/Form/ECR ECNs.xml rename to Imports/2-Post/PLM/Import/Form/ECR ECNs.xml index c25c59f..52a68cb 100644 --- a/Imports/PLM/Import/Form/ECR ECNs.xml +++ b/Imports/2-Post/PLM/Import/Form/ECR ECNs.xml @@ -1,39 +1,39 @@ - - - 0 - 234 - - 699 - ECR ECNs - - - #FFFFFF - 128 - E7CCCF2D7E0746A096F2B36482FCE61E - - - px - html - -]]> - 0 - 1 - 0 - 128 - AEEA7A6E530B4D248EAD56AA0F2C1A46 - 0 - 0 - 0 - item_info - - - - - + + + 0 + 234 + + 699 + ECR ECNs + + + #FFFFFF + 128 + E7CCCF2D7E0746A096F2B36482FCE61E + + + px + html + +]]> + 0 + 1 + 0 + 128 + AEEA7A6E530B4D248EAD56AA0F2C1A46 + 0 + 0 + 0 + item_info + + + + + \ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/Form/ECR Impact Matrix.xml b/Imports/2-Post/PLM/Import/Form/ECR Impact Matrix.xml new file mode 100644 index 0000000..3011b75 --- /dev/null +++ b/Imports/2-Post/PLM/Import/Form/ECR Impact Matrix.xml @@ -0,0 +1,92 @@ + + + 0 + 250 + + 800 + ECR Impact Matrix Form + + + 128 + CC0EAB2BD739465EBCEB58BC75C5AEAF + + + 0 + px + html + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + + // Generic TreeView - HTML-code + // this is a skeleton + // and all Click Handlers impactGrid.XXXX listed in this HTML + // + // FormEvent = onLoad + // ==================================================================================================================== + + var impactGrid = null; + + function onTabSelected() { + return; // not used + } + + function setEditMode(item) { + // responds to the windows top toolbar actions + impactGrid.grid.turnEditOff(); + var toolbarNode = document.getElementById("toolbarContainer"); + toolbarNode.appendChild(tbControl.domNode); + tbControl.startup(); + } + + function setViewMode(item) { + // responds to the windows top toolbar actions + impactGrid.grid.turnEditOff(); + } + + var onload_handler = function() { + if (window.ImpactMatrixGrid) { + impactGrid = new ImpactMatrixGrid(); + impactGrid.loadHTML(); + } + } + window.addEventListener("load", onload_handler); +]]> + 0 + 1 + top + 0 + absolute + 128 + 42982090C3D94E9A91DD6E09B527A511 + 0 + 0 + 0 + html_grid1_ecr_change_plan + + + + + onload + + + BaseTreeGrid + + + 1 + CC0EAB2BD739465EBCEB58BC75C5AEAF + + + onload + + + ECR ImpactMatrixGrid + + + 2 + CC0EAB2BD739465EBCEB58BC75C5AEAF + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/ECR PR.xml b/Imports/2-Post/PLM/Import/Form/ECR PR.xml similarity index 100% rename from Imports/PLM/Import/Form/ECR PR.xml rename to Imports/2-Post/PLM/Import/Form/ECR PR.xml diff --git a/Imports/PLM/Import/Form/ECR Signoffs.xml b/Imports/2-Post/PLM/Import/Form/ECR Signoffs.xml similarity index 97% rename from Imports/PLM/Import/Form/ECR Signoffs.xml rename to Imports/2-Post/PLM/Import/Form/ECR Signoffs.xml index 99f3754..b716cbf 100644 --- a/Imports/PLM/Import/Form/ECR Signoffs.xml +++ b/Imports/2-Post/PLM/Import/Form/ECR Signoffs.xml @@ -1,39 +1,39 @@ - - - 0 - 234 - - 699 - ECR Signoffs - - - #FFFFFF - 128 - 55D7CB3031E04E97931BF40E5236ACD0 - - - px - html - -]]> - 0 - 1 - 0 - 128 - C47CD0514AB54A4BB99E350A60F35A28 - 0 - 0 - 0 - item_info - - - - - + + + 0 + 234 + + 699 + ECR Signoffs + + + #FFFFFF + 128 + 55D7CB3031E04E97931BF40E5236ACD0 + + + px + html + +]]> + 0 + 1 + 0 + 128 + C47CD0514AB54A4BB99E350A60F35A28 + 0 + 0 + 0 + item_info + + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/PE_Deviation.xml b/Imports/2-Post/PLM/Import/Form/PE_Deviation.xml similarity index 97% rename from Imports/PLM/Import/Form/PE_Deviation.xml rename to Imports/2-Post/PLM/Import/Form/PE_Deviation.xml index a5fa5d4..ef15b83 100644 --- a/Imports/PLM/Import/Form/PE_Deviation.xml +++ b/Imports/2-Post/PLM/Import/Form/PE_Deviation.xml @@ -1,316 +1,316 @@ - - - 0 - 399 - - 759 - PE_Deviation - - - #FFFFFF - 128 - 34272F491C5B47A7BF0924A57C4FD4BA - - - 0 - 120 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 60C61F0D53FD48529057EED31026CCB0 - 768 - 657DEBCD29FF4FF4804F6BF41FC7864B - 4 - 1 - 150 - 200 - affected_part - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C7625A28E1EF427482EA7C766D103CD9 - 640 - 657DEBCD29FF4FF4804F6BF41FC7864B - 3 - 1 - 350 - 50 - 150 - 50 - description - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 196A1A475A6048299CC533F6CC9D5C2A - 896 - 657DEBCD29FF4FF4804F6BF41FC7864B - 5 - 1 - 150 - 245 - effective_from - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - AFD3EE41027E48EA9DA7D00F07D50F93 - 1024 - 657DEBCD29FF4FF4804F6BF41FC7864B - 6 - 1 - 260 - 245 - effective_to - - - px - html - -]]> - 0 - 1 - 0 - 128 - 657DEBCD29FF4FF4804F6BF41FC7864B - 0 - 0 - 0 - item_info - - - 0 - 90 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9D201D1E66994E12BD69790E7683B217 - 256 - 657DEBCD29FF4FF4804F6BF41FC7864B - 1 - 1 - 150 - 10 - item_number - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 54B43881C8CA4226BC2BF42EE772C8E2 - 1280 - 657DEBCD29FF4FF4804F6BF41FC7864B - 11792 - 1 - 305 - 200 - location - - - 0 - 120 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 512 - 657DEBCD29FF4FF4804F6BF41FC7864B - 2 - 1 - 360 - 10 - owned_by_id - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C4CDAFBDF66541C98B5002F2EC1F200C - 1152 - 657DEBCD29FF4FF4804F6BF41FC7864B - 11792 - 1 - 350 - 50 - 150 - 125 - reason - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - FE840D3A77474522919080362BEC4F14 - 1408 - 657DEBCD29FF4FF4804F6BF41FC7864B - 12048 - 1 - 260 - 290 - release_date_plan - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1536 - 657DEBCD29FF4FF4804F6BF41FC7864B - 11920 - 1 - 150 - 290 - released_date - - - 0 - 80 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 384 - 657DEBCD29FF4FF4804F6BF41FC7864B - 0 - 260 - 10 - state - - - - - - - - - - owned_by_id - C3317E65105D44C88C1603FB919146BC - - - - - - - - release_date - C3317E65105D44C88C1603FB919146BC - - - - - - - - state - C3317E65105D44C88C1603FB919146BC - - - + + + 0 + 399 + + 759 + PE_Deviation + + + #FFFFFF + 128 + 34272F491C5B47A7BF0924A57C4FD4BA + + + 0 + 120 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 60C61F0D53FD48529057EED31026CCB0 + 768 + 657DEBCD29FF4FF4804F6BF41FC7864B + 4 + 1 + 150 + 200 + affected_part + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C7625A28E1EF427482EA7C766D103CD9 + 640 + 657DEBCD29FF4FF4804F6BF41FC7864B + 3 + 1 + 350 + 50 + 150 + 50 + description + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 196A1A475A6048299CC533F6CC9D5C2A + 896 + 657DEBCD29FF4FF4804F6BF41FC7864B + 5 + 1 + 150 + 245 + effective_from + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + AFD3EE41027E48EA9DA7D00F07D50F93 + 1024 + 657DEBCD29FF4FF4804F6BF41FC7864B + 6 + 1 + 260 + 245 + effective_to + + + px + html + +]]> + 0 + 1 + 0 + 128 + 657DEBCD29FF4FF4804F6BF41FC7864B + 0 + 0 + 0 + item_info + + + 0 + 90 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9D201D1E66994E12BD69790E7683B217 + 256 + 657DEBCD29FF4FF4804F6BF41FC7864B + 1 + 1 + 150 + 10 + item_number + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 54B43881C8CA4226BC2BF42EE772C8E2 + 1280 + 657DEBCD29FF4FF4804F6BF41FC7864B + 11792 + 1 + 305 + 200 + location + + + 0 + 120 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 512 + 657DEBCD29FF4FF4804F6BF41FC7864B + 2 + 1 + 360 + 10 + owned_by_id + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C4CDAFBDF66541C98B5002F2EC1F200C + 1152 + 657DEBCD29FF4FF4804F6BF41FC7864B + 11792 + 1 + 350 + 50 + 150 + 125 + reason + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + FE840D3A77474522919080362BEC4F14 + 1408 + 657DEBCD29FF4FF4804F6BF41FC7864B + 12048 + 1 + 260 + 290 + release_date_plan + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1536 + 657DEBCD29FF4FF4804F6BF41FC7864B + 11920 + 1 + 150 + 290 + released_date + + + 0 + 80 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 384 + 657DEBCD29FF4FF4804F6BF41FC7864B + 0 + 260 + 10 + state + + + + + + + + + + owned_by_id + C3317E65105D44C88C1603FB919146BC + + + + + + + + release_date + C3317E65105D44C88C1603FB919146BC + + + + + + + + state + C3317E65105D44C88C1603FB919146BC + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/PE_Waiver.xml b/Imports/2-Post/PLM/Import/Form/PE_Waiver.xml similarity index 97% rename from Imports/PLM/Import/Form/PE_Waiver.xml rename to Imports/2-Post/PLM/Import/Form/PE_Waiver.xml index bd2bccb..3673450 100644 --- a/Imports/PLM/Import/Form/PE_Waiver.xml +++ b/Imports/2-Post/PLM/Import/Form/PE_Waiver.xml @@ -1,316 +1,316 @@ - - - 0 - 399 - - 759 - PE_Waiver - - - #FFFFFF - 128 - FA69F063A64141EA9BF7F147B36F6B52 - - - 0 - 120 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 5DA2079DB7CE472794649254A504A191 - 1024 - 5D691F66DBB44A329280D388F8D029FB - 4 - 1 - 150 - 200 - affected_part - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9B25D47BF8CF4766943F2C7911F9242A - 512 - 5D691F66DBB44A329280D388F8D029FB - 3 - 1 - 350 - 50 - 150 - 50 - description - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - B88B37DFDDD1446C9DFF2856BCCC1392 - 768 - 5D691F66DBB44A329280D388F8D029FB - 5 - 1 - 150 - 245 - effective_from - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 434866843E3646148C5782F340B6A52E - 896 - 5D691F66DBB44A329280D388F8D029FB - 6 - 1 - 260 - 245 - effective_to - - - px - html - -]]> - 0 - 1 - 0 - 128 - 5D691F66DBB44A329280D388F8D029FB - 0 - 0 - 0 - item_info - - - 0 - 90 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - CF59C00D64E84ABA82F62BC19839D1B2 - 256 - 5D691F66DBB44A329280D388F8D029FB - 1 - 1 - 150 - 10 - item_number - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 69848F094AC8456CA4ABEED1E3C199EF - 1280 - 5D691F66DBB44A329280D388F8D029FB - 3072 - 1 - 305 - 200 - location - - - 0 - 120 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 640 - 5D691F66DBB44A329280D388F8D029FB - 2 - 1 - 360 - 10 - owned_by_id - - - 0 - px - textarea - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 58BFC21FCB8C4EC98DDAC4C10EF737AC - 1152 - 5D691F66DBB44A329280D388F8D029FB - 3072 - 1 - 350 - 50 - 150 - 125 - reason - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - C8C793E2B8314DDF9D71F60E54016DB9 - 1408 - 5D691F66DBB44A329280D388F8D029FB - 3328 - 1 - 260 - 290 - release_date_plan - - - 0 - 70 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1536 - 5D691F66DBB44A329280D388F8D029FB - 3200 - 1 - 150 - 290 - released_date - - - 0 - 80 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 384 - 5D691F66DBB44A329280D388F8D029FB - 0 - 260 - 10 - state - - - - - - - - - - owned_by_id - CD84AA40803F444CBF06843D26F6EC6A - - - - - - - - release_date - CD84AA40803F444CBF06843D26F6EC6A - - - - - - - - state - CD84AA40803F444CBF06843D26F6EC6A - - - + + + 0 + 399 + + 759 + PE_Waiver + + + #FFFFFF + 128 + FA69F063A64141EA9BF7F147B36F6B52 + + + 0 + 120 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 5DA2079DB7CE472794649254A504A191 + 1024 + 5D691F66DBB44A329280D388F8D029FB + 4 + 1 + 150 + 200 + affected_part + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9B25D47BF8CF4766943F2C7911F9242A + 512 + 5D691F66DBB44A329280D388F8D029FB + 3 + 1 + 350 + 50 + 150 + 50 + description + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + B88B37DFDDD1446C9DFF2856BCCC1392 + 768 + 5D691F66DBB44A329280D388F8D029FB + 5 + 1 + 150 + 245 + effective_from + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 434866843E3646148C5782F340B6A52E + 896 + 5D691F66DBB44A329280D388F8D029FB + 6 + 1 + 260 + 245 + effective_to + + + px + html + +]]> + 0 + 1 + 0 + 128 + 5D691F66DBB44A329280D388F8D029FB + 0 + 0 + 0 + item_info + + + 0 + 90 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + CF59C00D64E84ABA82F62BC19839D1B2 + 256 + 5D691F66DBB44A329280D388F8D029FB + 1 + 1 + 150 + 10 + item_number + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 69848F094AC8456CA4ABEED1E3C199EF + 1280 + 5D691F66DBB44A329280D388F8D029FB + 3072 + 1 + 305 + 200 + location + + + 0 + 120 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 640 + 5D691F66DBB44A329280D388F8D029FB + 2 + 1 + 360 + 10 + owned_by_id + + + 0 + px + textarea + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 58BFC21FCB8C4EC98DDAC4C10EF737AC + 1152 + 5D691F66DBB44A329280D388F8D029FB + 3072 + 1 + 350 + 50 + 150 + 125 + reason + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + C8C793E2B8314DDF9D71F60E54016DB9 + 1408 + 5D691F66DBB44A329280D388F8D029FB + 3328 + 1 + 260 + 290 + release_date_plan + + + 0 + 70 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1536 + 5D691F66DBB44A329280D388F8D029FB + 3200 + 1 + 150 + 290 + released_date + + + 0 + 80 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 384 + 5D691F66DBB44A329280D388F8D029FB + 0 + 260 + 10 + state + + + + + + + + + + owned_by_id + CD84AA40803F444CBF06843D26F6EC6A + + + + + + + + release_date + CD84AA40803F444CBF06843D26F6EC6A + + + + + + + + state + CD84AA40803F444CBF06843D26F6EC6A + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Form/Part Alternate.xml b/Imports/2-Post/PLM/Import/Form/Part Alternate.xml similarity index 100% rename from Imports/PLM/Import/Form/Part Alternate.xml rename to Imports/2-Post/PLM/Import/Form/Part Alternate.xml diff --git a/Imports/PLM/Import/Form/Part.xml b/Imports/2-Post/PLM/Import/Form/Part.xml similarity index 97% rename from Imports/PLM/Import/Form/Part.xml rename to Imports/2-Post/PLM/Import/Form/Part.xml index bd91226..d64c1ef 100644 --- a/Imports/PLM/Import/Form/Part.xml +++ b/Imports/2-Post/PLM/Import/Form/Part.xml @@ -1,658 +1,658 @@ - - - 0 - 399 - - 784 - Part - - - #ffffff - 128 - CAF99D0A8E6E44E9A681C38015FACE91 - - - 0 - px - text - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 9022D2B4E7F847628EF0EAAF29CEDA2F - 5120 - 83907DEF8B3044A08BDCBB77B1C0517E - 95384 - 1 - 400 - 250 - cage_code - - - 0 - {$this field rule} img { max-width: 150px; max-height: 150px; } - 114 - px - class structure - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 256 - 83907DEF8B3044A08BDCBB77B1C0517E - 0 - 200 - 210 - classification - - - onchange - - - Show Class-Specific Fields - - - 128 - B04912C5135A43A19CD59589626DF5AF - - - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - - - - - - -Properties - - - - - - -]]> - 0 - 0 - 0 - 384 - 83907DEF8B3044A08BDCBB77B1C0517E - 1 - 200 - 290 - classSpecificFields_border - - - 0 - px - item - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 9D67000D1FCE4D10A6D44509418820D9 - 4864 - 83907DEF8B3044A08BDCBB77B1C0517E - 95128 - 1 - 400 - 210 - cn - - - 0 - {$this field rule} input -{ - font-weight:bold; - width: 90px; -} - 86 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - top - 0 - 074E4827E5044F8BA6B6FD546E21D271 - 512 - 83907DEF8B3044A08BDCBB77B1C0517E - 0 - 449 - 89 - cost - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 0 - 1 - 0 - 640 - 83907DEF8B3044A08BDCBB77B1C0517E - 1 - 480 - 90 - cost_basis - - - 0 - px - textarea - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 04EB70FA8BF04F2FBA12095F56F011A2 - 768 - 83907DEF8B3044A08BDCBB77B1C0517E - 60 - 1 - 328 - 54 - 200 - 130 - description - - - 0 - 114 - px - date - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 896 - 83907DEF8B3044A08BDCBB77B1C0517E - 0 - 570 - 89 - effective_date - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 4608 - 83907DEF8B3044A08BDCBB77B1C0517E - 1 - 360 - 6 - generation_major_rev - - - 0 - 114 - px - checkbox - #000000 - arial, helvetica, sans-serif - 8pt - bold - 1 - 1 - - right - 0 - 668EB2233D4341329EE97449B0267E3A - 4352 - 83907DEF8B3044A08BDCBB77B1C0517E - 900 - 0 - 15 - 290 - has_change_pending - - - 0 - px - html - #000000 - arial, helvetica, sans-serif - 8pt - bold - -]]> - 0 - 1 - top - 0 - 1024 - 83907DEF8B3044A08BDCBB77B1C0517E - 1 - 1 - 1 - item_info - - - 0 - 114 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 879EAA0579BD4120BF3DF324ABA7A341 - 1920 - 83907DEF8B3044A08BDCBB77B1C0517E - 5 - 1 - 200 - 10 - item_number - - - 0 - {$this field rule} input -{ - width: 20px; -} - - 48 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - ]]> - 1 - 1 - - top - 0 - 1152 - 83907DEF8B3044A08BDCBB77B1C0517E - 0 - 330 - 10 - major_rev - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - F95E298391874E21A825EF5B0238B1C7 - 1280 - 83907DEF8B3044A08BDCBB77B1C0517E - 50 - 1 - 379 - 89 - make_buy - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1408 - 83907DEF8B3044A08BDCBB77B1C0517E - 30 - 1 - 570 - 50 - managed_by_id - - - 0 - 323 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6DE61A89F16848049DF8967B51FD7F58 - 1664 - 83907DEF8B3044A08BDCBB77B1C0517E - 20 - 1 - 200 - 50 - name - - - 0 - 114 - px - item - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 1792 - 83907DEF8B3044A08BDCBB77B1C0517E - 10 - 1 - 570 - 10 - owned_by_id - - - 0 - px - date - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4DFD2ED285794D5198ECA25CEAE7BE25 - 4992 - 83907DEF8B3044A08BDCBB77B1C0517E - 95256 - 1 - 200 - 250 - release_date_plan - - - 0 - - 91 - px - text - #000000 - arial, helvetica, sans-serif - 8pt - bold - 38 - 1 - 1 - - top - 0 - 2176 - 83907DEF8B3044A08BDCBB77B1C0517E - 0 - 160 - 390 - 10 - state - - - 0 - px - image - #000000 - arial, helvetica, sans-serif - 8pt - bold - 150 - 0 - 1 - top - 0 - 29CCA13C125B47A3B4723101F5443B00 - 4480 - 83907DEF8B3044A08BDCBB77B1C0517E - 1 - 150 - 570 - 130 - thumbnail - - - 0 - px - dropdown - #000000 - arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 6EF283BEF0894DD1BE556E74F7A15AF0 - 2304 - 83907DEF8B3044A08BDCBB77B1C0517E - 40 - 1 - 330 - 90 - unit - - - 0 - px - xclass - #000000 - tahoma, arial, helvetica, sans-serif - 8pt - bold - 0 - 1 - - top - 0 - 4736 - 83907DEF8B3044A08BDCBB77B1C0517E - 1 - 796 - 9 - xclass - - - - - onformpopulated - - - Fill Form Fields - - - 128 - CAF99D0A8E6E44E9A681C38015FACE91 - - - onformpopulated - - - Show Goal Basis - - - 256 - CAF99D0A8E6E44E9A681C38015FACE91 - - - onformpopulated - - - Show Class-Specific Fields - - - 512 - CAF99D0A8E6E44E9A681C38015FACE91 - - - onformpopulated - - - PE_ShowCreateNewRevButton - - - 768 - CAF99D0A8E6E44E9A681C38015FACE91 - - - - - - - - classification - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - effective_date - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - major_rev - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - managed_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - owned_by_id - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - - state - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - + + + 0 + 399 + + 784 + Part + + + #ffffff + 128 + CAF99D0A8E6E44E9A681C38015FACE91 + + + 0 + px + text + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 9022D2B4E7F847628EF0EAAF29CEDA2F + 5120 + 83907DEF8B3044A08BDCBB77B1C0517E + 95384 + 1 + 400 + 250 + cage_code + + + 0 + {$this field rule} img { max-width: 150px; max-height: 150px; } + 114 + px + class structure + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 256 + 83907DEF8B3044A08BDCBB77B1C0517E + 0 + 200 + 210 + classification + + + onchange + + + Show Class-Specific Fields + + + 128 + B04912C5135A43A19CD59589626DF5AF + + + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + + + + + + +Properties + + + + + + +]]> + 0 + 0 + 0 + 384 + 83907DEF8B3044A08BDCBB77B1C0517E + 1 + 200 + 290 + classSpecificFields_border + + + 0 + px + item + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 9D67000D1FCE4D10A6D44509418820D9 + 4864 + 83907DEF8B3044A08BDCBB77B1C0517E + 95128 + 1 + 400 + 210 + cn + + + 0 + {$this field rule} input +{ + font-weight:bold; + width: 90px; +} + 86 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + top + 0 + 074E4827E5044F8BA6B6FD546E21D271 + 512 + 83907DEF8B3044A08BDCBB77B1C0517E + 0 + 449 + 89 + cost + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 0 + 1 + 0 + 640 + 83907DEF8B3044A08BDCBB77B1C0517E + 1 + 480 + 90 + cost_basis + + + 0 + px + textarea + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 04EB70FA8BF04F2FBA12095F56F011A2 + 768 + 83907DEF8B3044A08BDCBB77B1C0517E + 60 + 1 + 328 + 54 + 200 + 130 + description + + + 0 + 114 + px + date + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 896 + 83907DEF8B3044A08BDCBB77B1C0517E + 0 + 570 + 89 + effective_date + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 4608 + 83907DEF8B3044A08BDCBB77B1C0517E + 1 + 360 + 6 + generation_major_rev + + + 0 + 114 + px + checkbox + #000000 + arial, helvetica, sans-serif + 8pt + bold + 1 + 1 + + right + 0 + 668EB2233D4341329EE97449B0267E3A + 4352 + 83907DEF8B3044A08BDCBB77B1C0517E + 900 + 0 + 15 + 290 + has_change_pending + + + 0 + px + html + #000000 + arial, helvetica, sans-serif + 8pt + bold + +]]> + 0 + 1 + top + 0 + 1024 + 83907DEF8B3044A08BDCBB77B1C0517E + 1 + 1 + 1 + item_info + + + 0 + 114 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 879EAA0579BD4120BF3DF324ABA7A341 + 1920 + 83907DEF8B3044A08BDCBB77B1C0517E + 5 + 1 + 200 + 10 + item_number + + + 0 + {$this field rule} input +{ + width: 20px; +} + + 48 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + ]]> + 1 + 1 + + top + 0 + 1152 + 83907DEF8B3044A08BDCBB77B1C0517E + 0 + 330 + 10 + major_rev + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + F95E298391874E21A825EF5B0238B1C7 + 1280 + 83907DEF8B3044A08BDCBB77B1C0517E + 50 + 1 + 379 + 89 + make_buy + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1408 + 83907DEF8B3044A08BDCBB77B1C0517E + 30 + 1 + 570 + 50 + managed_by_id + + + 0 + 323 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6DE61A89F16848049DF8967B51FD7F58 + 1664 + 83907DEF8B3044A08BDCBB77B1C0517E + 20 + 1 + 200 + 50 + name + + + 0 + 114 + px + item + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 1792 + 83907DEF8B3044A08BDCBB77B1C0517E + 10 + 1 + 570 + 10 + owned_by_id + + + 0 + px + date + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4DFD2ED285794D5198ECA25CEAE7BE25 + 4992 + 83907DEF8B3044A08BDCBB77B1C0517E + 95256 + 1 + 200 + 250 + release_date_plan + + + 0 + + 91 + px + text + #000000 + arial, helvetica, sans-serif + 8pt + bold + 38 + 1 + 1 + + top + 0 + 2176 + 83907DEF8B3044A08BDCBB77B1C0517E + 0 + 160 + 390 + 10 + state + + + 0 + px + image + #000000 + arial, helvetica, sans-serif + 8pt + bold + 150 + 0 + 1 + top + 0 + 29CCA13C125B47A3B4723101F5443B00 + 4480 + 83907DEF8B3044A08BDCBB77B1C0517E + 1 + 150 + 570 + 130 + thumbnail + + + 0 + px + dropdown + #000000 + arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 6EF283BEF0894DD1BE556E74F7A15AF0 + 2304 + 83907DEF8B3044A08BDCBB77B1C0517E + 40 + 1 + 330 + 90 + unit + + + 0 + px + xclass + #000000 + tahoma, arial, helvetica, sans-serif + 8pt + bold + 0 + 1 + + top + 0 + 4736 + 83907DEF8B3044A08BDCBB77B1C0517E + 1 + 796 + 9 + xclass + + + + + onformpopulated + + + Fill Form Fields + + + 128 + CAF99D0A8E6E44E9A681C38015FACE91 + + + onformpopulated + + + Show Goal Basis + + + 256 + CAF99D0A8E6E44E9A681C38015FACE91 + + + onformpopulated + + + Show Class-Specific Fields + + + 512 + CAF99D0A8E6E44E9A681C38015FACE91 + + + onformpopulated + + + PE_ShowCreateNewRevButton + + + 768 + CAF99D0A8E6E44E9A681C38015FACE91 + + + + + + + + classification + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + effective_date + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + major_rev + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + managed_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + owned_by_id + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + + state + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Identity/Audit Release Analyst.xml b/Imports/2-Post/PLM/Import/Identity/Audit Release Analyst.xml similarity index 96% rename from Imports/PLM/Import/Identity/Audit Release Analyst.xml rename to Imports/2-Post/PLM/Import/Identity/Audit Release Analyst.xml index cd7c6d0..68f9f6e 100644 --- a/Imports/PLM/Import/Identity/Audit Release Analyst.xml +++ b/Imports/2-Post/PLM/Import/Identity/Audit Release Analyst.xml @@ -1,6 +1,6 @@ - - - 0 - Audit Release Analyst - + + + 0 + Audit Release Analyst + \ No newline at end of file diff --git a/Imports/PLM/Import/Identity/CM.xml b/Imports/2-Post/PLM/Import/Identity/CM.xml similarity index 98% rename from Imports/PLM/Import/Identity/CM.xml rename to Imports/2-Post/PLM/Import/Identity/CM.xml index 9061e64..40b4d9d 100644 --- a/Imports/PLM/Import/Identity/CM.xml +++ b/Imports/2-Post/PLM/Import/Identity/CM.xml @@ -1,22 +1,22 @@ - - - Configuration Management group - 0 - CM - - - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 512 - F6624E9AE5504958A84E4B6A5831298B - - - 81CFAC7D108C43CDBD5A1C5112020E3F - 384 - F6624E9AE5504958A84E4B6A5831298B - - - B27017B16ED44274A1BED8D044E86BEA - 256 - F6624E9AE5504958A84E4B6A5831298B - + + + Configuration Management group + 0 + CM + + + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 512 + F6624E9AE5504958A84E4B6A5831298B + + + 81CFAC7D108C43CDBD5A1C5112020E3F + 384 + F6624E9AE5504958A84E4B6A5831298B + + + B27017B16ED44274A1BED8D044E86BEA + 256 + F6624E9AE5504958A84E4B6A5831298B + \ No newline at end of file diff --git a/Imports/PLM/Import/Identity/CM2 Incident Manager.xml b/Imports/2-Post/PLM/Import/Identity/CM2 Incident Manager.xml similarity index 96% rename from Imports/PLM/Import/Identity/CM2 Incident Manager.xml rename to Imports/2-Post/PLM/Import/Identity/CM2 Incident Manager.xml index 6ddfbc7..41c6db3 100644 --- a/Imports/PLM/Import/Identity/CM2 Incident Manager.xml +++ b/Imports/2-Post/PLM/Import/Identity/CM2 Incident Manager.xml @@ -1,6 +1,6 @@ - - - 0 - CM2 Incident Manager - + + + 0 + CM2 Incident Manager + \ No newline at end of file diff --git a/Imports/PLM/Import/Identity/Change Implementation Leader.xml b/Imports/2-Post/PLM/Import/Identity/Change Implementation Leader.xml similarity index 97% rename from Imports/PLM/Import/Identity/Change Implementation Leader.xml rename to Imports/2-Post/PLM/Import/Identity/Change Implementation Leader.xml index e750f7f..e1a950b 100644 --- a/Imports/PLM/Import/Identity/Change Implementation Leader.xml +++ b/Imports/2-Post/PLM/Import/Identity/Change Implementation Leader.xml @@ -1,6 +1,6 @@ - - - 0 - Change Implementation Leader - + + + 0 + Change Implementation Leader + \ No newline at end of file diff --git a/Imports/PLM/Import/Identity/Change Leader.xml b/Imports/2-Post/PLM/Import/Identity/Change Leader.xml similarity index 96% rename from Imports/PLM/Import/Identity/Change Leader.xml rename to Imports/2-Post/PLM/Import/Identity/Change Leader.xml index 3bf5b0f..8927f6e 100644 --- a/Imports/PLM/Import/Identity/Change Leader.xml +++ b/Imports/2-Post/PLM/Import/Identity/Change Leader.xml @@ -1,6 +1,6 @@ - - - 0 - Change Leader - + + + 0 + Change Leader + \ No newline at end of file diff --git a/Imports/PLM/Import/Identity/Manufacturing.xml b/Imports/2-Post/PLM/Import/Identity/Manufacturing.xml similarity index 100% rename from Imports/PLM/Import/Identity/Manufacturing.xml rename to Imports/2-Post/PLM/Import/Identity/Manufacturing.xml diff --git a/Imports/PLM/Import/ItemType/Affected Item.xml b/Imports/2-Post/PLM/Import/ItemType/Affected Item.xml similarity index 97% rename from Imports/PLM/Import/ItemType/Affected Item.xml rename to Imports/2-Post/PLM/Import/ItemType/Affected Item.xml index fd115b1..a6d3b23 100644 --- a/Imports/PLM/Import/ItemType/Affected Item.xml +++ b/Imports/2-Post/PLM/Import/ItemType/Affected Item.xml @@ -1,688 +1,688 @@ - - - 1 - 1 - ../images/AffectedItem.svg - 25 - 1 - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - AFFECTED_ITEM - 1 - 0 - 0 - - Affected Items - ../images/AffectedItem.svg - ../images/AffectedItem.svg - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - Affected Item - - - left - 70 - 5C72C69E1762447FAB17F8AD2B3F5DFC - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - BFAAB0F6838D4F80BF12CB328FF5B097 - 64 - 0 - action - - - onchangecell - - - PE_AffectedItemGridHandler - - - 128 - 0B5961440D414B70A0D576593A0A98CB - - - - - left - 100 - 198BF0BCCC364EE29F56434D803D5F1E - item - 0 - 0 - 1 - 0 - 0 - 0 - fixed - - 0 - 0 - 384 - BFAAB0F6838D4F80BF12CB328FF5B097 - 32 - 0 - affected_id - - - onchangecell - - - checkAffectedType - - - 128 - E673F552428B49E2A36944803C2D943C - - - onchangecell - - - restrictAffectedType - - - 512 - E673F552428B49E2A36944803C2D943C - - - oneditstart - - - PE_AffectedItemGridHandler - - - 256 - E673F552428B49E2A36944803C2D943C - - - - - center - 70 - - - affected_id - BFAAB0F6838D4F80BF12CB328FF5B097 - - - foreign - - - major_rev - - - Change Controlled Item - - - - - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 512 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - affected_rev - - - left - 40 - federated - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 128 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - affected_type - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date - 0 - 0 - 3200 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - effective_date - - - left - 70 - 22B85C282B034719BFCA625D143AEDDB - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 3072 - BFAAB0F6838D4F80BF12CB328FF5B097 - 256 - 0 - grouping - - - left - 90 - 4F0EABD6883348A5BF3CD4C6AAA2873D - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1024 - BFAAB0F6838D4F80BF12CB328FF5B097 - 64 - 0 - in_build_disposition - - - oneditstart - - - PE_AffectedItemGridHandler - - - 128 - C9752E16B19E4A029BB90917C74E1BCF - - - - - left - 90 - 4F0EABD6883348A5BF3CD4C6AAA2873D - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1152 - BFAAB0F6838D4F80BF12CB328FF5B097 - 64 - 0 - in_service_disposition - - - oneditstart - - - PE_AffectedItemGridHandler - - - 128 - 0EF6B03DCBDD4E7697AC452CA40E7F11 - - - - - center - 90 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 640 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - interchangeable - - - oneditstart - - - PE_AffectedItemGridHandler - - - 128 - 309CB6C09A3542F49E77BC5E13C20C16 - - - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - is_condition - - - left - 50AB0A69063D4AFBA7E4CADFDD444C8A - list - 1 - 1 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 257 - BFAAB0F6838D4F80BF12CB328FF5B097 - 64 - 0 - item_action - - - left - 100 - 198BF0BCCC364EE29F56434D803D5F1E - item - 0 - 0 - 1 - 0 - 0 - 0 - fixed - - 0 - 0 - 768 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - new_item_id - - - onchangecell - - - checkAffectedType - - - 128 - B0C0850295AF4552BE828B932A0A4D8E - - - onchangecell - - - PE_AffectedItemGridHandler - - - 256 - B0C0850295AF4552BE828B932A0A4D8E - - - onchangecell - - - restrictAffectedType - - - 512 - B0C0850295AF4552BE828B932A0A4D8E - - - - - center - 75 - - - new_item_id - BFAAB0F6838D4F80BF12CB328FF5B097 - - - foreign - - - major_rev - - - Change Controlled Item - - - - - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 896 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - new_item_rev - - - left - - - new_item_id - BFAAB0F6838D4F80BF12CB328FF5B097 - - - foreign - - - state - - - Change Controlled Item - - - - - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3712 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - new_item_state - - - left - - - new_item_id - BFAAB0F6838D4F80BF12CB328FF5B097 - - - foreign - - - release_date - - - Change Controlled Item - - - - - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3584 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - new_release_date - - - left - 471932C33B604C3099070F4106EE5024 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 384 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - relationshiptype - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date - 0 - 0 - 3456 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - release_date - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date - 0 - 0 - 3328 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - release_date_plan - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1280 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - was_condition - - - js - B1364B03CD9A4E89A1D1D9B674F5CEEB - - - World - - - 0 - 128 - BFAAB0F6838D4F80BF12CB328FF5B097 - default - - - version_1 - 0 - - - PE_ChangeItemFloatNewItem - - - onAfterAdd - 1 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - CM2_SetPlanRelEffDates - - - onAfterAdd - 3 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterUpdate - 1 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - PE_ChangeItemFloatNewItem - - - onAfterUpdate - 2 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - CM2_SetPlanRelEffDates - - - onAfterUpdate - 3 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - checkAffectedTypeOnServer - - - onBeforeAdd - 1 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - checkAffectedTypeOnServer - - - onBeforeUpdate - 1 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - version_1 - 0 - - - PE_update_has_change_pending - - - onBeforeUpdate - 2 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - 2F3B75E17C4E4F2D9599579A965BFA64 - 128 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - 1 - - - World - - - 128 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - 1 - 1712BEEB88234763B5E431015F9CFD2D - 128 - BFAAB0F6838D4F80BF12CB328FF5B097 - - - + + + 1 + 1 + ../images/AffectedItem.svg + 25 + 1 + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + AFFECTED_ITEM + 1 + 0 + 0 + + Affected Items + ../images/AffectedItem.svg + ../images/AffectedItem.svg + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + Affected Item + + + left + 70 + 5C72C69E1762447FAB17F8AD2B3F5DFC + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + BFAAB0F6838D4F80BF12CB328FF5B097 + 64 + 0 + action + + + onchangecell + + + PE_AffectedItemGridHandler + + + 128 + 0B5961440D414B70A0D576593A0A98CB + + + + + left + 100 + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 1 + 0 + 0 + 0 + fixed + + 0 + 0 + 384 + BFAAB0F6838D4F80BF12CB328FF5B097 + 32 + 0 + affected_id + + + onchangecell + + + checkAffectedType + + + 128 + E673F552428B49E2A36944803C2D943C + + + onchangecell + + + restrictAffectedType + + + 512 + E673F552428B49E2A36944803C2D943C + + + oneditstart + + + PE_AffectedItemGridHandler + + + 256 + E673F552428B49E2A36944803C2D943C + + + + + center + 70 + + + affected_id + BFAAB0F6838D4F80BF12CB328FF5B097 + + + foreign + + + major_rev + + + Change Controlled Item + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 512 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + affected_rev + + + left + 40 + federated + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 128 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + affected_type + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date + 0 + 0 + 3200 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + effective_date + + + left + 70 + 22B85C282B034719BFCA625D143AEDDB + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3072 + BFAAB0F6838D4F80BF12CB328FF5B097 + 256 + 0 + grouping + + + left + 90 + 4F0EABD6883348A5BF3CD4C6AAA2873D + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1024 + BFAAB0F6838D4F80BF12CB328FF5B097 + 64 + 0 + in_build_disposition + + + oneditstart + + + PE_AffectedItemGridHandler + + + 128 + C9752E16B19E4A029BB90917C74E1BCF + + + + + left + 90 + 4F0EABD6883348A5BF3CD4C6AAA2873D + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1152 + BFAAB0F6838D4F80BF12CB328FF5B097 + 64 + 0 + in_service_disposition + + + oneditstart + + + PE_AffectedItemGridHandler + + + 128 + 0EF6B03DCBDD4E7697AC452CA40E7F11 + + + + + center + 90 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 640 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + interchangeable + + + oneditstart + + + PE_AffectedItemGridHandler + + + 128 + 309CB6C09A3542F49E77BC5E13C20C16 + + + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + is_condition + + + left + 50AB0A69063D4AFBA7E4CADFDD444C8A + list + 1 + 1 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 257 + BFAAB0F6838D4F80BF12CB328FF5B097 + 64 + 0 + item_action + + + left + 100 + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 1 + 0 + 0 + 0 + fixed + + 0 + 0 + 768 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + new_item_id + + + onchangecell + + + checkAffectedType + + + 128 + B0C0850295AF4552BE828B932A0A4D8E + + + onchangecell + + + PE_AffectedItemGridHandler + + + 256 + B0C0850295AF4552BE828B932A0A4D8E + + + onchangecell + + + restrictAffectedType + + + 512 + B0C0850295AF4552BE828B932A0A4D8E + + + + + center + 75 + + + new_item_id + BFAAB0F6838D4F80BF12CB328FF5B097 + + + foreign + + + major_rev + + + Change Controlled Item + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 896 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + new_item_rev + + + left + + + new_item_id + BFAAB0F6838D4F80BF12CB328FF5B097 + + + foreign + + + state + + + Change Controlled Item + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3712 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + new_item_state + + + left + + + new_item_id + BFAAB0F6838D4F80BF12CB328FF5B097 + + + foreign + + + release_date + + + Change Controlled Item + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + new_release_date + + + left + 471932C33B604C3099070F4106EE5024 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 384 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + relationshiptype + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date + 0 + 0 + 3456 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + release_date + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date + 0 + 0 + 3328 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + release_date_plan + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1280 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + was_condition + + + js + B1364B03CD9A4E89A1D1D9B674F5CEEB + + + World + + + 0 + 128 + BFAAB0F6838D4F80BF12CB328FF5B097 + default + + + version_1 + 0 + + + PE_ChangeItemFloatNewItem + + + onAfterAdd + 1 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + CM2_SetPlanRelEffDates + + + onAfterAdd + 3 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterUpdate + 1 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + PE_ChangeItemFloatNewItem + + + onAfterUpdate + 2 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + CM2_SetPlanRelEffDates + + + onAfterUpdate + 3 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + checkAffectedTypeOnServer + + + onBeforeAdd + 1 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + checkAffectedTypeOnServer + + + onBeforeUpdate + 1 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + version_1 + 0 + + + PE_update_has_change_pending + + + onBeforeUpdate + 2 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + 2F3B75E17C4E4F2D9599579A965BFA64 + 128 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + 1 + + + World + + + 128 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + 1 + 1712BEEB88234763B5E431015F9CFD2D + 128 + BFAAB0F6838D4F80BF12CB328FF5B097 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CAD.xml b/Imports/2-Post/PLM/Import/ItemType/CAD.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CAD.xml rename to Imports/2-Post/PLM/Import/ItemType/CAD.xml index 348af76..01bf040 100644 --- a/Imports/PLM/Import/ItemType/CAD.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CAD.xml @@ -1,999 +1,999 @@ - - - 1 - 0 - ]]> - ../images/CAD.svg - 50 - 1 - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - CAD - 0 - 0 - 1 - - CAD Dataset - ../images/CAD.svg - 1 - ../images/CAD.svg - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - CAD - - - -1 - -1 - 128 - CCF205347C814DD1AF056875E0A880AC - 1 - - - Board - Add - this - 128 - B8F389A5DCC441C7AACB56D22B2DA31E - - - 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 - viewable_file - 128 - 7EE1684FF3BD4B77AB8FF4C073C8801B - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - 94BB5EBE9CE54D5A88F969ADE64EE440 - view_file - 128 - 7EE1684FF3BD4B77AB8FF4C073C8801B - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 - CADFiles(attached_file) - 256 - 7EE1684FF3BD4B77AB8FF4C073C8801B - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - - - js - - - discPanelOff - Form of ${ItemType:label} ${Item:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - AD3D158EC3B341179D49B20ACE5E04DD - - - 128 - B8F389A5DCC441C7AACB56D22B2DA31E - - - - - js - 27742230F8244449ABF80F6E4AADA3E5 - 128 - CCF205347C814DD1AF056875E0A880AC - - - left - 150 - 11A953CA5A5E4BCD8EC9758C7E4B6E92 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - CCF205347C814DD1AF056875E0A880AC - 64 - 0 - authoring_tool - - - left - 100 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1536 - CCF205347C814DD1AF056875E0A880AC - 32 - 0 - authoring_tool_version - - - left - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 204384 - CCF205347C814DD1AF056875E0A880AC - 5 - 0 - cage_code - - - left - 85F86794FACF42599F07019F7BEA1D46 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 103704 - CCF205347C814DD1AF056875E0A880AC - 0 - cn - - - left - 250 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 896 - CCF205347C814DD1AF056875E0A880AC - 256 - 0 - description - - - left - 100 - string - 1 - 1 - 1 - 0 - 0 - 0 - - 0 - 0 - 1920 - CCF205347C814DD1AF056875E0A880AC - 256 - 0 - external_id - - - left - 100 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2176 - CCF205347C814DD1AF056875E0A880AC - 128 - 0 - external_owner - - - left - 100 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2048 - CCF205347C814DD1AF056875E0A880AC - 128 - 0 - external_type - - - left - CCF205347C814DD1AF056875E0A880AC - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 98712 - CCF205347C814DD1AF056875E0A880AC - 0 - from_template - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 95000 - CCF205347C814DD1AF056875E0A880AC - 0 - has_change_pending - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 98456 - CCF205347C814DD1AF056875E0A880AC - 0 - is_standard - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 98584 - CCF205347C814DD1AF056875E0A880AC - 0 - is_template - - - left - 120 - 8052A558B9084D41B9F11805E464F443 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1296 - CCF205347C814DD1AF056875E0A880AC - 0 - monolithic_model_file - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 640 - CCF205347C814DD1AF056875E0A880AC - 256 - 1 - name - - - left - 120 - 8052A558B9084D41B9F11805E464F443 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1152 - CCF205347C814DD1AF056875E0A880AC - 0 - native_file - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date - 0 - 0 - 204256 - CCF205347C814DD1AF056875E0A880AC - 0 - release_date_plan - - - left - 120 - 8052A558B9084D41B9F11805E464F443 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1312 - CCF205347C814DD1AF056875E0A880AC - 0 - shattered_model_file - - - left - 60 - image - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - CCF205347C814DD1AF056875E0A880AC - 0 - thumbnail - - - left - 8052A558B9084D41B9F11805E464F443 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 103576 - CCF205347C814DD1AF056875E0A880AC - 0 - view_file - - - left - 120 - 8052A558B9084D41B9F11805E464F443 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1280 - CCF205347C814DD1AF056875E0A880AC - 0 - viewable_file - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2688 - CCF205347C814DD1AF056875E0A880AC - 0 - x_max - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2304 - CCF205347C814DD1AF056875E0A880AC - 0 - x_min - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2816 - CCF205347C814DD1AF056875E0A880AC - 0 - y_max - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2432 - CCF205347C814DD1AF056875E0A880AC - 0 - y_min - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2944 - CCF205347C814DD1AF056875E0A880AC - 0 - z_max - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2560 - CCF205347C814DD1AF056875E0A880AC - 0 - z_min - - - js - 5F4F4A0D83BF49AEB96FEAA6412C8838 - - - World - - - 1 - 128 - CCF205347C814DD1AF056875E0A880AC - default - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterCopy - 384 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - CM2 GetCN - - - onAfterGet - 100257 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterVersion - 512 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - PE_AffectedItemFloat - - - onAfterVersion - 896 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - PE_clean_has_change_pending_prop - - - onBeforeAdd - 640 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeAdd - 100129 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - PE_clean_has_change_pending_prop - - - onBeforeUpdate - 768 - CCF205347C814DD1AF056875E0A880AC - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeUpdate - 100129 - CCF205347C814DD1AF056875E0A880AC - - - 83FB72FC3E4D42B8B51BCD7F4194E527 - 128 - CCF205347C814DD1AF056875E0A880AC - - - 2CAC9B41B8394D29B89C45C522703BC4 - 256 - CCF205347C814DD1AF056875E0A880AC - - - 39BE6AC491184B979EC03D1400F35F2F - 384 - CCF205347C814DD1AF056875E0A880AC - - - 9F34709DE5284912A65D826624FBB9F7 - 640 - CCF205347C814DD1AF056875E0A880AC - - - FD4D2BE9E2B14919BF1973842A556AFD - 768 - CCF205347C814DD1AF056875E0A880AC - - - 6532C86E40BB484F9914118692B3C50C - 128 - CCF205347C814DD1AF056875E0A880AC - - - - - World - - - 128 - CCF205347C814DD1AF056875E0A880AC - Documents - - - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - CCF205347C814DD1AF056875E0A880AC - - - 1 - EA3ED7E7391542D7A17AF2F42B5274ED - 128 - CCF205347C814DD1AF056875E0A880AC - - - - - - - left - 120 - string - 0 - 0 - 0 - 1 - 0 - 1 - 1 - - 1 - 0 - 0 - 384 - CCF205347C814DD1AF056875E0A880AC - 256 - 0 - item_number - - - left - 120 - string - 0 - 0 - 0 - 1 - 0 - 0 - - 0 - 0 - 768 - CCF205347C814DD1AF056875E0A880AC - 512 - 0 - classification - - - left - 45E899CD2859442982EB22BB2DF683E5 - item - 1 - 1 - 0 - 0 - 0 - 1 - float - - 0 - 1 - 102552 - CCF205347C814DD1AF056875E0A880AC - 0 - created_by_id - - - left - date - 1 - 1 - 0 - 0 - 0 - 1 - - short_date_time - 0 - 1 - 102424 - CCF205347C814DD1AF056875E0A880AC - 0 - created_on - - - left - 5EFB53D35BAE468B851CD388BEA46B30 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 103192 - CCF205347C814DD1AF056875E0A880AC - 0 - current_state - - - left - integer - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 1 - 97432 - CCF205347C814DD1AF056875E0A880AC - 0 - generation - - - left - 45E899CD2859442982EB22BB2DF683E5 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 103448 - CCF205347C814DD1AF056875E0A880AC - 0 - locked_by_id - - - center - 50 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 512 - CCF205347C814DD1AF056875E0A880AC - 8 - 0 - major_rev - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1792 - CCF205347C814DD1AF056875E0A880AC - 0 - managed_by_id - - - left - 45E899CD2859442982EB22BB2DF683E5 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 103064 - CCF205347C814DD1AF056875E0A880AC - 0 - modified_by_id - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 1 - 102936 - CCF205347C814DD1AF056875E0A880AC - 0 - modified_on - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1664 - CCF205347C814DD1AF056875E0A880AC - 0 - owned_by_id - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 1024 - CCF205347C814DD1AF056875E0A880AC - 32 - 0 - state - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 13200 - CCF205347C814DD1AF056875E0A880AC - 0 - superseded_date - - - + + + 1 + 0 + ]]> + ../images/CAD.svg + 50 + 1 + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + CAD + 0 + 0 + 1 + + CAD Dataset + ../images/CAD.svg + 1 + ../images/CAD.svg + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + CAD + + + -1 + -1 + 128 + CCF205347C814DD1AF056875E0A880AC + 1 + + + Board + Add + this + 128 + B8F389A5DCC441C7AACB56D22B2DA31E + + + 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 + viewable_file + 128 + 7EE1684FF3BD4B77AB8FF4C073C8801B + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + 94BB5EBE9CE54D5A88F969ADE64EE440 + view_file + 128 + 7EE1684FF3BD4B77AB8FF4C073C8801B + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 + CADFiles(attached_file) + 256 + 7EE1684FF3BD4B77AB8FF4C073C8801B + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + + + js + + + discPanelOff + Form of ${ItemType:label} ${Item:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + AD3D158EC3B341179D49B20ACE5E04DD + + + 128 + B8F389A5DCC441C7AACB56D22B2DA31E + + + + + js + 27742230F8244449ABF80F6E4AADA3E5 + 128 + CCF205347C814DD1AF056875E0A880AC + + + left + 150 + 11A953CA5A5E4BCD8EC9758C7E4B6E92 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + CCF205347C814DD1AF056875E0A880AC + 64 + 0 + authoring_tool + + + left + 100 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1536 + CCF205347C814DD1AF056875E0A880AC + 32 + 0 + authoring_tool_version + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 204384 + CCF205347C814DD1AF056875E0A880AC + 5 + 0 + cage_code + + + left + 85F86794FACF42599F07019F7BEA1D46 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 103704 + CCF205347C814DD1AF056875E0A880AC + 0 + cn + + + left + 250 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 896 + CCF205347C814DD1AF056875E0A880AC + 256 + 0 + description + + + left + 100 + string + 1 + 1 + 1 + 0 + 0 + 0 + + 0 + 0 + 1920 + CCF205347C814DD1AF056875E0A880AC + 256 + 0 + external_id + + + left + 100 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2176 + CCF205347C814DD1AF056875E0A880AC + 128 + 0 + external_owner + + + left + 100 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2048 + CCF205347C814DD1AF056875E0A880AC + 128 + 0 + external_type + + + left + CCF205347C814DD1AF056875E0A880AC + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 98712 + CCF205347C814DD1AF056875E0A880AC + 0 + from_template + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 95000 + CCF205347C814DD1AF056875E0A880AC + 0 + has_change_pending + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 98456 + CCF205347C814DD1AF056875E0A880AC + 0 + is_standard + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 98584 + CCF205347C814DD1AF056875E0A880AC + 0 + is_template + + + left + 120 + 8052A558B9084D41B9F11805E464F443 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1296 + CCF205347C814DD1AF056875E0A880AC + 0 + monolithic_model_file + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 640 + CCF205347C814DD1AF056875E0A880AC + 256 + 1 + name + + + left + 120 + 8052A558B9084D41B9F11805E464F443 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1152 + CCF205347C814DD1AF056875E0A880AC + 0 + native_file + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date + 0 + 0 + 204256 + CCF205347C814DD1AF056875E0A880AC + 0 + release_date_plan + + + left + 120 + 8052A558B9084D41B9F11805E464F443 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1312 + CCF205347C814DD1AF056875E0A880AC + 0 + shattered_model_file + + + left + 60 + image + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + CCF205347C814DD1AF056875E0A880AC + 0 + thumbnail + + + left + 8052A558B9084D41B9F11805E464F443 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 103576 + CCF205347C814DD1AF056875E0A880AC + 0 + view_file + + + left + 120 + 8052A558B9084D41B9F11805E464F443 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1280 + CCF205347C814DD1AF056875E0A880AC + 0 + viewable_file + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2688 + CCF205347C814DD1AF056875E0A880AC + 0 + x_max + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2304 + CCF205347C814DD1AF056875E0A880AC + 0 + x_min + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2816 + CCF205347C814DD1AF056875E0A880AC + 0 + y_max + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2432 + CCF205347C814DD1AF056875E0A880AC + 0 + y_min + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2944 + CCF205347C814DD1AF056875E0A880AC + 0 + z_max + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2560 + CCF205347C814DD1AF056875E0A880AC + 0 + z_min + + + js + 5F4F4A0D83BF49AEB96FEAA6412C8838 + + + World + + + 1 + 128 + CCF205347C814DD1AF056875E0A880AC + default + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterCopy + 384 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + CM2 GetCN + + + onAfterGet + 100257 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterVersion + 512 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + PE_AffectedItemFloat + + + onAfterVersion + 896 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + PE_clean_has_change_pending_prop + + + onBeforeAdd + 640 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeAdd + 100129 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + PE_clean_has_change_pending_prop + + + onBeforeUpdate + 768 + CCF205347C814DD1AF056875E0A880AC + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeUpdate + 100129 + CCF205347C814DD1AF056875E0A880AC + + + 83FB72FC3E4D42B8B51BCD7F4194E527 + 128 + CCF205347C814DD1AF056875E0A880AC + + + 2CAC9B41B8394D29B89C45C522703BC4 + 256 + CCF205347C814DD1AF056875E0A880AC + + + 39BE6AC491184B979EC03D1400F35F2F + 384 + CCF205347C814DD1AF056875E0A880AC + + + 9F34709DE5284912A65D826624FBB9F7 + 640 + CCF205347C814DD1AF056875E0A880AC + + + FD4D2BE9E2B14919BF1973842A556AFD + 768 + CCF205347C814DD1AF056875E0A880AC + + + 6532C86E40BB484F9914118692B3C50C + 128 + CCF205347C814DD1AF056875E0A880AC + + + + + World + + + 128 + CCF205347C814DD1AF056875E0A880AC + Documents + + + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + CCF205347C814DD1AF056875E0A880AC + + + 1 + EA3ED7E7391542D7A17AF2F42B5274ED + 128 + CCF205347C814DD1AF056875E0A880AC + + + + + + + left + 120 + string + 0 + 0 + 0 + 1 + 0 + 1 + 1 + + 1 + 0 + 0 + 384 + CCF205347C814DD1AF056875E0A880AC + 256 + 0 + item_number + + + left + 120 + string + 0 + 0 + 0 + 1 + 0 + 0 + + 0 + 0 + 768 + CCF205347C814DD1AF056875E0A880AC + 512 + 0 + classification + + + left + 45E899CD2859442982EB22BB2DF683E5 + item + 1 + 1 + 0 + 0 + 0 + 1 + float + + 0 + 1 + 102552 + CCF205347C814DD1AF056875E0A880AC + 0 + created_by_id + + + left + date + 1 + 1 + 0 + 0 + 0 + 1 + + short_date_time + 0 + 1 + 102424 + CCF205347C814DD1AF056875E0A880AC + 0 + created_on + + + left + 5EFB53D35BAE468B851CD388BEA46B30 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 103192 + CCF205347C814DD1AF056875E0A880AC + 0 + current_state + + + left + integer + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 1 + 97432 + CCF205347C814DD1AF056875E0A880AC + 0 + generation + + + left + 45E899CD2859442982EB22BB2DF683E5 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 103448 + CCF205347C814DD1AF056875E0A880AC + 0 + locked_by_id + + + center + 50 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 512 + CCF205347C814DD1AF056875E0A880AC + 8 + 0 + major_rev + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1792 + CCF205347C814DD1AF056875E0A880AC + 0 + managed_by_id + + + left + 45E899CD2859442982EB22BB2DF683E5 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 103064 + CCF205347C814DD1AF056875E0A880AC + 0 + modified_by_id + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 1 + 102936 + CCF205347C814DD1AF056875E0A880AC + 0 + modified_on + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1664 + CCF205347C814DD1AF056875E0A880AC + 0 + owned_by_id + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 1024 + CCF205347C814DD1AF056875E0A880AC + 32 + 0 + state + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 13200 + CCF205347C814DD1AF056875E0A880AC + 0 + superseded_date + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 Application Order.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 Application Order.xml similarity index 100% rename from Imports/PLM/Import/ItemType/CM2 Application Order.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 Application Order.xml diff --git a/Imports/PLM/Import/ItemType/CM2 Eng Location.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 Eng Location.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CM2 Eng Location.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 Eng Location.xml index 8027de5..b889861 100644 --- a/Imports/PLM/Import/ItemType/CM2 Eng Location.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CM2 Eng Location.xml @@ -1,109 +1,109 @@ - - - 1 - 0 - 1 - 0 - table - CM2_ENG_LOCATION - 0 - 0 - 0 - - Eng Locations - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 0 - CM2 Eng Location - - - left - boolean - 1 - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3328 - B897FCAFE55348DD90073B9B4205F043 - 0 - active - - - left - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3200 - B897FCAFE55348DD90073B9B4205F043 - 64 - 0 - description - - - left - string - 0 - 0 - 0 - 0 - 0 - 1 - 1 - - 0 - 0 - 3072 - B897FCAFE55348DD90073B9B4205F043 - 20 - 0 - name - - - js - 1D615DD9285A488D9442EB432EAEFCD1 - - - World - - - 0 - 128 - B897FCAFE55348DD90073B9B4205F043 - default - - - 2618D6F5A90949BAA7E920D1B04C7EE1 - 128 - B897FCAFE55348DD90073B9B4205F043 - Process Innovator - - - 1 - 2618D6F5A90949BAA7E920D1B04C7EE1 - 128 - B897FCAFE55348DD90073B9B4205F043 - - - 1 - 9122CD065CF04141B8EFE263FC80BEA4 - 128 - B897FCAFE55348DD90073B9B4205F043 - - - + + + 1 + 0 + 1 + 0 + table + CM2_ENG_LOCATION + 0 + 0 + 0 + + Eng Locations + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + CM2 Eng Location + + + left + boolean + 1 + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3328 + B897FCAFE55348DD90073B9B4205F043 + 0 + active + + + left + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3200 + B897FCAFE55348DD90073B9B4205F043 + 64 + 0 + description + + + left + string + 0 + 0 + 0 + 0 + 0 + 1 + 1 + + 0 + 0 + 3072 + B897FCAFE55348DD90073B9B4205F043 + 20 + 0 + name + + + js + 1D615DD9285A488D9442EB432EAEFCD1 + + + World + + + 0 + 128 + B897FCAFE55348DD90073B9B4205F043 + default + + + 2618D6F5A90949BAA7E920D1B04C7EE1 + 128 + B897FCAFE55348DD90073B9B4205F043 + Process Innovator + + + 1 + 2618D6F5A90949BAA7E920D1B04C7EE1 + 128 + B897FCAFE55348DD90073B9B4205F043 + + + 1 + 9122CD065CF04141B8EFE263FC80BEA4 + 128 + B897FCAFE55348DD90073B9B4205F043 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 IR.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 IR.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CM2 IR.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 IR.xml index d1f3fa4..10f872c 100644 --- a/Imports/PLM/Import/ItemType/CM2 IR.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CM2 IR.xml @@ -1,525 +1,525 @@ - - - 1 - 0 - ]]> - 1 - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - CM2_IR - 0 - 0 - 0 - - IRs - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - CM2 IR - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6528 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - adnl_details - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5760 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - ara_id - - - left - 150 - D7D72BF68937462B947DAC6BE7E28322 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 768 - 622CD8AFA3174EDE8E074BC06B829AC2 - 64 - 1 - change_type - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5888 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - cil_id - - - left - 85F86794FACF42599F07019F7BEA1D46 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 7040 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - cn - - - left - 2D4799413792453DA08C1EDE6AA22A76 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 6912 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - cr - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1280 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - description - - - left - 120 - FC0BFF7268A34B76B79952A569EDB023 - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - item_number - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6656 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - key_dates - - - left - 80 - 2AC3F078B8FD4509856D31A0FBD92DF8 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 640 - 622CD8AFA3174EDE8E074BC06B829AC2 - 64 - 1 - priority - - - left - 553342EB14CD4FC4BC84CCC2FA619D52 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 6784 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - project - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - proposed_solution - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6400 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - ramifications - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 896 - 622CD8AFA3174EDE8E074BC06B829AC2 - 1 - requested_by - - - left - C4D805D51E71449888DC93946862F2D5 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6016 - 622CD8AFA3174EDE8E074BC06B829AC2 - 256 - 1 - security - - - left - 5B7E831D13D44F27A18AC05E878AF9BD - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6272 - 622CD8AFA3174EDE8E074BC06B829AC2 - 256 - 1 - severity - - - left - 100 - E602F0779B924AE7B63C5096812B6804 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1024 - 622CD8AFA3174EDE8E074BC06B829AC2 - 64 - 1 - source - - - left - 29A36AFC386546E9B790E99FA2FF61E6 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6144 - 622CD8AFA3174EDE8E074BC06B829AC2 - 256 - 1 - status - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - 622CD8AFA3174EDE8E074BC06B829AC2 - 128 - 1 - title - - - js - 0 - 75BA493B8E624B038E8DED272814CC9C - - - World - - - 1 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - default - - - version_1 - 0 - - - CM2 IR OnAfterGet - - - onAfterGet - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeAdd - 256 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeUpdate - 384 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - 3A50DE0BFF6A43688AF0DFE7E5F42924 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - ED4E9C9F868A46F290F25FE8C5084F5F - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - 1 - 5227CE02A5AD4ED7B647692BB06F8556 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - Change Management - - - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - 1 - 7D27AFAB18684A309CD19EAA31597C38 - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - - - - - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 1 - float - - 0 - 0 - 896 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - managed_by_id - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 768 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - owned_by_id - - - left - string - 0 - 1 - 0 - 0 - 0 - 0 - 0 - 1 - 1408 - 622CD8AFA3174EDE8E074BC06B829AC2 - 32 - 0 - state - - - + + + 1 + 0 + ]]> + 1 + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + CM2_IR + 0 + 0 + 0 + + IRs + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + CM2 IR + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6528 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + adnl_details + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5760 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + ara_id + + + left + 150 + D7D72BF68937462B947DAC6BE7E28322 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 768 + 622CD8AFA3174EDE8E074BC06B829AC2 + 64 + 1 + change_type + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5888 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + cil_id + + + left + 85F86794FACF42599F07019F7BEA1D46 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 7040 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + cn + + + left + 2D4799413792453DA08C1EDE6AA22A76 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 6912 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + cr + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1280 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + description + + + left + 120 + FC0BFF7268A34B76B79952A569EDB023 + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + item_number + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6656 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + key_dates + + + left + 80 + 2AC3F078B8FD4509856D31A0FBD92DF8 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 640 + 622CD8AFA3174EDE8E074BC06B829AC2 + 64 + 1 + priority + + + left + 553342EB14CD4FC4BC84CCC2FA619D52 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 6784 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + project + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + proposed_solution + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6400 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + ramifications + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 896 + 622CD8AFA3174EDE8E074BC06B829AC2 + 1 + requested_by + + + left + C4D805D51E71449888DC93946862F2D5 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6016 + 622CD8AFA3174EDE8E074BC06B829AC2 + 256 + 1 + security + + + left + 5B7E831D13D44F27A18AC05E878AF9BD + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6272 + 622CD8AFA3174EDE8E074BC06B829AC2 + 256 + 1 + severity + + + left + 100 + E602F0779B924AE7B63C5096812B6804 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1024 + 622CD8AFA3174EDE8E074BC06B829AC2 + 64 + 1 + source + + + left + 29A36AFC386546E9B790E99FA2FF61E6 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6144 + 622CD8AFA3174EDE8E074BC06B829AC2 + 256 + 1 + status + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + 622CD8AFA3174EDE8E074BC06B829AC2 + 128 + 1 + title + + + js + 0 + 75BA493B8E624B038E8DED272814CC9C + + + World + + + 1 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + default + + + version_1 + 0 + + + CM2 IR OnAfterGet + + + onAfterGet + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeAdd + 256 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeUpdate + 384 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + 3A50DE0BFF6A43688AF0DFE7E5F42924 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + ED4E9C9F868A46F290F25FE8C5084F5F + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + 1 + 5227CE02A5AD4ED7B647692BB06F8556 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + Change Management + + + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + 1 + 7D27AFAB18684A309CD19EAA31597C38 + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + + + + + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 1 + float + + 0 + 0 + 896 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + managed_by_id + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 768 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + owned_by_id + + + left + string + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 1 + 1408 + 622CD8AFA3174EDE8E074BC06B829AC2 + 32 + 0 + state + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 Incident.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 Incident.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CM2 Incident.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 Incident.xml index ff7f7ca..b6dabd7 100644 --- a/Imports/PLM/Import/ItemType/CM2 Incident.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CM2 Incident.xml @@ -1,284 +1,284 @@ - - - 1 - 0 - ]]> - 1 - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - CM2_INCIDENT - 0 - 0 - 0 - - Incidents - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - CM2 Incident - - - left - text - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3328 - C522A937F22247F997543CA11DCAE859 - 1 - description - - - left - text - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3840 - C522A937F22247F997543CA11DCAE859 - 1 - investigation - - - left - 30EEB71F46F248309A1D84E1D8F03E7C - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 0 - 0 - 3072 - C522A937F22247F997543CA11DCAE859 - 0 - item_number - - - left - string - 0 - 0 - 0 - 0 - 0 - 1 - - 0 - 0 - 3200 - C522A937F22247F997543CA11DCAE859 - 32 - 1 - name - - - left - 2AC3F078B8FD4509856D31A0FBD92DF8 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3712 - C522A937F22247F997543CA11DCAE859 - 256 - 1 - priority - - - left - 5B7E831D13D44F27A18AC05E878AF9BD - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3584 - C522A937F22247F997543CA11DCAE859 - 256 - 1 - severity - - - left - E602F0779B924AE7B63C5096812B6804 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3456 - C522A937F22247F997543CA11DCAE859 - 256 - 1 - source - - - js - 0E6A0FF10A7D4AC9A38A5D8518E7C2AF - - - World - - - 0 - 128 - C522A937F22247F997543CA11DCAE859 - default - - - 64432002FBD94EA38F9FC783EE40B48C - 128 - C522A937F22247F997543CA11DCAE859 - - - 1 - 910CD047077B4FE68D312BC05ABA12B1 - 128 - C522A937F22247F997543CA11DCAE859 - - - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - C522A937F22247F997543CA11DCAE859 - - - 1 - 9122CD065CF04141B8EFE263FC80BEA4 - 128 - C522A937F22247F997543CA11DCAE859 - - - - - - - left - string - 0 - 1 - 0 - 0 - 0 - 1 - - 0 - 0 - 128 - C522A937F22247F997543CA11DCAE859 - 512 - 1 - classification - - - left - 45E899CD2859442982EB22BB2DF683E5 - item - 0 - 1 - 0 - 0 - 0 - 1 - float - - 0 - 1 - 640 - C522A937F22247F997543CA11DCAE859 - 0 - created_by_id - - - left - date - 0 - 1 - 0 - 0 - 0 - 1 - - short_date_time - 0 - 1 - 512 - C522A937F22247F997543CA11DCAE859 - 0 - created_on - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 768 - C522A937F22247F997543CA11DCAE859 - 1 - owned_by_id - - - left - string - 0 - 1 - 0 - 0 - 0 - 0 - 0 - 1 - 1408 - C522A937F22247F997543CA11DCAE859 - 32 - 0 - state - - - + + + 1 + 0 + ]]> + 1 + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + CM2_INCIDENT + 0 + 0 + 0 + + Incidents + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + CM2 Incident + + + left + text + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3328 + C522A937F22247F997543CA11DCAE859 + 1 + description + + + left + text + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3840 + C522A937F22247F997543CA11DCAE859 + 1 + investigation + + + left + 30EEB71F46F248309A1D84E1D8F03E7C + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 0 + 0 + 3072 + C522A937F22247F997543CA11DCAE859 + 0 + item_number + + + left + string + 0 + 0 + 0 + 0 + 0 + 1 + + 0 + 0 + 3200 + C522A937F22247F997543CA11DCAE859 + 32 + 1 + name + + + left + 2AC3F078B8FD4509856D31A0FBD92DF8 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3712 + C522A937F22247F997543CA11DCAE859 + 256 + 1 + priority + + + left + 5B7E831D13D44F27A18AC05E878AF9BD + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + C522A937F22247F997543CA11DCAE859 + 256 + 1 + severity + + + left + E602F0779B924AE7B63C5096812B6804 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3456 + C522A937F22247F997543CA11DCAE859 + 256 + 1 + source + + + js + 0E6A0FF10A7D4AC9A38A5D8518E7C2AF + + + World + + + 0 + 128 + C522A937F22247F997543CA11DCAE859 + default + + + 64432002FBD94EA38F9FC783EE40B48C + 128 + C522A937F22247F997543CA11DCAE859 + + + 1 + 910CD047077B4FE68D312BC05ABA12B1 + 128 + C522A937F22247F997543CA11DCAE859 + + + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + C522A937F22247F997543CA11DCAE859 + + + 1 + 9122CD065CF04141B8EFE263FC80BEA4 + 128 + C522A937F22247F997543CA11DCAE859 + + + + + + + left + string + 0 + 1 + 0 + 0 + 0 + 1 + + 0 + 0 + 128 + C522A937F22247F997543CA11DCAE859 + 512 + 1 + classification + + + left + 45E899CD2859442982EB22BB2DF683E5 + item + 0 + 1 + 0 + 0 + 0 + 1 + float + + 0 + 1 + 640 + C522A937F22247F997543CA11DCAE859 + 0 + created_by_id + + + left + date + 0 + 1 + 0 + 0 + 0 + 1 + + short_date_time + 0 + 1 + 512 + C522A937F22247F997543CA11DCAE859 + 0 + created_on + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 768 + C522A937F22247F997543CA11DCAE859 + 1 + owned_by_id + + + left + string + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 1 + 1408 + C522A937F22247F997543CA11DCAE859 + 32 + 0 + state + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 Model.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 Model.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CM2 Model.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 Model.xml index 62dd153..15e9711 100644 --- a/Imports/PLM/Import/ItemType/CM2 Model.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CM2 Model.xml @@ -1,125 +1,125 @@ - - - 1 - 0 - 1 - 0 - table - CM2_MODEL - 0 - 0 - 0 - - Models - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 0 - CM2 Model - - - left - boolean - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 1 - - 0 - 0 - 3200 - 4E7999BAD4D44B3EA976B3295713691E - 0 - active - - - left - 2B46201802CE46708C269667DB4798AC - item - 1 - 1 - 0 - 0 - 0 - 1 - float - - 0 - 0 - 3328 - 4E7999BAD4D44B3EA976B3295713691E - 0 - sequence_id - - - js - 7550070342E04ACC8FB8669E90BA258B - - - World - - - 0 - 128 - 4E7999BAD4D44B3EA976B3295713691E - default - - - - - World - - - 128 - 4E7999BAD4D44B3EA976B3295713691E - Design - - - 1 - F6624E9AE5504958A84E4B6A5831298B - 128 - 4E7999BAD4D44B3EA976B3295713691E - - - 1 - 2618D6F5A90949BAA7E920D1B04C7EE1 - 256 - 4E7999BAD4D44B3EA976B3295713691E - - - 1 - 9122CD065CF04141B8EFE263FC80BEA4 - 128 - 4E7999BAD4D44B3EA976B3295713691E - - - - - - - left - string - 0 - 0 - 0 - 1 - 0 - 1 - 1 - - 0 - 0 - 3072 - 4E7999BAD4D44B3EA976B3295713691E - 32 - 0 - name - - - + + + 1 + 0 + 1 + 0 + table + CM2_MODEL + 0 + 0 + 0 + + Models + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + CM2 Model + + + left + boolean + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 1 + + 0 + 0 + 3200 + 4E7999BAD4D44B3EA976B3295713691E + 0 + active + + + left + 2B46201802CE46708C269667DB4798AC + item + 1 + 1 + 0 + 0 + 0 + 1 + float + + 0 + 0 + 3328 + 4E7999BAD4D44B3EA976B3295713691E + 0 + sequence_id + + + js + 7550070342E04ACC8FB8669E90BA258B + + + World + + + 0 + 128 + 4E7999BAD4D44B3EA976B3295713691E + default + + + + + World + + + 128 + 4E7999BAD4D44B3EA976B3295713691E + Design + + + 1 + F6624E9AE5504958A84E4B6A5831298B + 128 + 4E7999BAD4D44B3EA976B3295713691E + + + 1 + 2618D6F5A90949BAA7E920D1B04C7EE1 + 256 + 4E7999BAD4D44B3EA976B3295713691E + + + 1 + 9122CD065CF04141B8EFE263FC80BEA4 + 128 + 4E7999BAD4D44B3EA976B3295713691E + + + + + + + left + string + 0 + 0 + 0 + 1 + 0 + 1 + 1 + + 0 + 0 + 3072 + 4E7999BAD4D44B3EA976B3295713691E + 32 + 0 + name + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 Organization.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 Organization.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CM2 Organization.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 Organization.xml index 30445a3..b8df270 100644 --- a/Imports/PLM/Import/ItemType/CM2 Organization.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CM2 Organization.xml @@ -1,173 +1,173 @@ - - - 1 - 0 - 1 - 0 - polymorphic - CM2_ORGANIZATION - 0 - 0 - 1 - - Organizations - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 0 - CM2 Organization - - - left - 150 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 2 - 0 - 0 - 3584 - FCAD6E3989234A6DB46771F937E8F1E6 - 32 - 0 - name - - - version_1 - 0 - - - polymorphic_item_onBeforeAdd - - - onBeforeAdd - 768 - FCAD6E3989234A6DB46771F937E8F1E6 - - - version_1 - 0 - - - polymorphic_item_onBeforeCopy - - - onBeforeCopy - 896 - FCAD6E3989234A6DB46771F937E8F1E6 - - - version_1 - 0 - - - polymorphic_item_onBeforeDelete - - - onBeforeDelete - 128 - FCAD6E3989234A6DB46771F937E8F1E6 - - - version_1 - 0 - - - polymorphic_item_onBeforeLock - - - onBeforeLock - 256 - FCAD6E3989234A6DB46771F937E8F1E6 - - - version_1 - 0 - - - polymorphic_item_onBeforeUnlock - - - onBeforeUnlock - 384 - FCAD6E3989234A6DB46771F937E8F1E6 - - - version_1 - 0 - - - polymorphic_item_onBeforeUpdate - - - onBeforeUpdate - 640 - FCAD6E3989234A6DB46771F937E8F1E6 - - - version_1 - 0 - - - polymorphic_item_onBeforeVersion - - - onBeforeVersion - 512 - FCAD6E3989234A6DB46771F937E8F1E6 - - - - - - - left - - - CM2 Organization - - - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 128 - FCAD6E3989234A6DB46771F937E8F1E6 - 64 - 0 - itemtype - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 3328 - FCAD6E3989234A6DB46771F937E8F1E6 - 0 - superseded_date - - - + + + 1 + 0 + 1 + 0 + polymorphic + CM2_ORGANIZATION + 0 + 0 + 1 + + Organizations + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + CM2 Organization + + + left + 150 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 2 + 0 + 0 + 3584 + FCAD6E3989234A6DB46771F937E8F1E6 + 32 + 0 + name + + + version_1 + 0 + + + polymorphic_item_onBeforeAdd + + + onBeforeAdd + 768 + FCAD6E3989234A6DB46771F937E8F1E6 + + + version_1 + 0 + + + polymorphic_item_onBeforeCopy + + + onBeforeCopy + 896 + FCAD6E3989234A6DB46771F937E8F1E6 + + + version_1 + 0 + + + polymorphic_item_onBeforeDelete + + + onBeforeDelete + 128 + FCAD6E3989234A6DB46771F937E8F1E6 + + + version_1 + 0 + + + polymorphic_item_onBeforeLock + + + onBeforeLock + 256 + FCAD6E3989234A6DB46771F937E8F1E6 + + + version_1 + 0 + + + polymorphic_item_onBeforeUnlock + + + onBeforeUnlock + 384 + FCAD6E3989234A6DB46771F937E8F1E6 + + + version_1 + 0 + + + polymorphic_item_onBeforeUpdate + + + onBeforeUpdate + 640 + FCAD6E3989234A6DB46771F937E8F1E6 + + + version_1 + 0 + + + polymorphic_item_onBeforeVersion + + + onBeforeVersion + 512 + FCAD6E3989234A6DB46771F937E8F1E6 + + + + + + + left + + + CM2 Organization + + + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 128 + FCAD6E3989234A6DB46771F937E8F1E6 + 64 + 0 + itemtype + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 3328 + FCAD6E3989234A6DB46771F937E8F1E6 + 0 + superseded_date + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 Project.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 Project.xml similarity index 97% rename from Imports/PLM/Import/ItemType/CM2 Project.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 Project.xml index b257a4a..4b49983 100644 --- a/Imports/PLM/Import/ItemType/CM2 Project.xml +++ b/Imports/2-Post/PLM/Import/ItemType/CM2 Project.xml @@ -1,94 +1,94 @@ - - - 1 - 0 - 1 - 0 - table - CM2_PROJECT - 0 - 0 - 0 - - Projects - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 0 - CM2 Project - - - left - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3200 - 553342EB14CD4FC4BC84CCC2FA619D52 - 30 - 0 - name - - - js - 007724B3E0144FA19D2AC6B965ADDEE6 - - - World - - - 0 - 128 - 553342EB14CD4FC4BC84CCC2FA619D52 - default - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 553342EB14CD4FC4BC84CCC2FA619D52 - - - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 553342EB14CD4FC4BC84CCC2FA619D52 - - - 1 - 9122CD065CF04141B8EFE263FC80BEA4 - 128 - 553342EB14CD4FC4BC84CCC2FA619D52 - - - - - - - left - string - 0 - 0 - 0 - 1 - 0 - 1 - 1 - - 0 - 0 - 3072 - 553342EB14CD4FC4BC84CCC2FA619D52 - 14 - 0 - item_number - - - + + + 1 + 0 + 1 + 0 + table + CM2_PROJECT + 0 + 0 + 0 + + Projects + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + CM2 Project + + + left + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3200 + 553342EB14CD4FC4BC84CCC2FA619D52 + 30 + 0 + name + + + js + 007724B3E0144FA19D2AC6B965ADDEE6 + + + World + + + 0 + 128 + 553342EB14CD4FC4BC84CCC2FA619D52 + default + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 553342EB14CD4FC4BC84CCC2FA619D52 + + + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 553342EB14CD4FC4BC84CCC2FA619D52 + + + 1 + 9122CD065CF04141B8EFE263FC80BEA4 + 128 + 553342EB14CD4FC4BC84CCC2FA619D52 + + + + + + + left + string + 0 + 0 + 0 + 1 + 0 + 1 + 1 + + 0 + 0 + 3072 + 553342EB14CD4FC4BC84CCC2FA619D52 + 14 + 0 + item_number + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/CM2 WA BOM Header.xml b/Imports/2-Post/PLM/Import/ItemType/CM2 WA BOM Header.xml similarity index 100% rename from Imports/PLM/Import/ItemType/CM2 WA BOM Header.xml rename to Imports/2-Post/PLM/Import/ItemType/CM2 WA BOM Header.xml diff --git a/Imports/2-Post/PLM/Import/ItemType/Change Controlled Item.xml b/Imports/2-Post/PLM/Import/ItemType/Change Controlled Item.xml new file mode 100644 index 0000000..39245ed --- /dev/null +++ b/Imports/2-Post/PLM/Import/ItemType/Change Controlled Item.xml @@ -0,0 +1,274 @@ + + + 1 + 0 + 1 + 0 + polymorphic + CHANGE_CONTROLLED_ITEM + 0 + 0 + 1 + + Change Controlled Item + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + Change Controlled Item + + + left + 120 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 20 + 198BF0BCCC364EE29F56434D803D5F1E + 32 + 0 + item_number + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 40 + 198BF0BCCC364EE29F56434D803D5F1E + 64 + 0 + name + + + js + 62A6B35B0BF44D0AA60A3AF2A2943D28 + + + World + + + 0 + 128 + 198BF0BCCC364EE29F56434D803D5F1E + default + + + version_1 + 0 + + + polymorphic_item_onBeforeAdd + + + onBeforeAdd + 896 + 198BF0BCCC364EE29F56434D803D5F1E + + + version_1 + 0 + + + polymorphic_item_onBeforeCopy + + + onBeforeCopy + 1792 + 198BF0BCCC364EE29F56434D803D5F1E + + + version_1 + 0 + + + polymorphic_item_onBeforeDelete + + + onBeforeDelete + 1152 + 198BF0BCCC364EE29F56434D803D5F1E + + + version_1 + 0 + + + polymorphic_item_onBeforeLock + + + onBeforeLock + 1280 + 198BF0BCCC364EE29F56434D803D5F1E + + + version_1 + 0 + + + polymorphic_item_onBeforeUnlock + + + onBeforeUnlock + 1408 + 198BF0BCCC364EE29F56434D803D5F1E + + + version_1 + 0 + + + polymorphic_item_onBeforeUpdate + + + onBeforeUpdate + 1664 + 198BF0BCCC364EE29F56434D803D5F1E + + + version_1 + 0 + + + polymorphic_item_onBeforeVersion + + + onBeforeVersion + 1536 + 198BF0BCCC364EE29F56434D803D5F1E + + + 2F3B75E17C4E4F2D9599579A965BFA64 + 128 + 198BF0BCCC364EE29F56434D803D5F1E + + + + + + + left + + + Change Controlled Item + + + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 0 + 198BF0BCCC364EE29F56434D803D5F1E + 64 + 0 + itemtype + + + left + 50 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 30 + 198BF0BCCC364EE29F56434D803D5F1E + 8 + 0 + major_rev + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 50 + 198BF0BCCC364EE29F56434D803D5F1E + 32 + 0 + state + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 3496 + 198BF0BCCC364EE29F56434D803D5F1E + 0 + superseded_date + + + + + + + 4F1AC04A2B484F3ABA4E20DB63808A88 + 128 + 198BF0BCCC364EE29F56434D803D5F1E + + + + + + + B88C14B99EF449828C5D926E39EE8B89 + 256 + 198BF0BCCC364EE29F56434D803D5F1E + + + + + + + CCF205347C814DD1AF056875E0A880AC + 384 + 198BF0BCCC364EE29F56434D803D5F1E + + + + \ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/ItemType/Change Controlled Relationship.xml b/Imports/2-Post/PLM/Import/ItemType/Change Controlled Relationship.xml new file mode 100644 index 0000000..971bb37 --- /dev/null +++ b/Imports/2-Post/PLM/Import/ItemType/Change Controlled Relationship.xml @@ -0,0 +1,285 @@ + + + 1 + 0 + 1 + 0 + polymorphic + CHANGE_CONTROLLED_RELATIONSHIP + 0 + 0 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + Change Controlled Relationship + + + left + float + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 2A5BB1A93BDC436B824B9FFE6DB89553 + 0 + quantity + + + js + 5726C801C2A647ACB75C459C9210A94B + + + World + + + 0 + 128 + 2A5BB1A93BDC436B824B9FFE6DB89553 + default + + + version_1 + 0 + + + polymorphic_item_onBeforeAdd + + + onBeforeAdd + 768 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + version_1 + 0 + + + polymorphic_item_onBeforeCopy + + + onBeforeCopy + 896 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + version_1 + 0 + + + polymorphic_item_onBeforeDelete + + + onBeforeDelete + 128 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + version_1 + 0 + + + polymorphic_item_onBeforeLock + + + onBeforeLock + 256 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + version_1 + 0 + + + polymorphic_item_onBeforeUnlock + + + onBeforeUnlock + 384 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + version_1 + 0 + + + polymorphic_item_onBeforeUpdate + + + onBeforeUpdate + 640 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + version_1 + 0 + + + polymorphic_item_onBeforeVersion + + + onBeforeVersion + 512 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + + + + left + + + Change Controlled Relationship + + + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 256 + 2A5BB1A93BDC436B824B9FFE6DB89553 + 64 + 0 + itemtype + + + + + + + + + + + + left + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 128 + 2A5BB1A93BDC436B824B9FFE6DB89553 + 0 + related_id + + + + + left + integer + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3712 + 2A5BB1A93BDC436B824B9FFE6DB89553 + 0 + sort_order + + + + + left + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 3968 + 2A5BB1A93BDC436B824B9FFE6DB89553 + 0 + source_id + + + + + + + + 5E9C5A12CC58413A8670CF4003C57848 + 128 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + + + + BFE7AD9711A547FBB05827B5169493CE + 256 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + + + + 935DF68BCFD849EBB5C3A528F04C5B5B + 384 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + + + + 20E87EABA32240FB8935B1532A8AE63A + 512 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + + + + 878F10B86E394C1E8E9E2BF0A5759832 + 640 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + + + + 488A2D333F0D49F5BC4C3EFE71BE8D87 + 768 + 2A5BB1A93BDC436B824B9FFE6DB89553 + + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/Document.xml b/Imports/2-Post/PLM/Import/ItemType/Document.xml similarity index 97% rename from Imports/PLM/Import/ItemType/Document.xml rename to Imports/2-Post/PLM/Import/ItemType/Document.xml index 24fc72e..34b64f8 100644 --- a/Imports/PLM/Import/ItemType/Document.xml +++ b/Imports/2-Post/PLM/Import/ItemType/Document.xml @@ -1,913 +1,913 @@ - - - 1 - 0 - ]]> - ../images/Document.svg - 25 - 1 - mergedProjects/ProductEngineering/plm_Documents.htm - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - DOCUMENT - 0 - 0 - 1 - - Datasets - ../images/Document.svg - 0 - ../images/Document.svg - 7FE395DD8B9F4E1090756A34B733D75E - 0 - tabs on - 0 - 0 - Document - - - -1 - -1 - 128 - B88C14B99EF449828C5D926E39EE8B89 - 1 - - - Board - Add - this - 128 - F4655C7CF70E46A2A3BBA841382554AD - - - 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 - Document File(related_id) - 128 - 46A8DB10D0D648578A13E6E80599ABB8 - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - - - js - - - discPanelOff - Form of ${ItemType:label} ${Item:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - 6A64D55E2B804775859BB7E1D1D15979 - - - 128 - F4655C7CF70E46A2A3BBA841382554AD - - - - - js - AEF4B62DD8E64712A0FA3E82B04EF686 - 128 - B88C14B99EF449828C5D926E39EE8B89 - - - left - 150 - 11A953CA5A5E4BCD8EC9758C7E4B6E92 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 896 - B88C14B99EF449828C5D926E39EE8B89 - 64 - 0 - authoring_tool - - - left - 100 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1024 - B88C14B99EF449828C5D926E39EE8B89 - 32 - 0 - authoring_tool_version - - - left - string - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 204512 - B88C14B99EF449828C5D926E39EE8B89 - 5 - 0 - cage_code - - - left - 85F86794FACF42599F07019F7BEA1D46 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 204384 - B88C14B99EF449828C5D926E39EE8B89 - 0 - cn - - - left - 250 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 640 - B88C14B99EF449828C5D926E39EE8B89 - 128 - 0 - description - - - Drawing - left - 100 - C686BB9855A446CEBED3A7DE7850823F - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1280 - B88C14B99EF449828C5D926E39EE8B89 - 64 - 0 - drawing_size - - - left - string - 1 - 1 - 1 - 0 - 0 - 0 - - 0 - 0 - 103456 - B88C14B99EF449828C5D926E39EE8B89 - 256 - 0 - external_id - - - left - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 103584 - B88C14B99EF449828C5D926E39EE8B89 - 128 - 0 - external_owner - - - left - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 103712 - B88C14B99EF449828C5D926E39EE8B89 - 128 - 0 - external_type - - - left - 150 - B88C14B99EF449828C5D926E39EE8B89 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 103968 - B88C14B99EF449828C5D926E39EE8B89 - 0 - from_template - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 95000 - B88C14B99EF449828C5D926E39EE8B89 - 0 - has_change_pending - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 100000 - B88C14B99EF449828C5D926E39EE8B89 - 0 - has_files - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 103840 - B88C14B99EF449828C5D926E39EE8B89 - 0 - is_template - - - left - B88C14B99EF449828C5D926E39EE8B89 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 204768 - B88C14B99EF449828C5D926E39EE8B89 - 0 - mcr_id - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 384 - B88C14B99EF449828C5D926E39EE8B89 - 64 - 1 - name - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date - 0 - 0 - 204256 - B88C14B99EF449828C5D926E39EE8B89 - 0 - release_date_plan - - - Drawing - left - 80 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - B88C14B99EF449828C5D926E39EE8B89 - 16 - 0 - scale - - - left - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 204640 - B88C14B99EF449828C5D926E39EE8B89 - 16 - 0 - section - - - left - B88C14B99EF449828C5D926E39EE8B89 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 204896 - B88C14B99EF449828C5D926E39EE8B89 - 0 - service_bulletin_id - - - left - string - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 204128 - B88C14B99EF449828C5D926E39EE8B89 - 30 - 0 - source - - - Specification - left - 120 - 4C3C5B4E66D54BC3BEAA78ECA047EA70 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1536 - B88C14B99EF449828C5D926E39EE8B89 - 64 - 0 - specification_type - - - left - 60 - image - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 104096 - B88C14B99EF449828C5D926E39EE8B89 - 0 - thumbnail - - - left - 200 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 204000 - B88C14B99EF449828C5D926E39EE8B89 - 128 - 0 - version_comment - - - js - 2 - 13A0C6FF991B4A67B373A0F0ECBEFD86 - - - World - - - 0 - 256 - B88C14B99EF449828C5D926E39EE8B89 - default - - - js - 3 - D95D1B10CE6D47CDB7AE755108DBA13D - - - World - - - 1 - 128 - B88C14B99EF449828C5D926E39EE8B89 - default - - - js - 1 - Section - 66BEB95CFDD34B5986D24022A0E079DF - - - World - - - 0 - 384 - B88C14B99EF449828C5D926E39EE8B89 - default - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterCopy - 1280 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - CM2 GetCN - - - onAfterGet - 100257 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - PE_AffectedItemFloat - - - onAfterVersion - 512 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterVersion - 1408 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - PE_clean_has_files_prop - - - onBeforeAdd - 896 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - PE_clean_has_change_pending_prop - - - onBeforeAdd - 1152 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeAdd - 100129 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - PE_clean_has_files_prop - - - onBeforeUpdate - 768 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - PE_clean_has_change_pending_prop - - - onBeforeUpdate - 1024 - B88C14B99EF449828C5D926E39EE8B89 - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeUpdate - 100129 - B88C14B99EF449828C5D926E39EE8B89 - - - 39BE6AC491184B979EC03D1400F35F2F - 512 - B88C14B99EF449828C5D926E39EE8B89 - - - 2CAC9B41B8394D29B89C45C522703BC4 - 640 - B88C14B99EF449828C5D926E39EE8B89 - - - 83FB72FC3E4D42B8B51BCD7F4194E527 - 768 - B88C14B99EF449828C5D926E39EE8B89 - - - FD4D2BE9E2B14919BF1973842A556AFD - 1024 - B88C14B99EF449828C5D926E39EE8B89 - - - 3B1C099A970A4E51940CBAE76FF67A7D - 128 - B88C14B99EF449828C5D926E39EE8B89 - - - - - World - - - 128 - B88C14B99EF449828C5D926E39EE8B89 - Documents - - - 1 - - - World - - - 128 - B88C14B99EF449828C5D926E39EE8B89 - - - 1 - F0E3A6D242FC4889A9A119EEBC8EC79E - 128 - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - left - 120 - string - 0 - 0 - 1 - 1 - 0 - 1 - 1 - - 1 - 0 - 0 - 128 - B88C14B99EF449828C5D926E39EE8B89 - 32 - 0 - item_number - - - left - 120 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 512 - B88C14B99EF449828C5D926E39EE8B89 - 512 - 0 - classification - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 3072 - B88C14B99EF449828C5D926E39EE8B89 - 0 - effective_date - - - center - 50 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - B88C14B99EF449828C5D926E39EE8B89 - 8 - 0 - major_rev - - - oneditstart - - - Grid Cell ReadOnly - - - 128 - - - major_rev - B88C14B99EF449828C5D926E39EE8B89 - - - - - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 896 - B88C14B99EF449828C5D926E39EE8B89 - 0 - managed_by_id - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 768 - B88C14B99EF449828C5D926E39EE8B89 - 0 - owned_by_id - - - left - date - 0 - 1 - 0 - 0 - 0 - 0 - - short_date - 0 - 1 - 2944 - B88C14B99EF449828C5D926E39EE8B89 - 0 - release_date - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 640 - B88C14B99EF449828C5D926E39EE8B89 - 32 - 0 - state - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 4864 - B88C14B99EF449828C5D926E39EE8B89 - 0 - superseded_date - - - + + + 1 + 0 + ]]> + ../images/Document.svg + 25 + 1 + mergedProjects/ProductEngineering/plm_Documents.htm + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + DOCUMENT + 0 + 0 + 1 + + Datasets + ../images/Document.svg + 0 + ../images/Document.svg + 7FE395DD8B9F4E1090756A34B733D75E + 0 + tabs on + 0 + 0 + Document + + + -1 + -1 + 128 + B88C14B99EF449828C5D926E39EE8B89 + 1 + + + Board + Add + this + 128 + F4655C7CF70E46A2A3BBA841382554AD + + + 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 + Document File(related_id) + 128 + 46A8DB10D0D648578A13E6E80599ABB8 + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + + + js + + + discPanelOff + Form of ${ItemType:label} ${Item:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + 6A64D55E2B804775859BB7E1D1D15979 + + + 128 + F4655C7CF70E46A2A3BBA841382554AD + + + + + js + AEF4B62DD8E64712A0FA3E82B04EF686 + 128 + B88C14B99EF449828C5D926E39EE8B89 + + + left + 150 + 11A953CA5A5E4BCD8EC9758C7E4B6E92 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 896 + B88C14B99EF449828C5D926E39EE8B89 + 64 + 0 + authoring_tool + + + left + 100 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1024 + B88C14B99EF449828C5D926E39EE8B89 + 32 + 0 + authoring_tool_version + + + left + string + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 204512 + B88C14B99EF449828C5D926E39EE8B89 + 5 + 0 + cage_code + + + left + 85F86794FACF42599F07019F7BEA1D46 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 204384 + B88C14B99EF449828C5D926E39EE8B89 + 0 + cn + + + left + 250 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 640 + B88C14B99EF449828C5D926E39EE8B89 + 128 + 0 + description + + + Drawing + left + 100 + C686BB9855A446CEBED3A7DE7850823F + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1280 + B88C14B99EF449828C5D926E39EE8B89 + 64 + 0 + drawing_size + + + left + string + 1 + 1 + 1 + 0 + 0 + 0 + + 0 + 0 + 103456 + B88C14B99EF449828C5D926E39EE8B89 + 256 + 0 + external_id + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 103584 + B88C14B99EF449828C5D926E39EE8B89 + 128 + 0 + external_owner + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 103712 + B88C14B99EF449828C5D926E39EE8B89 + 128 + 0 + external_type + + + left + 150 + B88C14B99EF449828C5D926E39EE8B89 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 103968 + B88C14B99EF449828C5D926E39EE8B89 + 0 + from_template + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 95000 + B88C14B99EF449828C5D926E39EE8B89 + 0 + has_change_pending + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 100000 + B88C14B99EF449828C5D926E39EE8B89 + 0 + has_files + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 103840 + B88C14B99EF449828C5D926E39EE8B89 + 0 + is_template + + + left + B88C14B99EF449828C5D926E39EE8B89 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 204768 + B88C14B99EF449828C5D926E39EE8B89 + 0 + mcr_id + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 384 + B88C14B99EF449828C5D926E39EE8B89 + 64 + 1 + name + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date + 0 + 0 + 204256 + B88C14B99EF449828C5D926E39EE8B89 + 0 + release_date_plan + + + Drawing + left + 80 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + B88C14B99EF449828C5D926E39EE8B89 + 16 + 0 + scale + + + left + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 204640 + B88C14B99EF449828C5D926E39EE8B89 + 16 + 0 + section + + + left + B88C14B99EF449828C5D926E39EE8B89 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 204896 + B88C14B99EF449828C5D926E39EE8B89 + 0 + service_bulletin_id + + + left + string + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 204128 + B88C14B99EF449828C5D926E39EE8B89 + 30 + 0 + source + + + Specification + left + 120 + 4C3C5B4E66D54BC3BEAA78ECA047EA70 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1536 + B88C14B99EF449828C5D926E39EE8B89 + 64 + 0 + specification_type + + + left + 60 + image + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 104096 + B88C14B99EF449828C5D926E39EE8B89 + 0 + thumbnail + + + left + 200 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 204000 + B88C14B99EF449828C5D926E39EE8B89 + 128 + 0 + version_comment + + + js + 2 + 13A0C6FF991B4A67B373A0F0ECBEFD86 + + + World + + + 0 + 256 + B88C14B99EF449828C5D926E39EE8B89 + default + + + js + 3 + D95D1B10CE6D47CDB7AE755108DBA13D + + + World + + + 1 + 128 + B88C14B99EF449828C5D926E39EE8B89 + default + + + js + 1 + Section + 66BEB95CFDD34B5986D24022A0E079DF + + + World + + + 0 + 384 + B88C14B99EF449828C5D926E39EE8B89 + default + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterCopy + 1280 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + CM2 GetCN + + + onAfterGet + 100257 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + PE_AffectedItemFloat + + + onAfterVersion + 512 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterVersion + 1408 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + PE_clean_has_files_prop + + + onBeforeAdd + 896 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + PE_clean_has_change_pending_prop + + + onBeforeAdd + 1152 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeAdd + 100129 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + PE_clean_has_files_prop + + + onBeforeUpdate + 768 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + PE_clean_has_change_pending_prop + + + onBeforeUpdate + 1024 + B88C14B99EF449828C5D926E39EE8B89 + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeUpdate + 100129 + B88C14B99EF449828C5D926E39EE8B89 + + + 39BE6AC491184B979EC03D1400F35F2F + 512 + B88C14B99EF449828C5D926E39EE8B89 + + + 2CAC9B41B8394D29B89C45C522703BC4 + 640 + B88C14B99EF449828C5D926E39EE8B89 + + + 83FB72FC3E4D42B8B51BCD7F4194E527 + 768 + B88C14B99EF449828C5D926E39EE8B89 + + + FD4D2BE9E2B14919BF1973842A556AFD + 1024 + B88C14B99EF449828C5D926E39EE8B89 + + + 3B1C099A970A4E51940CBAE76FF67A7D + 128 + B88C14B99EF449828C5D926E39EE8B89 + + + + + World + + + 128 + B88C14B99EF449828C5D926E39EE8B89 + Documents + + + 1 + + + World + + + 128 + B88C14B99EF449828C5D926E39EE8B89 + + + 1 + F0E3A6D242FC4889A9A119EEBC8EC79E + 128 + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + left + 120 + string + 0 + 0 + 1 + 1 + 0 + 1 + 1 + + 1 + 0 + 0 + 128 + B88C14B99EF449828C5D926E39EE8B89 + 32 + 0 + item_number + + + left + 120 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 512 + B88C14B99EF449828C5D926E39EE8B89 + 512 + 0 + classification + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 3072 + B88C14B99EF449828C5D926E39EE8B89 + 0 + effective_date + + + center + 50 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + B88C14B99EF449828C5D926E39EE8B89 + 8 + 0 + major_rev + + + oneditstart + + + Grid Cell ReadOnly + + + 128 + + + major_rev + B88C14B99EF449828C5D926E39EE8B89 + + + + + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 896 + B88C14B99EF449828C5D926E39EE8B89 + 0 + managed_by_id + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 768 + B88C14B99EF449828C5D926E39EE8B89 + 0 + owned_by_id + + + left + date + 0 + 1 + 0 + 0 + 0 + 0 + + short_date + 0 + 1 + 2944 + B88C14B99EF449828C5D926E39EE8B89 + 0 + release_date + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 640 + B88C14B99EF449828C5D926E39EE8B89 + 32 + 0 + state + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 4864 + B88C14B99EF449828C5D926E39EE8B89 + 0 + superseded_date + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/ECN.xml b/Imports/2-Post/PLM/Import/ItemType/ECN.xml similarity index 97% rename from Imports/PLM/Import/ItemType/ECN.xml rename to Imports/2-Post/PLM/Import/ItemType/ECN.xml index 167efe7..1deb545 100644 --- a/Imports/PLM/Import/ItemType/ECN.xml +++ b/Imports/2-Post/PLM/Import/ItemType/ECN.xml @@ -1,720 +1,720 @@ - - - 1 - 0 - ../images/ECN.svg - 25 - 1 - mergedProjects/ProductEngineering/plm_The_ECN.htm - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - ECN - 0 - 0 - 0 - - CNs - ../images/ECN.svg - ../images/ECN.svg - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - ECN - - - 2 - 2 - 128 - 85F86794FACF42599F07019F7BEA1D46 - 1 - - - Board - Add - this - 128 - BAAFD45E9B1B40D989278DAEF42FEE19 - - - 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 - ECN File(related_id) - 128 - 97B390C846CE4332A9C7123B350B5CF5 - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - - - Discussion - CAD - <Item type="ECN" id="${id}" action="VC_GetAffectedControlItems"/> - 256 - BAAFD45E9B1B40D989278DAEF42FEE19 - - - Discussion - Document - <Item type="ECN" id="${id}" action="VC_GetAffectedControlItems"/> - 384 - BAAFD45E9B1B40D989278DAEF42FEE19 - - - Discussion - Part - <Item type="ECN" id="${id}" action="VC_GetAffectedControlItems"/> - 512 - BAAFD45E9B1B40D989278DAEF42FEE19 - - - js - - - discPanelOff - Form of ${ItemType:label} ${Item:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - C5068A00EA5F42CD8FBAEBF06A00A5CC - - - 128 - BAAFD45E9B1B40D989278DAEF42FEE19 - - - - - js - D96BEA09D42C43DCB7D8FD25DCE6F668 - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6528 - 85F86794FACF42599F07019F7BEA1D46 - 1 - adnl_details - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5760 - 85F86794FACF42599F07019F7BEA1D46 - 1 - ara_id - - - left - C31D90F608B3471088A59A8EBE7F0370 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1792 - 85F86794FACF42599F07019F7BEA1D46 - 64 - 0 - basis - - - left - 150 - D7D72BF68937462B947DAC6BE7E28322 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 768 - 85F86794FACF42599F07019F7BEA1D46 - 64 - 1 - change_type - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 6912 - 85F86794FACF42599F07019F7BEA1D46 - 0 - cl_id - - - left - 02184EDAA80D499CB6EC94B159966DBE - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 7040 - 85F86794FACF42599F07019F7BEA1D46 - 1 - cm2_implementation_plan - - - center - boolean - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 896 - 85F86794FACF42599F07019F7BEA1D46 - 0 - customer_approval - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - 85F86794FACF42599F07019F7BEA1D46 - 0 - description - - - left - date - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1536 - 85F86794FACF42599F07019F7BEA1D46 - 0 - effectivity_date - - - left - 100 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 512 - 85F86794FACF42599F07019F7BEA1D46 - 1 - fast_track - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1664 - 85F86794FACF42599F07019F7BEA1D46 - 0 - implementation_plan - - - left - 120 - 6AF8DA807A3544679FEDDCC101CBB47E - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - 85F86794FACF42599F07019F7BEA1D46 - 32 - 0 - item_number - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6656 - 85F86794FACF42599F07019F7BEA1D46 - 0 - key_dates - - - center - 80 - 2AC3F078B8FD4509856D31A0FBD92DF8 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 384 - 85F86794FACF42599F07019F7BEA1D46 - 64 - 0 - priority - - - left - 553342EB14CD4FC4BC84CCC2FA619D52 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 6784 - 85F86794FACF42599F07019F7BEA1D46 - 1 - project - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - 85F86794FACF42599F07019F7BEA1D46 - 1 - proposed_solution - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6400 - 85F86794FACF42599F07019F7BEA1D46 - 1 - ramifications - - - left - 120 - date - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 768 - 85F86794FACF42599F07019F7BEA1D46 - 0 - release_date - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 896 - 85F86794FACF42599F07019F7BEA1D46 - 1 - requested_by - - - left - C4D805D51E71449888DC93946862F2D5 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6016 - 85F86794FACF42599F07019F7BEA1D46 - 256 - 1 - security - - - left - 5B7E831D13D44F27A18AC05E878AF9BD - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6272 - 85F86794FACF42599F07019F7BEA1D46 - 256 - 1 - severity - - - left - 100 - E602F0779B924AE7B63C5096812B6804 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1024 - 85F86794FACF42599F07019F7BEA1D46 - 64 - 1 - source - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1280 - 85F86794FACF42599F07019F7BEA1D46 - 0 - special_instructions - - - left - 29A36AFC386546E9B790E99FA2FF61E6 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6144 - 85F86794FACF42599F07019F7BEA1D46 - 256 - 1 - status - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - 85F86794FACF42599F07019F7BEA1D46 - 128 - 0 - title - - - js - 1 - 88653E7EA6FA4C7194206D2E2C709FF1 - - - World - - - 1 - 128 - 85F86794FACF42599F07019F7BEA1D46 - default - - - js - 0 - 95A3685E8ADE452392094A63C21374C4 - - - World - - - 1 - 256 - 85F86794FACF42599F07019F7BEA1D46 - default - - - 06621636DB7A41B29AD2D6BBF1AB7A61 - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - FD4D2BE9E2B14919BF1973842A556AFD - 256 - 85F86794FACF42599F07019F7BEA1D46 - - - 2E4562DBD1844A8A8774233B2DEC55CC - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - 0 - 48B8C3644AA34B7A9A310DB09815003D - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - 1 - 5AC5D7551B4F4F3E823A869C631961FB - 256 - 85F86794FACF42599F07019F7BEA1D46 - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 256 - 85F86794FACF42599F07019F7BEA1D46 - Change Management - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 85F86794FACF42599F07019F7BEA1D46 - Change Management - - - 1 - F6624E9AE5504958A84E4B6A5831298B - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - 1 - C941912A63694F77928BCE3532FC33D6 - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - 70007FC2534243EEBC63B0F988F4AE6B - 128 - 85F86794FACF42599F07019F7BEA1D46 - - - - - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1664 - 85F86794FACF42599F07019F7BEA1D46 - 0 - managed_by_id - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1536 - 85F86794FACF42599F07019F7BEA1D46 - 0 - owned_by_id - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 512 - 85F86794FACF42599F07019F7BEA1D46 - 32 - 0 - state - - - left - CC23F9130F574E7D99DF9659F27590A6 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 3712 - 85F86794FACF42599F07019F7BEA1D46 - 0 - team_id - - - + + + 1 + 0 + ../images/ECN.svg + 25 + 1 + mergedProjects/ProductEngineering/plm_The_ECN.htm + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + ECN + 0 + 0 + 0 + + CNs + ../images/ECN.svg + ../images/ECN.svg + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + ECN + + + 2 + 2 + 128 + 85F86794FACF42599F07019F7BEA1D46 + 1 + + + Board + Add + this + 128 + BAAFD45E9B1B40D989278DAEF42FEE19 + + + 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 + ECN File(related_id) + 128 + 97B390C846CE4332A9C7123B350B5CF5 + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + + + Discussion + CAD + <Item type="ECN" id="${id}" action="VC_GetAffectedControlItems"/> + 256 + BAAFD45E9B1B40D989278DAEF42FEE19 + + + Discussion + Document + <Item type="ECN" id="${id}" action="VC_GetAffectedControlItems"/> + 384 + BAAFD45E9B1B40D989278DAEF42FEE19 + + + Discussion + Part + <Item type="ECN" id="${id}" action="VC_GetAffectedControlItems"/> + 512 + BAAFD45E9B1B40D989278DAEF42FEE19 + + + js + + + discPanelOff + Form of ${ItemType:label} ${Item:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + C5068A00EA5F42CD8FBAEBF06A00A5CC + + + 128 + BAAFD45E9B1B40D989278DAEF42FEE19 + + + + + js + D96BEA09D42C43DCB7D8FD25DCE6F668 + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6528 + 85F86794FACF42599F07019F7BEA1D46 + 1 + adnl_details + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5760 + 85F86794FACF42599F07019F7BEA1D46 + 1 + ara_id + + + left + C31D90F608B3471088A59A8EBE7F0370 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1792 + 85F86794FACF42599F07019F7BEA1D46 + 64 + 0 + basis + + + left + 150 + D7D72BF68937462B947DAC6BE7E28322 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 768 + 85F86794FACF42599F07019F7BEA1D46 + 64 + 1 + change_type + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 6912 + 85F86794FACF42599F07019F7BEA1D46 + 0 + cl_id + + + left + 02184EDAA80D499CB6EC94B159966DBE + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 7040 + 85F86794FACF42599F07019F7BEA1D46 + 1 + cm2_implementation_plan + + + center + boolean + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 896 + 85F86794FACF42599F07019F7BEA1D46 + 0 + customer_approval + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + 85F86794FACF42599F07019F7BEA1D46 + 0 + description + + + left + date + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1536 + 85F86794FACF42599F07019F7BEA1D46 + 0 + effectivity_date + + + left + 100 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 512 + 85F86794FACF42599F07019F7BEA1D46 + 1 + fast_track + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1664 + 85F86794FACF42599F07019F7BEA1D46 + 0 + implementation_plan + + + left + 120 + 6AF8DA807A3544679FEDDCC101CBB47E + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + 85F86794FACF42599F07019F7BEA1D46 + 32 + 0 + item_number + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6656 + 85F86794FACF42599F07019F7BEA1D46 + 0 + key_dates + + + center + 80 + 2AC3F078B8FD4509856D31A0FBD92DF8 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 384 + 85F86794FACF42599F07019F7BEA1D46 + 64 + 0 + priority + + + left + 553342EB14CD4FC4BC84CCC2FA619D52 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 6784 + 85F86794FACF42599F07019F7BEA1D46 + 1 + project + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + 85F86794FACF42599F07019F7BEA1D46 + 1 + proposed_solution + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6400 + 85F86794FACF42599F07019F7BEA1D46 + 1 + ramifications + + + left + 120 + date + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 768 + 85F86794FACF42599F07019F7BEA1D46 + 0 + release_date + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 896 + 85F86794FACF42599F07019F7BEA1D46 + 1 + requested_by + + + left + C4D805D51E71449888DC93946862F2D5 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6016 + 85F86794FACF42599F07019F7BEA1D46 + 256 + 1 + security + + + left + 5B7E831D13D44F27A18AC05E878AF9BD + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6272 + 85F86794FACF42599F07019F7BEA1D46 + 256 + 1 + severity + + + left + 100 + E602F0779B924AE7B63C5096812B6804 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1024 + 85F86794FACF42599F07019F7BEA1D46 + 64 + 1 + source + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1280 + 85F86794FACF42599F07019F7BEA1D46 + 0 + special_instructions + + + left + 29A36AFC386546E9B790E99FA2FF61E6 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6144 + 85F86794FACF42599F07019F7BEA1D46 + 256 + 1 + status + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + 85F86794FACF42599F07019F7BEA1D46 + 128 + 0 + title + + + js + 1 + 88653E7EA6FA4C7194206D2E2C709FF1 + + + World + + + 1 + 128 + 85F86794FACF42599F07019F7BEA1D46 + default + + + js + 0 + 95A3685E8ADE452392094A63C21374C4 + + + World + + + 1 + 256 + 85F86794FACF42599F07019F7BEA1D46 + default + + + 06621636DB7A41B29AD2D6BBF1AB7A61 + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + FD4D2BE9E2B14919BF1973842A556AFD + 256 + 85F86794FACF42599F07019F7BEA1D46 + + + 2E4562DBD1844A8A8774233B2DEC55CC + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + 0 + 48B8C3644AA34B7A9A310DB09815003D + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + 1 + 5AC5D7551B4F4F3E823A869C631961FB + 256 + 85F86794FACF42599F07019F7BEA1D46 + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 256 + 85F86794FACF42599F07019F7BEA1D46 + Change Management + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 85F86794FACF42599F07019F7BEA1D46 + Change Management + + + 1 + F6624E9AE5504958A84E4B6A5831298B + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + 1 + C941912A63694F77928BCE3532FC33D6 + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + 70007FC2534243EEBC63B0F988F4AE6B + 128 + 85F86794FACF42599F07019F7BEA1D46 + + + + + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1664 + 85F86794FACF42599F07019F7BEA1D46 + 0 + managed_by_id + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1536 + 85F86794FACF42599F07019F7BEA1D46 + 0 + owned_by_id + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 512 + 85F86794FACF42599F07019F7BEA1D46 + 32 + 0 + state + + + left + CC23F9130F574E7D99DF9659F27590A6 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 3712 + 85F86794FACF42599F07019F7BEA1D46 + 0 + team_id + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/ECR.xml b/Imports/2-Post/PLM/Import/ItemType/ECR.xml similarity index 97% rename from Imports/PLM/Import/ItemType/ECR.xml rename to Imports/2-Post/PLM/Import/ItemType/ECR.xml index 9261ef1..0fcecd1 100644 --- a/Imports/PLM/Import/ItemType/ECR.xml +++ b/Imports/2-Post/PLM/Import/ItemType/ECR.xml @@ -1,886 +1,886 @@ - - - 1 - 0 - ../images/ECR.svg - 25 - 1 - mergedProjects/ProductEngineering/plm_The_ECR.htm - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - ECR - 0 - 0 - 0 - - CRs - ../images/ECR.svg - ../images/ECR.svg - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - ECR - - - 2 - 2 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - - - Board - this - 128 - 9EBDCC39EC0A49849AB8829162D13C4C - - - 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 - ECR File(related_id) - 128 - DBC3E9A019414F96ACDB512A6EAC92D0 - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - - - Discussion - CAD - <Item type="ECR" id="${id}" action="VC_GetAffectedControlItems"/> - 256 - 9EBDCC39EC0A49849AB8829162D13C4C - - - Discussion - Document - <Item type="ECR" id="${id}" action="VC_GetAffectedControlItems"/> - 384 - 9EBDCC39EC0A49849AB8829162D13C4C - - - Discussion - Part - <Item type="ECR" id="${id}" action="VC_GetAffectedControlItems"/> - 512 - 9EBDCC39EC0A49849AB8829162D13C4C - - - js - - - discPanelOff - Form of ${ItemType:label} ${Item:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - 18D6E3B2858341E6A0D43C87C62AA4C5 - - - 128 - 9EBDCC39EC0A49849AB8829162D13C4C - - - - - js - D71DFFF991104F749892D5C816E1F5A2 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6528 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - adnl_details - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5760 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - ara_id - - - left - 200 - C31D90F608B3471088A59A8EBE7F0370 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1156 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 0 - basis - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 1536 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - change_admin - - - left - 150 - D7D72BF68937462B947DAC6BE7E28322 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 768 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 1 - change_type - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5888 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - cil_id - - - left - 02184EDAA80D499CB6EC94B159966DBE - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 7040 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - cm2_implementation_plan - - - left - text - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1280 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - description - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2560 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - ecr_comments - - - left - date - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1536 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - effectivity_date - - - left - 100 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 512 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - fast_track - - - center - 2AC3F078B8FD4509856D31A0FBD92DF8 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2432 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 1 - implementation_priority - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2304 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - implementation_timing - - - left - 120 - 998C92934CB54D78A184FE3DD5B3E81D - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - item_number - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6656 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - key_dates - - - left - boolean - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2816 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - low_nonrecurring_cost - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2944 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - nonrecurring_cost - - - left - 80 - 2AC3F078B8FD4509856D31A0FBD92DF8 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 640 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 1 - priority - - - left - F6FFD6A7E3FB4208AC66C7CC49286EF3 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1920 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 0 - problem_status - - - left - 553342EB14CD4FC4BC84CCC2FA619D52 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 6784 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - project - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - proposed_solution - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 6400 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - ramifications - - - left - float - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 3072 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - recurring_cost - - - left - 19D1F99D4F754721A6D300C903496F07 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 3200 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 0 - recurring_cost_direction - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 2688 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - release_date - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 896 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - requested_by - - - left - 5CCD7DF5FF35425DB830C3723BC82CF1 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2176 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 0 - routing - - - left - C4D805D51E71449888DC93946862F2D5 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6016 - 2D4799413792453DA08C1EDE6AA22A76 - 256 - 1 - security - - - left - 5B7E831D13D44F27A18AC05E878AF9BD - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6272 - 2D4799413792453DA08C1EDE6AA22A76 - 256 - 1 - severity - - - left - AA78E0C1F44E4956BF9DF6CA5F3757B7 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2048 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 1 - solution - - - left - 100 - E602F0779B924AE7B63C5096812B6804 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1024 - 2D4799413792453DA08C1EDE6AA22A76 - 64 - 1 - source - - - left - 29A36AFC386546E9B790E99FA2FF61E6 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 6144 - 2D4799413792453DA08C1EDE6AA22A76 - 256 - 1 - status - - - left - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1792 - 2D4799413792453DA08C1EDE6AA22A76 - 0 - technical_review - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - 2D4799413792453DA08C1EDE6AA22A76 - 128 - 1 - title - - - js - 0 - 6A7BC6A7507C4AA8A7005B684524CA51 - - - World - - - 1 - 256 - 2D4799413792453DA08C1EDE6AA22A76 - default - - - js - 1 - 2151A91940B34A90BC9BF0FCE24D26FC - - - World - - - 1 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - default - - - FD4D2BE9E2B14919BF1973842A556AFD - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - CAE190FA95C14DAF91462112D6F6BB4C - 384 - 2D4799413792453DA08C1EDE6AA22A76 - - - B55B3F9D1F30465F8F6B83F55FECBAEF - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - 0 - 7408BB5F5D974E758690B29694C544B6 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - 1 - EF4AA3A088594FA3BA55F82D713EEDAD - 256 - 2D4799413792453DA08C1EDE6AA22A76 - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - Change Management - - - 1 - - - World - - - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - 1 - 1DAC88DF968B4451B877A2E7D9703163 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - 485D52BE44B4409F956BF037480572D1 - 128 - 2D4799413792453DA08C1EDE6AA22A76 - - - 104E644AA2E74515B67EAC52790137D5 - 256 - 2D4799413792453DA08C1EDE6AA22A76 - - - - - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 3584 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - managed_by_id - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 3456 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - owned_by_id - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 384 - 2D4799413792453DA08C1EDE6AA22A76 - 32 - 0 - state - - - left - CC23F9130F574E7D99DF9659F27590A6 - item - 1 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5632 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - team_id - - - + + + 1 + 0 + ../images/ECR.svg + 25 + 1 + mergedProjects/ProductEngineering/plm_The_ECR.htm + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + ECR + 0 + 0 + 0 + + CRs + ../images/ECR.svg + ../images/ECR.svg + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + ECR + + + 2 + 2 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + + + Board + this + 128 + 9EBDCC39EC0A49849AB8829162D13C4C + + + 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 + ECR File(related_id) + 128 + DBC3E9A019414F96ACDB512A6EAC92D0 + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + + + Discussion + CAD + <Item type="ECR" id="${id}" action="VC_GetAffectedControlItems"/> + 256 + 9EBDCC39EC0A49849AB8829162D13C4C + + + Discussion + Document + <Item type="ECR" id="${id}" action="VC_GetAffectedControlItems"/> + 384 + 9EBDCC39EC0A49849AB8829162D13C4C + + + Discussion + Part + <Item type="ECR" id="${id}" action="VC_GetAffectedControlItems"/> + 512 + 9EBDCC39EC0A49849AB8829162D13C4C + + + js + + + discPanelOff + Form of ${ItemType:label} ${Item:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + 18D6E3B2858341E6A0D43C87C62AA4C5 + + + 128 + 9EBDCC39EC0A49849AB8829162D13C4C + + + + + js + D71DFFF991104F749892D5C816E1F5A2 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6528 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + adnl_details + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5760 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + ara_id + + + left + 200 + C31D90F608B3471088A59A8EBE7F0370 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1156 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 0 + basis + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 1536 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + change_admin + + + left + 150 + D7D72BF68937462B947DAC6BE7E28322 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 768 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 1 + change_type + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5888 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + cil_id + + + left + 02184EDAA80D499CB6EC94B159966DBE + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 7040 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + cm2_implementation_plan + + + left + text + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1280 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + description + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2560 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + ecr_comments + + + left + date + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1536 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + effectivity_date + + + left + 100 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 512 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + fast_track + + + center + 2AC3F078B8FD4509856D31A0FBD92DF8 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2432 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 1 + implementation_priority + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2304 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + implementation_timing + + + left + 120 + 998C92934CB54D78A184FE3DD5B3E81D + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + item_number + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6656 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + key_dates + + + left + boolean + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2816 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + low_nonrecurring_cost + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2944 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + nonrecurring_cost + + + left + 80 + 2AC3F078B8FD4509856D31A0FBD92DF8 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 640 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 1 + priority + + + left + F6FFD6A7E3FB4208AC66C7CC49286EF3 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1920 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 0 + problem_status + + + left + 553342EB14CD4FC4BC84CCC2FA619D52 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 6784 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + project + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + proposed_solution + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 6400 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + ramifications + + + left + float + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3072 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + recurring_cost + + + left + 19D1F99D4F754721A6D300C903496F07 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 3200 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 0 + recurring_cost_direction + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 2688 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + release_date + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 896 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + requested_by + + + left + 5CCD7DF5FF35425DB830C3723BC82CF1 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2176 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 0 + routing + + + left + C4D805D51E71449888DC93946862F2D5 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6016 + 2D4799413792453DA08C1EDE6AA22A76 + 256 + 1 + security + + + left + 5B7E831D13D44F27A18AC05E878AF9BD + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6272 + 2D4799413792453DA08C1EDE6AA22A76 + 256 + 1 + severity + + + left + AA78E0C1F44E4956BF9DF6CA5F3757B7 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2048 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 1 + solution + + + left + 100 + E602F0779B924AE7B63C5096812B6804 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1024 + 2D4799413792453DA08C1EDE6AA22A76 + 64 + 1 + source + + + left + 29A36AFC386546E9B790E99FA2FF61E6 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 6144 + 2D4799413792453DA08C1EDE6AA22A76 + 256 + 1 + status + + + left + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1792 + 2D4799413792453DA08C1EDE6AA22A76 + 0 + technical_review + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + 2D4799413792453DA08C1EDE6AA22A76 + 128 + 1 + title + + + js + 0 + 6A7BC6A7507C4AA8A7005B684524CA51 + + + World + + + 1 + 256 + 2D4799413792453DA08C1EDE6AA22A76 + default + + + js + 1 + 2151A91940B34A90BC9BF0FCE24D26FC + + + World + + + 1 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + default + + + FD4D2BE9E2B14919BF1973842A556AFD + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + CAE190FA95C14DAF91462112D6F6BB4C + 384 + 2D4799413792453DA08C1EDE6AA22A76 + + + B55B3F9D1F30465F8F6B83F55FECBAEF + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + 0 + 7408BB5F5D974E758690B29694C544B6 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + 1 + EF4AA3A088594FA3BA55F82D713EEDAD + 256 + 2D4799413792453DA08C1EDE6AA22A76 + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + Change Management + + + 1 + + + World + + + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + 1 + 1DAC88DF968B4451B877A2E7D9703163 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + 485D52BE44B4409F956BF037480572D1 + 128 + 2D4799413792453DA08C1EDE6AA22A76 + + + 104E644AA2E74515B67EAC52790137D5 + 256 + 2D4799413792453DA08C1EDE6AA22A76 + + + + + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 3584 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + managed_by_id + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 3456 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + owned_by_id + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 384 + 2D4799413792453DA08C1EDE6AA22A76 + 32 + 0 + state + + + left + CC23F9130F574E7D99DF9659F27590A6 + item + 1 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5632 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + team_id + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/PE_Deviation.xml b/Imports/2-Post/PLM/Import/ItemType/PE_Deviation.xml similarity index 97% rename from Imports/PLM/Import/ItemType/PE_Deviation.xml rename to Imports/2-Post/PLM/Import/ItemType/PE_Deviation.xml index 7fffbb3..21773a1 100644 --- a/Imports/PLM/Import/ItemType/PE_Deviation.xml +++ b/Imports/2-Post/PLM/Import/ItemType/PE_Deviation.xml @@ -1,327 +1,327 @@ - - - 0 - 1 - 50 - 0 - 0 - table - PE_DEVIATION - 0 - 0 - 0 - - Deviations - ../Images/Deviation.svg - ../Images/Deviation.svg - 7FE395DD8B9F4E1090756A34B733D75E - 0 - tabs off - 0 - 0 - PE_Deviation - - - 2 - 2 - 128 - C3317E65105D44C88C1603FB919146BC - 1 - - - Board - this - 128 - 74A6411F17AD4842898D0B1549CE0CEB - - - Discussion - - affected_part - 256 - 74A6411F17AD4842898D0B1549CE0CEB - - - js - - - discPanelOff - Form of ${ItemType:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - 14B88800127A4656AA164541143D4D73 - - - 128 - 74A6411F17AD4842898D0B1549CE0CEB - - - - - js - 58E1B4FEBD594F878EA2463516B9EFF0 - 128 - C3317E65105D44C88C1603FB919146BC - - - left - 120 - 4F1AC04A2B484F3ABA4E20DB63808A88 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 640 - C3317E65105D44C88C1603FB919146BC - 0 - affected_part - - - left - 250 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - C3317E65105D44C88C1603FB919146BC - 512 - 0 - description - - - left - 110 - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 768 - C3317E65105D44C88C1603FB919146BC - 0 - effective_from - - - left - 110 - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 896 - C3317E65105D44C88C1603FB919146BC - 0 - effective_to - - - left - 110 - 437FD7BA0FE1491EA3D6F7C1DE1FCBE7 - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - C3317E65105D44C88C1603FB919146BC - 0 - item_number - - - left - CC2E5B8519EC48C5A3A0BDAC2A0842C3 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 11792 - C3317E65105D44C88C1603FB919146BC - 0 - location - - - left - 250 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 384 - C3317E65105D44C88C1603FB919146BC - 512 - 0 - reason - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 11920 - C3317E65105D44C88C1603FB919146BC - 0 - release_date - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 12048 - C3317E65105D44C88C1603FB919146BC - 0 - release_date_plan - - - js - 34272F491C5B47A7BF0924A57C4FD4BA - - - World - - - 1 - 128 - C3317E65105D44C88C1603FB919146BC - default - - - FD4D2BE9E2B14919BF1973842A556AFD - 256 - C3317E65105D44C88C1603FB919146BC - - - 96E916FC21134EC79B83F61D66427628 - 128 - C3317E65105D44C88C1603FB919146BC - - - 1 - 3473F755D9D74B33BFF93D32164FABB7 - 128 - C3317E65105D44C88C1603FB919146BC - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - C3317E65105D44C88C1603FB919146BC - Change Management - - - 1 - BABF5AE8735447B48C26489922E585FE - 128 - C3317E65105D44C88C1603FB919146BC - - - 1 - 8942E8B70D114C80976FB044828BFFD8 - 128 - C3317E65105D44C88C1603FB919146BC - - - - - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 512 - C3317E65105D44C88C1603FB919146BC - 0 - owned_by_id - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 448 - C3317E65105D44C88C1603FB919146BC - 32 - 0 - state - - - + + + 0 + 1 + 50 + 0 + 0 + table + PE_DEVIATION + 0 + 0 + 0 + + Deviations + ../Images/Deviation.svg + ../Images/Deviation.svg + 7FE395DD8B9F4E1090756A34B733D75E + 0 + tabs off + 0 + 0 + PE_Deviation + + + 2 + 2 + 128 + C3317E65105D44C88C1603FB919146BC + 1 + + + Board + this + 128 + 74A6411F17AD4842898D0B1549CE0CEB + + + Discussion + + affected_part + 256 + 74A6411F17AD4842898D0B1549CE0CEB + + + js + + + discPanelOff + Form of ${ItemType:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + 14B88800127A4656AA164541143D4D73 + + + 128 + 74A6411F17AD4842898D0B1549CE0CEB + + + + + js + 58E1B4FEBD594F878EA2463516B9EFF0 + 128 + C3317E65105D44C88C1603FB919146BC + + + left + 120 + 4F1AC04A2B484F3ABA4E20DB63808A88 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 640 + C3317E65105D44C88C1603FB919146BC + 0 + affected_part + + + left + 250 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + C3317E65105D44C88C1603FB919146BC + 512 + 0 + description + + + left + 110 + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 768 + C3317E65105D44C88C1603FB919146BC + 0 + effective_from + + + left + 110 + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 896 + C3317E65105D44C88C1603FB919146BC + 0 + effective_to + + + left + 110 + 437FD7BA0FE1491EA3D6F7C1DE1FCBE7 + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + C3317E65105D44C88C1603FB919146BC + 0 + item_number + + + left + CC2E5B8519EC48C5A3A0BDAC2A0842C3 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 11792 + C3317E65105D44C88C1603FB919146BC + 0 + location + + + left + 250 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 384 + C3317E65105D44C88C1603FB919146BC + 512 + 0 + reason + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 11920 + C3317E65105D44C88C1603FB919146BC + 0 + release_date + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 12048 + C3317E65105D44C88C1603FB919146BC + 0 + release_date_plan + + + js + 34272F491C5B47A7BF0924A57C4FD4BA + + + World + + + 1 + 128 + C3317E65105D44C88C1603FB919146BC + default + + + FD4D2BE9E2B14919BF1973842A556AFD + 256 + C3317E65105D44C88C1603FB919146BC + + + 96E916FC21134EC79B83F61D66427628 + 128 + C3317E65105D44C88C1603FB919146BC + + + 1 + 3473F755D9D74B33BFF93D32164FABB7 + 128 + C3317E65105D44C88C1603FB919146BC + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + C3317E65105D44C88C1603FB919146BC + Change Management + + + 1 + BABF5AE8735447B48C26489922E585FE + 128 + C3317E65105D44C88C1603FB919146BC + + + 1 + 8942E8B70D114C80976FB044828BFFD8 + 128 + C3317E65105D44C88C1603FB919146BC + + + + + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 512 + C3317E65105D44C88C1603FB919146BC + 0 + owned_by_id + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 448 + C3317E65105D44C88C1603FB919146BC + 32 + 0 + state + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/PE_Waiver.xml b/Imports/2-Post/PLM/Import/ItemType/PE_Waiver.xml similarity index 97% rename from Imports/PLM/Import/ItemType/PE_Waiver.xml rename to Imports/2-Post/PLM/Import/ItemType/PE_Waiver.xml index 63ab1b4..9a9b758 100644 --- a/Imports/PLM/Import/ItemType/PE_Waiver.xml +++ b/Imports/2-Post/PLM/Import/ItemType/PE_Waiver.xml @@ -1,326 +1,326 @@ - - - 0 - 1 - 50 - 0 - 0 - table - PE_WAIVER - 0 - 0 - 0 - - Waivers - ../Images/Waiver.svg - ../Images/Waiver.svg - 7FE395DD8B9F4E1090756A34B733D75E - 0 - tabs off - 0 - 0 - PE_Waiver - - - 2 - 2 - 128 - CD84AA40803F444CBF06843D26F6EC6A - 1 - - - Board - this - 128 - B5872E188F0E41618DD4A7EE6672ADEC - - - Discussion - affected_part - 256 - B5872E188F0E41618DD4A7EE6672ADEC - - - js - - - discPanelOff - Form of ${ItemType:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - 2864E54BB9C0459F8AC4C95B2A29B2C9 - - - 128 - B5872E188F0E41618DD4A7EE6672ADEC - - - - - js - 58E1B4FEBD594F878EA2463516B9EFF0 - 128 - CD84AA40803F444CBF06843D26F6EC6A - - - left - 120 - 4F1AC04A2B484F3ABA4E20DB63808A88 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 768 - CD84AA40803F444CBF06843D26F6EC6A - 0 - affected_part - - - left - 250 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - CD84AA40803F444CBF06843D26F6EC6A - 512 - 0 - description - - - left - 110 - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 896 - CD84AA40803F444CBF06843D26F6EC6A - 0 - effective_from - - - left - 110 - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 1024 - CD84AA40803F444CBF06843D26F6EC6A - 0 - effective_to - - - left - 110 - 1630B6671D0D4BFB96DC231B50DE21FA - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - CD84AA40803F444CBF06843D26F6EC6A - 0 - item_number - - - left - CC2E5B8519EC48C5A3A0BDAC2A0842C3 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 3072 - CD84AA40803F444CBF06843D26F6EC6A - 0 - location - - - left - 250 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 384 - CD84AA40803F444CBF06843D26F6EC6A - 512 - 0 - reason - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3200 - CD84AA40803F444CBF06843D26F6EC6A - 0 - release_date - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3328 - CD84AA40803F444CBF06843D26F6EC6A - 0 - release_date_plan - - - js - FA69F063A64141EA9BF7F147B36F6B52 - - - World - - - 1 - 128 - CD84AA40803F444CBF06843D26F6EC6A - default - - - FD4D2BE9E2B14919BF1973842A556AFD - 256 - CD84AA40803F444CBF06843D26F6EC6A - - - 3DB7481EC0674021BEF686A1A421BECD - 128 - CD84AA40803F444CBF06843D26F6EC6A - - - 1 - 5A761D5B2C014C949A2AA74F950FB282 - 128 - CD84AA40803F444CBF06843D26F6EC6A - - - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - CD84AA40803F444CBF06843D26F6EC6A - Change Management - - - 1 - BABF5AE8735447B48C26489922E585FE - 128 - CD84AA40803F444CBF06843D26F6EC6A - - - 1 - 486491A5130B4710A0E1BE63E3F9C80C - 128 - CD84AA40803F444CBF06843D26F6EC6A - - - - - - - left - 120 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 640 - CD84AA40803F444CBF06843D26F6EC6A - 0 - owned_by_id - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 512 - CD84AA40803F444CBF06843D26F6EC6A - 32 - 0 - state - - - + + + 0 + 1 + 50 + 0 + 0 + table + PE_WAIVER + 0 + 0 + 0 + + Waivers + ../Images/Waiver.svg + ../Images/Waiver.svg + 7FE395DD8B9F4E1090756A34B733D75E + 0 + tabs off + 0 + 0 + PE_Waiver + + + 2 + 2 + 128 + CD84AA40803F444CBF06843D26F6EC6A + 1 + + + Board + this + 128 + B5872E188F0E41618DD4A7EE6672ADEC + + + Discussion + affected_part + 256 + B5872E188F0E41618DD4A7EE6672ADEC + + + js + + + discPanelOff + Form of ${ItemType:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + 2864E54BB9C0459F8AC4C95B2A29B2C9 + + + 128 + B5872E188F0E41618DD4A7EE6672ADEC + + + + + js + 58E1B4FEBD594F878EA2463516B9EFF0 + 128 + CD84AA40803F444CBF06843D26F6EC6A + + + left + 120 + 4F1AC04A2B484F3ABA4E20DB63808A88 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 768 + CD84AA40803F444CBF06843D26F6EC6A + 0 + affected_part + + + left + 250 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + CD84AA40803F444CBF06843D26F6EC6A + 512 + 0 + description + + + left + 110 + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 896 + CD84AA40803F444CBF06843D26F6EC6A + 0 + effective_from + + + left + 110 + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 1024 + CD84AA40803F444CBF06843D26F6EC6A + 0 + effective_to + + + left + 110 + 1630B6671D0D4BFB96DC231B50DE21FA + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + CD84AA40803F444CBF06843D26F6EC6A + 0 + item_number + + + left + CC2E5B8519EC48C5A3A0BDAC2A0842C3 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 3072 + CD84AA40803F444CBF06843D26F6EC6A + 0 + location + + + left + 250 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 384 + CD84AA40803F444CBF06843D26F6EC6A + 512 + 0 + reason + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3200 + CD84AA40803F444CBF06843D26F6EC6A + 0 + release_date + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3328 + CD84AA40803F444CBF06843D26F6EC6A + 0 + release_date_plan + + + js + FA69F063A64141EA9BF7F147B36F6B52 + + + World + + + 1 + 128 + CD84AA40803F444CBF06843D26F6EC6A + default + + + FD4D2BE9E2B14919BF1973842A556AFD + 256 + CD84AA40803F444CBF06843D26F6EC6A + + + 3DB7481EC0674021BEF686A1A421BECD + 128 + CD84AA40803F444CBF06843D26F6EC6A + + + 1 + 5A761D5B2C014C949A2AA74F950FB282 + 128 + CD84AA40803F444CBF06843D26F6EC6A + + + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + CD84AA40803F444CBF06843D26F6EC6A + Change Management + + + 1 + BABF5AE8735447B48C26489922E585FE + 128 + CD84AA40803F444CBF06843D26F6EC6A + + + 1 + 486491A5130B4710A0E1BE63E3F9C80C + 128 + CD84AA40803F444CBF06843D26F6EC6A + + + + + + + left + 120 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 640 + CD84AA40803F444CBF06843D26F6EC6A + 0 + owned_by_id + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 512 + CD84AA40803F444CBF06843D26F6EC6A + 32 + 0 + state + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/PR.xml b/Imports/2-Post/PLM/Import/ItemType/PR.xml similarity index 97% rename from Imports/PLM/Import/ItemType/PR.xml rename to Imports/2-Post/PLM/Import/ItemType/PR.xml index 0b93fff..23fe92b 100644 --- a/Imports/PLM/Import/ItemType/PR.xml +++ b/Imports/2-Post/PLM/Import/ItemType/PR.xml @@ -1,484 +1,484 @@ - - - 1 - 0 - ../images/PR.svg - 25 - 1 - mergedProjects/ProductEngineering/plm_PR_-_Problem_Report.htm - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - PR - 0 - 0 - 0 - - PRs - ../images/PR.svg - ../images/PR.svg - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs on - 0 - 0 - PR - - - 2 - 2 - 128 - 881803D90C0B4F98A49A4732C16277F2 - 1 - - - Board - Add - this - 128 - 9B51C6A3D28B4FF1B7A445E01679607F - - - 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 - PR File(related_id) - 128 - 076F1515460A4D019354ECC7EDBAC6C4 - File ${File:filename} from ${ItemType:label} ${Item:keyed_name} - - - - - Discussion - CAD - affected_item - 256 - 9B51C6A3D28B4FF1B7A445E01679607F - - - Discussion - Document - affected_item - 384 - 9B51C6A3D28B4FF1B7A445E01679607F - - - Discussion - Part - affected_item - 512 - 9B51C6A3D28B4FF1B7A445E01679607F - - - js - - - discPanelOff - Form of ${ItemType:label} ${Item:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - 27D07CCDBA85451F858F73681B98657D - - - 128 - 9B51C6A3D28B4FF1B7A445E01679607F - - - - - js - 4994E9D389B64221AB7713846D7267DA - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - left - 250 - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2432 - 881803D90C0B4F98A49A4732C16277F2 - 0 - action - - - left - 198BF0BCCC364EE29F56434D803D5F1E - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 5632 - 881803D90C0B4F98A49A4732C16277F2 - 0 - affected_item - - - left - 200 - C31D90F608B3471088A59A8EBE7F0370 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1152 - 881803D90C0B4F98A49A4732C16277F2 - 64 - 0 - basis - - - left - 250 - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1536 - 881803D90C0B4F98A49A4732C16277F2 - 0 - description - - - left - 250 - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1280 - 881803D90C0B4F98A49A4732C16277F2 - 512 - 0 - environment - - - left - 250 - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - 881803D90C0B4F98A49A4732C16277F2 - 0 - events - - - left - 250 - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2176 - 881803D90C0B4F98A49A4732C16277F2 - 0 - impact - - - left - 120 - 2C79EA45E47744038466195A37797AAA - sequence - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - 881803D90C0B4F98A49A4732C16277F2 - 0 - item_number - - - left - 150 - B125813A57C44549BBFBC5D649D8C687 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1920 - 881803D90C0B4F98A49A4732C16277F2 - 64 - 0 - phase_caused - - - left - 150 - B125813A57C44549BBFBC5D649D8C687 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2048 - 881803D90C0B4F98A49A4732C16277F2 - 64 - 0 - phase_found - - - left - 80 - 2AC3F078B8FD4509856D31A0FBD92DF8 - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1664 - 881803D90C0B4F98A49A4732C16277F2 - 64 - 0 - priority - - - left - 120 - date - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2560 - 881803D90C0B4F98A49A4732C16277F2 - 0 - release_date - - - left - 150 - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 512 - 881803D90C0B4F98A49A4732C16277F2 - 0 - reported_by - - - left - 100 - 5B7E831D13D44F27A18AC05E878AF9BD - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2304 - 881803D90C0B4F98A49A4732C16277F2 - 64 - 0 - severity - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - 881803D90C0B4F98A49A4732C16277F2 - 128 - 0 - title - - - left - 250 - text - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1792 - 881803D90C0B4F98A49A4732C16277F2 - 0 - verification - - - js - BECC5C22100641F2A96F2AFB8155A380 - - - World - - - 1 - 128 - 881803D90C0B4F98A49A4732C16277F2 - default - - - FD4D2BE9E2B14919BF1973842A556AFD - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - ED4E9C9F868A46F290F25FE8C5084F5F - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - 1 - B264D9B4BDCB4E2DBD79E06E465568C7 - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - 56A96DA9E981481688563E2D14D5D878 - 128 - 881803D90C0B4F98A49A4732C16277F2 - Change Management - - - 1 - - - World - - - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - 1 - 7D27AFAB18684A309CD19EAA31597C38 - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - 9280895889CB4FDC88B5EF8CDEFCC6FB - 128 - 881803D90C0B4F98A49A4732C16277F2 - - - 3FA087DFB77341F3B471015FA69AE775 - 256 - 881803D90C0B4F98A49A4732C16277F2 - - - - - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 384 - 881803D90C0B4F98A49A4732C16277F2 - 32 - 0 - state - - - + + + 1 + 0 + ../images/PR.svg + 25 + 1 + mergedProjects/ProductEngineering/plm_PR_-_Problem_Report.htm + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + PR + 0 + 0 + 0 + + PRs + ../images/PR.svg + ../images/PR.svg + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs on + 0 + 0 + PR + + + 2 + 2 + 128 + 881803D90C0B4F98A49A4732C16277F2 + 1 + + + Board + Add + this + 128 + 9B51C6A3D28B4FF1B7A445E01679607F + + + 7869D76D50ED4BD4985BECB20B1102F7|992B142FCE6C4EF8B71417220CD7E92D|50AF497B7A114235979F882CEC8EFDF6|8A85DD9A6E0346F5AE423314E3650041 + PR File(related_id) + 128 + 076F1515460A4D019354ECC7EDBAC6C4 + File ${File:filename} from ${ItemType:label} ${Item:keyed_name} + + + + + Discussion + CAD + affected_item + 256 + 9B51C6A3D28B4FF1B7A445E01679607F + + + Discussion + Document + affected_item + 384 + 9B51C6A3D28B4FF1B7A445E01679607F + + + Discussion + Part + affected_item + 512 + 9B51C6A3D28B4FF1B7A445E01679607F + + + js + + + discPanelOff + Form of ${ItemType:label} ${Item:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + 27D07CCDBA85451F858F73681B98657D + + + 128 + 9B51C6A3D28B4FF1B7A445E01679607F + + + + + js + 4994E9D389B64221AB7713846D7267DA + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + left + 250 + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2432 + 881803D90C0B4F98A49A4732C16277F2 + 0 + action + + + left + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 5632 + 881803D90C0B4F98A49A4732C16277F2 + 0 + affected_item + + + left + 200 + C31D90F608B3471088A59A8EBE7F0370 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1152 + 881803D90C0B4F98A49A4732C16277F2 + 64 + 0 + basis + + + left + 250 + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1536 + 881803D90C0B4F98A49A4732C16277F2 + 0 + description + + + left + 250 + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1280 + 881803D90C0B4F98A49A4732C16277F2 + 512 + 0 + environment + + + left + 250 + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + 881803D90C0B4F98A49A4732C16277F2 + 0 + events + + + left + 250 + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2176 + 881803D90C0B4F98A49A4732C16277F2 + 0 + impact + + + left + 120 + 2C79EA45E47744038466195A37797AAA + sequence + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + 881803D90C0B4F98A49A4732C16277F2 + 0 + item_number + + + left + 150 + B125813A57C44549BBFBC5D649D8C687 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1920 + 881803D90C0B4F98A49A4732C16277F2 + 64 + 0 + phase_caused + + + left + 150 + B125813A57C44549BBFBC5D649D8C687 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2048 + 881803D90C0B4F98A49A4732C16277F2 + 64 + 0 + phase_found + + + left + 80 + 2AC3F078B8FD4509856D31A0FBD92DF8 + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1664 + 881803D90C0B4F98A49A4732C16277F2 + 64 + 0 + priority + + + left + 120 + date + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2560 + 881803D90C0B4F98A49A4732C16277F2 + 0 + release_date + + + left + 150 + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 512 + 881803D90C0B4F98A49A4732C16277F2 + 0 + reported_by + + + left + 100 + 5B7E831D13D44F27A18AC05E878AF9BD + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2304 + 881803D90C0B4F98A49A4732C16277F2 + 64 + 0 + severity + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + 881803D90C0B4F98A49A4732C16277F2 + 128 + 0 + title + + + left + 250 + text + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1792 + 881803D90C0B4F98A49A4732C16277F2 + 0 + verification + + + js + BECC5C22100641F2A96F2AFB8155A380 + + + World + + + 1 + 128 + 881803D90C0B4F98A49A4732C16277F2 + default + + + FD4D2BE9E2B14919BF1973842A556AFD + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + ED4E9C9F868A46F290F25FE8C5084F5F + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + 1 + B264D9B4BDCB4E2DBD79E06E465568C7 + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + 56A96DA9E981481688563E2D14D5D878 + 128 + 881803D90C0B4F98A49A4732C16277F2 + Change Management + + + 1 + + + World + + + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + 1 + 7D27AFAB18684A309CD19EAA31597C38 + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + 9280895889CB4FDC88B5EF8CDEFCC6FB + 128 + 881803D90C0B4F98A49A4732C16277F2 + + + 3FA087DFB77341F3B471015FA69AE775 + 256 + 881803D90C0B4F98A49A4732C16277F2 + + + + + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 384 + 881803D90C0B4F98A49A4732C16277F2 + 32 + 0 + state + + + \ No newline at end of file diff --git a/Imports/PLM/Import/ItemType/Part.xml b/Imports/2-Post/PLM/Import/ItemType/Part.xml similarity index 97% rename from Imports/PLM/Import/ItemType/Part.xml rename to Imports/2-Post/PLM/Import/ItemType/Part.xml index a598d38..79966c5 100644 --- a/Imports/PLM/Import/ItemType/Part.xml +++ b/Imports/2-Post/PLM/Import/ItemType/Part.xml @@ -1,1036 +1,1036 @@ - - - 1 - 0 - ]]> - ../images/Part.svg - 25 - 1 - mergedProjects/ProductEngineering/plm_Parts.htm - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - PART - 0 - 0 - 1 - - Physical Items - ../images/Part.svg - 0 - ../images/Part.svg - 7FE395DD8B9F4E1090756A34B733D75E - 0 - tabs on - 0 - 0 - Part - - - 1 - 1 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 1 - - - Board - this - 128 - 380D321FE086476FBF2AE318D5FBC96B - - - Discussion - Part CAD(related_id) - 256 - 380D321FE086476FBF2AE318D5FBC96B - - - Discussion - Part Document(related_id) - 384 - 380D321FE086476FBF2AE318D5FBC96B - - - Discussion - Part BOM(related_id) - 512 - 380D321FE086476FBF2AE318D5FBC96B - - - js - - - discPanelOff - Form of ${ItemType:label} ${Item:keyed_name} - F1E9620C1AB3408588708B68E18D51DE - F6AF0D642C0D4EA7B08F192A443A9432 - - - 128 - 380D321FE086476FBF2AE318D5FBC96B - - - - - js - F2BAFC3F368B4EDE968406BFDB6597AC - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - left - string - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 95384 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 5 - 0 - cage_code - - - left - 85F86794FACF42599F07019F7BEA1D46 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 95256 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - cn - - - right - 80 - decimal - 0 - 1 - 0 - 0 - 0 - 0 - - 19 - 0 - 0 - 4 - 896 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - cost - - - left - 100 - 540DD8228C8043BD905BF401D245926E - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1408 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 64 - 0 - cost_basis - - - left - 250 - string - 0 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1792 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 256 - 1 - description - - - left - string - 1 - 1 - 1 - 0 - 0 - 0 - - 0 - 0 - 1920 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 256 - 0 - external_id - - - left - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2176 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 128 - 0 - external_owner - - - left - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 2048 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 128 - 0 - external_type - - - center - 60 - boolean - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 95000 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - has_change_pending - - - left - string - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 95768 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 16 - 0 - lot - - - left - 100 - F7553D600D57489BB81309E32835AFEC - list - Make - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1152 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 64 - 0 - make_buy - - - - left - 4E7999BAD4D44B3EA976B3295713691E - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 95512 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - model_id - - - left - 200 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 384 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 64 - 1 - name - - - left - 30E74BEAE3524944A0514D74CD2DE6A3 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 95896 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 256 - 1 - operational_status - - - left - date - 0 - 1 - 1 - 0 - 0 - 0 - - short_date - 0 - 0 - 95128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - release_date_plan - - - - left - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 95640 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 16 - 0 - serial_number - - - left - image - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 5248 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - thumbnail - - - left - 60 - 2BE5CDEBF2114CE88DEF9455ECAF785B - list - EA - 1 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 1024 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 64 - 1 - unit - - - left - 80 - decimal - 1 - 1 - 0 - 0 - 0 - 0 - - 19 - 0 - 0 - 4 - 1536 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - weight - - - left - 100 - 540DD8228C8043BD905BF401D245926E - list - 1 - 1 - 0 - 0 - 0 - 0 - - 0 - 0 - 1664 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 64 - 0 - weight_basis - - - js - 1 - A4801E4D767B411CBC9D87ED379EEA04 - - - World - - - 0 - 768 - 4F1AC04A2B484F3ABA4E20DB63808A88 - add - - - js - 999 - 5FFC8F61CCFD4D1893C4DF7987720C8B - - - World - - - 0 - 256 - 4F1AC04A2B484F3ABA4E20DB63808A88 - default - - - js - 2 - 03957E0309604F2B946AD099A696BF5E - - - World - - - 0 - 896 - 4F1AC04A2B484F3ABA4E20DB63808A88 - default - - - js - 1 - CAF99D0A8E6E44E9A681C38015FACE91 - - - World - - - 1 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - default - - - js - 0 - Model - 558BC306774448158C25F43BF505B59F - - - World - - - 0 - 640 - 4F1AC04A2B484F3ABA4E20DB63808A88 - default - - - js - 0 - Facilities/System - 427E8C89EBA145369AB023B6022B2C5D - - - World - - - 0 - 1280 - 4F1AC04A2B484F3ABA4E20DB63808A88 - edit - - - js - 0 - Facilities/Component - 427E8C89EBA145369AB023B6022B2C5D - - - World - - - 0 - 1024 - 4F1AC04A2B484F3ABA4E20DB63808A88 - edit - - - js - 0 - IS - 427E8C89EBA145369AB023B6022B2C5D - - - World - - - 0 - 1408 - 4F1AC04A2B484F3ABA4E20DB63808A88 - edit - - - js - 0 - Facilities/Facility - 427E8C89EBA145369AB023B6022B2C5D - - - World - - - 0 - 1152 - 4F1AC04A2B484F3ABA4E20DB63808A88 - edit - - - version_1 - 0 - - - PE_RollupPart - - - onAfterAdd - 256 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterCopy - 100001 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - CM2 GetCN - - - onAfterGet - 100257 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - PE_RollupPart - - - onAfterUpdate - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - PE_AffectedItemFloat - - - onAfterVersion - 1024 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterVersion - 100000 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - PE_clean_has_change_pending_prop - - - onBeforeAdd - 1280 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeAdd - 100129 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - CM2 Set Model Serial Number - - - onBeforeAdd - 100385 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - PE_clean_has_change_pending_prop - - - onBeforeUpdate - 1152 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - version_1 - 0 - - - CM2 CleanCRCN - - - onBeforeUpdate - 100129 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 3313FB477B9A4982A30EA157ED896247 - 768 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 2CAC9B41B8394D29B89C45C522703BC4 - 896 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 39BE6AC491184B979EC03D1400F35F2F - 1024 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 83FB72FC3E4D42B8B51BCD7F4194E527 - 1152 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - FD4D2BE9E2B14919BF1973842A556AFD - 1408 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - E337EBF706FA4172B2CD1A6487E00875 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - World - - - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - Design - - - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 1 - 5C07EB829D4241F6BB884952960FAF58 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - FB8CA61BE45E46DE9E4346BB653398C2 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 2290D6D2214C4A38B5C08755AEE8A282 - 256 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - B932166880F84F30BB02C62E0C29CBEF - 384 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - EB940D65D28E47618BC9708787223C58 - 512 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - A6CD776E2433445EBB77F968C819459D - 640 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 2FF4B7DF9F764CB7A36423FC4C48A5C6 - 768 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 076AA24713B744828E95FA4D6C05CE6D - 896 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 8D82A0C06CDB4489AAB0C5F9FC54260F - 1024 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - B909CF1CBD43410797C01E8D8F6C6976 - 1152 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - 80ACAC814DD64180B90A6EE129360338 - 1280 - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - left - 120 - 1A5FABE557C74B20AAB9E3394B180507 - sequence - 0 - 0 - 1 - 1 - 0 - 0 - 1 - - 1 - 0 - 0 - 128 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 32 - 0 - item_number - - - left - 120 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 512 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 512 - 0 - classification - - - left - date - 0 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 3072 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - effective_date - - - left - integer - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - 2432 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - generation - - - center - 50 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 256 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 8 - 0 - major_rev - - - oneditstart - - - Grid Cell ReadOnly - - - 128 - - - major_rev - 4F1AC04A2B484F3ABA4E20DB63808A88 - - - - - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 896 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - managed_by_id - - - left - E582AB17663F4EF28460015B2BE9E094 - item - 0 - 1 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 768 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - owned_by_id - - - left - date - 0 - 1 - 0 - 0 - 0 - 0 - - short_date - 0 - 1 - 2944 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - release_date - - - left - 80 - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 1 - 640 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 32 - 0 - state - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 0 - 5120 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - superseded_date - - - + + + 1 + 0 + ]]> + ../images/Part.svg + 25 + 1 + mergedProjects/ProductEngineering/plm_Parts.htm + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + PART + 0 + 0 + 1 + + Physical Items + ../images/Part.svg + 0 + ../images/Part.svg + 7FE395DD8B9F4E1090756A34B733D75E + 0 + tabs on + 0 + 0 + Part + + + 1 + 1 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 1 + + + Board + this + 128 + 380D321FE086476FBF2AE318D5FBC96B + + + Discussion + Part CAD(related_id) + 256 + 380D321FE086476FBF2AE318D5FBC96B + + + Discussion + Part Document(related_id) + 384 + 380D321FE086476FBF2AE318D5FBC96B + + + Discussion + Part BOM(related_id) + 512 + 380D321FE086476FBF2AE318D5FBC96B + + + js + + + discPanelOff + Form of ${ItemType:label} ${Item:keyed_name} + F1E9620C1AB3408588708B68E18D51DE + F6AF0D642C0D4EA7B08F192A443A9432 + + + 128 + 380D321FE086476FBF2AE318D5FBC96B + + + + + js + F2BAFC3F368B4EDE968406BFDB6597AC + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + left + string + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 95384 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 5 + 0 + cage_code + + + left + 85F86794FACF42599F07019F7BEA1D46 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 95256 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + cn + + + right + 80 + decimal + 0 + 1 + 0 + 0 + 0 + 0 + + 19 + 0 + 0 + 4 + 896 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + cost + + + left + 100 + 540DD8228C8043BD905BF401D245926E + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1408 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 64 + 0 + cost_basis + + + left + 250 + string + 0 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1792 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 256 + 1 + description + + + left + string + 1 + 1 + 1 + 0 + 0 + 0 + + 0 + 0 + 1920 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 256 + 0 + external_id + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2176 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 128 + 0 + external_owner + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 2048 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 128 + 0 + external_type + + + center + 60 + boolean + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 95000 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + has_change_pending + + + left + string + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 95768 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 16 + 0 + lot + + + left + 100 + F7553D600D57489BB81309E32835AFEC + list + Make + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1152 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 64 + 0 + make_buy + + + + left + 4E7999BAD4D44B3EA976B3295713691E + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 95512 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + model_id + + + left + 200 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 384 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 64 + 1 + name + + + left + 30E74BEAE3524944A0514D74CD2DE6A3 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 95896 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 256 + 1 + operational_status + + + left + date + 0 + 1 + 1 + 0 + 0 + 0 + + short_date + 0 + 0 + 95128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + release_date_plan + + + + left + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 95640 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 16 + 0 + serial_number + + + left + image + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 5248 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + thumbnail + + + left + 60 + 2BE5CDEBF2114CE88DEF9455ECAF785B + list + EA + 1 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 1024 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 64 + 1 + unit + + + left + 80 + decimal + 1 + 1 + 0 + 0 + 0 + 0 + + 19 + 0 + 0 + 4 + 1536 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + weight + + + left + 100 + 540DD8228C8043BD905BF401D245926E + list + 1 + 1 + 0 + 0 + 0 + 0 + + 0 + 0 + 1664 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 64 + 0 + weight_basis + + + js + 1 + A4801E4D767B411CBC9D87ED379EEA04 + + + World + + + 0 + 768 + 4F1AC04A2B484F3ABA4E20DB63808A88 + add + + + js + 999 + 5FFC8F61CCFD4D1893C4DF7987720C8B + + + World + + + 0 + 256 + 4F1AC04A2B484F3ABA4E20DB63808A88 + default + + + js + 2 + 03957E0309604F2B946AD099A696BF5E + + + World + + + 0 + 896 + 4F1AC04A2B484F3ABA4E20DB63808A88 + default + + + js + 1 + CAF99D0A8E6E44E9A681C38015FACE91 + + + World + + + 1 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + default + + + js + 0 + Model + 558BC306774448158C25F43BF505B59F + + + World + + + 0 + 640 + 4F1AC04A2B484F3ABA4E20DB63808A88 + default + + + js + 0 + Facilities/System + 427E8C89EBA145369AB023B6022B2C5D + + + World + + + 0 + 1280 + 4F1AC04A2B484F3ABA4E20DB63808A88 + edit + + + js + 0 + Facilities/Component + 427E8C89EBA145369AB023B6022B2C5D + + + World + + + 0 + 1024 + 4F1AC04A2B484F3ABA4E20DB63808A88 + edit + + + js + 0 + IS + 427E8C89EBA145369AB023B6022B2C5D + + + World + + + 0 + 1408 + 4F1AC04A2B484F3ABA4E20DB63808A88 + edit + + + js + 0 + Facilities/Facility + 427E8C89EBA145369AB023B6022B2C5D + + + World + + + 0 + 1152 + 4F1AC04A2B484F3ABA4E20DB63808A88 + edit + + + version_1 + 0 + + + PE_RollupPart + + + onAfterAdd + 256 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterCopy + 100001 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + CM2 GetCN + + + onAfterGet + 100257 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + PE_RollupPart + + + onAfterUpdate + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + PE_AffectedItemFloat + + + onAfterVersion + 1024 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterVersion + 100000 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + PE_clean_has_change_pending_prop + + + onBeforeAdd + 1280 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeAdd + 100129 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + CM2 Set Model Serial Number + + + onBeforeAdd + 100385 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + PE_clean_has_change_pending_prop + + + onBeforeUpdate + 1152 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + version_1 + 0 + + + CM2 CleanCRCN + + + onBeforeUpdate + 100129 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 3313FB477B9A4982A30EA157ED896247 + 768 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 2CAC9B41B8394D29B89C45C522703BC4 + 896 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 39BE6AC491184B979EC03D1400F35F2F + 1024 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 83FB72FC3E4D42B8B51BCD7F4194E527 + 1152 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + FD4D2BE9E2B14919BF1973842A556AFD + 1408 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + E337EBF706FA4172B2CD1A6487E00875 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + World + + + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + Design + + + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 1 + 5C07EB829D4241F6BB884952960FAF58 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + FB8CA61BE45E46DE9E4346BB653398C2 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 2290D6D2214C4A38B5C08755AEE8A282 + 256 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + B932166880F84F30BB02C62E0C29CBEF + 384 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + EB940D65D28E47618BC9708787223C58 + 512 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + A6CD776E2433445EBB77F968C819459D + 640 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 2FF4B7DF9F764CB7A36423FC4C48A5C6 + 768 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 076AA24713B744828E95FA4D6C05CE6D + 896 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 8D82A0C06CDB4489AAB0C5F9FC54260F + 1024 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + B909CF1CBD43410797C01E8D8F6C6976 + 1152 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + 80ACAC814DD64180B90A6EE129360338 + 1280 + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + left + 120 + 1A5FABE557C74B20AAB9E3394B180507 + sequence + 0 + 0 + 1 + 1 + 0 + 0 + 1 + + 1 + 0 + 0 + 128 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 32 + 0 + item_number + + + left + 120 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 512 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 512 + 0 + classification + + + left + date + 0 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 3072 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + effective_date + + + left + integer + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 2432 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + generation + + + center + 50 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 256 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 8 + 0 + major_rev + + + oneditstart + + + Grid Cell ReadOnly + + + 128 + + + major_rev + 4F1AC04A2B484F3ABA4E20DB63808A88 + + + + + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 896 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + managed_by_id + + + left + E582AB17663F4EF28460015B2BE9E094 + item + 0 + 1 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 768 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + owned_by_id + + + left + date + 0 + 1 + 0 + 0 + 0 + 0 + + short_date + 0 + 1 + 2944 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + release_date + + + left + 80 + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 1 + 640 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 32 + 0 + state + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 0 + 5120 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + superseded_date + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Life Cycle Map/CAD.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/CAD.xml similarity index 98% rename from Imports/PLM/Import/Life Cycle Map/CAD.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/CAD.xml index 7420944..48b810f 100644 --- a/Imports/PLM/Import/Life Cycle Map/CAD.xml +++ b/Imports/2-Post/PLM/Import/Life Cycle Map/CAD.xml @@ -1,255 +1,255 @@ - - - Default CAD Life Cycle - A29C9720FF0D4950A140A90BEEA903DA - CAD - - - ../images/LifeCycleState.svg - 0 - 0 - 896 - 6532C86E40BB484F9914118692B3C50C - EA3ED7E7391542D7A17AF2F42B5274ED - 97 - -4 - Desig User Review - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 512 - 6532C86E40BB484F9914118692B3C50C - 355 - 50 - In Change - - - ../images/LifeCycleState.svg - float - 0 - 0 - 256 - 6532C86E40BB484F9914118692B3C50C - ADAD9367EAAD4546AC268AF314531355 - 146 - 50 - In Review - - - ../images/LifeCycleState.svg - 1 - 0 - 768 - 6532C86E40BB484F9914118692B3C50C - 355 - 187 - Obsolete - - - ../images/LifeCycleState.svg - float - 0 - 0 - 128 - 6532C86E40BB484F9914118692B3C50C - EA3ED7E7391542D7A17AF2F42B5274ED - 43 - 49 - Preliminary - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 384 - 6532C86E40BB484F9914118692B3C50C - BADFEE81D2844845BDDAEA8CB663281E - 243 - 50 - Released - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 640 - 6532C86E40BB484F9914118692B3C50C - 472 - 50 - Superseded - - - 19853E4D3985483B93BBFCCE7052E38B - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1024 - 6532C86E40BB484F9914118692B3C50C - 5DD4AA35A00146C6BBDD332FF035BCBF - 32 - 13 - - - 5DD4AA35A00146C6BBDD332FF035BCBF - 0 - 56A96DA9E981481688563E2D14D5D878 - 482,197 - 1792 - 6532C86E40BB484F9914118692B3C50C - A9731ACED61D49729E065202A6034456 - -59 - 156 - - - 9EB3760DC37E4950BDB908906433FFE8 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 384 - 6532C86E40BB484F9914118692B3C50C - 19853E4D3985483B93BBFCCE7052E38B - 26 - 13 - - - 9EB3760DC37E4950BDB908906433FFE8 - 0 - 56A96DA9E981481688563E2D14D5D878 - 357,126 - 1536 - 6532C86E40BB484F9914118692B3C50C - 5DD4AA35A00146C6BBDD332FF035BCBF - 78 - 84 - - - 9EB3760DC37E4950BDB908906433FFE8 - 0 - 56A96DA9E981481688563E2D14D5D878 - 255,197 - 1664 - 6532C86E40BB484F9914118692B3C50C - A9731ACED61D49729E065202A6034456 - 8 - 154 - - - A29C9720FF0D4950A140A90BEEA903DA - 0 - 56A96DA9E981481688563E2D14D5D878 - - 128 - 6532C86E40BB484F9914118692B3C50C - E4F115AAA1FA4D9FB053915171F49007 - 8 - -50 - - - A29C9720FF0D4950A140A90BEEA903DA - 0 - - - PE_CheckChangeItemUsage - - - 2618D6F5A90949BAA7E920D1B04C7EE1 - 154,197 - 1408 - 6532C86E40BB484F9914118692B3C50C - 9EB3760DC37E4950BDB908906433FFE8 - 57 - 156 - - - A29C9720FF0D4950A140A90BEEA903DA - 0 - 56A96DA9E981481688563E2D14D5D878 - 155,131 - 1280 - 6532C86E40BB484F9914118692B3C50C - 9EB3760DC37E4950BDB908906433FFE8 - 77 - 85 - - - A29C9720FF0D4950A140A90BEEA903DA - 0 - - - Owner - - - - 1920 - 6532C86E40BB484F9914118692B3C50C - E0702158F7C44837BC04BCE0CC887631 - -24 - -18 - - - E0702158F7C44837BC04BCE0CC887631 - 0 - - - Manager - - - - 2048 - 6532C86E40BB484F9914118692B3C50C - E4F115AAA1FA4D9FB053915171F49007 - 24 - 8 - - - E4F115AAA1FA4D9FB053915171F49007 - 0 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 212,31 - 2176 - 6532C86E40BB484F9914118692B3C50C - 9EB3760DC37E4950BDB908906433FFE8 - 23 - -37 - - - E4F115AAA1FA4D9FB053915171F49007 - 0 - 56A96DA9E981481688563E2D14D5D878 - 106,37 - 1152 - 6532C86E40BB484F9914118692B3C50C - A29C9720FF0D4950A140A90BEEA903DA - -76 - -7 - - - E4F115AAA1FA4D9FB053915171F49007 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 256 - 6532C86E40BB484F9914118692B3C50C - 9EB3760DC37E4950BDB908906433FFE8 - 23 - 14 - - - E4F115AAA1FA4D9FB053915171F49007 - 0 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 104,87 - 2304 - 6532C86E40BB484F9914118692B3C50C - A29C9720FF0D4950A140A90BEEA903DA - -106 - 44 - - - + + + Default CAD Life Cycle + A29C9720FF0D4950A140A90BEEA903DA + CAD + + + ../images/LifeCycleState.svg + 0 + 0 + 896 + 6532C86E40BB484F9914118692B3C50C + EA3ED7E7391542D7A17AF2F42B5274ED + 97 + -4 + Desig User Review + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 512 + 6532C86E40BB484F9914118692B3C50C + 355 + 50 + In Change + + + ../images/LifeCycleState.svg + float + 0 + 0 + 256 + 6532C86E40BB484F9914118692B3C50C + ADAD9367EAAD4546AC268AF314531355 + 146 + 50 + In Review + + + ../images/LifeCycleState.svg + 1 + 0 + 768 + 6532C86E40BB484F9914118692B3C50C + 355 + 187 + Obsolete + + + ../images/LifeCycleState.svg + float + 0 + 0 + 128 + 6532C86E40BB484F9914118692B3C50C + EA3ED7E7391542D7A17AF2F42B5274ED + 43 + 49 + Preliminary + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 384 + 6532C86E40BB484F9914118692B3C50C + BADFEE81D2844845BDDAEA8CB663281E + 243 + 50 + Released + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 640 + 6532C86E40BB484F9914118692B3C50C + 472 + 50 + Superseded + + + 19853E4D3985483B93BBFCCE7052E38B + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1024 + 6532C86E40BB484F9914118692B3C50C + 5DD4AA35A00146C6BBDD332FF035BCBF + 32 + 13 + + + 5DD4AA35A00146C6BBDD332FF035BCBF + 0 + 56A96DA9E981481688563E2D14D5D878 + 482,197 + 1792 + 6532C86E40BB484F9914118692B3C50C + A9731ACED61D49729E065202A6034456 + -59 + 156 + + + 9EB3760DC37E4950BDB908906433FFE8 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 384 + 6532C86E40BB484F9914118692B3C50C + 19853E4D3985483B93BBFCCE7052E38B + 26 + 13 + + + 9EB3760DC37E4950BDB908906433FFE8 + 0 + 56A96DA9E981481688563E2D14D5D878 + 357,126 + 1536 + 6532C86E40BB484F9914118692B3C50C + 5DD4AA35A00146C6BBDD332FF035BCBF + 78 + 84 + + + 9EB3760DC37E4950BDB908906433FFE8 + 0 + 56A96DA9E981481688563E2D14D5D878 + 255,197 + 1664 + 6532C86E40BB484F9914118692B3C50C + A9731ACED61D49729E065202A6034456 + 8 + 154 + + + A29C9720FF0D4950A140A90BEEA903DA + 0 + 56A96DA9E981481688563E2D14D5D878 + + 128 + 6532C86E40BB484F9914118692B3C50C + E4F115AAA1FA4D9FB053915171F49007 + 8 + -50 + + + A29C9720FF0D4950A140A90BEEA903DA + 0 + + + PE_CheckChangeItemUsage + + + 2618D6F5A90949BAA7E920D1B04C7EE1 + 154,197 + 1408 + 6532C86E40BB484F9914118692B3C50C + 9EB3760DC37E4950BDB908906433FFE8 + 57 + 156 + + + A29C9720FF0D4950A140A90BEEA903DA + 0 + 56A96DA9E981481688563E2D14D5D878 + 155,131 + 1280 + 6532C86E40BB484F9914118692B3C50C + 9EB3760DC37E4950BDB908906433FFE8 + 77 + 85 + + + A29C9720FF0D4950A140A90BEEA903DA + 0 + + + Owner + + + + 1920 + 6532C86E40BB484F9914118692B3C50C + E0702158F7C44837BC04BCE0CC887631 + -24 + -18 + + + E0702158F7C44837BC04BCE0CC887631 + 0 + + + Manager + + + + 2048 + 6532C86E40BB484F9914118692B3C50C + E4F115AAA1FA4D9FB053915171F49007 + 24 + 8 + + + E4F115AAA1FA4D9FB053915171F49007 + 0 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 212,31 + 2176 + 6532C86E40BB484F9914118692B3C50C + 9EB3760DC37E4950BDB908906433FFE8 + 23 + -37 + + + E4F115AAA1FA4D9FB053915171F49007 + 0 + 56A96DA9E981481688563E2D14D5D878 + 106,37 + 1152 + 6532C86E40BB484F9914118692B3C50C + A29C9720FF0D4950A140A90BEEA903DA + -76 + -7 + + + E4F115AAA1FA4D9FB053915171F49007 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 256 + 6532C86E40BB484F9914118692B3C50C + 9EB3760DC37E4950BDB908906433FFE8 + 23 + 14 + + + E4F115AAA1FA4D9FB053915171F49007 + 0 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 104,87 + 2304 + 6532C86E40BB484F9914118692B3C50C + A29C9720FF0D4950A140A90BEEA903DA + -106 + 44 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Life Cycle Map/CM2 Incident.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/CM2 Incident.xml similarity index 98% rename from Imports/PLM/Import/Life Cycle Map/CM2 Incident.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/CM2 Incident.xml index 89c875d..5dbf710 100644 --- a/Imports/PLM/Import/Life Cycle Map/CM2 Incident.xml +++ b/Imports/2-Post/PLM/Import/Life Cycle Map/CM2 Incident.xml @@ -1,90 +1,90 @@ - - - 044A384AC22548F391C435538FEDA9FC - CM2 Incident - - - ../images/LifeCycleState.svg - 0 - 0 - 384 - 64432002FBD94EA38F9FC783EE40B48C - 286 - 23 - Assigned - - - ../images/LifeCycleState.svg - 0 - 0 - 640 - 64432002FBD94EA38F9FC783EE40B48C - 419 - 132 - Closed Change Started - - - ../images/LifeCycleState.svg - 0 - 0 - 512 - 64432002FBD94EA38F9FC783EE40B48C - 414 - 22 - Closed OK - - - ../images/LifeCycleState.svg - 0 - 0 - 128 - 64432002FBD94EA38F9FC783EE40B48C - 20 - 20 - Start - - - ../images/LifeCycleState.svg - 0 - 0 - 256 - 64432002FBD94EA38F9FC783EE40B48C - 156 - 21 - Submitted - - - 044A384AC22548F391C435538FEDA9FC - 0 - 56A96DA9E981481688563E2D14D5D878 - 128 - 64432002FBD94EA38F9FC783EE40B48C - 79BD8C1B767C4954991F602C6349B09C - - - 4FBB028A7780433287505DAE927EA69D - 0 - 56A96DA9E981481688563E2D14D5D878 - 512 - 64432002FBD94EA38F9FC783EE40B48C - 1B0419BA8F2C454C929D47FC7C49A3DF - - - 4FBB028A7780433287505DAE927EA69D - 0 - 56A96DA9E981481688563E2D14D5D878 - 384 - 64432002FBD94EA38F9FC783EE40B48C - BF6ABD801ED149CEA178CF1A38290E75 - - - 79BD8C1B767C4954991F602C6349B09C - 0 - 56A96DA9E981481688563E2D14D5D878 - 256 - 64432002FBD94EA38F9FC783EE40B48C - 4FBB028A7780433287505DAE927EA69D - - - + + + 044A384AC22548F391C435538FEDA9FC + CM2 Incident + + + ../images/LifeCycleState.svg + 0 + 0 + 384 + 64432002FBD94EA38F9FC783EE40B48C + 286 + 23 + Assigned + + + ../images/LifeCycleState.svg + 0 + 0 + 640 + 64432002FBD94EA38F9FC783EE40B48C + 419 + 132 + Closed Change Started + + + ../images/LifeCycleState.svg + 0 + 0 + 512 + 64432002FBD94EA38F9FC783EE40B48C + 414 + 22 + Closed OK + + + ../images/LifeCycleState.svg + 0 + 0 + 128 + 64432002FBD94EA38F9FC783EE40B48C + 20 + 20 + Start + + + ../images/LifeCycleState.svg + 0 + 0 + 256 + 64432002FBD94EA38F9FC783EE40B48C + 156 + 21 + Submitted + + + 044A384AC22548F391C435538FEDA9FC + 0 + 56A96DA9E981481688563E2D14D5D878 + 128 + 64432002FBD94EA38F9FC783EE40B48C + 79BD8C1B767C4954991F602C6349B09C + + + 4FBB028A7780433287505DAE927EA69D + 0 + 56A96DA9E981481688563E2D14D5D878 + 512 + 64432002FBD94EA38F9FC783EE40B48C + 1B0419BA8F2C454C929D47FC7C49A3DF + + + 4FBB028A7780433287505DAE927EA69D + 0 + 56A96DA9E981481688563E2D14D5D878 + 384 + 64432002FBD94EA38F9FC783EE40B48C + BF6ABD801ED149CEA178CF1A38290E75 + + + 79BD8C1B767C4954991F602C6349B09C + 0 + 56A96DA9E981481688563E2D14D5D878 + 256 + 64432002FBD94EA38F9FC783EE40B48C + 4FBB028A7780433287505DAE927EA69D + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Life Cycle Map/Document.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/Document.xml similarity index 98% rename from Imports/PLM/Import/Life Cycle Map/Document.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/Document.xml index a4a6ddb..03e0c05 100644 --- a/Imports/PLM/Import/Life Cycle Map/Document.xml +++ b/Imports/2-Post/PLM/Import/Life Cycle Map/Document.xml @@ -1,288 +1,288 @@ - - - Default Document Life Cycle - 7E2824158A364D83B137117911BA87B3 - Document - - - ../images/LifeCycleState.svg - 0 - 0 - 1024 - 3B1C099A970A4E51940CBAE76FF67A7D - F0E3A6D242FC4889A9A119EEBC8EC79E - 140 - 65 - Desig User Review - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 512 - 3B1C099A970A4E51940CBAE76FF67A7D - 589 - 140 - In Change - - - ../images/LifeCycleState.svg - float - 0 - 0 - 256 - 3B1C099A970A4E51940CBAE76FF67A7D - 0F7937AD05F0427AB307E79A7746CC29 - 220 - 140 - In Review - - - ../images/LifeCycleState.svg - 0 - 0 - 768 - 3B1C099A970A4E51940CBAE76FF67A7D - AF7BF15BE4444847ACDC18721B207788 - 495 - 54 - Manual Change - - - ../images/LifeCycleState.svg - 1 - 0 - 896 - 3B1C099A970A4E51940CBAE76FF67A7D - 586 - 256 - Obsolete - - - ../images/LifeCycleState.svg - float - 0 - 0 - 128 - 3B1C099A970A4E51940CBAE76FF67A7D - F0E3A6D242FC4889A9A119EEBC8EC79E - 41 - 140 - Preliminary - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 384 - 3B1C099A970A4E51940CBAE76FF67A7D - 74C205C37E7C4D56BBBE99B52B28431E - 406 - 140 - Released - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 640 - 3B1C099A970A4E51940CBAE76FF67A7D - 768 - 140 - Superseded - - - 15C0693B06B342109C24F91AFCFF9B3D - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1024 - 3B1C099A970A4E51940CBAE76FF67A7D - D06418A2D8EB4BC2889F947218E34B5B - 59 - 14 - - - 63AE249D7D2E45A590BD24E55AE701DA - 0 - - - Manager - - - - 2432 - 3B1C099A970A4E51940CBAE76FF67A7D - 8242F1E396B24FB78CFCA296A04DDF69 - 19 - 4 - - - 7DFC01F8E47845CAA241C4B361597510 - 0 - 56A96DA9E981481688563E2D14D5D878 - 416,64 - 1280 - 3B1C099A970A4E51940CBAE76FF67A7D - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - -82 - -21 - - - 7E2824158A364D83B137117911BA87B3 - 0 - - - Owner - - - - 2304 - 3B1C099A970A4E51940CBAE76FF67A7D - 63AE249D7D2E45A590BD24E55AE701DA - -21 - -27 - - - 7E2824158A364D83B137117911BA87B3 - 0 - - - PE_CheckChangeItemUsage - - - 2618D6F5A90949BAA7E920D1B04C7EE1 - 230,263 - 1536 - 3B1C099A970A4E51940CBAE76FF67A7D - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 86 - 86 - - - 7E2824158A364D83B137117911BA87B3 - 0 - 56A96DA9E981481688563E2D14D5D878 - 228,229 - 1664 - 3B1C099A970A4E51940CBAE76FF67A7D - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 151 - 92 - - - 7E2824158A364D83B137117911BA87B3 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 128 - 3B1C099A970A4E51940CBAE76FF67A7D - 8242F1E396B24FB78CFCA296A04DDF69 - 62 - 14 - - - 8242F1E396B24FB78CFCA296A04DDF69 - 0 - F6624E9AE5504958A84E4B6A5831298B - 149,124 - 1152 - 3B1C099A970A4E51940CBAE76FF67A7D - 7E2824158A364D83B137117911BA87B3 - -92 - -12 - - - 8242F1E396B24FB78CFCA296A04DDF69 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 256 - 3B1C099A970A4E51940CBAE76FF67A7D - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 58 - 16 - - - 8242F1E396B24FB78CFCA296A04DDF69 - 0 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 170,178 - 2688 - 3B1C099A970A4E51940CBAE76FF67A7D - 7E2824158A364D83B137117911BA87B3 - -126 - 40 - - - 8242F1E396B24FB78CFCA296A04DDF69 - 0 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 322,112 - 2560 - 3B1C099A970A4E51940CBAE76FF67A7D - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 38 - -49 - - - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 0 - 56A96DA9E981481688563E2D14D5D878 - - 384 - 3B1C099A970A4E51940CBAE76FF67A7D - 15C0693B06B342109C24F91AFCFF9B3D - 57 - 13 - - - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1408 - 3B1C099A970A4E51940CBAE76FF67A7D - 7DFC01F8E47845CAA241C4B361597510 - 38 - -27 - - - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 0 - 56A96DA9E981481688563E2D14D5D878 - 416,266 - 2048 - 3B1C099A970A4E51940CBAE76FF67A7D - F3B06EA3D6044DBC82A6C4C599914D17 - 16 - 130 - - - 8EDE39438A7E4A56A1B4A9D07EF4A2FF - 0 - 56A96DA9E981481688563E2D14D5D878 - 596,216 - 1792 - 3B1C099A970A4E51940CBAE76FF67A7D - D06418A2D8EB4BC2889F947218E34B5B - 156 - 85 - - - D06418A2D8EB4BC2889F947218E34B5B - 0 - 56A96DA9E981481688563E2D14D5D878 - 777,266 - 2176 - 3B1C099A970A4E51940CBAE76FF67A7D - F3B06EA3D6044DBC82A6C4C599914D17 - -63 - 132 - - - + + + Default Document Life Cycle + 7E2824158A364D83B137117911BA87B3 + Document + + + ../images/LifeCycleState.svg + 0 + 0 + 1024 + 3B1C099A970A4E51940CBAE76FF67A7D + F0E3A6D242FC4889A9A119EEBC8EC79E + 140 + 65 + Desig User Review + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 512 + 3B1C099A970A4E51940CBAE76FF67A7D + 589 + 140 + In Change + + + ../images/LifeCycleState.svg + float + 0 + 0 + 256 + 3B1C099A970A4E51940CBAE76FF67A7D + 0F7937AD05F0427AB307E79A7746CC29 + 220 + 140 + In Review + + + ../images/LifeCycleState.svg + 0 + 0 + 768 + 3B1C099A970A4E51940CBAE76FF67A7D + AF7BF15BE4444847ACDC18721B207788 + 495 + 54 + Manual Change + + + ../images/LifeCycleState.svg + 1 + 0 + 896 + 3B1C099A970A4E51940CBAE76FF67A7D + 586 + 256 + Obsolete + + + ../images/LifeCycleState.svg + float + 0 + 0 + 128 + 3B1C099A970A4E51940CBAE76FF67A7D + F0E3A6D242FC4889A9A119EEBC8EC79E + 41 + 140 + Preliminary + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 384 + 3B1C099A970A4E51940CBAE76FF67A7D + 74C205C37E7C4D56BBBE99B52B28431E + 406 + 140 + Released + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 640 + 3B1C099A970A4E51940CBAE76FF67A7D + 768 + 140 + Superseded + + + 15C0693B06B342109C24F91AFCFF9B3D + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1024 + 3B1C099A970A4E51940CBAE76FF67A7D + D06418A2D8EB4BC2889F947218E34B5B + 59 + 14 + + + 63AE249D7D2E45A590BD24E55AE701DA + 0 + + + Manager + + + + 2432 + 3B1C099A970A4E51940CBAE76FF67A7D + 8242F1E396B24FB78CFCA296A04DDF69 + 19 + 4 + + + 7DFC01F8E47845CAA241C4B361597510 + 0 + 56A96DA9E981481688563E2D14D5D878 + 416,64 + 1280 + 3B1C099A970A4E51940CBAE76FF67A7D + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + -82 + -21 + + + 7E2824158A364D83B137117911BA87B3 + 0 + + + Owner + + + + 2304 + 3B1C099A970A4E51940CBAE76FF67A7D + 63AE249D7D2E45A590BD24E55AE701DA + -21 + -27 + + + 7E2824158A364D83B137117911BA87B3 + 0 + + + PE_CheckChangeItemUsage + + + 2618D6F5A90949BAA7E920D1B04C7EE1 + 230,263 + 1536 + 3B1C099A970A4E51940CBAE76FF67A7D + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 86 + 86 + + + 7E2824158A364D83B137117911BA87B3 + 0 + 56A96DA9E981481688563E2D14D5D878 + 228,229 + 1664 + 3B1C099A970A4E51940CBAE76FF67A7D + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 151 + 92 + + + 7E2824158A364D83B137117911BA87B3 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 128 + 3B1C099A970A4E51940CBAE76FF67A7D + 8242F1E396B24FB78CFCA296A04DDF69 + 62 + 14 + + + 8242F1E396B24FB78CFCA296A04DDF69 + 0 + F6624E9AE5504958A84E4B6A5831298B + 149,124 + 1152 + 3B1C099A970A4E51940CBAE76FF67A7D + 7E2824158A364D83B137117911BA87B3 + -92 + -12 + + + 8242F1E396B24FB78CFCA296A04DDF69 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 256 + 3B1C099A970A4E51940CBAE76FF67A7D + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 58 + 16 + + + 8242F1E396B24FB78CFCA296A04DDF69 + 0 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 170,178 + 2688 + 3B1C099A970A4E51940CBAE76FF67A7D + 7E2824158A364D83B137117911BA87B3 + -126 + 40 + + + 8242F1E396B24FB78CFCA296A04DDF69 + 0 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 322,112 + 2560 + 3B1C099A970A4E51940CBAE76FF67A7D + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 38 + -49 + + + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 0 + 56A96DA9E981481688563E2D14D5D878 + + 384 + 3B1C099A970A4E51940CBAE76FF67A7D + 15C0693B06B342109C24F91AFCFF9B3D + 57 + 13 + + + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1408 + 3B1C099A970A4E51940CBAE76FF67A7D + 7DFC01F8E47845CAA241C4B361597510 + 38 + -27 + + + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 0 + 56A96DA9E981481688563E2D14D5D878 + 416,266 + 2048 + 3B1C099A970A4E51940CBAE76FF67A7D + F3B06EA3D6044DBC82A6C4C599914D17 + 16 + 130 + + + 8EDE39438A7E4A56A1B4A9D07EF4A2FF + 0 + 56A96DA9E981481688563E2D14D5D878 + 596,216 + 1792 + 3B1C099A970A4E51940CBAE76FF67A7D + D06418A2D8EB4BC2889F947218E34B5B + 156 + 85 + + + D06418A2D8EB4BC2889F947218E34B5B + 0 + 56A96DA9E981481688563E2D14D5D878 + 777,266 + 2176 + 3B1C099A970A4E51940CBAE76FF67A7D + F3B06EA3D6044DBC82A6C4C599914D17 + -63 + 132 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Life Cycle Map/ECR.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/ECR.xml similarity index 98% rename from Imports/PLM/Import/Life Cycle Map/ECR.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/ECR.xml index 1fb9bd3..25d6634 100644 --- a/Imports/PLM/Import/Life Cycle Map/ECR.xml +++ b/Imports/2-Post/PLM/Import/Life Cycle Map/ECR.xml @@ -1,300 +1,300 @@ - - - ECR - C8D337AC1D9243A18064EDF083BEA3A0 - ECR - - - ../images/LifeCycleState.svg - float - 0 - 0 - 768 - B55B3F9D1F30465F8F6B83F55FECBAEF - 6D500662F8D94CC99114EC04CCE16181 - 496 - 42 - Approved - - - ../images/LifeCycleState.svg - float - 0 - 0 - 1024 - B55B3F9D1F30465F8F6B83F55FECBAEF - 2824F0D04C2D41F9BF96DEBAFA1B3162 - 159 - 125 - Cancelled - - - ../images/LifeCycleState.svg - float - 0 - 0 - 512 - B55B3F9D1F30465F8F6B83F55FECBAEF - 2824F0D04C2D41F9BF96DEBAFA1B3162 - 495 - 122 - Disapproved - - - ../images/LifeCycleState.svg - float - 0 - 0 - 640 - B55B3F9D1F30465F8F6B83F55FECBAEF - 383 - 42 - In CRB - - - ../images/LifeCycleState.svg - 0 - 0 - 1152 - B55B3F9D1F30465F8F6B83F55FECBAEF - C941912A63694F77928BCE3532FC33D6 - 582 - 42 - In Planning - - - ../images/LifeCycleState.svg - float - 0 - 0 - 384 - B55B3F9D1F30465F8F6B83F55FECBAEF - 5519DD5FFBCC4296A30DFF11FB38AE75 - 266 - 42 - In Review - - - ../images/LifeCycleState.svg - 0 - 0 - 1408 - B55B3F9D1F30465F8F6B83F55FECBAEF - 794 - 41 - In Review Impl - - - ../images/LifeCycleState.svg - 0 - 0 - 1280 - B55B3F9D1F30465F8F6B83F55FECBAEF - 4C4647116F04475794F23B0852715FCE - 696 - 42 - In Work - - - ../images/LifeCycleState.svg - float - 0 - 0 - 128 - B55B3F9D1F30465F8F6B83F55FECBAEF - 35 - 42 - New - - - ../images/LifeCycleState.svg - 0 - 0 - 1536 - B55B3F9D1F30465F8F6B83F55FECBAEF - 5C5D0E56FC35481DA48D32103BDA54F8 - 892 - 40 - Released - - - ../images/LifeCycleState.svg - float - 0 - 0 - 896 - B55B3F9D1F30465F8F6B83F55FECBAEF - 159 - 42 - Submitted - - - 2EAF79A18F5B4B68B9D1F76102FA7A7F - 0 - - - PE_ChangeItemTransition - - - 56A96DA9E981481688563E2D14D5D878 - - 1792 - B55B3F9D1F30465F8F6B83F55FECBAEF - E1FFFDAFF021463B9C8EB9176EED9534 - 26 - 12 - - - 3F66FDCB27404FF9B9CF733642641C15 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1280 - B55B3F9D1F30465F8F6B83F55FECBAEF - A04FC717F5B5400CB755F0A6A18C6264 - 44 - 19 - - - 3F66FDCB27404FF9B9CF733642641C15 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1408 - B55B3F9D1F30465F8F6B83F55FECBAEF - 5D43BE08581C464F8C7309413AFFFDC3 - 5 - 52 - - - 8B2EB982A67E4476ACF994EFD283C9A7 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 896 - B55B3F9D1F30465F8F6B83F55FECBAEF - 7B1C02836947422CA678B014426A6037 - 3 - 55 - - - 8B2EB982A67E4476ACF994EFD283C9A7 - 0 - - - Set Release Date - - - 56A96DA9E981481688563E2D14D5D878 - - 768 - B55B3F9D1F30465F8F6B83F55FECBAEF - FCA1C597821F468583541C6B5220064A - 31 - 13 - - - 8B2EB982A67E4476ACF994EFD283C9A7 - 0 - 56A96DA9E981481688563E2D14D5D878 - 395,15|279,15 - 1536 - B55B3F9D1F30465F8F6B83F55FECBAEF - A04FC717F5B5400CB755F0A6A18C6264 - -82 - -23 - - - A04FC717F5B5400CB755F0A6A18C6264 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 640 - B55B3F9D1F30465F8F6B83F55FECBAEF - 8B2EB982A67E4476ACF994EFD283C9A7 - 36 - 15 - - - AFEF61924CFE46DE8B140AEBE450771D - 0 - - - PE_OnChangeItemReleased - - - - - PE_ChangeItemTransition - - - 56A96DA9E981481688563E2D14D5D878 - - 2048 - B55B3F9D1F30465F8F6B83F55FECBAEF - 40E5F1A742C74553B4D84923CCEC86E7 - 23 - 10 - - - AFEF61924CFE46DE8B140AEBE450771D - 0 - - - PE_ChangeItemTransition - - - 56A96DA9E981481688563E2D14D5D878 - 760,17 - 2176 - B55B3F9D1F30465F8F6B83F55FECBAEF - E1FFFDAFF021463B9C8EB9176EED9534 - -24 - -19 - - - C8D337AC1D9243A18064EDF083BEA3A0 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1152 - B55B3F9D1F30465F8F6B83F55FECBAEF - 3F66FDCB27404FF9B9CF733642641C15 - 47 - 18 - - - E1FFFDAFF021463B9C8EB9176EED9534 - 0 - - - PE_ChangeItemTransition - - - 56A96DA9E981481688563E2D14D5D878 - - 1920 - B55B3F9D1F30465F8F6B83F55FECBAEF - AFEF61924CFE46DE8B140AEBE450771D - 18 - 10 - - - FCA1C597821F468583541C6B5220064A - 0 - - - PE_ChangeItemTransition - - - 56A96DA9E981481688563E2D14D5D878 - - 1664 - B55B3F9D1F30465F8F6B83F55FECBAEF - 2EAF79A18F5B4B68B9D1F76102FA7A7F - 9 - 10 - - - + + + ECR + C8D337AC1D9243A18064EDF083BEA3A0 + ECR + + + ../images/LifeCycleState.svg + float + 0 + 0 + 768 + B55B3F9D1F30465F8F6B83F55FECBAEF + 6D500662F8D94CC99114EC04CCE16181 + 496 + 42 + Approved + + + ../images/LifeCycleState.svg + float + 0 + 0 + 1024 + B55B3F9D1F30465F8F6B83F55FECBAEF + 2824F0D04C2D41F9BF96DEBAFA1B3162 + 159 + 125 + Cancelled + + + ../images/LifeCycleState.svg + float + 0 + 0 + 512 + B55B3F9D1F30465F8F6B83F55FECBAEF + 2824F0D04C2D41F9BF96DEBAFA1B3162 + 495 + 122 + Disapproved + + + ../images/LifeCycleState.svg + float + 0 + 0 + 640 + B55B3F9D1F30465F8F6B83F55FECBAEF + 383 + 42 + In CRB + + + ../images/LifeCycleState.svg + 0 + 0 + 1152 + B55B3F9D1F30465F8F6B83F55FECBAEF + C941912A63694F77928BCE3532FC33D6 + 582 + 42 + In Planning + + + ../images/LifeCycleState.svg + float + 0 + 0 + 384 + B55B3F9D1F30465F8F6B83F55FECBAEF + 5519DD5FFBCC4296A30DFF11FB38AE75 + 266 + 42 + In Review + + + ../images/LifeCycleState.svg + 0 + 0 + 1408 + B55B3F9D1F30465F8F6B83F55FECBAEF + 794 + 41 + In Review Impl + + + ../images/LifeCycleState.svg + 0 + 0 + 1280 + B55B3F9D1F30465F8F6B83F55FECBAEF + 4C4647116F04475794F23B0852715FCE + 696 + 42 + In Work + + + ../images/LifeCycleState.svg + float + 0 + 0 + 128 + B55B3F9D1F30465F8F6B83F55FECBAEF + 35 + 42 + New + + + ../images/LifeCycleState.svg + 0 + 0 + 1536 + B55B3F9D1F30465F8F6B83F55FECBAEF + 5C5D0E56FC35481DA48D32103BDA54F8 + 892 + 40 + Released + + + ../images/LifeCycleState.svg + float + 0 + 0 + 896 + B55B3F9D1F30465F8F6B83F55FECBAEF + 159 + 42 + Submitted + + + 2EAF79A18F5B4B68B9D1F76102FA7A7F + 0 + + + PE_ChangeItemTransition + + + 56A96DA9E981481688563E2D14D5D878 + + 1792 + B55B3F9D1F30465F8F6B83F55FECBAEF + E1FFFDAFF021463B9C8EB9176EED9534 + 26 + 12 + + + 3F66FDCB27404FF9B9CF733642641C15 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1280 + B55B3F9D1F30465F8F6B83F55FECBAEF + A04FC717F5B5400CB755F0A6A18C6264 + 44 + 19 + + + 3F66FDCB27404FF9B9CF733642641C15 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1408 + B55B3F9D1F30465F8F6B83F55FECBAEF + 5D43BE08581C464F8C7309413AFFFDC3 + 5 + 52 + + + 8B2EB982A67E4476ACF994EFD283C9A7 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 896 + B55B3F9D1F30465F8F6B83F55FECBAEF + 7B1C02836947422CA678B014426A6037 + 3 + 55 + + + 8B2EB982A67E4476ACF994EFD283C9A7 + 0 + + + Set Release Date + + + 56A96DA9E981481688563E2D14D5D878 + + 768 + B55B3F9D1F30465F8F6B83F55FECBAEF + FCA1C597821F468583541C6B5220064A + 31 + 13 + + + 8B2EB982A67E4476ACF994EFD283C9A7 + 0 + 56A96DA9E981481688563E2D14D5D878 + 395,15|279,15 + 1536 + B55B3F9D1F30465F8F6B83F55FECBAEF + A04FC717F5B5400CB755F0A6A18C6264 + -82 + -23 + + + A04FC717F5B5400CB755F0A6A18C6264 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 640 + B55B3F9D1F30465F8F6B83F55FECBAEF + 8B2EB982A67E4476ACF994EFD283C9A7 + 36 + 15 + + + AFEF61924CFE46DE8B140AEBE450771D + 0 + + + PE_OnChangeItemReleased + + + + + PE_ChangeItemTransition + + + 56A96DA9E981481688563E2D14D5D878 + + 2048 + B55B3F9D1F30465F8F6B83F55FECBAEF + 40E5F1A742C74553B4D84923CCEC86E7 + 23 + 10 + + + AFEF61924CFE46DE8B140AEBE450771D + 0 + + + PE_ChangeItemTransition + + + 56A96DA9E981481688563E2D14D5D878 + 760,17 + 2176 + B55B3F9D1F30465F8F6B83F55FECBAEF + E1FFFDAFF021463B9C8EB9176EED9534 + -24 + -19 + + + C8D337AC1D9243A18064EDF083BEA3A0 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1152 + B55B3F9D1F30465F8F6B83F55FECBAEF + 3F66FDCB27404FF9B9CF733642641C15 + 47 + 18 + + + E1FFFDAFF021463B9C8EB9176EED9534 + 0 + + + PE_ChangeItemTransition + + + 56A96DA9E981481688563E2D14D5D878 + + 1920 + B55B3F9D1F30465F8F6B83F55FECBAEF + AFEF61924CFE46DE8B140AEBE450771D + 18 + 10 + + + FCA1C597821F468583541C6B5220064A + 0 + + + PE_ChangeItemTransition + + + 56A96DA9E981481688563E2D14D5D878 + + 1664 + B55B3F9D1F30465F8F6B83F55FECBAEF + 2EAF79A18F5B4B68B9D1F76102FA7A7F + 9 + 10 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Life Cycle Map/PE_Deviation.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/PE_Deviation.xml similarity index 100% rename from Imports/PLM/Import/Life Cycle Map/PE_Deviation.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/PE_Deviation.xml diff --git a/Imports/PLM/Import/Life Cycle Map/PE_Waiver.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/PE_Waiver.xml similarity index 100% rename from Imports/PLM/Import/Life Cycle Map/PE_Waiver.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/PE_Waiver.xml diff --git a/Imports/PLM/Import/Life Cycle Map/Part.xml b/Imports/2-Post/PLM/Import/Life Cycle Map/Part.xml similarity index 98% rename from Imports/PLM/Import/Life Cycle Map/Part.xml rename to Imports/2-Post/PLM/Import/Life Cycle Map/Part.xml index b3b697e..0163664 100644 --- a/Imports/PLM/Import/Life Cycle Map/Part.xml +++ b/Imports/2-Post/PLM/Import/Life Cycle Map/Part.xml @@ -1,289 +1,289 @@ - - - Default Part Life Cycle - 72A2322564FE4193933CFB5339487A06 - Part - - - ../images/LifeCycleState.svg - 0 - 0 - 1024 - E337EBF706FA4172B2CD1A6487E00875 - 5C07EB829D4241F6BB884952960FAF58 - 80 - 0 - Desig User Review - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 512 - E337EBF706FA4172B2CD1A6487E00875 - 374 - 50 - In Change - - - ../images/LifeCycleState.svg - float - 0 - 0 - 256 - E337EBF706FA4172B2CD1A6487E00875 - 37235C81EE0C4A3694B0538C30E7A0D9 - 143 - 50 - In Review - - - ../images/LifeCycleState.svg - fixed - 0 - 0 - 768 - E337EBF706FA4172B2CD1A6487E00875 - AF7BF15BE4444847ACDC18721B207788 - 375 - 3 - Manual Change - - - ../images/LifeCycleState.svg - 1 - 0 - 896 - E337EBF706FA4172B2CD1A6487E00875 - 370 - 182 - Obsolete - - - ../images/LifeCycleState.svg - float - 0 - 0 - 128 - E337EBF706FA4172B2CD1A6487E00875 - 5C07EB829D4241F6BB884952960FAF58 - 13 - 50 - Preliminary - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 384 - E337EBF706FA4172B2CD1A6487E00875 - 95475AE006E7415794BDC93808DC04D2 - 253 - 50 - Released - - - ../images/LifeCycleState.svg - fixed - 1 - 0 - 640 - E337EBF706FA4172B2CD1A6487E00875 - 483 - 50 - Superseded - - - 42BB3B183A7748C3B4AA9D33F7BF70AC - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1408 - E337EBF706FA4172B2CD1A6487E00875 - A2438DC9ED424A8EA9876D47CAEFB6BC - 48 - -5 - - - 42BB3B183A7748C3B4AA9D33F7BF70AC - 0 - 56A96DA9E981481688563E2D14D5D878 - 265,194 - 1792 - E337EBF706FA4172B2CD1A6487E00875 - CF9E614C2C814637A3C8068DC211BA6D - -2 - 48 - - - 42BB3B183A7748C3B4AA9D33F7BF70AC - 0 - 56A96DA9E981481688563E2D14D5D878 - 384,145 - 1664 - E337EBF706FA4172B2CD1A6487E00875 - E7A383494C724B338518A4DD1EB867FA - 90 - 58 - - - 42BB3B183A7748C3B4AA9D33F7BF70AC - 0 - 56A96DA9E981481688563E2D14D5D878 - - 384 - E337EBF706FA4172B2CD1A6487E00875 - BE7478E822444326A2EC9F1E11A88963 - 37 - 12 - - - 72A2322564FE4193933CFB5339487A06 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 128 - E337EBF706FA4172B2CD1A6487E00875 - AA93A121BC7346C4907F69820303D2A4 - 31 - 14 - - - 72A2322564FE4193933CFB5339487A06 - 0 - - - Owner - - - - 2176 - E337EBF706FA4172B2CD1A6487E00875 - 8FF494037A5C4BD3932B55CD89854621 - -8 - -41 - - - 72A2322564FE4193933CFB5339487A06 - 0 - 56A96DA9E981481688563E2D14D5D878 - 149,155 - 1536 - E337EBF706FA4172B2CD1A6487E00875 - 42BB3B183A7748C3B4AA9D33F7BF70AC - 95 - 71 - - - 72A2322564FE4193933CFB5339487A06 - 0 - - - PE_CheckChangeItemUsage - - - 2618D6F5A90949BAA7E920D1B04C7EE1 - 152,199 - 2048 - E337EBF706FA4172B2CD1A6487E00875 - 42BB3B183A7748C3B4AA9D33F7BF70AC - 102 - 156 - - - 8FF494037A5C4BD3932B55CD89854621 - 0 - - - Manager - - - - 2304 - E337EBF706FA4172B2CD1A6487E00875 - AA93A121BC7346C4907F69820303D2A4 - 19 - 11 - - - A2438DC9ED424A8EA9876D47CAEFB6BC - 0 - 56A96DA9E981481688563E2D14D5D878 - 265,15 - 1280 - E337EBF706FA4172B2CD1A6487E00875 - 42BB3B183A7748C3B4AA9D33F7BF70AC - -108 - 15 - - - AA93A121BC7346C4907F69820303D2A4 - 0 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 205,30 - 2432 - E337EBF706FA4172B2CD1A6487E00875 - 42BB3B183A7748C3B4AA9D33F7BF70AC - -7 - -29 - - - AA93A121BC7346C4907F69820303D2A4 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 256 - E337EBF706FA4172B2CD1A6487E00875 - 42BB3B183A7748C3B4AA9D33F7BF70AC - 19 - -1 - - - AA93A121BC7346C4907F69820303D2A4 - 0 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 89,90 - 2560 - E337EBF706FA4172B2CD1A6487E00875 - 72A2322564FE4193933CFB5339487A06 - -86 - 39 - - - AA93A121BC7346C4907F69820303D2A4 - 0 - 56A96DA9E981481688563E2D14D5D878 - 95,33 - 1152 - E337EBF706FA4172B2CD1A6487E00875 - 72A2322564FE4193933CFB5339487A06 - -88 - -4 - - - BE7478E822444326A2EC9F1E11A88963 - 0 - 56A96DA9E981481688563E2D14D5D878 - - 1024 - E337EBF706FA4172B2CD1A6487E00875 - E7A383494C724B338518A4DD1EB867FA - 26 - 12 - - - E7A383494C724B338518A4DD1EB867FA - 0 - 56A96DA9E981481688563E2D14D5D878 - 495,194 - 1920 - E337EBF706FA4172B2CD1A6487E00875 - CF9E614C2C814637A3C8068DC211BA6D - -1 - -1 - - - + + + Default Part Life Cycle + 72A2322564FE4193933CFB5339487A06 + Part + + + ../images/LifeCycleState.svg + 0 + 0 + 1024 + E337EBF706FA4172B2CD1A6487E00875 + 5C07EB829D4241F6BB884952960FAF58 + 80 + 0 + Desig User Review + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 512 + E337EBF706FA4172B2CD1A6487E00875 + 374 + 50 + In Change + + + ../images/LifeCycleState.svg + float + 0 + 0 + 256 + E337EBF706FA4172B2CD1A6487E00875 + 37235C81EE0C4A3694B0538C30E7A0D9 + 143 + 50 + In Review + + + ../images/LifeCycleState.svg + fixed + 0 + 0 + 768 + E337EBF706FA4172B2CD1A6487E00875 + AF7BF15BE4444847ACDC18721B207788 + 375 + 3 + Manual Change + + + ../images/LifeCycleState.svg + 1 + 0 + 896 + E337EBF706FA4172B2CD1A6487E00875 + 370 + 182 + Obsolete + + + ../images/LifeCycleState.svg + float + 0 + 0 + 128 + E337EBF706FA4172B2CD1A6487E00875 + 5C07EB829D4241F6BB884952960FAF58 + 13 + 50 + Preliminary + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 384 + E337EBF706FA4172B2CD1A6487E00875 + 95475AE006E7415794BDC93808DC04D2 + 253 + 50 + Released + + + ../images/LifeCycleState.svg + fixed + 1 + 0 + 640 + E337EBF706FA4172B2CD1A6487E00875 + 483 + 50 + Superseded + + + 42BB3B183A7748C3B4AA9D33F7BF70AC + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1408 + E337EBF706FA4172B2CD1A6487E00875 + A2438DC9ED424A8EA9876D47CAEFB6BC + 48 + -5 + + + 42BB3B183A7748C3B4AA9D33F7BF70AC + 0 + 56A96DA9E981481688563E2D14D5D878 + 265,194 + 1792 + E337EBF706FA4172B2CD1A6487E00875 + CF9E614C2C814637A3C8068DC211BA6D + -2 + 48 + + + 42BB3B183A7748C3B4AA9D33F7BF70AC + 0 + 56A96DA9E981481688563E2D14D5D878 + 384,145 + 1664 + E337EBF706FA4172B2CD1A6487E00875 + E7A383494C724B338518A4DD1EB867FA + 90 + 58 + + + 42BB3B183A7748C3B4AA9D33F7BF70AC + 0 + 56A96DA9E981481688563E2D14D5D878 + + 384 + E337EBF706FA4172B2CD1A6487E00875 + BE7478E822444326A2EC9F1E11A88963 + 37 + 12 + + + 72A2322564FE4193933CFB5339487A06 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 128 + E337EBF706FA4172B2CD1A6487E00875 + AA93A121BC7346C4907F69820303D2A4 + 31 + 14 + + + 72A2322564FE4193933CFB5339487A06 + 0 + + + Owner + + + + 2176 + E337EBF706FA4172B2CD1A6487E00875 + 8FF494037A5C4BD3932B55CD89854621 + -8 + -41 + + + 72A2322564FE4193933CFB5339487A06 + 0 + 56A96DA9E981481688563E2D14D5D878 + 149,155 + 1536 + E337EBF706FA4172B2CD1A6487E00875 + 42BB3B183A7748C3B4AA9D33F7BF70AC + 95 + 71 + + + 72A2322564FE4193933CFB5339487A06 + 0 + + + PE_CheckChangeItemUsage + + + 2618D6F5A90949BAA7E920D1B04C7EE1 + 152,199 + 2048 + E337EBF706FA4172B2CD1A6487E00875 + 42BB3B183A7748C3B4AA9D33F7BF70AC + 102 + 156 + + + 8FF494037A5C4BD3932B55CD89854621 + 0 + + + Manager + + + + 2304 + E337EBF706FA4172B2CD1A6487E00875 + AA93A121BC7346C4907F69820303D2A4 + 19 + 11 + + + A2438DC9ED424A8EA9876D47CAEFB6BC + 0 + 56A96DA9E981481688563E2D14D5D878 + 265,15 + 1280 + E337EBF706FA4172B2CD1A6487E00875 + 42BB3B183A7748C3B4AA9D33F7BF70AC + -108 + 15 + + + AA93A121BC7346C4907F69820303D2A4 + 0 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 205,30 + 2432 + E337EBF706FA4172B2CD1A6487E00875 + 42BB3B183A7748C3B4AA9D33F7BF70AC + -7 + -29 + + + AA93A121BC7346C4907F69820303D2A4 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 256 + E337EBF706FA4172B2CD1A6487E00875 + 42BB3B183A7748C3B4AA9D33F7BF70AC + 19 + -1 + + + AA93A121BC7346C4907F69820303D2A4 + 0 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 89,90 + 2560 + E337EBF706FA4172B2CD1A6487E00875 + 72A2322564FE4193933CFB5339487A06 + -86 + 39 + + + AA93A121BC7346C4907F69820303D2A4 + 0 + 56A96DA9E981481688563E2D14D5D878 + 95,33 + 1152 + E337EBF706FA4172B2CD1A6487E00875 + 72A2322564FE4193933CFB5339487A06 + -88 + -4 + + + BE7478E822444326A2EC9F1E11A88963 + 0 + 56A96DA9E981481688563E2D14D5D878 + + 1024 + E337EBF706FA4172B2CD1A6487E00875 + E7A383494C724B338518A4DD1EB867FA + 26 + 12 + + + E7A383494C724B338518A4DD1EB867FA + 0 + 56A96DA9E981481688563E2D14D5D878 + 495,194 + 1920 + E337EBF706FA4172B2CD1A6487E00875 + CF9E614C2C814637A3C8068DC211BA6D + -1 + -1 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/AO Type.xml b/Imports/2-Post/PLM/Import/List/AO Type.xml similarity index 97% rename from Imports/PLM/Import/List/AO Type.xml rename to Imports/2-Post/PLM/Import/List/AO Type.xml index 4b500b2..a9141f9 100644 --- a/Imports/PLM/Import/List/AO Type.xml +++ b/Imports/2-Post/PLM/Import/List/AO Type.xml @@ -1,31 +1,31 @@ - - - AO Type - - - - 128 - FBEDA6BE6AE549BAB28ADD09DC937E13 - Purchase Order - - - - 256 - FBEDA6BE6AE549BAB28ADD09DC937E13 - Shop Order - - - - 384 - FBEDA6BE6AE549BAB28ADD09DC937E13 - Test Order - - - - 512 - FBEDA6BE6AE549BAB28ADD09DC937E13 - Modification Order - - - + + + AO Type + + + + 128 + FBEDA6BE6AE549BAB28ADD09DC937E13 + Purchase Order + + + + 256 + FBEDA6BE6AE549BAB28ADD09DC937E13 + Shop Order + + + + 384 + FBEDA6BE6AE549BAB28ADD09DC937E13 + Test Order + + + + 512 + FBEDA6BE6AE549BAB28ADD09DC937E13 + Modification Order + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/CM2 CR Cost Recurring.xml b/Imports/2-Post/PLM/Import/List/CM2 CR Cost Recurring.xml similarity index 97% rename from Imports/PLM/Import/List/CM2 CR Cost Recurring.xml rename to Imports/2-Post/PLM/Import/List/CM2 CR Cost Recurring.xml index 50106f9..2501d1e 100644 --- a/Imports/PLM/Import/List/CM2 CR Cost Recurring.xml +++ b/Imports/2-Post/PLM/Import/List/CM2 CR Cost Recurring.xml @@ -1,19 +1,19 @@ - - - CM2 CR Cost Recurring - - - - 128 - 9287B8A07D764C2A9FD791AA13D87D44 - Recurring - - - - 256 - 9287B8A07D764C2A9FD791AA13D87D44 - Non-recurring - - - + + + CM2 CR Cost Recurring + + + + 128 + 9287B8A07D764C2A9FD791AA13D87D44 + Recurring + + + + 256 + 9287B8A07D764C2A9FD791AA13D87D44 + Non-recurring + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/CM2 CR Cost Type.xml b/Imports/2-Post/PLM/Import/List/CM2 CR Cost Type.xml similarity index 97% rename from Imports/PLM/Import/List/CM2 CR Cost Type.xml rename to Imports/2-Post/PLM/Import/List/CM2 CR Cost Type.xml index 0fe71c7..910fa4f 100644 --- a/Imports/PLM/Import/List/CM2 CR Cost Type.xml +++ b/Imports/2-Post/PLM/Import/List/CM2 CR Cost Type.xml @@ -1,81 +1,81 @@ - - - CM2 CR Cost Type - - - Non-recurring - - 128 - D781E57782E5447A95362ABCCDBAAA55 - New Tooling - - - Non-recurring - - 130 - D781E57782E5447A95362ABCCDBAAA55 - Rework Tooling - - - Non-recurring - - 256 - D781E57782E5447A95362ABCCDBAAA55 - Doc Upgrade - - - Non-recurring - - 384 - D781E57782E5447A95362ABCCDBAAA55 - Testing - - - Non-recurring - - 390 - D781E57782E5447A95362ABCCDBAAA55 - Analysis - - - Recurring - - 512 - D781E57782E5447A95362ABCCDBAAA55 - Piece Cost - - - Recurring - - 640 - D781E57782E5447A95362ABCCDBAAA55 - Setup - - - Recurring - - 768 - D781E57782E5447A95362ABCCDBAAA55 - Inspection - - - Non-recurring - - 896 - D781E57782E5447A95362ABCCDBAAA55 - Material Scrap - - - Non-recurring - - 1024 - D781E57782E5447A95362ABCCDBAAA55 - Material Rework - - - 128 - D781E57782E5447A95362ABCCDBAAA55 - - - + + + CM2 CR Cost Type + + + Non-recurring + + 128 + D781E57782E5447A95362ABCCDBAAA55 + New Tooling + + + Non-recurring + + 130 + D781E57782E5447A95362ABCCDBAAA55 + Rework Tooling + + + Non-recurring + + 256 + D781E57782E5447A95362ABCCDBAAA55 + Doc Upgrade + + + Non-recurring + + 384 + D781E57782E5447A95362ABCCDBAAA55 + Testing + + + Non-recurring + + 390 + D781E57782E5447A95362ABCCDBAAA55 + Analysis + + + Recurring + + 512 + D781E57782E5447A95362ABCCDBAAA55 + Piece Cost + + + Recurring + + 640 + D781E57782E5447A95362ABCCDBAAA55 + Setup + + + Recurring + + 768 + D781E57782E5447A95362ABCCDBAAA55 + Inspection + + + Non-recurring + + 896 + D781E57782E5447A95362ABCCDBAAA55 + Material Scrap + + + Non-recurring + + 1024 + D781E57782E5447A95362ABCCDBAAA55 + Material Rework + + + 128 + D781E57782E5447A95362ABCCDBAAA55 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/CM2 Equivalence Type.xml b/Imports/2-Post/PLM/Import/List/CM2 Equivalence Type.xml similarity index 97% rename from Imports/PLM/Import/List/CM2 Equivalence Type.xml rename to Imports/2-Post/PLM/Import/List/CM2 Equivalence Type.xml index 635e694..f6ead37 100644 --- a/Imports/PLM/Import/List/CM2 Equivalence Type.xml +++ b/Imports/2-Post/PLM/Import/List/CM2 Equivalence Type.xml @@ -1,19 +1,19 @@ - - - CM2 Equivalence Type - - - - 128 - 971F0BB7264140A7B1D3B11B118AE4F5 - Full - - - - 256 - 971F0BB7264140A7B1D3B11B118AE4F5 - Application Not Repair - - - + + + CM2 Equivalence Type + + + + 128 + 971F0BB7264140A7B1D3B11B118AE4F5 + Full + + + + 256 + 971F0BB7264140A7B1D3B11B118AE4F5 + Application Not Repair + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/CM2 Facility Status.xml b/Imports/2-Post/PLM/Import/List/CM2 Facility Status.xml similarity index 97% rename from Imports/PLM/Import/List/CM2 Facility Status.xml rename to Imports/2-Post/PLM/Import/List/CM2 Facility Status.xml index efc4a13..b24828f 100644 --- a/Imports/PLM/Import/List/CM2 Facility Status.xml +++ b/Imports/2-Post/PLM/Import/List/CM2 Facility Status.xml @@ -1,37 +1,37 @@ - - - CM2 Facility Status - - - - 128 - 30E74BEAE3524944A0514D74CD2DE6A3 - Available - - - - 256 - 30E74BEAE3524944A0514D74CD2DE6A3 - In Use - - - - 384 - 30E74BEAE3524944A0514D74CD2DE6A3 - Offline - - - - 512 - 30E74BEAE3524944A0514D74CD2DE6A3 - In Maintenance - - - - 640 - 30E74BEAE3524944A0514D74CD2DE6A3 - Obsolete - - - + + + CM2 Facility Status + + + + 128 + 30E74BEAE3524944A0514D74CD2DE6A3 + Available + + + + 256 + 30E74BEAE3524944A0514D74CD2DE6A3 + In Use + + + + 384 + 30E74BEAE3524944A0514D74CD2DE6A3 + Offline + + + + 512 + 30E74BEAE3524944A0514D74CD2DE6A3 + In Maintenance + + + + 640 + 30E74BEAE3524944A0514D74CD2DE6A3 + Obsolete + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/CM2 Security.xml b/Imports/2-Post/PLM/Import/List/CM2 Security.xml similarity index 97% rename from Imports/PLM/Import/List/CM2 Security.xml rename to Imports/2-Post/PLM/Import/List/CM2 Security.xml index e0a20b0..e540bdf 100644 --- a/Imports/PLM/Import/List/CM2 Security.xml +++ b/Imports/2-Post/PLM/Import/List/CM2 Security.xml @@ -1,19 +1,19 @@ - - - CM2 Security - - - - 128 - C4D805D51E71449888DC93946862F2D5 - Confidential - - - - 256 - C4D805D51E71449888DC93946862F2D5 - Proprietary - - - + + + CM2 Security + + + + 128 + C4D805D51E71449888DC93946862F2D5 + Confidential + + + + 256 + C4D805D51E71449888DC93946862F2D5 + Proprietary + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/CM2 Status.xml b/Imports/2-Post/PLM/Import/List/CM2 Status.xml similarity index 97% rename from Imports/PLM/Import/List/CM2 Status.xml rename to Imports/2-Post/PLM/Import/List/CM2 Status.xml index 6a5163e..66eb035 100644 --- a/Imports/PLM/Import/List/CM2 Status.xml +++ b/Imports/2-Post/PLM/Import/List/CM2 Status.xml @@ -1,25 +1,25 @@ - - - CM2 Status - - - - 128 - 29A36AFC386546E9B790E99FA2FF61E6 - Open - - - - 256 - 29A36AFC386546E9B790E99FA2FF61E6 - On Hold - - - - 384 - 29A36AFC386546E9B790E99FA2FF61E6 - Cloased - - - + + + CM2 Status + + + + 128 + 29A36AFC386546E9B790E99FA2FF61E6 + Open + + + + 256 + 29A36AFC386546E9B790E99FA2FF61E6 + On Hold + + + + 384 + 29A36AFC386546E9B790E99FA2FF61E6 + Cloased + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/Change Sources.xml b/Imports/2-Post/PLM/Import/List/Change Sources.xml similarity index 97% rename from Imports/PLM/Import/List/Change Sources.xml rename to Imports/2-Post/PLM/Import/List/Change Sources.xml index 426fc36..bbfe08c 100644 --- a/Imports/PLM/Import/List/Change Sources.xml +++ b/Imports/2-Post/PLM/Import/List/Change Sources.xml @@ -1,26 +1,26 @@ - - - Sources of change - Change Sources - - - - 1 - E602F0779B924AE7B63C5096812B6804 - Internal - - - - 2 - E602F0779B924AE7B63C5096812B6804 - Customer - - - - 3 - E602F0779B924AE7B63C5096812B6804 - Supplier - - - + + + Sources of change + Change Sources + + + + 1 + E602F0779B924AE7B63C5096812B6804 + Internal + + + + 2 + E602F0779B924AE7B63C5096812B6804 + Customer + + + + 3 + E602F0779B924AE7B63C5096812B6804 + Supplier + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/Change Types.xml b/Imports/2-Post/PLM/Import/List/Change Types.xml similarity index 97% rename from Imports/PLM/Import/List/Change Types.xml rename to Imports/2-Post/PLM/Import/List/Change Types.xml index fb51b06..f09ca7d 100644 --- a/Imports/PLM/Import/List/Change Types.xml +++ b/Imports/2-Post/PLM/Import/List/Change Types.xml @@ -1,26 +1,26 @@ - - - Types of change - Change Types - - - - 1 - D7D72BF68937462B947DAC6BE7E28322 - Corrective Action - - - - 2 - D7D72BF68937462B947DAC6BE7E28322 - Preventative Action - - - - 3 - D7D72BF68937462B947DAC6BE7E28322 - Product Improvement - - - + + + Types of change + Change Types + + + + 1 + D7D72BF68937462B947DAC6BE7E28322 + Corrective Action + + + + 2 + D7D72BF68937462B947DAC6BE7E28322 + Preventative Action + + + + 3 + D7D72BF68937462B947DAC6BE7E28322 + Product Improvement + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/Currency.xml b/Imports/2-Post/PLM/Import/List/Currency.xml similarity index 97% rename from Imports/PLM/Import/List/Currency.xml rename to Imports/2-Post/PLM/Import/List/Currency.xml index 5cdca64..be5cf96 100644 --- a/Imports/PLM/Import/List/Currency.xml +++ b/Imports/2-Post/PLM/Import/List/Currency.xml @@ -1,25 +1,25 @@ - - - Currency - - - - 128 - D6E6EB783356462D84B992716C9AEC8D - USD - - - - 256 - D6E6EB783356462D84B992716C9AEC8D - Euro - - - - 384 - D6E6EB783356462D84B992716C9AEC8D - CAD - - - + + + Currency + + + + 128 + D6E6EB783356462D84B992716C9AEC8D + USD + + + + 256 + D6E6EB783356462D84B992716C9AEC8D + Euro + + + + 384 + D6E6EB783356462D84B992716C9AEC8D + CAD + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/Duration Unit.xml b/Imports/2-Post/PLM/Import/List/Duration Unit.xml similarity index 97% rename from Imports/PLM/Import/List/Duration Unit.xml rename to Imports/2-Post/PLM/Import/List/Duration Unit.xml index 3498c89..ff37de1 100644 --- a/Imports/PLM/Import/List/Duration Unit.xml +++ b/Imports/2-Post/PLM/Import/List/Duration Unit.xml @@ -1,37 +1,37 @@ - - - Duration Unit - - - - 128 - D09163D96DF94F498604F8611A436A3D - Days - - - - 256 - D09163D96DF94F498604F8611A436A3D - Hours - - - - 384 - D09163D96DF94F498604F8611A436A3D - Weeks - - - - 512 - D09163D96DF94F498604F8611A436A3D - Months - - - - 640 - D09163D96DF94F498604F8611A436A3D - Minutes - - - + + + Duration Unit + + + + 128 + D09163D96DF94F498604F8611A436A3D + Days + + + + 256 + D09163D96DF94F498604F8611A436A3D + Hours + + + + 384 + D09163D96DF94F498604F8611A436A3D + Weeks + + + + 512 + D09163D96DF94F498604F8611A436A3D + Months + + + + 640 + D09163D96DF94F498604F8611A436A3D + Minutes + + + \ No newline at end of file diff --git a/Imports/PLM/Import/List/EDR_Grouping.xml b/Imports/2-Post/PLM/Import/List/EDR_Grouping.xml similarity index 100% rename from Imports/PLM/Import/List/EDR_Grouping.xml rename to Imports/2-Post/PLM/Import/List/EDR_Grouping.xml diff --git a/Imports/2-Post/PLM/Import/Method/BaseTreeGrid.xml b/Imports/2-Post/PLM/Import/Method/BaseTreeGrid.xml new file mode 100644 index 0000000..facf8f1 --- /dev/null +++ b/Imports/2-Post/PLM/Import/Method/BaseTreeGrid.xml @@ -0,0 +1,329 @@ + + + A73B655731924CD0B027E4F4D5FCC0A9 + 0) { + menu.removeAll(); + } + var menuItems = []; + this.controlGridMenuClickHandler = function (menuChoice) {}; // reset previous handler; + var menuInit = this.onGridMenuInit({rowId: rowId, column: col, menuItems: menuItems}); + if (menuInit) { + for (var i = 0; i < menuItems.length; i++) { + if (menuItems[i].separator) { + menu.addSeparator(); + } else { + menu.add(i.toString(), (menuItems[i].label || ""), { disable: !menuItems[i].enabled }); + } + } + + //set new handler which lock in clouser menuItems + this.controlGridMenuClickHandler = function (menuChoice) { + var selectedId = this.grid.getSelectedId(); + if (selectedId) { + var menuItem = menuItems[parseInt(menuChoice, 10)]; + this.onGridMenuClick({menu: menuItem}); + } + return; + }; + + return true; + } + + return false; + }, + controlGridMenuClick: function (menuChoice) { + if(this.controlGridMenuClickHandler){ + this.controlGridMenuClickHandler(menuChoice); + } + //will be overrided in controlGridMenuInit; + }, + onValidateCell: function (eArg) { + return true; + }, + controlGridKeyPress: function(key) { + this.onGridKeyPress({key: key}); + }, + + onToolbarClick: function (eArg) { + return; + }, + + onGridClick: function (eArg) { + return; + }, + + onGridDoubleClick: function (eArg) { + return; + }, + + onGridLinkClick: function (eArg) { + return; + }, + + onGridMenuInit: function (eArg) { + return true; + }, + + onGridMenuClick: function (eArg) { + eArg.menu.handler.execute ? eArg.menu.handler.execute() : eArg.menu.handler(); + return; + }, + + onBeginEditCell: function (eArg) { + return false; + }, + + onEndEditCell: function (eArg) { + return false; + }, + + onGridKeyPress: function (eArg) { + return true; + }, + + initialize: function () { + //load grid and toolbar was success + }, + + loadHTML: function (instanceName) { + var htmlText = '' + + '' + + '' + + '' + + '' + + '' + + '
' + + '
Loading...
' + + '
' + + '' + + '
', + docElement = document.documentElement, + mainDiv = document.createElement('div'), + mainTable, + toolbar, + grid; + mainDiv.innerHTML = htmlText; + document.body.appendChild(mainDiv); + mainTable = document.getElementById('mainTable'); + + if (aras.Browser.isIe() && aras.Browser.getMajorVersionNumber() < 11) { + aras.browserHelper.adjustGridSize(window, function () { + mainTable.style.height = (docElement.clientHeight - 30) + 'px'; + }, false); + } + + var self = this; + clientControlsFactory.createControl("Aras.Client.Controls.Public.Toolbar", { connectId: "toolbar_td" }, function (control) { + toolbar = control; + clientControlsFactory.on(toolbar, { "onClick": self.controlToolbarOnClick.bind(self) }); + }); + this.toolbar = toolbar; + + clientControlsFactory.createControl("Aras.Client.Controls.Public.TreeGridContainer", { + canEdit_Experimental: dojo.hitch(this, function (rowId, field) { + var columnIndex = self.grid.columns_Experimental.get(field, 'index'); + return self.onBeginEditCell({ rowId: rowId, column: columnIndex }); + }), + validateCell_Experimental: (function (rowId, field, value) { + var columnIndex = this.grid.columns_Experimental.get(field, 'index'); + return this.onValidateCell({ rowId: rowId, column: columnIndex, value: value }); + }).bind(this) + }, function (control) { + grid = control; + clientControlsFactory.on(grid, { + "gridClick": self.controlGridClick.bind(self), + "gridDoubleClick": self.controlGridDoubleClick.bind(self), + "gridLinkClick": self.controlGridLinkClick.bind(self), + "gridMenuInit": self.controlGridMenuInit.bind(self), + "gridMenuClick": self.controlGridMenuClick.bind(self), + "onApplyEdit_Experimental": function (rowId, field, value) { + var columnIndex = self.grid.columns_Experimental.get(field, 'index'); + return self.onEndEditCell({ rowId: rowId, column: columnIndex }); + }, + "gridKeyPress": self.controlGridKeyPress.bind(self) + }); + }); + this.grid = grid; + this.initialize(); + this.ready = true; + }, + + getColumnLabelByName: function (typeName, propName) { + var itemType = aras.getItemTypeForClient(typeName, "name"); + var propItem = itemType.getItemsByXPath("Relationships/Item[@type='Property' and name='" + propName + "']").node; + return aras.getItemProperty(propItem, 'label'); + }, + + getDataSourceByName: function (typeName, propName) { + var itemType = aras.getItemTypeForClient(typeName, "name"); + var propItem = itemType.getItemsByXPath("Relationships/Item[@type=\"Property\" and name=\"" + propName + "\"]").node; + return aras.getItemProperty(propItem, "data_source"); + }, + + setToolbarItemEnable: function (ctrlName, bool) { + var toolbar = this.toolbar.getActiveToolbar(); + bool = (bool === undefined) ? true : !!bool; + try { + var tbi = toolbar.getElement(ctrlName); + if (tbi) { + tbi.setEnabled(bool); + } + } catch (excep) { + alert('exception during setToolbarItemEnable()'); + } + }, + + getProperty: function (node, element) { + //this function is used instead of aras.getItemProperty because of performance reasons + var value = ""; + if (node) { + var tempNode = node.selectSingleNode(element); + if (tempNode) { + value = tempNode.text; + } + } + return value; + }, + + expandAll: function (bool) { + this.grid.setPaintEnabled(false); + if (bool) { + this.grid.expandAll(); + } else { + this.grid.collapseAll(); + } + this.grid.setPaintEnabled(true); + }, + + setLink: function (row_id, row_type, item_id, col) { + this.grid.SetCellTextColor(row_id, col, "#3668B1"); + this.grid.SetCellLink(row_id, col, "'" + row_type + "','" + item_id + "'"); + }, + + GetGridState: function () { + return { + expanded: this.grid.getOpenedItems(";").split(";"), + selected: this.grid.getSelectedItemIDs(";").split(";") + }; + }, + + SetGridState: function (gridState) { + var l = gridState.expanded.length; + for (var i = 0; i < l; i++) { + if (gridState.expanded[i]) { + this.grid.openItem(gridState.expanded[i]); + } + } + + l = gridState.selected.length; + for (var i = 0; i < l; i++) { + if (gridState.selected[i]) { + this.grid.setSelectedRow(gridState.selected[i], true, true); + } + } + } +} + +ActionBase = function () { + /// Base class to implement action handler +} + +ActionBase.prototype = { + execute: function () { + var selectedIds = impactGrid.grid.getSelectedItemIds("|").split("|"); + var id_array = selectedIds[0] ? selectedIds : []; + + for (i = 0; i < id_array.length; i++) { + var selRowId = id_array[i], + rowItem = impactGrid.GridRowUserData[selRowId], + affectedItem = impactGrid.AffectedItemDictionary[rowItem.itemId]; + this.executeItem(rowItem, affectedItem, selRowId); + } + }, + + executeItem: function (rowItem, affectedItem, selRowId) { + //Execute action for Item + }, + + Validate: function (selRowId, selItem) { + //validate item + return true; + }, + + searchItem: function (itemTypeName, searchCallback, sourceItemTypeName, sourcePropertyName) { + var param = { aras: aras, itemtypeName: itemTypeName, multiselect: true, sourceItemTypeName: sourceItemTypeName, sourcePropertyName: sourcePropertyName }; + param.callback = function (dlgRes) { + if (!dlgRes || dlgRes.length == 0) { + return; + } + + // This logic is copy from function preloadItems in relationshipsGrid.html + var itms = new Array(); + var idsArrayForLoad = new Array(); + for (var i = 0; i < dlgRes.length; i++) { + var resID = dlgRes[i]; + var item = aras.itemsCache.getItem(resID); + if (item) { + // if item is dirty then retreive item from cache after test for completeness + if (aras.isDirtyEx(item) || aras.isTempEx(item)) { + itms.push(item); + } else { // if item not dirty then drop it from cache and load from server original version + idsArrayForLoad.push("'" + resID + "'"); + } + } else { // if item not exists in cache then load item from server + idsArrayForLoad.push("'" + resID + "'"); + } + } + + if (idsArrayForLoad.length > 0) { + var loadedItms = aras.loadItems(itemTypeName, "" + idsArrayForLoad.join(',') + ""); + for (var i = 0; i < loadedItms.length; i++) { + itms.push(loadedItms[i]); + } + } + + if (itms) { + for (var i = 0; i < itms.length; i++) { + var itemId = aras.getItemProperty(itms[i], "id", ""); + var itemType = itms[i].getAttribute('type'); + var requiredItem = aras.getItemById(itemType, itemId, 0); + searchCallback(requiredItem); + } + } + }; + aras.modalDialogHelper.show('SearchDialog', aras.getMostTopWindowWithAras(), param); + } +}]]>
+ JavaScript + BaseTreeGrid +
+
\ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 As Released As Planned.xml b/Imports/2-Post/PLM/Import/Method/CM2 As Released As Planned.xml similarity index 100% rename from Imports/PLM/Import/Method/CM2 As Released As Planned.xml rename to Imports/2-Post/PLM/Import/Method/CM2 As Released As Planned.xml diff --git a/Imports/PLM/Import/Method/CM2 CN WF Assign.xml b/Imports/2-Post/PLM/Import/Method/CM2 CN WF Assign.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 CN WF Assign.xml rename to Imports/2-Post/PLM/Import/Method/CM2 CN WF Assign.xml index 18d84c3..bf1ec65 100644 --- a/Imports/PLM/Import/Method/CM2 CN WF Assign.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 CN WF Assign.xml @@ -1,75 +1,75 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - - C# - CM2 CN WF Assign - + + + A73B655731924CD0B027E4F4D5FCC0A9 + + C# + CM2 CN WF Assign + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 CleanCN.xml b/Imports/2-Post/PLM/Import/Method/CM2 CleanCN.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 CleanCN.xml rename to Imports/2-Post/PLM/Import/Method/CM2 CleanCN.xml index 26fa7b9..f6733a7 100644 --- a/Imports/PLM/Import/Method/CM2 CleanCN.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 CleanCN.xml @@ -1,9 +1,9 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - - C# - CM2 CleanCN - + + + A73B655731924CD0B027E4F4D5FCC0A9 + + C# + CM2 CleanCN + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 CleanCRCN.xml b/Imports/2-Post/PLM/Import/Method/CM2 CleanCRCN.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 CleanCRCN.xml rename to Imports/2-Post/PLM/Import/Method/CM2 CleanCRCN.xml index 1d49535..e7ac9be 100644 --- a/Imports/PLM/Import/Method/CM2 CleanCRCN.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 CleanCRCN.xml @@ -1,10 +1,10 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - - C# - CM2 CleanCRCN - + + + A73B655731924CD0B027E4F4D5FCC0A9 + + C# + CM2 CleanCRCN + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 Create Change Item.xml b/Imports/2-Post/PLM/Import/Method/CM2 Create Change Item.xml similarity index 98% rename from Imports/PLM/Import/Method/CM2 Create Change Item.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Create Change Item.xml index d2846bc..d899809 100644 --- a/Imports/PLM/Import/Method/CM2 Create Change Item.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 Create Change Item.xml @@ -1,185 +1,185 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - - JavaScript - CM2 Create Change Item - + + + A73B655731924CD0B027E4F4D5FCC0A9 + + JavaScript + CM2 Create Change Item + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 Enterprise.xml b/Imports/2-Post/PLM/Import/Method/CM2 Enterprise.xml similarity index 100% rename from Imports/PLM/Import/Method/CM2 Enterprise.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Enterprise.xml diff --git a/Imports/PLM/Import/Method/CM2 Facilities.xml b/Imports/2-Post/PLM/Import/Method/CM2 Facilities.xml similarity index 100% rename from Imports/PLM/Import/Method/CM2 Facilities.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Facilities.xml diff --git a/Imports/PLM/Import/Method/CM2 Get Enterprise Baseline Data.xml b/Imports/2-Post/PLM/Import/Method/CM2 Get Enterprise Baseline Data.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 Get Enterprise Baseline Data.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Get Enterprise Baseline Data.xml index 21c3931..abdec1b 100644 --- a/Imports/PLM/Import/Method/CM2 Get Enterprise Baseline Data.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 Get Enterprise Baseline Data.xml @@ -1,591 +1,591 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - 1) - planned_structure = as_planned.getItemByIndex(0); - - Item plan_children = planned_structure.getRelationships("Part Document"); - if (plan_children.isError()) - { - // all released children are deletes - return released_structure; - } - - // get the structure of each related document - for (int i=0; i < plan_children.getItemCount(); i++) - { - Item this_rel = plan_children.getItemByIndex(i); - Item child = this_rel.getRelatedItem(); - - Item this_child = GetDocumentStructure(inn, selected_date, child.getProperty("item_number",""), level); - - // if successful, we remove the related item and replace with this_part - if (!this_child.isError()) - this_rel.setRelatedItem(this_child); - } - - SetHierarchy(planned_structure,level); - - int planned_revisions = planned_structure.getItemCount(); - string planned_id = planned_structure.getID(); // id of latest generation - - // for each child document in the released structure, see if there is a corresponding bom - // in the planned structure with the same item number - rel_children = released_structure.getItemsByXPath("./Relationships/Item[@type='Part Document']"); - plan_children = planned_structure.getItemsByXPath("./Relationships/Item[@type='Part Document' and source_id='" + planned_id + "']"); - - if (rel_children.isEmpty() || plan_children.isEmpty()) - return released_structure; - - // check released relationships - for (int i=0; i < rel_children.getItemCount(); i++) - { - Item rel_child = rel_children.getItemByIndex(i); - Item rel_doc = rel_child.getRelatedItem(); - - Item plan_child = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + rel_doc.getProperty("major_rev","") + "']"); - - // if plan_child is defined, this relationship is unchanged - // if the plan_child is undefined, we know rel_child is deleted - if (plan_child.getItemCount() != 1) - { - rel_child.setProperty("a_d","D"); - rel_child.setAttribute("is_planned","true"); - - // see if a planned item exists with a different rev, then use that to set the planned_effective_date and planned_cn - Item added = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "']/related_id/Item"); - - if (added.getItemCount() == 1) - { - rel_child.setProperty("planned_effective_date",added.getProperty("effective_date","")); - - Item added_cn = added.getPropertyItem("cn"); - if (added_cn != null) - rel_child.setProperty("planned_cn",added_cn.getProperty("keyed_name","")); - } - else - { - Item first_parent = GetFirstParent(inn, rel_doc.getProperty("item_number",""), item_number, "delete", "Part"); - if (first_parent != null) - { - rel_child.setProperty("planned_effective_date",first_parent.getProperty("effective_date","")); - - Item parent_cn = first_parent.getPropertyItem("cn"); - if (parent_cn != null) - rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); - } - else - { - rel_child.setProperty("planned_effective_date",released_structure.getProperty("effective_date","")); - - Item parent_cn = released_structure.getPropertyItem("cn"); - if (parent_cn != null) - rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); - } - } - } - } - - // check planned relationships to see if there are any that are added - for (int i=0; i < plan_children.getItemCount(); i++) - { - Item plan_child = plan_children.getItemByIndex(i); - Item plan_doc = plan_child.getRelatedItem(); - - Item rel_child = rel_children.getItemsByXPath("//Item[source_id='" + released_structure.getID() + "' and related_id/Item/item_number='" + plan_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + plan_doc.getProperty("major_rev","") + "']"); - - // if rel_child is defined, this relationship is unchanged - // if the rel_child is undefined, we know plan_child is added so we need to add it to the structure - if (rel_child.getItemCount() != 1) - { - plan_child.setProperty("a_d","A"); - plan_child.setAttribute("is_planned","true"); - - plan_child.setProperty("planned_effective_date",plan_doc.getProperty("effective_date","")); - - Item cn = plan_doc.getPropertyItem("cn"); - - if (cn != null) - plan_child.setProperty("planned_cn",cn.getProperty("keyed_name","no name")); - - released_structure.addRelationship(plan_child); - } - } - - - /**** return the results to be processed by xslt **************************/ - return released_structure; - -} - -public static Item GetDocumentStructure(Innovator inn, string selected_date, string item_number, int level) -{ - /**** get the as-released item - calculation step 1 ***********************/ - - Item as_released = GetReleased(inn, selected_date, item_number, "Document"); - - // we'll use this in the XSLT for the report - as_released.setAttribute("cm2","as-released"); - - - /**** get the as-planned item(s) - calculation step 2 *********************/ - - // get the generation of the as-released part - string as_released_gen; - string as_released_rev; - if (as_released.isError()) - { - // no released part matches this criteria - as_released = null; - as_released_gen = "0"; - as_released_rev = ""; - } - else - { - as_released_gen = as_released.getProperty("generation",""); - as_released_rev = as_released.getProperty("major_rev",""); - } - - Item as_planned = GetPlanned(inn, selected_date, item_number, as_released_gen, as_released_rev, "Document"); - - - /**** get the relationships for the as-planned and as-released items ******/ - - Item released_structure = as_released; - Item rel_children = GetRelationships(inn, as_released.getID()); - - if (rel_children.isError()) - return released_structure; - - // add children to released structure - for (int i=0; i < rel_children.getItemCount(); i++) - released_structure.addRelationship(rel_children.getItemByIndex(i)); - - SetHierarchy(released_structure,level); - - if (as_planned.isError()) - return released_structure; - - Item planned_structure = as_planned; - if (as_planned.getItemCount() > 1) - planned_structure = as_planned.getItemByIndex(0); - - Item plan_children = GetRelationships(inn,as_planned.getID()); - if (plan_children.isError()) - { - // all released children are deletes - rel_children = released_structure.getRelationships("Document Child Document"); - return released_structure; - } - - // add children to planned structure - for (int i=0; i < plan_children.getItemCount(); i++) - planned_structure.addRelationship(plan_children.getItemByIndex(i)); - - SetHierarchy(planned_structure,level); - - int planned_revisions = planned_structure.getItemCount(); - string planned_id = planned_structure.getID(); // id of latest generation - - // for each child document in the released structure, see if there is a corresponding bom - // in the planned structure with the same item number - rel_children = released_structure.getItemsByXPath("./Relationships/Item[@type='Document Child Document']"); - plan_children = planned_structure.getItemsByXPath("./Relationships/Item[@type='Document Child Document' and source_id='" + planned_id + "']"); - - if (rel_children.isEmpty() || plan_children.isEmpty()) - return released_structure; - - // check released relationships - for (int i=0; i < rel_children.getItemCount(); i++) - { - Item rel_child = rel_children.getItemByIndex(i); - Item rel_doc = rel_child.getRelatedItem(); - - Item plan_child = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + rel_doc.getProperty("major_rev","") + "']"); - - // if plan_child is defined, this relationship is unchanged - // if the plan_child is undefined, we know rel_child is deleted - if (plan_child.getItemCount() != 1) - { - rel_child.setProperty("a_d","D"); - rel_child.setAttribute("is_planned","true"); - - // see if a planned item exists with a different rev, then use that to set the planned_effective_date and planned_cn - Item added = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "']/related_id/Item"); - - if (added.getItemCount() == 1) - { - rel_child.setProperty("planned_effective_date",added.getProperty("effective_date","")); - - Item added_cn = added.getPropertyItem("cn"); - if (added_cn != null) - rel_child.setProperty("planned_cn",added_cn.getProperty("keyed_name","")); - } - else - { - Item first_parent = GetFirstParent(inn, rel_doc.getProperty("item_number",""), item_number, "delete", "Document"); - if (first_parent != null) - { - rel_child.setProperty("planned_effective_date",first_parent.getProperty("effective_date","")); - - Item parent_cn = first_parent.getPropertyItem("cn"); - if (parent_cn != null) - rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); - } - else - { - rel_child.setProperty("planned_effective_date",released_structure.getProperty("effective_date","")); - - Item parent_cn = released_structure.getPropertyItem("cn"); - if (parent_cn != null) - rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); - } - } - } - } - - // check planned relationships to see if there are any that are added - for (int i=0; i < plan_children.getItemCount(); i++) - { - Item plan_child = plan_children.getItemByIndex(i); - Item plan_doc = plan_child.getRelatedItem(); - - Item rel_child = rel_children.getItemsByXPath("//Item[source_id='" + released_structure.getID() + "' and related_id/Item/item_number='" + plan_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + plan_doc.getProperty("major_rev","") + "']"); - - // if rel_child is defined, this relationship is unchanged - // if the rel_child is undefined, we know plan_child is added so we need to add it to the structure - if (rel_child.getItemCount() != 1) - { - plan_child.setProperty("a_d","A"); - plan_child.setAttribute("is_planned","true"); - plan_child.setProperty("planned_effective_date",plan_doc.getProperty("effective_date","")); - - Item cn = plan_doc.getPropertyItem("cn"); - - if (cn != null) - plan_child.setProperty("planned_cn",cn.getProperty("keyed_name","no name")); - - released_structure.addRelationship(plan_child); - } - } - - // get structure of each related child that isn't added or deleted - Item recurse_children = released_structure.getItemsByXPath("./Relationships/Item[@type='Document Child Document' and not(a_d='D')]"); - for(int i=0; i < recurse_children.getItemCount(); i++) - { - Item relationship = recurse_children.getItemByIndex(0); - Item related = relationship.getRelatedItem(); - Item structure = GetDocumentStructure(inn, selected_date, related.getProperty("item_number",""), level+1); - - if (!structure.isError()) - relationship.setRelatedItem(structure); - } - - - /**** return the results to be processed by xslt **************************/ - return released_structure; -} - -public static Item GetReleased(Innovator inn, string selected_date, string item_number, string itemtype) -{ - string part_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev"; - string doc_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev,name"; - - Item as_released = inn.newItem(itemtype,"get"); - - if (itemtype == "Part") - as_released.setAttribute("select",part_select); - - if (itemtype == "Document") - as_released.setAttribute("select",doc_select); - - // set properties for query - as_released.setProperty("is_released","1"); - as_released.setProperty("effective_date",selected_date); - as_released.setPropertyAttribute("effective_date","condition","le"); - as_released.setProperty("item_number",item_number); - - // make sure we don't just get the current version - as_released.setProperty("generation","0"); - as_released.setPropertyAttribute("generation","condition","ne"); - - // get only the item with the greatest generation - as_released.setAttribute("orderBy","generation DESC"); - as_released.setAttribute("pagesize","1"); - as_released.setAttribute("page","1"); - - if (itemtype == "Part") - as_released.createRelationship("Part Document","get"); - - as_released = as_released.apply(); - - // if there's no released version, use the latest generation that fits the date criteria - if (as_released.isError()) - { - as_released = inn.newItem(itemtype,"get"); - - if (itemtype == "Part") - as_released.setAttribute("select",part_select); - - if (itemtype == "Document") - as_released.setAttribute("select",doc_select); - - // set properties for query - as_released.setProperty("effective_date",selected_date); - as_released.setPropertyAttribute("effective_date","condition","le"); - as_released.setProperty("item_number",item_number); - - // make sure we don't just get the current version - as_released.setProperty("generation","0"); - as_released.setPropertyAttribute("generation","condition","ne"); - - // get only the item with the greatest generation - as_released.setAttribute("orderBy","generation DESC"); - as_released.setAttribute("pagesize","1"); - as_released.setAttribute("page","1"); - - if (itemtype == "Part") - as_released.createRelationship("Part Document","get"); - - as_released = as_released.apply(); - } - - return as_released; -} - -public static Item GetPlanned(Innovator inn, string selected_date, string item_number, string as_released_gen, string as_released_rev, string itemtype) -{ - string part_select = "id,config_id,item_number,generation,major_rev,classification,effective_date,release_date,release_date_plan,is_released"; - string doc_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev,name"; - - Item as_planned = inn.newItem(itemtype,"get"); - - if (itemtype == "Part") - as_planned.setAttribute("select",part_select); - - if (itemtype == "Document") - as_planned.setAttribute("select",doc_select); - - // set properties for query - as_planned.setAttribute("orderBy","generation DESC"); - as_planned.setProperty("item_number",item_number); - - // set date properties for query - Item or_dates = as_planned.newOR(); - or_dates.setProperty("effective_date",selected_date); - or_dates.setPropertyAttribute("effective_date","condition","ge"); - or_dates.setProperty("release_date",selected_date); - or_dates.setPropertyAttribute("release_date","condition","ge"); - or_dates.setProperty("release_date_plan",selected_date); - or_dates.setPropertyAttribute("release_date_plan","condition","ge"); - - // make sure we get generations greater than the as_released_gen - as_planned.setProperty("generation",as_released_gen); - as_planned.setPropertyAttribute("generation","condition","gt"); - - if (itemtype == "Part") - as_planned.createRelationship("Part Document","get"); - - as_planned = as_planned.apply(); - - // return first item in collection - it will be the latest generation for the target revision - if (as_planned.getItemCount() > 1) - return as_planned.getItemByIndex(0); - - return as_planned; -} - -public static string NextRev(string letter) -{ - // only works for default revisioning sequence - - // first case - string is empty: return "A" - if ((letter == null) || (letter.Length == 0)) - return "A"; - - // next case - last char is less than 'z': simply increment last char - char lastChar = letter[letter.Length - 1]; - string fragment = letter.Substring(0, letter.Length - 1); - - if (lastChar < 'Z') - { - ++lastChar; - return fragment + lastChar; - } - - // next case - last char is 'Z': roll over and increment preceding string - return NextRev(fragment) + 'A'; -} - -public static Item GetRelationships(Innovator inn, string item_id) -{ - Item docs = inn.newItem("Document Child Document","get"); - docs.setProperty("source_id",item_id); - docs = docs.apply(); - - return docs; -} - -public static void SetHierarchy(Item thisItem, int level) -{ - try { - // get relationships - Item rels = thisItem.getRelationships(); - - // for each related item, set hierarchy - for (int i=0; i < rels.getItemCount(); i++) - { - Item related = rels.getItemByIndex(i).getItemsByXPath("./related_id/Item"); - SetHierarchy(related, level+1); - } - - thisItem.setProperty("hierarchy",level + ""); - } - catch (Exception e) - { - thisItem.setProperty("hierarchy",level + ""); - } -} - -// this method returns the first generation that includes an added part, or the first generation that does not include a deleted part -public static Item GetFirstParent(Innovator inn, string child_num, string parent_num, string change_type, string itemtype) -{ - Item parent = inn.newItem(itemtype,"get"); - parent.setAttribute("orderBy","generation ASC"); - parent.setProperty("item_number",parent_num); - parent.setProperty("generation","0"); - parent.setPropertyAttribute("generation","condition","ge"); - - string rel_type = ""; - if (itemtype == "Part") - rel_type = "Part Document"; - - if (itemtype == "Document") - rel_type = "Document Child Document"; - - Item rel = parent.createRelationship(rel_type,"get"); - - Item child = rel.createRelatedItem("Document","get"); - child.setProperty("item_number",child_num); - - parent = parent.apply(); - - // get the first generation of the parent that includes the child part - if (change_type == "add") - { - return parent.getItemByIndex(0); - } - - // get the last parent to have the part - if (change_type == "delete") - { - return parent.getItemByIndex(parent.getItemCount()-1); - } - - return inn.newError("GetFirstParent: bad parameter"); -} - -public static Item BuildResult(Innovator inn, string selected_date, string item_number, Item structure) -{ - Item result = inn.newItem("Report Options"); - result.setProperty("item_number",item_number); - result.setProperty("selected_date",selected_date); - - result.appendItem(structure); - - return result; - - - - - - - - - - - - - - - - -]]> - C# - CM2 Get Enterprise Baseline Data - + + + A73B655731924CD0B027E4F4D5FCC0A9 + 1) + planned_structure = as_planned.getItemByIndex(0); + + Item plan_children = planned_structure.getRelationships("Part Document"); + if (plan_children.isError()) + { + // all released children are deletes + return released_structure; + } + + // get the structure of each related document + for (int i=0; i < plan_children.getItemCount(); i++) + { + Item this_rel = plan_children.getItemByIndex(i); + Item child = this_rel.getRelatedItem(); + + Item this_child = GetDocumentStructure(inn, selected_date, child.getProperty("item_number",""), level); + + // if successful, we remove the related item and replace with this_part + if (!this_child.isError()) + this_rel.setRelatedItem(this_child); + } + + SetHierarchy(planned_structure,level); + + int planned_revisions = planned_structure.getItemCount(); + string planned_id = planned_structure.getID(); // id of latest generation + + // for each child document in the released structure, see if there is a corresponding bom + // in the planned structure with the same item number + rel_children = released_structure.getItemsByXPath("./Relationships/Item[@type='Part Document']"); + plan_children = planned_structure.getItemsByXPath("./Relationships/Item[@type='Part Document' and source_id='" + planned_id + "']"); + + if (rel_children.isEmpty() || plan_children.isEmpty()) + return released_structure; + + // check released relationships + for (int i=0; i < rel_children.getItemCount(); i++) + { + Item rel_child = rel_children.getItemByIndex(i); + Item rel_doc = rel_child.getRelatedItem(); + + Item plan_child = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + rel_doc.getProperty("major_rev","") + "']"); + + // if plan_child is defined, this relationship is unchanged + // if the plan_child is undefined, we know rel_child is deleted + if (plan_child.getItemCount() != 1) + { + rel_child.setProperty("a_d","D"); + rel_child.setAttribute("is_planned","true"); + + // see if a planned item exists with a different rev, then use that to set the planned_effective_date and planned_cn + Item added = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "']/related_id/Item"); + + if (added.getItemCount() == 1) + { + rel_child.setProperty("planned_effective_date",added.getProperty("effective_date","")); + + Item added_cn = added.getPropertyItem("cn"); + if (added_cn != null) + rel_child.setProperty("planned_cn",added_cn.getProperty("keyed_name","")); + } + else + { + Item first_parent = GetFirstParent(inn, rel_doc.getProperty("item_number",""), item_number, "delete", "Part"); + if (first_parent != null) + { + rel_child.setProperty("planned_effective_date",first_parent.getProperty("effective_date","")); + + Item parent_cn = first_parent.getPropertyItem("cn"); + if (parent_cn != null) + rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); + } + else + { + rel_child.setProperty("planned_effective_date",released_structure.getProperty("effective_date","")); + + Item parent_cn = released_structure.getPropertyItem("cn"); + if (parent_cn != null) + rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); + } + } + } + } + + // check planned relationships to see if there are any that are added + for (int i=0; i < plan_children.getItemCount(); i++) + { + Item plan_child = plan_children.getItemByIndex(i); + Item plan_doc = plan_child.getRelatedItem(); + + Item rel_child = rel_children.getItemsByXPath("//Item[source_id='" + released_structure.getID() + "' and related_id/Item/item_number='" + plan_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + plan_doc.getProperty("major_rev","") + "']"); + + // if rel_child is defined, this relationship is unchanged + // if the rel_child is undefined, we know plan_child is added so we need to add it to the structure + if (rel_child.getItemCount() != 1) + { + plan_child.setProperty("a_d","A"); + plan_child.setAttribute("is_planned","true"); + + plan_child.setProperty("planned_effective_date",plan_doc.getProperty("effective_date","")); + + Item cn = plan_doc.getPropertyItem("cn"); + + if (cn != null) + plan_child.setProperty("planned_cn",cn.getProperty("keyed_name","no name")); + + released_structure.addRelationship(plan_child); + } + } + + + /**** return the results to be processed by xslt **************************/ + return released_structure; + +} + +public static Item GetDocumentStructure(Innovator inn, string selected_date, string item_number, int level) +{ + /**** get the as-released item - calculation step 1 ***********************/ + + Item as_released = GetReleased(inn, selected_date, item_number, "Document"); + + // we'll use this in the XSLT for the report + as_released.setAttribute("cm2","as-released"); + + + /**** get the as-planned item(s) - calculation step 2 *********************/ + + // get the generation of the as-released part + string as_released_gen; + string as_released_rev; + if (as_released.isError()) + { + // no released part matches this criteria + as_released = null; + as_released_gen = "0"; + as_released_rev = ""; + } + else + { + as_released_gen = as_released.getProperty("generation",""); + as_released_rev = as_released.getProperty("major_rev",""); + } + + Item as_planned = GetPlanned(inn, selected_date, item_number, as_released_gen, as_released_rev, "Document"); + + + /**** get the relationships for the as-planned and as-released items ******/ + + Item released_structure = as_released; + Item rel_children = GetRelationships(inn, as_released.getID()); + + if (rel_children.isError()) + return released_structure; + + // add children to released structure + for (int i=0; i < rel_children.getItemCount(); i++) + released_structure.addRelationship(rel_children.getItemByIndex(i)); + + SetHierarchy(released_structure,level); + + if (as_planned.isError()) + return released_structure; + + Item planned_structure = as_planned; + if (as_planned.getItemCount() > 1) + planned_structure = as_planned.getItemByIndex(0); + + Item plan_children = GetRelationships(inn,as_planned.getID()); + if (plan_children.isError()) + { + // all released children are deletes + rel_children = released_structure.getRelationships("Document Child Document"); + return released_structure; + } + + // add children to planned structure + for (int i=0; i < plan_children.getItemCount(); i++) + planned_structure.addRelationship(plan_children.getItemByIndex(i)); + + SetHierarchy(planned_structure,level); + + int planned_revisions = planned_structure.getItemCount(); + string planned_id = planned_structure.getID(); // id of latest generation + + // for each child document in the released structure, see if there is a corresponding bom + // in the planned structure with the same item number + rel_children = released_structure.getItemsByXPath("./Relationships/Item[@type='Document Child Document']"); + plan_children = planned_structure.getItemsByXPath("./Relationships/Item[@type='Document Child Document' and source_id='" + planned_id + "']"); + + if (rel_children.isEmpty() || plan_children.isEmpty()) + return released_structure; + + // check released relationships + for (int i=0; i < rel_children.getItemCount(); i++) + { + Item rel_child = rel_children.getItemByIndex(i); + Item rel_doc = rel_child.getRelatedItem(); + + Item plan_child = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + rel_doc.getProperty("major_rev","") + "']"); + + // if plan_child is defined, this relationship is unchanged + // if the plan_child is undefined, we know rel_child is deleted + if (plan_child.getItemCount() != 1) + { + rel_child.setProperty("a_d","D"); + rel_child.setAttribute("is_planned","true"); + + // see if a planned item exists with a different rev, then use that to set the planned_effective_date and planned_cn + Item added = plan_children.getItemsByXPath("//Item[source_id='" + planned_id + "' and related_id/Item/item_number='" + rel_doc.getProperty("item_number","") + "']/related_id/Item"); + + if (added.getItemCount() == 1) + { + rel_child.setProperty("planned_effective_date",added.getProperty("effective_date","")); + + Item added_cn = added.getPropertyItem("cn"); + if (added_cn != null) + rel_child.setProperty("planned_cn",added_cn.getProperty("keyed_name","")); + } + else + { + Item first_parent = GetFirstParent(inn, rel_doc.getProperty("item_number",""), item_number, "delete", "Document"); + if (first_parent != null) + { + rel_child.setProperty("planned_effective_date",first_parent.getProperty("effective_date","")); + + Item parent_cn = first_parent.getPropertyItem("cn"); + if (parent_cn != null) + rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); + } + else + { + rel_child.setProperty("planned_effective_date",released_structure.getProperty("effective_date","")); + + Item parent_cn = released_structure.getPropertyItem("cn"); + if (parent_cn != null) + rel_child.setProperty("planned_cn",parent_cn.getProperty("keyed_name","")); + } + } + } + } + + // check planned relationships to see if there are any that are added + for (int i=0; i < plan_children.getItemCount(); i++) + { + Item plan_child = plan_children.getItemByIndex(i); + Item plan_doc = plan_child.getRelatedItem(); + + Item rel_child = rel_children.getItemsByXPath("//Item[source_id='" + released_structure.getID() + "' and related_id/Item/item_number='" + plan_doc.getProperty("item_number","") + "' and related_id/Item/major_rev='" + plan_doc.getProperty("major_rev","") + "']"); + + // if rel_child is defined, this relationship is unchanged + // if the rel_child is undefined, we know plan_child is added so we need to add it to the structure + if (rel_child.getItemCount() != 1) + { + plan_child.setProperty("a_d","A"); + plan_child.setAttribute("is_planned","true"); + plan_child.setProperty("planned_effective_date",plan_doc.getProperty("effective_date","")); + + Item cn = plan_doc.getPropertyItem("cn"); + + if (cn != null) + plan_child.setProperty("planned_cn",cn.getProperty("keyed_name","no name")); + + released_structure.addRelationship(plan_child); + } + } + + // get structure of each related child that isn't added or deleted + Item recurse_children = released_structure.getItemsByXPath("./Relationships/Item[@type='Document Child Document' and not(a_d='D')]"); + for(int i=0; i < recurse_children.getItemCount(); i++) + { + Item relationship = recurse_children.getItemByIndex(0); + Item related = relationship.getRelatedItem(); + Item structure = GetDocumentStructure(inn, selected_date, related.getProperty("item_number",""), level+1); + + if (!structure.isError()) + relationship.setRelatedItem(structure); + } + + + /**** return the results to be processed by xslt **************************/ + return released_structure; +} + +public static Item GetReleased(Innovator inn, string selected_date, string item_number, string itemtype) +{ + string part_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev"; + string doc_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev,name"; + + Item as_released = inn.newItem(itemtype,"get"); + + if (itemtype == "Part") + as_released.setAttribute("select",part_select); + + if (itemtype == "Document") + as_released.setAttribute("select",doc_select); + + // set properties for query + as_released.setProperty("is_released","1"); + as_released.setProperty("effective_date",selected_date); + as_released.setPropertyAttribute("effective_date","condition","le"); + as_released.setProperty("item_number",item_number); + + // make sure we don't just get the current version + as_released.setProperty("generation","0"); + as_released.setPropertyAttribute("generation","condition","ne"); + + // get only the item with the greatest generation + as_released.setAttribute("orderBy","generation DESC"); + as_released.setAttribute("pagesize","1"); + as_released.setAttribute("page","1"); + + if (itemtype == "Part") + as_released.createRelationship("Part Document","get"); + + as_released = as_released.apply(); + + // if there's no released version, use the latest generation that fits the date criteria + if (as_released.isError()) + { + as_released = inn.newItem(itemtype,"get"); + + if (itemtype == "Part") + as_released.setAttribute("select",part_select); + + if (itemtype == "Document") + as_released.setAttribute("select",doc_select); + + // set properties for query + as_released.setProperty("effective_date",selected_date); + as_released.setPropertyAttribute("effective_date","condition","le"); + as_released.setProperty("item_number",item_number); + + // make sure we don't just get the current version + as_released.setProperty("generation","0"); + as_released.setPropertyAttribute("generation","condition","ne"); + + // get only the item with the greatest generation + as_released.setAttribute("orderBy","generation DESC"); + as_released.setAttribute("pagesize","1"); + as_released.setAttribute("page","1"); + + if (itemtype == "Part") + as_released.createRelationship("Part Document","get"); + + as_released = as_released.apply(); + } + + return as_released; +} + +public static Item GetPlanned(Innovator inn, string selected_date, string item_number, string as_released_gen, string as_released_rev, string itemtype) +{ + string part_select = "id,config_id,item_number,generation,major_rev,classification,effective_date,release_date,release_date_plan,is_released"; + string doc_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev,name"; + + Item as_planned = inn.newItem(itemtype,"get"); + + if (itemtype == "Part") + as_planned.setAttribute("select",part_select); + + if (itemtype == "Document") + as_planned.setAttribute("select",doc_select); + + // set properties for query + as_planned.setAttribute("orderBy","generation DESC"); + as_planned.setProperty("item_number",item_number); + + // set date properties for query + Item or_dates = as_planned.newOR(); + or_dates.setProperty("effective_date",selected_date); + or_dates.setPropertyAttribute("effective_date","condition","ge"); + or_dates.setProperty("release_date",selected_date); + or_dates.setPropertyAttribute("release_date","condition","ge"); + or_dates.setProperty("release_date_plan",selected_date); + or_dates.setPropertyAttribute("release_date_plan","condition","ge"); + + // make sure we get generations greater than the as_released_gen + as_planned.setProperty("generation",as_released_gen); + as_planned.setPropertyAttribute("generation","condition","gt"); + + if (itemtype == "Part") + as_planned.createRelationship("Part Document","get"); + + as_planned = as_planned.apply(); + + // return first item in collection - it will be the latest generation for the target revision + if (as_planned.getItemCount() > 1) + return as_planned.getItemByIndex(0); + + return as_planned; +} + +public static string NextRev(string letter) +{ + // only works for default revisioning sequence + + // first case - string is empty: return "A" + if ((letter == null) || (letter.Length == 0)) + return "A"; + + // next case - last char is less than 'z': simply increment last char + char lastChar = letter[letter.Length - 1]; + string fragment = letter.Substring(0, letter.Length - 1); + + if (lastChar < 'Z') + { + ++lastChar; + return fragment + lastChar; + } + + // next case - last char is 'Z': roll over and increment preceding string + return NextRev(fragment) + 'A'; +} + +public static Item GetRelationships(Innovator inn, string item_id) +{ + Item docs = inn.newItem("Document Child Document","get"); + docs.setProperty("source_id",item_id); + docs = docs.apply(); + + return docs; +} + +public static void SetHierarchy(Item thisItem, int level) +{ + try { + // get relationships + Item rels = thisItem.getRelationships(); + + // for each related item, set hierarchy + for (int i=0; i < rels.getItemCount(); i++) + { + Item related = rels.getItemByIndex(i).getItemsByXPath("./related_id/Item"); + SetHierarchy(related, level+1); + } + + thisItem.setProperty("hierarchy",level + ""); + } + catch (Exception e) + { + thisItem.setProperty("hierarchy",level + ""); + } +} + +// this method returns the first generation that includes an added part, or the first generation that does not include a deleted part +public static Item GetFirstParent(Innovator inn, string child_num, string parent_num, string change_type, string itemtype) +{ + Item parent = inn.newItem(itemtype,"get"); + parent.setAttribute("orderBy","generation ASC"); + parent.setProperty("item_number",parent_num); + parent.setProperty("generation","0"); + parent.setPropertyAttribute("generation","condition","ge"); + + string rel_type = ""; + if (itemtype == "Part") + rel_type = "Part Document"; + + if (itemtype == "Document") + rel_type = "Document Child Document"; + + Item rel = parent.createRelationship(rel_type,"get"); + + Item child = rel.createRelatedItem("Document","get"); + child.setProperty("item_number",child_num); + + parent = parent.apply(); + + // get the first generation of the parent that includes the child part + if (change_type == "add") + { + return parent.getItemByIndex(0); + } + + // get the last parent to have the part + if (change_type == "delete") + { + return parent.getItemByIndex(parent.getItemCount()-1); + } + + return inn.newError("GetFirstParent: bad parameter"); +} + +public static Item BuildResult(Innovator inn, string selected_date, string item_number, Item structure) +{ + Item result = inn.newItem("Report Options"); + result.setProperty("item_number",item_number); + result.setProperty("selected_date",selected_date); + + result.appendItem(structure); + + return result; + + + + + + + + + + + + + + + + +]]> + C# + CM2 Get Enterprise Baseline Data + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 Get Planning Bill Data.xml b/Imports/2-Post/PLM/Import/Method/CM2 Get Planning Bill Data.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 Get Planning Bill Data.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Get Planning Bill Data.xml index a8c2dd6..9a88a96 100644 --- a/Imports/PLM/Import/Method/CM2 Get Planning Bill Data.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 Get Planning Bill Data.xml @@ -1,338 +1,338 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - 1) - planned_structure = as_planned.getItemByIndex(0); - - int planned_revisions = planned_structure.getItemCount(); - string planned_id = planned_structure.getID(); // id of latest generation - - // for each bom in the released structure, see if there is a corresponding bom - // in the planned structure with the same quantity and item number - Item rel_boms = released_structure.getItemsByXPath("./Relationships/Item[@type='Part BOM']"); - Item plan_boms = planned_structure.getItemsByXPath("./Relationships/Item[@type='Part BOM' and source_id='" + planned_id + "']"); - - if (rel_boms.isEmpty() || plan_boms.isEmpty()) - return released_structure; - - // check released relationships - for (int i=0; i < rel_boms.getItemCount(); i++) - { - Item rel_bom = rel_boms.getItemByIndex(i); - Item rel_part = rel_bom.getItemsByXPath("./related_id/Item[@type='Part']"); - - Item plan_bom = plan_boms.getItemsByXPath("//Item[source_id='" + planned_id + "' and quantity='" + rel_bom.getProperty("quantity","") + "' and related_id/Item/item_number='" + rel_part.getProperty("item_number","") + "']"); - - // if plan_bom is defined, this relationship is unchanged - // if the plan_bom is undefined, we know rel_bom is deleted - if (plan_bom.getItemCount() < 1 || plan_bom.isError() || plan_bom.isEmpty()) - { - rel_bom.setProperty("a_d","D"); - rel_bom.setAttribute("is_planned","true"); - - // get first parent gen that doesn't have this part - use for effective date and rev - Item first_parent = GetFirstParent(inn,rel_part.getProperty("item_number",""),item_number,rel_bom.getProperty("quantity",""),"delete"); - - if (!first_parent.isError()) - { - rel_bom.setProperty("first_parent_rev",first_parent.getProperty("major_rev","x")); - rel_bom.setProperty("first_parent_eff",first_parent.getProperty("effective_date","")); - - Item cn = first_parent.getPropertyItem("cn"); - if (cn != null) - rel_bom.setProperty("first_parent_cn",cn.getProperty("keyed_name","no name")); - } - - // see if there is a corresponding add row for this delete row - // if so, overwrite the effective date/cn properties on the delete row with the values from the add row - Item add_row = plan_boms.getItemsByXPath("//Item[@type='Part BOM' and sort_order='" + rel_bom.getProperty("sort_order","") + "' and related_id/Item/item_number!='" + rel_part.getProperty("item_number","") + "']"); - if (add_row.getItemCount() == 1) - { - Item add_item = add_row.getRelatedItem(); - first_parent = GetFirstParent(inn,add_item.getProperty("item_number",""),item_number,add_row.getProperty("quantity",""),"add"); - if (!first_parent.isError()) - { - rel_bom.setProperty("first_parent_rev",first_parent.getProperty("major_rev","x")); - rel_bom.setProperty("first_parent_eff",first_parent.getProperty("effective_date","x")); - - Item cn = first_parent.getPropertyItem("cn"); - if (cn != null) - rel_bom.setProperty("first_parent_cn",cn.getProperty("keyed_name","no name")); - } - } - - } - } - - // check planned relationships to see if there are any that are added - for (int i=0; i < plan_boms.getItemCount(); i++) - { - Item plan_bom = plan_boms.getItemByIndex(i); - Item plan_part = plan_bom.getItemsByXPath("./related_id/Item[@type='Part']"); - - Item rel_bom = rel_boms.getItemsByXPath("//Item[quantity='" + plan_bom.getProperty("quantity","") + "' and related_id/Item/item_number='" + plan_part.getProperty("item_number","") + "']"); - - // if rel_bom is defined, this relationship is unchanged - // if the rel_bom is undefined, we know plan_bom is added so we need to add it to the structure - if (rel_bom.getItemCount() < 1) - { - plan_bom.setProperty("a_d","A"); - plan_bom.setAttribute("is_planned","true"); - - // get first parent gen that has this part - use for effective date and rev - Item first_parent = GetFirstParent(inn,plan_part.getProperty("item_number",""),item_number,plan_bom.getProperty("quantity",""),"add"); - - if (!first_parent.isError()) - { - plan_bom.setProperty("first_parent_rev",first_parent.getProperty("major_rev","x")); - plan_bom.setProperty("first_parent_eff",first_parent.getProperty("effective_date","")); - - Item cn = first_parent.getPropertyItem("cn"); - if (cn != null) - plan_bom.setProperty("first_parent_cn",cn.getProperty("keyed_name","no name")); - } - - released_structure.addRelationship(plan_bom); - } - } - - - /**** return the results to be processed by xslt **************************/ - return released_structure; - -} - -public static Item GetReleased(Innovator inn, string selected_date, string item_number) -{ - string part_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev"; - - Item as_released = inn.newItem("Part","get"); - as_released.setAttribute("select",part_select); - - // set properties for query - as_released.setProperty("is_released","1"); - as_released.setProperty("effective_date",selected_date); - as_released.setPropertyAttribute("effective_date","condition","le"); - as_released.setProperty("item_number",item_number); - - // make sure we don't just get the current version - as_released.setProperty("generation","0"); - as_released.setPropertyAttribute("generation","condition","ne"); - - // get only the item with the greatest generation - as_released.setAttribute("orderBy","generation DESC"); - as_released.setAttribute("pagesize","1"); - as_released.setAttribute("page","1"); - - as_released.createRelationship("Part BOM",""); - - as_released = as_released.apply(); - - return as_released; -} - -public static Item GetPlanned(Innovator inn, string selected_date, string item_number, string as_released_gen, string as_released_rev) -{ - string part_select = "id,config_id,item_number,generation,major_rev,classification,effective_date,release_date,release_date_plan,is_released"; - - Item as_planned = inn.newItem("Part","get"); - as_planned.setAttribute("select",part_select); - as_planned.setAttribute("orderBy","generation DESC"); - as_planned.setProperty("item_number",item_number); - - // set date properties for query - Item or_dates = as_planned.newOR(); - or_dates.setProperty("effective_date",selected_date); - or_dates.setPropertyAttribute("effective_date","condition","ge"); - or_dates.setProperty("release_date",selected_date); - or_dates.setPropertyAttribute("release_date","condition","ge"); - or_dates.setProperty("release_date_plan",selected_date); - or_dates.setPropertyAttribute("release_date_plan","condition","ge"); - - // make sure we get generations greater than the as_released_gen - as_planned.setProperty("generation",as_released_gen); - as_planned.setPropertyAttribute("generation","condition","gt"); - - // we will limit results to the next greatest major rev - var next_rev = NextRev(as_released_rev); - as_planned.setProperty("major_rev",next_rev); - - as_planned.createRelationship("Part BOM",""); - - as_planned = as_planned.apply(); - - return as_planned; -} - -public static string NextRev(string letter) -{ - // only works for default revisioning sequence - // first case - string is empty: return "A" - if ((letter == null) || (letter.Length == 0)) - return "A"; - - // next case - last char is less than 'z': simply increment last char - char lastChar = letter[letter.Length - 1]; - string fragment = letter.Substring(0, letter.Length - 1); - - if (lastChar < 'Z') - { - ++lastChar; - return fragment + lastChar; - } - - // next case - last char is 'Z': roll over and increment preceding string - return NextRev(fragment) + 'A'; -} - -public static Item GetRelationships(Innovator inn, string item_id) -{ - string qd_id = "223AF4086BFA4AA19472DE89DE47D485"; - - // get query definition with relationships - Item queryDef = inn.newItem("qry_QueryDefinition","get"); - queryDef.setID(qd_id); - queryDef.setAttribute("levels","2"); - queryDef = queryDef.apply(); - - string offset = "0"; - string fetch = "100"; - string offset_fetch = ""; - - // add CDATA element to query - XmlNode rootItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryDefinition']/Relationships/Item[1]"); - XmlCDataSection cdata = queryDef.dom.CreateCDataSection(offset_fetch); - XmlElement newNode = queryDef.dom.CreateElement("offset_fetch_xml"); - newNode.AppendChild(cdata); - rootItem.AppendChild(newNode); - - // pass id as a parameter - XmlNode paramItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryParameter']/value"); - paramItem.InnerText = item_id; - - // execute query - queryDef.setAction("qry_ExecuteQueryDefinition"); - queryDef.setAttribute("levels","0"); - queryDef = queryDef.apply(); - - return queryDef; -} - -// this method returns the first generation that includes an added part, or the first generation that does not include a deleted part -public static Item GetFirstParent(Innovator inn, string child_num, string parent_num, string qty, string change_type) -{ - Item parent = inn.newItem("Part","get"); - parent.setAttribute("orderBy","generation ASC"); - parent.setProperty("item_number",parent_num); - parent.setProperty("generation","0"); - parent.setPropertyAttribute("generation","condition","ge"); - - Item rel = parent.createRelationship("Part BOM","get"); - rel.setProperty("quantity",qty); - - Item child = rel.createRelatedItem("Part","get"); - child.setProperty("item_number",child_num); - - parent = parent.apply(); - - // get the first generation of the parent that includes the child part - if (change_type == "add") - { - return parent.getItemByIndex(0); - } - - // get last parent to include deleted item - if (change_type == "delete") - { - return parent.getItemByIndex(parent.getItemCount()-1); - } - - return inn.newError("GetFirstParent: bad parameter"); -} - -public static Item BuildResult(Innovator inn, string selected_date, string item_number, Item structure) -{ - Item result = inn.newItem("Report Options"); - result.setProperty("item_number",item_number); - result.setProperty("selected_date",selected_date); - - result.appendItem(structure); - - return result; - - - - - - - - - - - - - - - - -]]> - C# - CM2 Get Planning Bill Data - + + + A73B655731924CD0B027E4F4D5FCC0A9 + 1) + planned_structure = as_planned.getItemByIndex(0); + + int planned_revisions = planned_structure.getItemCount(); + string planned_id = planned_structure.getID(); // id of latest generation + + // for each bom in the released structure, see if there is a corresponding bom + // in the planned structure with the same quantity and item number + Item rel_boms = released_structure.getItemsByXPath("./Relationships/Item[@type='Part BOM']"); + Item plan_boms = planned_structure.getItemsByXPath("./Relationships/Item[@type='Part BOM' and source_id='" + planned_id + "']"); + + if (rel_boms.isEmpty() || plan_boms.isEmpty()) + return released_structure; + + // check released relationships + for (int i=0; i < rel_boms.getItemCount(); i++) + { + Item rel_bom = rel_boms.getItemByIndex(i); + Item rel_part = rel_bom.getItemsByXPath("./related_id/Item[@type='Part']"); + + Item plan_bom = plan_boms.getItemsByXPath("//Item[source_id='" + planned_id + "' and quantity='" + rel_bom.getProperty("quantity","") + "' and related_id/Item/item_number='" + rel_part.getProperty("item_number","") + "']"); + + // if plan_bom is defined, this relationship is unchanged + // if the plan_bom is undefined, we know rel_bom is deleted + if (plan_bom.getItemCount() < 1 || plan_bom.isError() || plan_bom.isEmpty()) + { + rel_bom.setProperty("a_d","D"); + rel_bom.setAttribute("is_planned","true"); + + // get first parent gen that doesn't have this part - use for effective date and rev + Item first_parent = GetFirstParent(inn,rel_part.getProperty("item_number",""),item_number,rel_bom.getProperty("quantity",""),"delete"); + + if (!first_parent.isError()) + { + rel_bom.setProperty("first_parent_rev",first_parent.getProperty("major_rev","x")); + rel_bom.setProperty("first_parent_eff",first_parent.getProperty("effective_date","")); + + Item cn = first_parent.getPropertyItem("cn"); + if (cn != null) + rel_bom.setProperty("first_parent_cn",cn.getProperty("keyed_name","no name")); + } + + // see if there is a corresponding add row for this delete row + // if so, overwrite the effective date/cn properties on the delete row with the values from the add row + Item add_row = plan_boms.getItemsByXPath("//Item[@type='Part BOM' and sort_order='" + rel_bom.getProperty("sort_order","") + "' and related_id/Item/item_number!='" + rel_part.getProperty("item_number","") + "']"); + if (add_row.getItemCount() == 1) + { + Item add_item = add_row.getRelatedItem(); + first_parent = GetFirstParent(inn,add_item.getProperty("item_number",""),item_number,add_row.getProperty("quantity",""),"add"); + if (!first_parent.isError()) + { + rel_bom.setProperty("first_parent_rev",first_parent.getProperty("major_rev","x")); + rel_bom.setProperty("first_parent_eff",first_parent.getProperty("effective_date","x")); + + Item cn = first_parent.getPropertyItem("cn"); + if (cn != null) + rel_bom.setProperty("first_parent_cn",cn.getProperty("keyed_name","no name")); + } + } + + } + } + + // check planned relationships to see if there are any that are added + for (int i=0; i < plan_boms.getItemCount(); i++) + { + Item plan_bom = plan_boms.getItemByIndex(i); + Item plan_part = plan_bom.getItemsByXPath("./related_id/Item[@type='Part']"); + + Item rel_bom = rel_boms.getItemsByXPath("//Item[quantity='" + plan_bom.getProperty("quantity","") + "' and related_id/Item/item_number='" + plan_part.getProperty("item_number","") + "']"); + + // if rel_bom is defined, this relationship is unchanged + // if the rel_bom is undefined, we know plan_bom is added so we need to add it to the structure + if (rel_bom.getItemCount() < 1) + { + plan_bom.setProperty("a_d","A"); + plan_bom.setAttribute("is_planned","true"); + + // get first parent gen that has this part - use for effective date and rev + Item first_parent = GetFirstParent(inn,plan_part.getProperty("item_number",""),item_number,plan_bom.getProperty("quantity",""),"add"); + + if (!first_parent.isError()) + { + plan_bom.setProperty("first_parent_rev",first_parent.getProperty("major_rev","x")); + plan_bom.setProperty("first_parent_eff",first_parent.getProperty("effective_date","")); + + Item cn = first_parent.getPropertyItem("cn"); + if (cn != null) + plan_bom.setProperty("first_parent_cn",cn.getProperty("keyed_name","no name")); + } + + released_structure.addRelationship(plan_bom); + } + } + + + /**** return the results to be processed by xslt **************************/ + return released_structure; + +} + +public static Item GetReleased(Innovator inn, string selected_date, string item_number) +{ + string part_select = "id,config_id,item_number,generation,classification,effective_date,release_date,release_date_plan,is_released,major_rev"; + + Item as_released = inn.newItem("Part","get"); + as_released.setAttribute("select",part_select); + + // set properties for query + as_released.setProperty("is_released","1"); + as_released.setProperty("effective_date",selected_date); + as_released.setPropertyAttribute("effective_date","condition","le"); + as_released.setProperty("item_number",item_number); + + // make sure we don't just get the current version + as_released.setProperty("generation","0"); + as_released.setPropertyAttribute("generation","condition","ne"); + + // get only the item with the greatest generation + as_released.setAttribute("orderBy","generation DESC"); + as_released.setAttribute("pagesize","1"); + as_released.setAttribute("page","1"); + + as_released.createRelationship("Part BOM",""); + + as_released = as_released.apply(); + + return as_released; +} + +public static Item GetPlanned(Innovator inn, string selected_date, string item_number, string as_released_gen, string as_released_rev) +{ + string part_select = "id,config_id,item_number,generation,major_rev,classification,effective_date,release_date,release_date_plan,is_released"; + + Item as_planned = inn.newItem("Part","get"); + as_planned.setAttribute("select",part_select); + as_planned.setAttribute("orderBy","generation DESC"); + as_planned.setProperty("item_number",item_number); + + // set date properties for query + Item or_dates = as_planned.newOR(); + or_dates.setProperty("effective_date",selected_date); + or_dates.setPropertyAttribute("effective_date","condition","ge"); + or_dates.setProperty("release_date",selected_date); + or_dates.setPropertyAttribute("release_date","condition","ge"); + or_dates.setProperty("release_date_plan",selected_date); + or_dates.setPropertyAttribute("release_date_plan","condition","ge"); + + // make sure we get generations greater than the as_released_gen + as_planned.setProperty("generation",as_released_gen); + as_planned.setPropertyAttribute("generation","condition","gt"); + + // we will limit results to the next greatest major rev + var next_rev = NextRev(as_released_rev); + as_planned.setProperty("major_rev",next_rev); + + as_planned.createRelationship("Part BOM",""); + + as_planned = as_planned.apply(); + + return as_planned; +} + +public static string NextRev(string letter) +{ + // only works for default revisioning sequence + // first case - string is empty: return "A" + if ((letter == null) || (letter.Length == 0)) + return "A"; + + // next case - last char is less than 'z': simply increment last char + char lastChar = letter[letter.Length - 1]; + string fragment = letter.Substring(0, letter.Length - 1); + + if (lastChar < 'Z') + { + ++lastChar; + return fragment + lastChar; + } + + // next case - last char is 'Z': roll over and increment preceding string + return NextRev(fragment) + 'A'; +} + +public static Item GetRelationships(Innovator inn, string item_id) +{ + string qd_id = "223AF4086BFA4AA19472DE89DE47D485"; + + // get query definition with relationships + Item queryDef = inn.newItem("qry_QueryDefinition","get"); + queryDef.setID(qd_id); + queryDef.setAttribute("levels","2"); + queryDef = queryDef.apply(); + + string offset = "0"; + string fetch = "100"; + string offset_fetch = ""; + + // add CDATA element to query + XmlNode rootItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryDefinition']/Relationships/Item[1]"); + XmlCDataSection cdata = queryDef.dom.CreateCDataSection(offset_fetch); + XmlElement newNode = queryDef.dom.CreateElement("offset_fetch_xml"); + newNode.AppendChild(cdata); + rootItem.AppendChild(newNode); + + // pass id as a parameter + XmlNode paramItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryParameter']/value"); + paramItem.InnerText = item_id; + + // execute query + queryDef.setAction("qry_ExecuteQueryDefinition"); + queryDef.setAttribute("levels","0"); + queryDef = queryDef.apply(); + + return queryDef; +} + +// this method returns the first generation that includes an added part, or the first generation that does not include a deleted part +public static Item GetFirstParent(Innovator inn, string child_num, string parent_num, string qty, string change_type) +{ + Item parent = inn.newItem("Part","get"); + parent.setAttribute("orderBy","generation ASC"); + parent.setProperty("item_number",parent_num); + parent.setProperty("generation","0"); + parent.setPropertyAttribute("generation","condition","ge"); + + Item rel = parent.createRelationship("Part BOM","get"); + rel.setProperty("quantity",qty); + + Item child = rel.createRelatedItem("Part","get"); + child.setProperty("item_number",child_num); + + parent = parent.apply(); + + // get the first generation of the parent that includes the child part + if (change_type == "add") + { + return parent.getItemByIndex(0); + } + + // get last parent to include deleted item + if (change_type == "delete") + { + return parent.getItemByIndex(parent.getItemCount()-1); + } + + return inn.newError("GetFirstParent: bad parameter"); +} + +public static Item BuildResult(Innovator inn, string selected_date, string item_number, Item structure) +{ + Item result = inn.newItem("Report Options"); + result.setProperty("item_number",item_number); + result.setProperty("selected_date",selected_date); + + result.appendItem(structure); + + return result; + + + + + + + + + + + + + + + + +]]> + C# + CM2 Get Planning Bill Data + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 GetCN.xml b/Imports/2-Post/PLM/Import/Method/CM2 GetCN.xml similarity index 96% rename from Imports/PLM/Import/Method/CM2 GetCN.xml rename to Imports/2-Post/PLM/Import/Method/CM2 GetCN.xml index 028c7d8..765e880 100644 --- a/Imports/PLM/Import/Method/CM2 GetCN.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 GetCN.xml @@ -1,30 +1,30 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - 0) - { - itm.setPropertyItem("cn",cn.getItemByIndex(0).getPropertyItem("source_id")); - } -} -return this;]]> - C# - CM2 GetCN - + + + A73B655731924CD0B027E4F4D5FCC0A9 + 0) + { + itm.setPropertyItem("cn",cn.getItemByIndex(0).getPropertyItem("source_id")); + } +} +return this;]]> + C# + CM2 GetCN + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 ILS.xml b/Imports/2-Post/PLM/Import/Method/CM2 ILS.xml similarity index 100% rename from Imports/PLM/Import/Method/CM2 ILS.xml rename to Imports/2-Post/PLM/Import/Method/CM2 ILS.xml diff --git a/Imports/PLM/Import/Method/CM2 IR OnAfterGet.xml b/Imports/2-Post/PLM/Import/Method/CM2 IR OnAfterGet.xml similarity index 96% rename from Imports/PLM/Import/Method/CM2 IR OnAfterGet.xml rename to Imports/2-Post/PLM/Import/Method/CM2 IR OnAfterGet.xml index 9276d93..54168c9 100644 --- a/Imports/PLM/Import/Method/CM2 IR OnAfterGet.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 IR OnAfterGet.xml @@ -1,37 +1,37 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - 0) - { - itm.setPropertyItem("cr",crs.getItemByIndex(0).getPropertyItem("source_id")); - string crId = crs.getItemByIndex(0).getPropertyItem("source_id").getID(); - Item cns = this.newItem("ECN ECR","get"); - cns.setAttribute("select","source_id(keyed_name)"); - cns.setProperty("related_id",crId); - cns = cns.apply(); - if (cns.getItemCount()>0) - { - itm.setPropertyItem("cn",cns.getItemByIndex(0).getPropertyItem("source_id")); - } - } -} -return this;]]> - C# - CM2 IR OnAfterGet - + + + A73B655731924CD0B027E4F4D5FCC0A9 + 0) + { + itm.setPropertyItem("cr",crs.getItemByIndex(0).getPropertyItem("source_id")); + string crId = crs.getItemByIndex(0).getPropertyItem("source_id").getID(); + Item cns = this.newItem("ECN ECR","get"); + cns.setAttribute("select","source_id(keyed_name)"); + cns.setProperty("related_id",crId); + cns = cns.apply(); + if (cns.getItemCount()>0) + { + itm.setPropertyItem("cn",cns.getItemByIndex(0).getPropertyItem("source_id")); + } + } +} +return this;]]> + C# + CM2 IR OnAfterGet + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 IS.xml b/Imports/2-Post/PLM/Import/Method/CM2 IS.xml similarity index 100% rename from Imports/PLM/Import/Method/CM2 IS.xml rename to Imports/2-Post/PLM/Import/Method/CM2 IS.xml diff --git a/Imports/PLM/Import/Method/CM2 Planning Bill.xml b/Imports/2-Post/PLM/Import/Method/CM2 Planning Bill.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 Planning Bill.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Planning Bill.xml index b1f2d3a..3192c4d 100644 --- a/Imports/PLM/Import/Method/CM2 Planning Bill.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 Planning Bill.xml @@ -1,47 +1,47 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - " + item.getProperty("item_number","") + "" + dt + ""); - return result; -}]]> - JavaScript - CM2 Planning Bill - + + + A73B655731924CD0B027E4F4D5FCC0A9 + " + item.getProperty("item_number","") + "" + dt + ""); + return result; +}]]> + JavaScript + CM2 Planning Bill + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 Set Model Serial Number.xml b/Imports/2-Post/PLM/Import/Method/CM2 Set Model Serial Number.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2 Set Model Serial Number.xml rename to Imports/2-Post/PLM/Import/Method/CM2 Set Model Serial Number.xml index b19408e..f8152dc 100644 --- a/Imports/PLM/Import/Method/CM2 Set Model Serial Number.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2 Set Model Serial Number.xml @@ -1,21 +1,21 @@ - - - - A73B655731924CD0B027E4F4D5FCC0A9 - - C# - CM2 Set Model Serial Number - + + + + A73B655731924CD0B027E4F4D5FCC0A9 + + C# + CM2 Set Model Serial Number + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/CM2 WA BOM Derive Order BOM.xml b/Imports/2-Post/PLM/Import/Method/CM2 WA BOM Derive Order BOM.xml similarity index 100% rename from Imports/PLM/Import/Method/CM2 WA BOM Derive Order BOM.xml rename to Imports/2-Post/PLM/Import/Method/CM2 WA BOM Derive Order BOM.xml diff --git a/Imports/PLM/Import/Method/CM2_SetPlanRelEffDates.xml b/Imports/2-Post/PLM/Import/Method/CM2_SetPlanRelEffDates.xml similarity index 97% rename from Imports/PLM/Import/Method/CM2_SetPlanRelEffDates.xml rename to Imports/2-Post/PLM/Import/Method/CM2_SetPlanRelEffDates.xml index 0f22dff..03bfd97 100644 --- a/Imports/PLM/Import/Method/CM2_SetPlanRelEffDates.xml +++ b/Imports/2-Post/PLM/Import/Method/CM2_SetPlanRelEffDates.xml @@ -1,55 +1,55 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - - C# - CM2_SetPlanRelEffDates - + + + A73B655731924CD0B027E4F4D5FCC0A9 + + C# + CM2_SetPlanRelEffDates + \ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/Method/Convert ECR to ECN.xml b/Imports/2-Post/PLM/Import/Method/Convert ECR to ECN.xml new file mode 100644 index 0000000..945187b --- /dev/null +++ b/Imports/2-Post/PLM/Import/Method/Convert ECR to ECN.xml @@ -0,0 +1,81 @@ + + + A73B655731924CD0B027E4F4D5FCC0A9 + + JavaScript + Convert ECR to ECN + + \ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/Method/ECR ImpactMatrixGrid.xml b/Imports/2-Post/PLM/Import/Method/ECR ImpactMatrixGrid.xml new file mode 100644 index 0000000..9cc483b --- /dev/null +++ b/Imports/2-Post/PLM/Import/Method/ECR ImpactMatrixGrid.xml @@ -0,0 +1,2101 @@ + + + A73B655731924CD0B027E4F4D5FCC0A9 + onLoad Event on Form: "ECR Impact Matrix" +// works together with 'Base TreeGrid' - must be loaded first +ImpactMatrixGrid = function ImpactMatrixGridFunc() { + var itemType = aras.getItemTypeForClient("Change Controlled Item"); + var itemTypeNode = aras.getItemTypeForClient(document.thisItem.getAttribute("type")).node; + var affNode = itemTypeNode.selectSingleNode("./Relationships/Item[@type='RelationshipType']/related_id[@name='Affected Item']"); + if (!affNode) { + aras.AlertError("Affected Item not found"); + } + var affRelationshipName = aras.getItemProperty(affNode.parentNode, "name"); + this.constants = { + itemTypeName: "Change Controlled Item", + affRelationshipName: affRelationshipName, + affRelationshipId: aras.getRelationshipTypeId(affRelationshipName), + affectedItemRelationshipId: aras.getRelationshipTypeId("Affected Item Relationship"), + affectedRelationshipPropertyId: aras.getRelationshipTypeId("Affected Relationship Property"), + edrTypes: { + "Document": true, + "CAD": true + } + }; + this.icons = {}; + this.IsExpandOnStart = true; + + var variable_dom = aras.getItemFromServerByName("Variable", "PE_Impact_Matrix_expand", "value,default_value"); + if (variable_dom) { + var value = variable_dom.getProperty("value") || variable_dom.getProperty("default_value"); + this.IsExpandOnStart = !(value === "0"); + } +}; +ImpactMatrixGrid.prototype = new BaseTreeGrid(); + +ImpactMatrixGrid.prototype.isEditable = function ImpactMatrixGrid_isEditable() { + var node = document.thisItem.node; + var state = aras.getItemProperty(node, "state", "null"); + return aras.isTempEx(node) || ((!state || state === "New" || state === "In Planning") && aras.isLockedByUser(node)); +}; +ImpactMatrixGrid.prototype.areParentAndChildItemsVisible = function ImpactMatrixGrid_areParentAndChildItemsVisible(item) { + var state = aras.getItemProperty(item, "state", "null"); + return (!state || state === "New" || state === "In Planning" || aras.isTempEx(item)); +}; +ImpactMatrixGrid.prototype.GetAffectedPartIds = function ImpactMatrixGrid_GetAffectedPartIds(forceGetRelationships) { + if (forceGetRelationships) { + var body = + "" + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + ""; + aras.getItemRelationshipsEx(document.thisItem.node, this.constants.affRelationshipName, undefined, undefined, body, true); + } + + var allIdsOfAffectedParts = ""; + //Get affected items from cache and merge them with affected items from server + var affPartRels = document.thisItem.node.selectNodes("./Relationships/Item[@type='" + this.constants.affRelationshipName + "' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Item']"); + + for (var i = 0; i < affPartRels.length; i++) { + var affPartRel = affPartRels[i], + changeItemAction = aras.getItemProperty(affPartRel, "item_action", ""), + changeAction = aras.getItemProperty(affPartRel, "action", ""), + partId; + + if (changeAction === "Change" || changeAction === "Delete" || changeItemAction === "Revise" || changeItemAction === "Renumber" || changeItemAction === "Supersede" || changeItemAction === "Obsolete") { + partId = aras.getItemProperty(affPartRel, "affected_id", ""); + + } else if (changeAction === "Add" || changeItemAction === "Release") { + partId = aras.getItemProperty(affPartRel, "new_item_id", ""); + + } else if (changeAction === "None" || changeAction === "Review" || changeItemAction === "None" || changeItemAction === "Review") { + partId = aras.getItemProperty(affPartRel, "affected_id", "") || aras.getItemProperty(affPartRel, "new_item_id", ""); + + } else { + continue; + } + + allIdsOfAffectedParts += (allIdsOfAffectedParts ? "," : "") + partId; + } + + return allIdsOfAffectedParts; +}; +ImpactMatrixGrid.prototype.RefreshNewItemDictionary = function ImpactMatrixGrid_RefreshNewItemDictionary() { + this.NewItemDictionary = {}; + + var newItemIds = ""; + var itemNewItemDictionary = {}; + var affectedItems = this.AffectedItemDictionary; + for (var key in affectedItems) { + if (affectedItems.hasOwnProperty(key)) { + var item = affectedItems[key]; + var item_action = this.getProperty(item, "item_action"); + var action = this.getProperty(item, "action"); + if (action === "Change" || item_action === "Revise" || item_action === "Renumber" || item_action === "Supersede") { + var new_item_id = this.getProperty(item, "new_item_id"); + if (new_item_id) { + itemNewItemDictionary[new_item_id] = this.getProperty(item, "id"); + newItemIds += (newItemIds ? "," : "") + new_item_id; + } + } + } + } + + if (newItemIds) { + var result = aras.soapSend("GetItem", ""); + if (result.getFaultCode() != 0) { + aras.AlertError(result); + return; + } + var nodes = result.getResult(); + var nodesCount = nodes.childNodes.length; + for (var i = 0; i < nodesCount; i++) { + var node = nodes.childNodes[i]; + new_item_id = node.getAttribute("id"); + var key = itemNewItemDictionary[new_item_id] + new_item_id; + this.NewItemDictionary[key] = node; + } + } +}; +ImpactMatrixGrid.prototype.RefreshAffectedItemDictionary = function ImpactMatrixGrid_RefreshAffectedItemDictionary() { + this.AffectedItemDictionary = {}; + var nodes = document.thisItem.node.selectNodes("./Relationships/Item[@type='" + this.constants.affRelationshipName + "' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Item']"); + var node, action, item_action, affected_id, interchangeable, new_item_id; + + for (var i = 0; i < nodes.length; i++) { + node = nodes[i]; + item_action = aras.getItemProperty(node, "item_action", ""); + action = aras.getItemProperty(node, "action", ""); + interchangeable = aras.getItemProperty(node, "interchangeable", ""); + affected_id = aras.getItemProperty(node, "affected_id", ""); + new_item_id = aras.getItemProperty(node, "new_item_id", ""); + + if (affected_id && (item_action !== "Release" && action !== "Add")) { + this.AffectedItemDictionary[affected_id] = node; + } else if (new_item_id && (item_action === "Release" || action === "Add" || ((action === "None" || action === "Review" || item_action === "None" || item_action === "Review") && !affected_id))) { + this.AffectedItemDictionary[new_item_id] = node; + } + } +}; +ImpactMatrixGrid.prototype.RefreshEdrsDictionary = function ImpactMatrixGrid_RefreshEdrsDictionary() { + var edrAffectedItemRelationship = "Express EDR Affected Item"; + var edrsDictionary = {}; + this.edrsDictionary = this.edrsDictionary || {}; + + var expressEcoEdrAml = "" + + " " + document.thisItem.getID() + "" + + " "; + + var response = aras.soapSend("GetItem", expressEcoEdrAml); + if (response.getFaultCode() !== 0) { + return; + } + var edrNodes = response.getResult().selectNodes("./Item/related_id/Item"); + var edrsCount = edrNodes.length; + for (var i = 0; i < edrsCount; i++) { + var edr = edrNodes[i]; + var affectedItemNodes = edr.selectNodes("./Relationships/Item/related_id"); + var affectedItemsCount = affectedItemNodes.length; + for (var j = 0; j < affectedItemsCount; j++) { + var affectedItem = affectedItemNodes[j]; + edrsDictionary[affectedItem.text] = edr; + } + } + this.edrsDictionary = edrsDictionary; +}; +ImpactMatrixGrid.prototype.RefreshGroupingTeamsDictionary = function ImpactMatrixGrid_RefreshGroupingTeamsDictionary(useCachedServerResponse) { + var groupingTeamsDictionary = {}; + this.groupingTeamsDictionary = this.groupingTeamsDictionary || {}; + var i, tmpItem, grouping, tmpStr, aml = + "" + + "" + document.thisItem.getID() + "" + + ""; + var deletedIds = {}, existingNodes = document.thisItem.node.selectNodes("./Relationships/Item[@type='Express ECO EDR Grouping']"); + for (i = 0; i < existingNodes.length; i++) { + tmpItem = existingNodes[i]; + tmpStr = tmpItem.getAttribute("action"); + if (tmpStr === "purge" || tmpStr === "delete") { + deletedIds[tmpItem.getAttribute("id")] = true; + } + } + if (!useCachedServerResponse) { + var response = aras.soapSend("GetItem", aml); + if (response.getFaultCode() != 0) { + return; + } + var items = response.getResult().selectNodes("Item"), + fromServer = []; + for (i = 0; i < items.length; i++) { + tmpItem = items[i]; + grouping = aras.getItemProperty(tmpItem, "grouping"); + fromServer.push({id: tmpItem.getAttribute("id"), grouping: grouping}); + } + this.groupingTeamsFromServer = fromServer; + } + + for (i = 0; i < this.groupingTeamsFromServer.length; i++) { + tmpItem = this.groupingTeamsFromServer[i]; + if (!deletedIds[tmpItem.id]) { + groupingTeamsDictionary[tmpItem.grouping] = true; + } + } + + for (i = 0; i < existingNodes.length; i++) { + tmpItem = existingNodes[i]; + grouping = aras.getItemProperty(tmpItem, "grouping"); + tmpStr = tmpItem.getAttribute("action"); + if (tmpStr !== "purge" && tmpStr !== "delete") { + groupingTeamsDictionary[grouping] = true; + } + } + this.groupingTeamsDictionary = groupingTeamsDictionary; +}; +ImpactMatrixGrid.prototype.onBeforeInitialize = function ImpactMatrixGrid_onBeforeInitialize() { + +}; +ImpactMatrixGrid.prototype.initialize = function ImpactMatrixGrid_Initialize() { + this.onBeforeInitialize(); + + this.initializeContextMenu(); + this.initializeToolbar(); + this.initializeGridStructure(); + + this.registerTopMenuEventsHandlers(); + + this.gridRefresh(true); +}; +ImpactMatrixGrid.prototype.initializeContextMenu = function () { + this.defaultMenu = [ + { name: "impactmatrix.contextmenu.action_add_item", handler: new ActionAddNewItem() }, + { name: "impactmatrix.contextmenu.action_delete_row", handler: new ActionDeleteRow() }, + { separator: true }, + { name: "impactmatrix.contextmenu.action_add", handler: new ActionReleasePart() }, + { name: "impactmatrix.contextmenu.action_intchange", handler: new ActionRevisePart() }, + { name: "impactmatrix.contextmenu.action_nonintchange", handler: new ActionNonIntChgPart() }, + { name: "impactmatrix.contextmenu.action_delete", handler: new ActionObsoletePart() }, + { name: "impactmatrix.contextmenu.action_none", handler: new ActionNone() }, + { name: "impactmatrix.contextmenu.action_review", handler: new ActionReview() }, + { separator: true }, + { name: "impactmatrix.contextmenu.action_add_relationship", handler: new ActionAddRelationship() }, + { name: "impactmatrix.contextmenu.action_change_relationship", handler: new ActionChangeRelationship() }, + { name: "impactmatrix.contextmenu.action_delete_relationship", handler: new ActionRemoveRelationship() } + ]; +}; +ImpactMatrixGrid.prototype.initializeToolbar = function () { + this.toolbarXmlUrl = aras.getI18NXMLResource("ImpactMatrixToolbar.xml", "../Solutions/PLM/"); + this.toolbar.loadXml(this.toolbarXmlUrl); + this.toolbar.show(); +}; +ImpactMatrixGrid.prototype.initializeGridStructure = function () { + this.columnList = [ + { Name: "PN", Title: this.getColumnLabelByName("Change Controlled Item", "item_number"), Class: PNCellClass, Width: "250", Align: "l" }, + { Name: "Name", Title: this.getColumnLabelByName("Change Controlled Item", "name"), Class: NameCellClass, Width: "200", Align: "l" }, + { Name: "Rev", Title: this.getColumnLabelByName("Change Controlled Item", "major_rev"), Class: RevCellClass, Width: "80", Align: "c" }, + { Name: "State", Title: this.getColumnLabelByName("Change Controlled Item", "state"), Class: StateCellClass, Width: "100", Align: "l" }, + { Name: "SortOrder", Title: this.getColumnLabelByName("Change Controlled Relationship", "sort_order"), Class: SortOrderCellClass, Width: "80", Align: "l", Sort: "NUMERIC" }, + { Name: "Qty", Title: this.getColumnLabelByName("Change Controlled Relationship", "quantity"), Class: QtyCellClass, Width: "80", Align: "l", Sort: "NUMERIC" }, + { Name: "Unit", Title: this.getColumnLabelByName("Part", "unit"), Class: UnitCellClass, Width: "40", Align: "l" }, + { Name: "Action", Title: this.getColumnLabelByName("Affected Item", "item_action"), Class: ActionCellClass, Width: "100", Align: "c" }, + { Name: "NewPN", Title: this.getColumnLabelByName("Affected Item", "new_item_id"), Class: NewPNCellClass, Width: "200", Align: "l" }, + { Name: "NewState", Title: this.getColumnLabelByName("Change Controlled Item", "state"), Class: NewStateCellClass, Width: "100", Align: "l" }, + { Name: "NewRev", Title: this.getColumnLabelByName("Change Controlled Item", "major_rev"), Class: NewRevCellClass, Width: "100", Align: "c" } + ]; + this.columnList.forEach(function (c, i) { + c.DefaultOrder = i; + }); + + var head = ""; + head = this.columnList.reduce(function (xml, column) { + return xml + "" + column.Title + ""; + }, head); + head += ""; + + var list = ""; + list = this.GetAffectedItemCollectionList().reduce(function (xml, listitem) { + return xml + ""; + }, list); + list += ""; + + var body = ""; + body = this.columnList.reduce(function (xml, column) { + var editAttribute = column.Edit ? "edit=\"" + column.Edit + "\" " : ""; + var sortAttribute = column.Sort ? "sort=\"" + column.Sort + "\" " : ""; + var columnXml = ""; + return xml + columnXml; + }, body); + body += ""; + + var xml = "" + head + list + body + "
"; + this.grid.InitXml(xml); +}; +ImpactMatrixGrid.prototype.GetAffectedItemCollectionList = function ImpactMatrixGrid_GetAffectedItemCollectionList() { + var collectionListId = this.getDataSourceByName("Affected Item", "grouping"); + var collectionListItems = aras.getListValues(collectionListId); + var collectionList = new Array(collectionListItems.length); + for (var i = 0; i < collectionListItems.length; i++) { + var item = collectionListItems[i]; + collectionList[i] = { + label: aras.getItemProperty(item, "label"), + value: aras.getItemProperty(item, "value") + }; + } + return collectionList; +}; +ImpactMatrixGrid.prototype.GetDataSourceMethod = function ImpactMatrixGrid_GetDataSourceMethod() { + return "Express ECO GetDataSource"; +}; +ImpactMatrixGrid.prototype.GetDataSource = function ImpactMatrixGrid_GetDataSource(forceGetRelationships) { + var allIdsOfAffectedParts = this.GetAffectedPartIds(forceGetRelationships); + if (!allIdsOfAffectedParts) { + return; + } + + var node = document.thisItem.node; + + var impactAML = + "" + + " " + + " " + allIdsOfAffectedParts + "" + + " " + + ""; + + var res = aras.soapSend("ApplyAML", impactAML); + if (res.getFaultCode() != 0) { + aras.AlertError(res); + return; + } + + var impactDOM = res.getResult(); + return impactDOM; +}; +ImpactMatrixGrid.prototype.Draw = function ImpactMatrixGrid_Draw(forceGetRelationships) { + + function getChildItemIds() { + var res = []; + var childItems = impactElements.selectNodes("./Item/Relationships/Item/related_id/Item"); + for (var i = 0; i < childItems.length; i++) { + var childItemId = childItems[i].getAttribute("id"); + if (childItems[i].parentNode.parentNode.parentNode.parentNode.getAttribute("id") != childItemId) { + res[childItemId] = true; + } + } + return res; + } + + this.grid.removeAllRows(); + this.GridRowUserData = {}; + + var impactElements = this.GetDataSource(forceGetRelationships); + this.RefreshAffectedItemDictionary(); + this.RefreshNewItemDictionary(); +// this.RefreshEdrsDictionary(); +// this.RefreshGroupingTeamsDictionary(); + if (!impactElements) { + return; + } + var childItemIdsDictionary = getChildItemIds(); + + var elementsCount = impactElements.childNodes.length; + for (var i = 0; i < elementsCount; i++) { + var impactItem = impactElements.childNodes[i]; + var partId = impactItem.getAttribute("id"); + + if (!childItemIdsDictionary[partId]) { + var affectedItem = this.AffectedItemDictionary[partId]; + var rowID = this.DrawPartRow(impactItem, null, affectedItem, null, null); + var parents = {}; + this.DrawChildrens(impactElements, impactItem, partId, affectedItem, rowID, parents); + } + } +}; +ImpactMatrixGrid.prototype.DrawChildrens = function ImpactMatrixGrid_DrawChildrens(impactElements, parentItem, parentItemId, parentAffectedItem, parent_row_id, parents) { + parents[parentItemId] = true; + var relatedItemIDs = parentItem.selectNodes("Relationships/Item/related_id/Item"); + + for (var i = 0; i < relatedItemIDs.length; i++) { + var childItem = relatedItemIDs[i]; + var childID = childItem.getAttribute("id"); + var tmpChild = impactElements.selectSingleNode("Item[@id = '" + childID + "']"); + var relationshipNode = relatedItemIDs[i].parentNode.parentNode; + + if (tmpChild) { + childItem = tmpChild; + } + + var affectedItem = this.AffectedItemDictionary[childID]; + var affectedRelationship = null; + + if (parentAffectedItem) { + affectedRelationship = parentAffectedItem.selectSingleNode("Relationships/Item[@type='Affected Item Relationship' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Relationship' and affected_rel_id = '" + relationshipNode.getAttribute("id") + "' and rel_action]"); + } + + var rowID = this.DrawPartRow(childItem, relationshipNode, affectedItem, affectedRelationship, parent_row_id); + if (parents[childID] !== true) { + this.DrawChildrens(impactElements, childItem, childID, affectedItem, rowID, parents); + } + } + + if (parentAffectedItem) { + var affRelationships = parentAffectedItem.selectNodes("Relationships/Item[@type='Affected Item Relationship' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Relationship' and rel_action = 'Attach']"); + for (var i = 0; i < affRelationships.length; i++) { + this.DrawPartRow(null, null, null, affRelationships[i], parent_row_id); + } + } + + delete parents[parentItemId]; +}; +ImpactMatrixGrid.prototype.DrawPartRow = function ImpactMatrixGrid_DrawPartRow(itemNode, relationshipNode, affectedItem, affectedRelationship, parentRowId) { + var data = { itemNode: itemNode, relationshipNode: relationshipNode, affectedItem: affectedItem, affectedRelationship: affectedRelationship, parentRowId: parentRowId }; + var row = new RowClass(this, data); + + var itemID = ""; + var partItemType; + var icon = ""; + var itemTypeId; + + if (itemNode) { + itemID = itemNode.getAttribute("id"); + itemTypeId = aras.getItemProperty(itemNode, "itemtype"); + if (this.icons[itemTypeId]) { + icon = this.icons[itemTypeId]; + } else { + var itemType = aras.getItemTypeForClient(itemTypeId, "id"); + icon = this.getProperty(itemType.node, "open_icon"); + this.icons[itemTypeId] = icon; + } + } + + var newRowID = (parentRowId || "") + (itemID || affectedRelationship.getAttribute("id")) + this.getProperty(relationshipNode, "sort_order"); + + if (!parentRowId) { + this.grid.insertRoot(newRowID, row.getValues(), newRowID, icon, icon); + } else { + this.grid.insertNewChild(parentRowId, newRowID, row.getValues(), newRowID, icon, icon); + } + + row.bind(newRowID); + + return newRowID; +}; +ImpactMatrixGrid.prototype.onBeginEditCell = function ImpactMatrixGrid_onBeginEditCell(eArg) { + var affectedItem, + rowID = eArg.rowId, + columnPosition = eArg.column, + columnName = this.columnList[columnPosition].Name, + isCellEditable = this.columnList[columnPosition].Edit; + + if (!(isCellEditable && this.isEditable())) { + return false; + } + + if (columnName === "Grouping") { + var rowData = this.GridRowUserData[rowID]; + var rowItemId = rowData["gridData_rowItemID"]; + affectedItem = this.AffectedItemDictionary[rowItemId]; + if (!affectedItem) { + return false; + } + var action = aras.getItemProperty(affectedItem, "item_action"); + if (action !== "Release" && action !== "Revise" && action !== "Renumber") { + return false; + } + + var rowItemTypeName = rowData["gridData_rowItemType"]; + return !!this.constants.edrTypes[rowItemTypeName]; + } + + if (columnName === "Qty" || columnName === "NewQty") { + var rowData = this.GridRowUserData[rowID]; + var rowItemTypeName = rowData["gridData_rowItemType"]; + if (this.constants.edrTypes[rowItemTypeName]) { + return false; + } + } + + var parentRowId = this.grid.getParentId(rowID); + if (!parentRowId) { + return false; + } + + var parentRowItemId = this.GridRowUserData[parentRowId]["gridData_rowItemID"]; + affectedItem = this.AffectedItemDictionary[parentRowItemId]; + if (!affectedItem) { + return false; + } + + var affectedRelationshipID = this.GridRowUserData[rowID]["gridData_affectedRelationshipID"]; + if (!affectedRelationshipID) { + return false; + } + + var affRelship = affectedItem.selectSingleNode("Relationships/Item[@type='Affected Item Relationship']/related_id/Item[@type='Affected Relationship' and @id='" + affectedRelationshipID + "' and (rel_action = 'Attach' or rel_action='Modify')]"); + if (!affRelship) { + return false; + } + + var relAction = aras.getItemProperty(affRelship, "rel_action"), + itemNode = ("Attach" === relAction ? affectedItem : this.AffectedItemDictionary[parentRowItemId]), + itemAction = relAction ? aras.getItemProperty(itemNode, "item_action") : "", + itemActionIsValid = ("Revise" === itemAction || "Renumber" === itemAction); + return itemActionIsValid; +}; +ImpactMatrixGrid.prototype.onValidateCell = function ImpactMatrixGrid_onValidateCell(eArg) { + var dataType; + var columnName = this.columnList[eArg.column].Name; + switch (columnName) { + case "NewQty": + dataType = "float"; + break; + case "NewSortOrder": + dataType = "integer"; + break; + default: + return true; + } + var propertyDefinition = { + data_type: dataType + }; + if (!aras.isPropertyValueValid(propertyDefinition, eArg.value, "invariantLocale")) { + this.grid.edit_Experimental.setErrorMessage(aras.ValidationMsg); + return false; + } + return true; +}; +ImpactMatrixGrid.prototype.onEndEditCell = function ImpactMatrixGrid_onEndEditCell(eArg) { + var affectedItem, rowItemId, + rowID = eArg.rowId, + columnPosition = eArg.column, + columnName = this.columnList[columnPosition].Name; + + if (columnName === "Grouping") { + rowItemId = this.GridRowUserData[rowID]["gridData_rowItemID"]; + affectedItem = this.AffectedItemDictionary[rowItemId]; + if (!affectedItem) { + return; + } + var groupingValue = this.grid.cells(rowID, columnPosition).getValue(); + aras.setItemProperty(affectedItem, "grouping", groupingValue); + this.RefreshGroupingTeamsDictionary(true); + if (groupingValue && !this.groupingTeamsDictionary[groupingValue]) { + var newItem = aras.newItem("Express ECO EDR Grouping"); + aras.setItemProperty(newItem, "grouping", groupingValue); + var curNd = document.thisItem.node, + relationshipsNd = curNd.selectSingleNode("Relationships"); + if (!relationshipsNd) { + relationshipsNd = curNd.appendChild(curNd.ownerDocument.createElement("Relationships")); + } + relationshipsNd.appendChild(relationshipsNd.ownerDocument.importNode(newItem, true)); + } + this.SetIsDirtyAndUpdateAction(affectedItem); + return; + } + if (columnName === "NewPN") { + // New Number + rowItemId = this.GridRowUserData[rowID]["gridData_rowItemID"]; + affectedItem = this.AffectedItemDictionary[rowItemId]; + if (!affectedItem) { + return; + } + + var itemNumber = this.grid.cells(rowID, columnPosition).getValue(); + if (itemNumber === this.CellEditingState.oldValue) { + return; + } else if (!itemNumber) { + aras.setItemProperty(affectedItem, "new_item_id", ""); + this.refreshGridWithTimout(); + delete this.CellEditingState; + this.SetIsDirtyAndUpdateAction(affectedItem); + return; + } + + var newItemDom = aras.getItemByKeyedName("Change Controlled Item", itemNumber); + if (newItemDom) { + aras.setItemProperty(affectedItem, "new_item_id", newItemDom.getAttribute("id")); + aras.setItemPropertyAttribute(affectedItem, "new_item_id", "keyed_name", aras.getKeyedNameEx(newItemDom)); + this.refreshGridWithTimout(); + } else { + return false; + } + + delete this.CellEditingState; + this.SetIsDirtyAndUpdateAction(affectedItem); + return; + } + + var parentRowId = this.grid.GetParentId(rowID); + if (!parentRowId) { + return; + } + + var parentRowItemId = this.GridRowUserData[parentRowId]["gridData_rowItemID"]; + affectedItem = this.AffectedItemDictionary[parentRowItemId]; + if (!affectedItem) { + return; + } + + var affectedRelationshipID = this.GridRowUserData[rowID]["gridData_affectedRelationshipID"]; + if (!affectedRelationshipID) { + return; + } + + var affRelship = affectedItem.selectSingleNode("Relationships/Item[@type='Affected Item Relationship']/related_id/Item[@type='Affected Relationship' and @id='" + affectedRelationshipID + "' and (rel_action = 'Attach' or rel_action='Modify')]"); + if (!affRelship) { + return; + } + + var property_name; + if (columnName === "NewSortOrder") { + property_name = "sort_order"; + } else if (columnName === "NewQty") { + property_name = "quantity"; + } else { + return; + } + + var affRelshipProp = affRelship.selectSingleNode("Relationships/Item[@type='Affected Relationship Property' and property_name='" + property_name + "']"); + var value = this.grid.cells(rowID, columnPosition).getValue(); + + if (value) { + if (!affRelshipProp) { + affRelshipProp = aras.newRelationship(this.constants.affectedRelationshipPropertyId, affRelship, false, window); + } else { + affRelshipProp.setAttribute("action", "edit"); + } + + aras.setItemProperty(affRelshipProp, "property_name", property_name); + aras.setItemProperty(affRelshipProp, "new_value", value); + } else if (affRelshipProp) { + // need to prevent show NaN in cell + this.grid.cells(rowID, columnPosition).setValue(""); + if (aras.isTempEx(affRelshipProp)) { + affRelshipProp.parentNode.removeChild(affRelshipProp); + } else { + affRelshipProp.setAttribute("action", "delete"); + aras.setItemProperty(affRelshipProp, "new_value", ""); + } + } + + return; +}; +ImpactMatrixGrid.prototype.onBeforeSaveCommand = function ImpactMatrixGrid_onBeforeSaveCommand() { + var editManager = this.grid.grid_Experimental.edit; + if (editManager.isEditing() && !editManager._isValidInput()) { + return aras.getResource("PLM", "impactmatrix.message.validation_error"); + } +}; +ImpactMatrixGrid.prototype.onBeforeRefreshCommand = function ImpactMatrixGrid_onBeforeRefreshCommand() { + this.grid.turnEditOff(); +}; +ImpactMatrixGrid.prototype.SetIsDirtyAndUpdateAction = function ImpactMatrixGrid_SetIsDirtyAndUpdateAction(item) { + //+++ set action update if action is null + var ancestorAndSelf = item.selectNodes("ancestor-or-self::Item"); + for (var i = 0; i < ancestorAndSelf.length; i++) { + var itemNode = ancestorAndSelf[i]; + itemNode.setAttribute("isDirty", "1"); + if (!itemNode.getAttribute("action")) { + itemNode.setAttribute("action", "update"); + } + } +}; +ImpactMatrixGrid.prototype.gridRefresh = function ImpactMatrixGrid_gridRefresh(forceGetRelationships) { + forceGetRelationships = !!forceGetRelationships; + + this.setToolbarItemEnable("refresh_all", false); + this.grid.setPaintEnabled(false); + document.getElementById(this.grid.connectId_Experimental).style.display = "none"; + document.getElementById("loadingInProgress").style.display = ""; + var self = this; + + setTimeout(function () { + try { + var gridState = self.GetGridState(); + self.updateColumnStructure(); + self.Draw(forceGetRelationships); + setTimeout(function () { + self.SetGridState(gridState); + if (typeof self.IsExpandOnStart === "boolean") { + self.IsExpandOnStart ? self.grid.expandAll() : self.grid.collapseAll(); + delete self.IsExpandOnStart; + } + }, 0); + } finally { + document.getElementById("loadingInProgress").style.display = "none"; + document.getElementById(self.grid.connectId_Experimental).style.display = ""; + self.grid.setPaintEnabled(true); + self.toolbarRefresh(); + } + }, 0); +}; +ImpactMatrixGrid.prototype.updateColumnStructure = function ImpactMatrixGrid_updateColumnStructure() { + var ecoItem = document.thisItem.node; + var state = aras.getItemProperty(ecoItem, "state", null); + var isBeforeSpawnState = (!state || state === "New" || state === "In Planning" || aras.isTempEx(ecoItem)); +//// var groupingColumn = this.grid.getColumnIndex("Grouping"); +//// var edrColumn = this.grid.getColumnIndex("Edr"); +//// this.grid.setColumnVisible(groupingColumn, isBeforeSpawnState, this.columnList[groupingColumn].Width); +//// this.grid.setColumnVisible(edrColumn, !isBeforeSpawnState, this.columnList[edrColumn].Width); +}; +ImpactMatrixGrid.prototype.toolbarRefresh = function ImpactMatrixGrid_toolbarRefresh() { + this.setToolbarItemEnable("new", this.isEditable()); + this.setToolbarItemEnable("expandall", true); + this.setToolbarItemEnable("collapseall", true); + this.setToolbarItemEnable("refresh_all", true); + + this.toolbar.showLabels((aras.getVariable("ShowLabels") === "true")); +}; +ImpactMatrixGrid.prototype.onToolbarClick = function ImpactMatrixGrid_onToolbarClick(eArg) { + var id = eArg.id; + + switch (id) { + case "new": + var actANP = new ActionAddNewItem(); + actANP.execute(); + break; + case "expand_all": + this.expandAll(true); + break; + case "collapse_all": + this.expandAll(false); + break; + case "refresh_all": + this.gridRefresh(false); + break; + } +}; +ImpactMatrixGrid.prototype.onGridMenuInit = function ImpactMatrixGrid_onGridMenuInit(eArg) { + if (this.isEditable()) { + var id_array = this.grid.getSelectedItemIds("|").split("|"); + + //reset menu items, enable all + for (var i = 0; i < this.defaultMenu.length; i++) { + if (!this.defaultMenu[i].separator) { + eArg.menuItems.push({ + index: i, + label: aras.getResource("PLM", this.defaultMenu[i].name), + enabled: true, + handler: this.defaultMenu[i].handler + }); + } else { + eArg.menuItems.push(this.defaultMenu[i]); + } + } + + var lengthMenu = eArg.menuItems.length; + for (s = 0; id_array[0] !== "" && s < id_array.length; s++) { + var selRowId = id_array[s]; + var rowItem = impactGrid.GridRowUserData[selRowId]; + var selItem = rowItem.itemType && rowItem.itemId ? aras.getItemLastVersion(rowItem.itemType, rowItem.itemId) : undefined; + for (var i = 0; i < lengthMenu; i++) { + // if menu item was disabled once then it will be disabled for other rows. + if (eArg.menuItems[i].enabled === true) { + eArg.menuItems[i].enabled = eArg.menuItems[i].handler.Validate(selRowId, selItem); + } + } + } + return true; + } + return false; +}; +ImpactMatrixGrid.prototype.onGridClick = function ImpactMatrixGrid_onGridClick(eArg) { +}; +ImpactMatrixGrid.prototype.onGridDoubleClick = function ImpactMatrixGrid_onGridDoubleClick(eArg) { + var rowId = eArg.rowId; + var rowItem = this.GridRowUserData[rowId]; + if (rowItem.itemId) { + aras.uiShowItem(rowItem.itemType, rowItem.itemId); + } +}; +ImpactMatrixGrid.prototype.onGridLinkClick = function ImpactMatrixGrid_onGridLinkClick(eArg) { + eval("aras.uiShowItem(" + eArg.linkData + ")"); +}; +ImpactMatrixGrid.prototype.refreshGridWithTimout = function ImpactMatrixGrid_refreshGridWithTimout(forceGetRelationships) { + forceGetRelationships = !!forceGetRelationships; + + //If Refresh will be called multiple times per one execution scope then postponned call of Refresh_Impl will be canceled and initiated new call + //That is mean that Refresh_Impl will be called once. + if (this.Refresh_Impl_timeout) { + clearTimeout(this.Refresh_Impl_timeout); + delete this.Refresh_Impl_timeout; + } + var self = this; + //Need setTimeout because during handling OnPopulated event document.thisItem contain old item and it will be refreshed after OnPopulated event + this.Refresh_Impl_timeout = setTimeout(function () { + self.gridRefresh(forceGetRelationships); + }, 0); +}; +ImpactMatrixGrid.prototype.registerTopMenuEventsHandlers = function ImpactMatrixGrid_registerTopMenuEventsHandlers() { + var topWindow = TopWindowHelper.getMostTopWindowWithAras(); + if (topWindow.registerCommandEventHandler) { + var onBeforeSave = this.onBeforeSaveCommand.bind(this); + var onBeforeRefresh = this.onBeforeRefreshCommand.bind(this); + var beforeSaveHandlerKey = topWindow.registerCommandEventHandler(window, onBeforeSave, "before", "save"); + var beforeUnlockHandlerKey = topWindow.registerCommandEventHandler(window, onBeforeSave, "before", "unlock"); + var beforeRefreshHandlerKey = topWindow.registerCommandEventHandler(window, onBeforeRefresh, "before", "refresh"); + + var self = this; + var handlerKeys = [beforeSaveHandlerKey, beforeUnlockHandlerKey, beforeRefreshHandlerKey]; + window.addEventListener("unload", function () { + self.unRegisterTopMenuEventsHandlers(handlerKeys); + }); + } +}; +ImpactMatrixGrid.prototype.unRegisterTopMenuEventsHandlers = function ImpactMatrixGrid_registerTopMenuEventsHandlers(keys) { + var topWindow = TopWindowHelper.getMostTopWindowWithAras(); + if (topWindow.unregisterCommandEventHandler) { + keys.forEach(function (key) { + topWindow.unregisterCommandEventHandler(key); + }); + } +}; + +ActionBase.prototype.addNewRelatedAffectedItem = function (action, affectedItem, newItem) { + /// Add new related AffectedItem to Change item + var relatedItem = aras.newItem("Affected Item"); + aras.itemsCache.addItem(relatedItem); + + switch (action) + { + case "Revise": + aras.setItemProperty(relatedItem, "action", "Change"); + aras.setItemProperty(relatedItem, "interchangeable", "1"); + break; + case "NonIntChg": + aras.setItemProperty(relatedItem, "action", "Change"); + aras.setItemProperty(relatedItem, "interchangeable", "0"); + break; + case "Obsolete": + aras.setItemProperty(relatedItem, "action", "Delete"); + aras.setItemProperty(relatedItem, "interchangeable", "0"); + break; + case "Release": + aras.setItemProperty(relatedItem, "action", "Add"); + aras.setItemProperty(relatedItem, "interchangeable", "0"); + break; + default: + aras.setItemProperty(relatedItem, "item_action", action); + aras.setItemProperty(relatedItem, "action", action); + aras.setItemProperty(relatedItem, "interchangeable", "0"); + break; + } //MAG maybe shouldn't be here? + + if(newItem) { + aras.setItemProperty(relatedItem, "new_item_id", newItem.getAttribute("id")); + aras.setItemPropertyAttribute(relatedItem, "new_item_id", "keyed_name", aras.getKeyedNameEx(newItem)); + } + + if (affectedItem) { + aras.setItemProperty(relatedItem, "affected_id", affectedItem.getAttribute("id")); + aras.setItemPropertyAttribute(relatedItem, "affected_id", "keyed_name", aras.getKeyedNameEx(affectedItem)); + } + + aras.newRelationship(impactGrid.constants.affRelationshipId, document.thisItem.node, false, window, relatedItem); + impactGrid.refreshGridWithTimout(); + return relatedItem; +}; +ActionBase.prototype.changeRelatedAffectedItem = function (affectedItem, action, affectedIdItem, newItem) { + + switch (action) + { + case "Revise": + aras.setItemProperty(affectedItem, "action", "Change"); + aras.setItemProperty(affectedItem, "interchangeable", "1"); + break; + case "NonIntChg": + aras.setItemProperty(affectedItem, "action", "Change"); + aras.setItemProperty(affectedItem, "interchangeable", "0"); + aras.setItemProperty(affectedItem, "grouping", ""); + break; + case "Obsolete": + aras.setItemProperty(affectedItem, "action", "Delete"); + aras.setItemProperty(affectedItem, "interchangeable", "0"); + aras.setItemProperty(affectedItem, "grouping", ""); + break; + case "Release": + aras.setItemProperty(affectedItem, "action", "Add"); + aras.setItemProperty(affectedItem, "interchangeable", "0"); + break; + default: + aras.setItemProperty(affectedItem, "item_action", action); + aras.setItemProperty(affectedItem, "action", action); + aras.setItemProperty(affectedItem, "interchangeable", "0"); + break; + } + + if (newItem) { + aras.setItemProperty(affectedItem, "new_item_id", newItem.getAttribute("id")); + aras.setItemPropertyAttribute(affectedItem, "new_item_id", "keyed_name", aras.getKeyedNameEx(newItem)); + } + + if (affectedIdItem) { + aras.setItemProperty(affectedItem, "affected_id", affectedIdItem.getAttribute("id")); + aras.setItemPropertyAttribute(affectedItem, "affected_id", "keyed_name", aras.getKeyedNameEx(affectedIdItem)); + } + + //+++ set action update if action is null + var relshipNode = affectedItem.parentNode.parentNode; + relshipNode.setAttribute("isDirty", "1"); + if (!relshipNode.getAttribute("action")) { + relshipNode.setAttribute("action", "update"); + } + + if (!affectedItem.getAttribute("action")) { + affectedItem.setAttribute("action", "update"); + } + + if (!document.thisItem.node.getAttribute("action")) { + document.thisItem.node.setAttribute("action", "update"); + } + //--- + impactGrid.refreshGridWithTimout(); +}; + +/*++++ Add New “Part” */ +ActionAddNewItem = function ActionAddNewItemFunc() { +}; +ActionAddNewItem.prototype = new ActionBase(); + +ActionAddNewItem.prototype.execute = function ActionAddNewItem_execute() { + var self = this; + + function searchCallback(searchedItem) { + if (!searchedItem) { + return; + } + + var searchedItemId = aras.getItemProperty(searchedItem, "id", ""); + var affectedItem = impactGrid.AffectedItemDictionary[searchedItemId]; + if (affectedItem) { + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.affected_item_exists")); + return; + } + + var searchedItemState = aras.getItemProperty(searchedItem, "state", ""); + switch (searchedItemState) { + case "Preliminary": + self.addNewRelatedAffectedItem("Review", null, searchedItem); + break; + case "Released": + case "Superseded": + self.addNewRelatedAffectedItem("Review", searchedItem, null); + break; + default: + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.not_supported_state", searchedItemState)); + break; + } + } + + this.searchItem("Change Controlled Item", searchCallback); +}; +/*----- Add New “Part” */ + +/*++++ Delete “Part” */ +ActionDeleteRow = function ActionDeleteRowFunc() { +}; +ActionDeleteRow.prototype = new ActionBase(); + +ActionDeleteRow.prototype.execute = function ActionDeleteRow_execute() { + var selectedIds = impactGrid.grid.getSelectedItemIds("|").split("|"); + var id_array = selectedIds[0] ? selectedIds : []; + + for (i = 0; i < id_array.length; i++) { + var selRowId = id_array[i]; + var rowItem = impactGrid.GridRowUserData[selRowId]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItem.itemId]; + var affectedRelationshipId = rowItem.gridData_affectedRelationshipID; + + if (affectedRelationshipId) { + var parentRowId = impactGrid.grid.getParentId(selRowId); + var parentRowItemId = impactGrid.GridRowUserData[parentRowId]["gridData_rowItemID"]; + var parentAffectedItem = impactGrid.AffectedItemDictionary[parentRowItemId]; + var affRelship = parentAffectedItem.selectSingleNode("Relationships/Item[@type='Affected Item Relationship' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Relationship' and @id='" + affectedRelationshipId + "' ]"); + var affItemRelationship = affRelship.parentNode.parentNode; + if (affItemRelationship.getAttribute("action") == "add") { + affItemRelationship.parentNode.removeChild(affItemRelationship); + } else { + affItemRelationship.setAttribute("action", "delete"); + impactGrid.SetIsDirtyAndUpdateAction(affItemRelationship); + } + } + + if (affectedItem) { + var ecoAffectedItem = affectedItem.parentNode.parentNode; + if (ecoAffectedItem.getAttribute("action") == "add") { + ecoAffectedItem.parentNode.removeChild(ecoAffectedItem); + } else { + ecoAffectedItem.setAttribute("action", "delete"); + impactGrid.SetIsDirtyAndUpdateAction(ecoAffectedItem); + } + } + } + impactGrid.refreshGridWithTimout(); +}; +ActionDeleteRow.prototype.Validate = function ActionDeleteRow_Validate(selRowId, selItem) { + var rowItem = impactGrid.GridRowUserData[selRowId]; + return (impactGrid.AffectedItemDictionary[rowItem.itemId] != undefined) || (rowItem.gridData_affectedRelationshipID != undefined); +}; +/*----- Delete “Part” */ + +/*++++ Release “Part” */ +ActionReleasePart = function ActionReleasePartFunc() { +}; +ActionReleasePart.prototype = new ActionBase(); + +ActionReleasePart.prototype.executeItem = function ActionReleasePart_executeItem(rowItem, affectedItem, selRowId) { + if (!affectedItem) { + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + this.addNewRelatedAffectedItem("Release", null, selItem); + } else { + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + var newItem = aras.getItemLastVersion(rowItem.itemType, new_item_id); + this.changeRelatedAffectedItem(affectedItem, "Release", null, newItem); + } +}; +ActionReleasePart.prototype.Validate = function ActionReleasePart_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState !== "Preliminary") { + return false; + } + + if (affectedItem) { + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (!new_item_id) { + return false; + } + + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var action = aras.getItemProperty(affectedItem, "action", ""); + if(action !== "None" && action !== "Review" && item_action !== "None" && item_action !== "Review") { + return false; + } + + var affected_id = aras.getItemProperty(affectedItem, "affected_id", ""); + if (affected_id) { + return false; + } + } + return true; +}; +/*----- Release “Part” */ + +/*++++ Revise “Part” */ +ActionRevisePart = function ActionRevisePartFunc() { +}; +ActionRevisePart.prototype = new ActionBase(); + +ActionRevisePart.prototype.executeItem = function ActionRevisePart_executeItem(rowItem, affectedItem, selRowId) { + if (!affectedItem) { + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + this.addNewRelatedAffectedItem("Revise", selItem, null); + } else { + this.changeRelatedAffectedItem(affectedItem, "Revise", null, null); + } +}; +ActionRevisePart.prototype.Validate = function ActionRevisePart_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState !== "Released") { + return false; + } + + if (affectedItem) { + var affected_id = aras.getItemProperty(affectedItem, "affected_id", ""); + if (!affected_id) { + return false; + } + + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var action = aras.getItemProperty(affectedItem, "action", ""); + if(action != "None" && action != "Review" && item_action != "None" && item_action != "Review") { + return false; + } + + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (new_item_id) { + return false; + } + } + return true; +}; +/*----- Revise “Part” */ + +/*++++ Renumber “Part” */ +ActionRenumberPart = function ActionRenumberPartFunc() { +}; +ActionRenumberPart.prototype = new ActionBase(); + +ActionRenumberPart.prototype.executeItem = function ActionRenumberPart_executeItem(rowItem, affectedItem, selRowId) { + if (!affectedItem) { + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + this.addNewRelatedAffectedItem("Renumber", selItem, null); + } else { + this.changeRelatedAffectedItem(affectedItem, "Renumber", null, null); + } +}; +ActionRenumberPart.prototype.Validate = function ActionRenumberPart_Validate(selRowId, selItem) { + var rowSourceItemType = impactGrid.GridRowUserData[selRowId]["gridData_rowItemType"]; + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState != "Released") { + return false; + } + + if (affectedItem) { + var affected_id = aras.getItemProperty(affectedItem, "affected_id", ""); + if (!affected_id) { + return false; + } + + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var action = aras.getItemProperty(affectedItem, "action", ""); + if(action != "None" && action != "Review" && item_action != "None" && item_action != "Review") { + return false; + } + + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (new_item_id) { + return false; + } + } + return true; +}; +/*----- Renumber “Part” */ + +/*++++ Supersede “Part” */ +ActionSupersedePart = function ActionSupersedePartFunc() { +}; +ActionSupersedePart.prototype = new ActionBase(); + +ActionSupersedePart.prototype.executeItem = function ActionSupersedePart_executeItem(rowItem, affectedItem, selRowId) { + alert(aras.getResource("PLM", "impactmatrix.message.search_released")); + var self = this; + + function searchCallback(searchedItem) { + if (!searchedItem) { + return; + } else if (aras.getItemProperty(searchedItem, "state") != "Released") { + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.should_be_released")); + return; + } + + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + if (!affectedItem) { + self.addNewRelatedAffectedItem("Supersede", selItem, searchedItem); + } else { + self.changeRelatedAffectedItem(affectedItem, "Supersede", selItem, searchedItem); + } + } + + this.searchItem("Change Controlled Item", searchCallback); +}; +ActionSupersedePart.prototype.Validate = function ActionSupersedePart_Validate(selRowId, selItem) { + var rowItemType = impactGrid.GridRowUserData[selRowId]["gridData_rowItemType"]; + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + if (!affectedItem) { + var selItemState = aras.getItemProperty(selItem, "state", ""); + return (selItemState === "Released"); + + } else { + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState != "Released") { + return false; + } + + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (item_action === "None" && !new_item_id) { + return true; + } + + if (item_action == "Review") { + if (!new_item_id) { + return true; + + } else { + var affected_id = aras.getItemProperty(affectedItem, "affected_id", ""); + if (!affected_id) { + return false; + } + + var newItem = aras.getItemLastVersion(rowItemType, new_item_id); + if (aras.getItemProperty(newItem, "state") !== "Released") { + return false; + } + + if (aras.getItemProperty(newItem, "config_id", "0") !== aras.getItemProperty(selItem, "config_id", "1")) { + return false; + } + } + } + } + return true; +}; +/*----- Supersede “Part” */ + +/*++++ NonIntChg “Part” */ +ActionNonIntChgPart = function ActionNonIntChgPartFunc() { +}; +ActionNonIntChgPart.prototype = new ActionBase(); + +ActionNonIntChgPart.prototype.executeItem = function ActionNonIntChgPart_executeItem(rowItem, affectedItem, selRowId) { + alert(aras.getResource("PLM", "impactmatrix.message.search_preliminary")); + var self = this; + + function searchCallback(searchedItem) { + if (!searchedItem) { + return; + } else if (aras.getItemProperty(searchedItem, "state") != "Preliminary") { + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.should_be_preliminary")); + return; + } + + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + if (!affectedItem) { + self.addNewRelatedAffectedItem("NonIntChg", selItem, searchedItem); + } else { + self.changeRelatedAffectedItem(affectedItem, "NonIntChg", selItem, searchedItem); + } + } + + this.searchItem("Change Controlled Item", searchCallback); +}; +ActionNonIntChgPart.prototype.Validate = function ActionNonIntChgPart_Validate(selRowId, selItem) { + var rowItemType = impactGrid.GridRowUserData[selRowId]["gridData_rowItemType"]; + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + if (!affectedItem) { + var selItemState = aras.getItemProperty(selItem, "state", ""); + return (selItemState === "Released"); + + } else { + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState != "Released") { + return false; + } + + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (item_action === "None" && !new_item_id) { + return true; + } + + if (item_action == "Review") { + if (!new_item_id) { + return true; + + } else { + var affected_id = aras.getItemProperty(affectedItem, "affected_id", ""); + if (!affected_id) { + return false; + } + + var newItem = aras.getItemLastVersion(rowItemType, new_item_id); + if (aras.getItemProperty(newItem, "state") !== "Preliminary") { + return false; + } + + if (aras.getItemProperty(newItem, "config_id", "0") !== aras.getItemProperty(selItem, "config_id", "1")) { + return false; + } + } + } + } + return true; +}; +/*----- NonIntChg “Part” */ + +/*++++ Obsolete “Part” */ +ActionObsoletePart = function ActionObsoletePartFunc() { +}; +ActionObsoletePart.prototype = new ActionBase(); + +ActionObsoletePart.prototype.executeItem = function ActionObsoletePart_executeItem(rowItem, affectedItem, selRowId) { + if (!affectedItem) { + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + this.addNewRelatedAffectedItem("Obsolete", selItem, null); + } else { + this.changeRelatedAffectedItem(affectedItem, "Obsolete", null, null); + } +}; +ActionObsoletePart.prototype.Validate = function ActionObsoletePart_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var rowSourceItemType = impactGrid.GridRowUserData[selRowId]["gridData_rowItemType"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState !== "Released" && selItemState !== "Superseded") { + return false; + } + + if (affectedItem) { + var affected_id = aras.getItemProperty(affectedItem, "affected_id", ""); + if (!affected_id) { + return false; + } + + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var action = aras.getItemProperty(affectedItem, "action", ""); + if(action !== "None" && action !== "Review" && item_action !== "None" && item_action !== "Review") { + return false; + } + + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (new_item_id) { + return false; + } + } + return true; +}; +/*----- Obsolete “Part” */ + +/*++++ Review */ +ActionReview = function ActionReviewFunc() { +}; +ActionReview.prototype = new ActionBase(); + +ActionReview.prototype.executeItem = function ActionReview_executeItem(rowItem, affectedItem, selRowId) { + if (!affectedItem) { + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + var selItemState = aras.getItemProperty(selItem, "state"); + + if (selItemState === "Preliminary") { + this.addNewRelatedAffectedItem("Review", null, selItem); + } else if (selItemState === "Released") { + this.addNewRelatedAffectedItem("Review", selItem, null); + } + } else { + this.changeRelatedAffectedItem(affectedItem, "Review", null, null); + } +}; +ActionReview.prototype.Validate = function ActionReview_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + + if (!affectedItem) { + var selItemState = aras.getItemProperty(selItem, "state", ""); + if (selItemState !== "Released" && selItemState !== "Preliminary") { + return false; + } + } + + return true; +}; +/*----- Review */ + +/*++++ None */ +ActionNone = function ActionNoneFunc() { +}; +ActionNone.prototype = new ActionBase(); + +ActionNone.prototype.executeItem = function ActionNone_executeItem(rowItem, affectedItem, selRowId) { + var itemTypeName = rowItem.itemType; + if (impactGrid.constants.edrTypes[itemTypeName]) { + aras.setItemProperty(affectedItem, "grouping", ""); + } + this.changeRelatedAffectedItem(affectedItem, "None", null, null); +}; +ActionNone.prototype.Validate = function ActionNone_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + return !!affectedItem; +}; +/*----- None */ + +/*+++++ Relationship BASE ACTION */ +ActionRelationshipBase = function ActionRelationshipBaseFunc() { +}; +ActionRelationshipBase.prototype = new ActionBase(); + +ActionRelationshipBase.prototype.AddNewAffectedRelationshipItem = function ActionRelationshipBase_AddNewAffectedRelationshipItem(affectedItem, action, affRelItemID, newRelItemID) { + var relatedItem = aras.newItem("Affected Relationship"); + aras.itemsCache.addItem(relatedItem); + aras.setItemProperty(relatedItem, "rel_action", action); + + if (newRelItemID) { + aras.setItemProperty(relatedItem, "new_rel_id", newRelItemID); + } + + if (affRelItemID) { + aras.setItemProperty(relatedItem, "affected_rel_id", affRelItemID); + } + + aras.newRelationship(impactGrid.constants.affectedItemRelationshipId, affectedItem, false, window, relatedItem); + impactGrid.refreshGridWithTimout(); + return relatedItem; +}; +ActionRelationshipBase.prototype.AddNewAffectedRelationshipPropertyItem = function ActionRelationshipBase_AddNewAffectedRelationshipPropertyItem(affectedRelationship, property_name, new_value) { + var relship = aras.newRelationship(impactGrid.constants.affectedRelationshipPropertyId, affectedRelationship, false, window); + aras.setItemProperty(relship, "property_name", property_name); + aras.setItemProperty(relship, "new_value", new_value); + return relship; +}; +/*---- Relationship BASE ACTION */ + +/*++++ Add “Relationship” */ +ActionAddRelationship = function ActionAddRelationshipFunc() { +}; +ActionAddRelationship.prototype = new ActionRelationshipBase(); + +ActionAddRelationship.prototype.executeItem = function ActionAddRelationship_executeItem(rowItem, affectedItem, selRowId) { + var self = this; + var rowSourceItemType = impactGrid.GridRowUserData[selRowId]["gridData_rowItemType"]; + function searchCallback(searchedItem) { + if (!searchedItem) { + return; + } else if (aras.getItemProperty(searchedItem, "state") !== "Released") { + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.should_be_released")); + return; + } + + var itemTypeCCR = aras.getItemTypeForClient("Change Controlled Relationship"); + var itemTypeName = aras.getItemTypeName(aras.getItemProperty(searchedItem, "itemtype")); + var itemTypeRow = aras.getItemTypeForClient(rowSourceItemType); + var nodes = itemTypeRow.node.selectNodes("Relationships/Item[@type=\"RelationshipType\"]/related_id[@name='" + itemTypeName + "']"); + + if (!nodes.length) { + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.check_allowed_relationship_for_item", rowSourceItemType, itemTypeName)); + return; + } + + for (var i = 0; i < nodes.length; i++) { + var relationshipsName = aras.getItemProperty(nodes[i].parentNode, "name"); + if (itemTypeCCR.node.selectSingleNode("Relationships/Item/related_id[@name='" + relationshipsName + "']")) { + break; + } else if (i === nodes.length) { + aras.AlertError(aras.getResource("PLM", "impactmatrix.message.check_allowed_relationship_for_item", "Change Controlled Relationship", relationshipsName)); + return; + } + } + + if (!affectedItem) { + var selItem = aras.getItemLastVersion(rowItem.itemType, rowItem.itemId); + affectedItem = self.addNewRelatedAffectedItem("Review", selItem, null); + } + var affectedRelationship = self.AddNewAffectedRelationshipItem(affectedItem, "Attach", null, null); + self.AddNewAffectedRelationshipPropertyItem(affectedRelationship, "related_id", searchedItem.getAttribute("id")); + } + var options = { dialogWidth: 400, dialogHeight: 200, center: true }; + var params = { + aras: aras, + title: aras.getResource("PLM", "impactmatrix.select_relationship.title"), + callback: function (itemType) { + aras.getMostTopWindowWithAras(window).setTimeout(function () { + self.searchItem(itemType || "Change Controlled Item", searchCallback); + }, 0); + } + }; + var returnedValue = aras.modalDialogHelper.show("DefaultPopup", top, params, options, "../Solutions/PLM/scripts/SelectRelationship.html"); +}; +ActionAddRelationship.prototype.Validate = function ActionAddRelationship_Validate(selRowId, selItem) { + var selItemState = aras.getItemProperty(selItem, "state"); + if (selItemState !== "Released") { + return false; + } + + var rowData = impactGrid.GridRowUserData[selRowId]; + var rowItemId = rowData["gridData_rowItemID"]; + var affectedItem = impactGrid.AffectedItemDictionary[rowItemId]; + var rowItemTypeName = rowData["gridData_rowItemType"]; + + if (impactGrid.constants.edrTypes[rowItemTypeName]) { + return false; + } + + if (affectedItem) { + var item_action = aras.getItemProperty(affectedItem, "item_action", ""); + var action = aras.getItemProperty(affectedItem, "action", ""); + if(action !== "None" && action !== "Review" && action !== "Change" && item_action !== "None" && item_action !== "Review" && item_action !== "Renumber" && item_action !== "Revise") { + return false; + } + + var new_item_id = aras.getItemProperty(affectedItem, "new_item_id", ""); + if (new_item_id) { + return false; + } + } + return true; +}; +/*----- Add “Relationship” */ + +/*++++ Change “Relationship” */ +ActionChangeRelationship = function ActionChangeRelationshipFunc() { +}; +ActionChangeRelationship.prototype = new ActionRelationshipBase(); + +ActionChangeRelationship.prototype.executeItem = function ActionChangeRelationship_executeItem(rowItem, affectedItem, selRowId) { + var parentRowId = impactGrid.grid.getParentId(selRowId); + var parentRowItem = impactGrid.GridRowUserData[parentRowId]; + + affectedItem = impactGrid.AffectedItemDictionary[parentRowItem.itemId]; + + if (!affectedItem) { + var parentItem = aras.getItemLastVersion(parentRowItem.itemType, parentRowItem.itemId); + affectedItem = this.addNewRelatedAffectedItem("Review", parentItem, null); + } + + var bomID = rowItem["gridData_bomID"]; + this.AddNewAffectedRelationshipItem(affectedItem, "Modify", bomID, null); +}; +ActionChangeRelationship.prototype.Validate = function ActionChangeRelationship_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + if (!rowItemId) { + return false; + } + + var parentRowId = impactGrid.grid.getParentId(selRowId); + if (!parentRowId) { + return false; + } + + var rowData = impactGrid.GridRowUserData[selRowId]; + var rowItemTypeName = rowData["gridData_rowItemType"]; + if (impactGrid.constants.edrTypes[rowItemTypeName]) { + return false; + } + + var parentRowItemType = impactGrid.GridRowUserData[parentRowId]["gridData_rowItemType"]; + var parentRowItemId = impactGrid.GridRowUserData[parentRowId]["gridData_rowItemID"]; + var parentAffectedItem = impactGrid.AffectedItemDictionary[parentRowItemId]; + var parentItem = aras.getItemLastVersion(parentRowItemType, parentRowItemId); + var parentItemState = aras.getItemProperty(parentItem, "state"); + if (parentItemState !== "Released") { + return false; + } + + if (parentAffectedItem) { + var bomID = impactGrid.GridRowUserData[selRowId]["gridData_bomID"]; + var affRelship = parentAffectedItem.selectSingleNode("Relationships/Item[@type='Affected Item Relationship' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Relationship' and affected_rel_id = '" + bomID + "' and rel_action]"); + if (affRelship) { + return false; + } + + var item_action = aras.getItemProperty(parentAffectedItem, "item_action", ""); + var action = aras.getItemProperty(parentAffectedItem, "action", ""); + if(action !== "None" && action !== "Review" && action !== "Change" && item_action !== "None" && item_action !== "Review" && item_action !== "Renumber" && item_action !== "Revise") { + return false; + } + + var new_item_id = aras.getItemProperty(parentAffectedItem, "new_item_id", ""); + if (new_item_id) { + return false; + } + } + + return true; +}; +/*----- Change “Relationship” */ + +/*++++ Remove “Relationship” */ +ActionRemoveRelationship = function ActionRemoveRelationshipFunc() { +}; +ActionRemoveRelationship.prototype = new ActionChangeRelationship(); + +ActionRemoveRelationship.prototype.executeItem = function ActionRemoveRelationship_executeItem(rowItem, affectedItem, selRowId) { + var parentRowId = impactGrid.grid.getParentId(selRowId); + var parentRowItem = impactGrid.GridRowUserData[parentRowId]; + affectedItem = impactGrid.AffectedItemDictionary[parentRowItem.itemId]; + + if (!affectedItem) { + var parentItem = aras.getItemLastVersion(parentRowItem.itemType, parentRowItem.itemId); + affectedItem = this.addNewRelatedAffectedItem("Review", parentItem, null); + } + + var bomID = rowItem["gridData_bomID"]; + this.AddNewAffectedRelationshipItem(affectedItem, "Remove", bomID, null); +}; +ActionRemoveRelationship.prototype.Validate = function ActionRemoveRelationship_Validate(selRowId, selItem) { + var rowItemId = impactGrid.GridRowUserData[selRowId]["gridData_rowItemID"]; + if (!rowItemId) { + return false; + } + + var parentRowId = impactGrid.grid.getParentId(selRowId); + if (!parentRowId) { + return false; + } + + var rowData = impactGrid.GridRowUserData[selRowId]; + var rowItemTypeName = rowData["gridData_rowItemType"]; + if (impactGrid.constants.edrTypes[rowItemTypeName]) { + return false; + } + + var parentRowItemType = impactGrid.GridRowUserData[parentRowId]["gridData_rowItemType"]; + var parentRowItemId = impactGrid.GridRowUserData[parentRowId]["gridData_rowItemID"]; + var parentAffectedItem = impactGrid.AffectedItemDictionary[parentRowItemId]; + var parentItem = aras.getItemLastVersion(parentRowItemType, parentRowItemId); + var parentItemState = aras.getItemProperty(parentItem, "state"); + + if (parentItemState !== "Released") { + return false; + } + + if (parentAffectedItem) { + var bomID = impactGrid.GridRowUserData[selRowId]["gridData_bomID"]; + var affRelship = parentAffectedItem.selectSingleNode("Relationships/Item[@type='Affected Item Relationship' and (not(@action) or (@action!='delete' and @action!='purge'))]/related_id/Item[@type='Affected Relationship' and affected_rel_id = '" + bomID + "' and rel_action]"); + if (affRelship) { + return false; + } + + var item_action = aras.getItemProperty(parentAffectedItem, "item_action", ""); + var action = aras.getItemProperty(parentAffectedItem, "action", ""); + if(action != "None" && action != "Review" && action != "Change" && item_action != "None" && item_action != "Review" && item_action != "Renumber" && item_action != "Revise") { + return false; + } + + var new_item_id = aras.getItemProperty(parentAffectedItem, "new_item_id", ""); + if (new_item_id) { + return false; + } + } + + return true; +}; +/*----- Remove “Relationship” */ + +RowClass = function (grid, data) { + this.grid = grid; + this.data = data; + + this.cells = []; + this.length = this.grid.columnList.length; + + for (var cellIndex = 0; cellIndex < this.length; cellIndex++) { + var column = this.grid.columnList[cellIndex]; + var cell; + if (column) { + cell = new column.Class(); + cell.initialize(cellIndex, this.grid, this); + } else { + cell = new DefaultCellClass(); + cell.initialize(cellIndex, this.grid, this); + } + + this.cells[cell.name] = cell; + } +}; +RowClass.prototype = { + grid: null, + cells: [], + length: 0, + data: null, + + getValues: function () { + var rowText = []; + for (var cellName in this.cells) { + var cell = this.cells[cellName]; + var domValue = cell.getValueFromDom(); + var uiValue = cell.convertValueForUI(domValue); + rowText.push(uiValue); + } + + return rowText.join("|"); + }, + + bind: function (rowId) { + var itemID = ""; + var partItemType; + var icon = ""; + var itemTypeId; + + if (this.data.itemNode) { + itemID = this.data.itemNode.getAttribute("id"); + partItemType = this.data.itemNode.getAttribute("type"); + } + + if (!partItemType && this.data.newItemIdItem) { + var itemNodeItemTypeId = aras.getItemProperty(this.data.newItemIdItem, "itemtype"); + partItemType = this.data.newItemIdItem.getAttribute("type"); + } + + this.grid.GridRowUserData[rowId] = { + itemType: partItemType, + itemId: itemID + }; + + this.grid.GridRowUserData[rowId]["gridData_rowItemType"] = partItemType; + this.grid.GridRowUserData[rowId]["gridData_rowItemID"] = itemID; + + if (this.data.affectedRelationship) { + this.grid.GridRowUserData[rowId]["gridData_affectedRelationshipID"] = this.data.affectedRelationship.getAttribute("id"); + } + + if (this.data.relationshipNode) { + this.grid.GridRowUserData[rowId]["gridData_bomID"] = this.data.relationshipNode.getAttribute("id"); + } + + var rowBg = []; + + for (var cellName in this.cells) { + var cell = this.cells[cellName]; + var linkData = cell.getLink(); + if (linkData) { + this.grid.setLink(rowId, linkData.type, linkData.id, cell.columnIndex); + } + + var cellBg = cell.getBackgroundColor(); + rowBg.push(cellBg); + } + + this.grid.grid.setRowBgColor(rowId, rowBg.join("|")); + } +}; +DefaultCellClass = function () { +}; +DefaultCellClass.prototype = { + grid: null, + columnIndex: null, + row: null, + + initialize: function (columnIndex, grid, row) { + this.grid = grid; + this.columnIndex = columnIndex; + this.name = this.grid.columnList[this.columnIndex].Name; + this.row = row; + }, + + getBackgroundColor: function () { + var color = "#ffffff"; + if (this.row.data.affectedItem) { + color = "#e7deef"; + if (this.row.data.itemNode) { + var itemTypeName = this.row.data.itemNode.getAttribute("type"); + if (impactGrid.constants.edrTypes[itemTypeName]) { + color = "#fbe4d5"; + } + } + } + return color; + }, + + getLink: function () { + return null; + }, + + convertValueForUI: function (value) { + return value; + }, + + getValueFromDom: function () { + return ""; + } +}; + +function PNCellClass() {} + +PNCellClass.prototype = new DefaultCellClass(); + +PNCellClass.prototype.getValueFromDom = function () { + if (this.row.data.itemNode) { + return this.grid.getProperty(this.row.data.itemNode, "item_number"); + } else { + return ""; + } +}; +PNCellClass.prototype.getLink = function () { + var linkData = null; + + if (this.row.data.itemNode) { + linkData = {}; + linkData.id = this.row.data.itemNode.getAttribute("id"); + linkData.type = this.row.data.itemNode.getAttribute("type"); + } + + return linkData; +}; + +function NameCellClass() {} + +NameCellClass.prototype = new DefaultCellClass(); + +NameCellClass.prototype.getValueFromDom = function () { + if (this.row.data.itemNode) { + return this.grid.getProperty(this.row.data.itemNode, "name"); + } else { + return ""; + } +}; + +function RevCellClass() {} + +RevCellClass.prototype = new DefaultCellClass(); + +RevCellClass.prototype.getValueFromDom = function () { + if (this.row.data.itemNode) { + return this.grid.getProperty(this.row.data.itemNode, "major_rev"); + } else { + return ""; + } +}; + +function StateCellClass() {} + +StateCellClass.prototype = new DefaultCellClass(); + +StateCellClass.prototype.getValueFromDom = function () { + if (this.row.data.itemNode) { + return this.grid.getProperty(this.row.data.itemNode, "state"); + } else { + return ""; + } +}; + +function SortOrderCellClass() {} + +SortOrderCellClass.prototype = new DefaultCellClass(); + +SortOrderCellClass.prototype.getValueFromDom = function () { + if (this.row.data.relationshipNode) { + return this.grid.getProperty(this.row.data.relationshipNode, "sort_order"); + } else { + return ""; + } +}; + +function QtyCellClass() {} + +QtyCellClass.prototype = new DefaultCellClass(); + +QtyCellClass.prototype.getValueFromDom = function () { + if (this.row.data.relationshipNode) { + return this.grid.getProperty(this.row.data.relationshipNode, "quantity"); + } else { + return ""; + } +}; + +function UnitCellClass() {} + +UnitCellClass.prototype = new DefaultCellClass(); + +UnitCellClass.prototype.getValueFromDom = function () { + if (this.row.data.itemNode) { + return this.grid.getProperty(this.row.data.itemNode, "unit"); + } else { + return ""; + } +}; + +function ActionCellClass() {} + +ActionCellClass.prototype = new DefaultCellClass(); + +ActionCellClass.prototype.getValueFromDom = function() { + var action = this.grid.getProperty(this.row.data.affectedItem, "action"); + if (action == "Change") {action = (this.grid.getProperty(this.row.data.affectedItem, "interchangeable")=="1") ? "Int Change" : "Non-Int Change";} + return action; +} + +function InterchangeableCellClass() { } +InterchangeableCellClass.prototype = new DefaultCellClass(); + +InterchangeableCellClass.prototype.getValueFromDom = function() { + return this.grid.getProperty(this.row.data.affectedItem, "interchangeable"); +} + +function NewPNCellClass() { } +NewPNCellClass.prototype = new DefaultCellClass(); + +NewPNCellClass.prototype.getValueFromDom = function () { + var affectedItem = this.row.data.affectedItem; + var key = this.grid.getProperty(affectedItem, "id") + this.grid.getProperty(affectedItem, "new_item_id"); + var newItemPart = this.grid.NewItemDictionary[key]; + if (newItemPart) { + this.row.data.newItemIdItem = newItemPart; + return newItemPart; + } + + return null; +}; + +NewPNCellClass.prototype.getLink = function () { + var linkData = null; + + if (this.row.data.newItemIdItem) { + linkData = {}; + linkData.id = this.row.data.newItemIdItem.getAttribute("id"); + linkData.type = this.row.data.newItemIdItem.getAttribute("type"); + } + + return linkData; +}; + +NewPNCellClass.prototype.convertValueForUI = function (value) { + if (value) { + return aras.getKeyedNameEx(value); + } else { + return ""; + } +}; + +function NewStateCellClass() {} + +NewStateCellClass.prototype = new DefaultCellClass(); + +NewStateCellClass.prototype.getValueFromDom = function () { + if (this.row.data.newItemIdItem) { + return this.grid.getProperty(this.row.data.newItemIdItem, "state"); + } else { + return ""; + } +}; + +function NewRevCellClass() {} + +NewRevCellClass.prototype = new DefaultCellClass(); + +NewRevCellClass.prototype.getValueFromDom = function () { + if (this.row.data.newItemIdItem) { + return this.grid.getProperty(this.row.data.newItemIdItem, "major_rev"); + } else { + return ""; + } +}; + +function RelActionCellClass() {} + +RelActionCellClass.prototype = new DefaultCellClass(); + +RelActionCellClass.prototype.getValueFromDom = function () { + if (this.row.data.affectedRelationship) { + return this.grid.getProperty(this.row.data.affectedRelationship, "rel_action"); + } else { + return ""; + } +}; + +RelActionCellClass.prototype.getBackgroundColor = function () { + var color = "#ffffff"; + if (this.row.data.affectedItem || this.row.data.affectedRelationship) { + color = "#e7deef"; + if (this.row.data.itemNode) { + var itemTypeName = this.row.data.itemNode.getAttribute("type"); + if (impactGrid.constants.edrTypes[itemTypeName]) { + color = "#fbe4d5"; + } + } + } + return color; +}; + +function NewSortOrderCellClass() {} + +NewSortOrderCellClass.prototype = new DefaultCellClass(); + +NewSortOrderCellClass.prototype.getValueFromDom = function () { + if (this.row.data.affectedRelationship) { + var affSortOrderProp = this.row.data.affectedRelationship.selectSingleNode("Relationships/Item[@type='Affected Relationship Property' and property_name='sort_order']"); + return this.grid.getProperty(affSortOrderProp, "new_value"); + } else { + return ""; + } +}; + +NewSortOrderCellClass.prototype.getBackgroundColor = function () { + var color = "#ffffff"; + if (this.row.data.affectedItem || this.row.data.affectedRelationship) { + color = "#e7deef"; + if (this.row.data.itemNode) { + var itemTypeName = this.row.data.itemNode.getAttribute("type"); + if (impactGrid.constants.edrTypes[itemTypeName]) { + color = "#fbe4d5"; + } + } + } + return color; +}; + +function NewQtyCellClass() {} + +NewQtyCellClass.prototype = new DefaultCellClass(); + +NewQtyCellClass.prototype.getValueFromDom = function () { + if (this.row.data.affectedRelationship) { + var affQuantityProp = this.row.data.affectedRelationship.selectSingleNode("Relationships/Item[@type='Affected Relationship Property' and property_name='quantity']"); + return this.grid.getProperty(affQuantityProp, "new_value"); + } else { + return ""; + } +}; + +NewQtyCellClass.prototype.getBackgroundColor = function () { + var color = "#ffffff"; + if (this.row.data.affectedItem || this.row.data.affectedRelationship) { + color = "#e7deef"; + if (this.row.data.itemNode) { + var itemTypeName = this.row.data.itemNode.getAttribute("type"); + if (impactGrid.constants.edrTypes[itemTypeName]) { + color = "#fbe4d5"; + } + } + } + return color; +}; + +function NewRelCellClass() {} + +NewRelCellClass.prototype = new DefaultCellClass(); + +NewRelCellClass.prototype.getValueFromDom = function () { + if (this.row.data.affectedRelationship) { + var affRelatedIdProp = this.row.data.affectedRelationship.selectSingleNode("Relationships/Item[@type='Affected Relationship Property' and property_name='related_id']"); + var new_bom_rel_id = this.grid.getProperty(affRelatedIdProp, "new_value"); + + if (new_bom_rel_id) { + var newBomRelItem = aras.getItemById("Change Controlled Item", new_bom_rel_id); + return newBomRelItem; + } + } else { + return null; + } +}; + +NewRelCellClass.prototype.convertValueForUI = function (value) { + if (value) { + return aras.getKeyedNameEx(value); + } else { + return ""; + } +}; + +NewRelCellClass.prototype.getBackgroundColor = function () { + var color = "#ffffff"; + if (this.row.data.affectedItem || this.row.data.affectedRelationship) { + color = "#e7deef"; + if (this.row.data.itemNode) { + var itemTypeName = this.row.data.itemNode.getAttribute("type"); + if (impactGrid.constants.edrTypes[itemTypeName]) { + color = "#fbe4d5"; + } + } + } + return color; +}; + +function CollectionCellClass() { } +CollectionCellClass.prototype = new DefaultCellClass(); + +CollectionCellClass.prototype.getValueFromDom = function () { + return this.grid.getProperty(this.row.data.affectedItem, "grouping"); +}; + +function EdrCellClass() { } +EdrCellClass.prototype = new DefaultCellClass(); +EdrCellClass.prototype.getValueFromDom = function () { + var affectedItem = this.row.data.affectedItem; + if (!affectedItem) { + return ""; + } + var edr = this.grid.edrsDictionary[affectedItem.getAttribute("id")]; + return edr ? this.grid.getProperty(edr, "item_number") : ""; +}; +EdrCellClass.prototype.getLink = function () { + var linkData = null; + + var affectedItem = this.row.data.affectedItem; + if (affectedItem) { + var edr = this.grid.edrsDictionary[affectedItem.getAttribute("id")]; + if (edr) { + linkData = { id: edr.getAttribute("id"), type: edr.getAttribute("type") }; + } + } + + return linkData; +};]]>
+ JavaScript + ECR ImpactMatrixGrid +
+
\ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/Method/Express ECO GetDataSource.xml b/Imports/2-Post/PLM/Import/Method/Express ECO GetDataSource.xml new file mode 100644 index 0000000..cc1c3ce --- /dev/null +++ b/Imports/2-Post/PLM/Import/Method/Express ECO GetDataSource.xml @@ -0,0 +1,339 @@ + + + A73B655731924CD0B027E4F4D5FCC0A9 + selectProperties = new Dictionary(); +selectProperties["Part"] = "unit"; +selectProperties["CAD"] = ""; +selectProperties["Document"] = ""; + +selectProperties["Part BOM"] = ""; +selectProperties["Part BOM.related_id"] = "unit"; + + +string areParentAndChildItemsVisible = this.getAttribute("areParentAndChildItemsVisible"); +string affectedItemIds = this.getProperty("affectedItemIds", ""); +string[] affectedItemIdList = affectedItemIds.Split(','); +string escapedAffectedItemIds; +if (string.IsNullOrEmpty(affectedItemIds)) +{ + escapedAffectedItemIds = affectedItemIds; +} +else +{ + List ids = affectedItemIds.Split(',').ToList(); + StringBuilder stringBuilder = new StringBuilder(); + for (int k = 0; k < ids.Count; k++) + { + string id = ids[k]; + stringBuilder.Append(System.Security.SecurityElement.Escape(CCO.DB.InnDatabase.QuoteValue(id))); + if (k != ids.Count - 1) + { + stringBuilder.Append("','"); + } + } + escapedAffectedItemIds = "'" + stringBuilder + "'"; +} + +String getItemTypeAML = +"" + +" " + +" {0}" + +" " + +" " + +" " + +" " + +""; + +String changeControlledItemITAML = String.Format(getItemTypeAML, "Change Controlled Item"); +Item changeControlledItemIT = this.newItem(); +changeControlledItemIT.loadAML(changeControlledItemITAML); +changeControlledItemIT = changeControlledItemIT.apply(); +if(changeControlledItemIT.isError()) +{ + return changeControlledItemIT; +} + + +String changeControlledRelationshipITAML = String.Format(getItemTypeAML, "Change Controlled Relationship"); +Item changeControlledRelationshipIT = this.newItem(); +changeControlledRelationshipIT.loadAML(changeControlledRelationshipITAML); +changeControlledRelationshipIT = changeControlledRelationshipIT.apply(); +if(changeControlledRelationshipIT.isError()) +{ + return changeControlledRelationshipIT; +} + +List controlledItemTypeNames = new List(); + +Item controlledItemTypes = changeControlledItemIT.getItemsByXPath("./Relationships/Item[@type='Morphae']/related_id/Item"); +Dictionary> itemTypeRelationshipsDict = new Dictionary>(); + +int controlledItemTypesCount = controlledItemTypes.getItemCount(); +for(int controlledItemTypeIndex = 0; controlledItemTypeIndex < controlledItemTypesCount; controlledItemTypeIndex++) +{ + Item controlledItemType = controlledItemTypes.getItemByIndex(controlledItemTypeIndex); + String controlledItemTypeName = controlledItemType.getProperty("name"); + + controlledItemTypeNames.Add(CCO.Variables.InnDatabase.QuoteValue(controlledItemTypeName)); + itemTypeRelationshipsDict.Add(controlledItemTypeName, new List()); +} + + +List controlledRelationshipTypeNames = new List(); + +Item controlledRelationshipTypes = changeControlledRelationshipIT.getItemsByXPath("./Relationships/Item[@type='Morphae']/related_id/Item"); + +int controlledRelationshipTypesCount = controlledRelationshipTypes.getItemCount(); +for(int controlledRelationshipTypeIndex = 0; controlledRelationshipTypeIndex < controlledRelationshipTypesCount; controlledRelationshipTypeIndex++) +{ + Item controlledRelationshipType = controlledRelationshipTypes.getItemByIndex(controlledRelationshipTypeIndex); + String controlledRelationshipTypeName = controlledRelationshipType.getProperty("name"); + + controlledRelationshipTypeNames.Add(CCO.Variables.InnDatabase.QuoteValue(controlledRelationshipTypeName)); +} + +if(controlledItemTypeNames.Count > 0 && controlledRelationshipTypeNames.Count > 0) +{ + String sql = "select it.name itemTypeName, rt.NAME relationshipTypeName from [ITEMTYPE] it " + + "INNER JOIN [RELATIONSHIPTYPE] rt ON rt.SOURCE_ID = it.id " + + "WHERE it.name in ({0}) AND rt.name in ({1})"; + + String itemTypeNames = "N'" + String.Join("',N'", controlledItemTypeNames.ToArray()) + "'"; + String relationshipTypeNames = "N'" + String.Join("',N'", controlledRelationshipTypeNames.ToArray()) + "'"; + + sql = String.Format(CultureInfo.InvariantCulture, sql, itemTypeNames, relationshipTypeNames); + + Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; + Aras.Server.Core.InnovatorDataSet restulDataSet = conn.ExecuteSelect(sql); + + if (restulDataSet.RowsNumber <= 0) + { + const string errorString = "ItemType to RelationshipType mapping failed"; + Item errorItem = this.getInnovator().newError(errorString); + return errorItem; + } + + while(!restulDataSet.Eof) + { + String itemTypeName = (string)restulDataSet["itemTypeName"]; + String relationshipTypeName = (string)restulDataSet["relationshipTypeName"]; + + itemTypeRelationshipsDict[itemTypeName].Add(relationshipTypeName); + + restulDataSet.MoveNext(); + } +} + +// sql don't optimize queries with 'like' condition in generation, so use 'is not null' instead +// '%' in generation node is required to disable default is_current check +String itemQueryAMLTemplate = +"" + +" " + +" %" + +" " + +" " + +" " + +" {2}" + +" " + +" {2}"; +if(areParentAndChildItemsVisible == "1") +{ + itemQueryAMLTemplate += + " " + + " " + + " 1" + + " " + + " "; +} +else +{ + itemQueryAMLTemplate += + " {2}"; +} +itemQueryAMLTemplate += +" " + +" " + +" " + +" " + +" " + +""; + + +Item result = inn.newResult(""); +XmlNode resultNode = result.dom.SelectSingleNode("//Result"); + +Dictionary idsSelected = new Dictionary(); + +Dictionary sourceItemDict = new Dictionary(); + +foreach(String itemTypeName in controlledItemTypeNames) +{ + String selectAttr = ""; + if(selectProperties.TryGetValue(itemTypeName, out selectAttr)) + { + if(!String.IsNullOrEmpty(selectAttr)) + { + selectAttr = "," + selectAttr; + } + } + + List itemTypeRelationshipsList = itemTypeRelationshipsDict[itemTypeName]; + + foreach(String relationshipTypeName in itemTypeRelationshipsList) + { + String selectRelshipAttr = ""; + if(selectProperties.TryGetValue(relationshipTypeName, out selectRelshipAttr)) + { + if(!String.IsNullOrEmpty(selectRelshipAttr)) + { + selectRelshipAttr = "," + selectRelshipAttr; + } + } + + String selectRelatedAttr = ""; + if(selectProperties.TryGetValue(relationshipTypeName + ".related_id", out selectRelatedAttr)) + { + if(!String.IsNullOrEmpty(selectRelatedAttr)) + { + selectRelatedAttr = "," + selectRelatedAttr; + } + } + + String queryAML = String.Format(itemQueryAMLTemplate, System.Security.SecurityElement.Escape(itemTypeName), + System.Security.SecurityElement.Escape(relationshipTypeName), escapedAffectedItemIds, System.Security.SecurityElement.Escape(selectAttr), + System.Security.SecurityElement.Escape(selectRelatedAttr), System.Security.SecurityElement.Escape(selectRelshipAttr)); + + Item queryItem = this.newItem(); + queryItem.loadAML(queryAML); + queryItem = queryItem.apply(); + + if(queryItem.isError()) + { + if(queryItem.getErrorCode() != "0") + { + return queryItem; + } + else + { + continue; + } + } + + int childCount = queryItem.getItemCount(); + for(int childIndex = 0; childIndex < childCount; childIndex++) + { + Item childItem = queryItem.getItemByIndex(childIndex); + String childItemId = childItem.getID(); + + XmlNode sourceItemNode; + + if(!sourceItemDict.TryGetValue(childItemId, out sourceItemNode)) + { + sourceItemNode = resultNode.OwnerDocument.ImportNode(childItem.node, true); + resultNode.AppendChild(sourceItemNode); + sourceItemDict[childItemId] = sourceItemNode; + } + else + { + XmlNodeList relationshipItems = childItem.node.SelectNodes("Relationships/Item"); + XmlNode relationshipsNode = sourceItemNode.SelectSingleNode("Relationships"); + + foreach(XmlElement relationshipItem in relationshipItems) + { + relationshipsNode.AppendChild(resultNode.OwnerDocument.ImportNode(relationshipItem, true)); + } + } + + idsSelected[childItemId] = true; + } + } +} + +List notRequestedIdList = new List(); + +foreach(string affectedItemId in affectedItemIdList) +{ + if(!idsSelected.ContainsKey(affectedItemId)) + { + notRequestedIdList.Add("'" + CCO.DB.InnDatabase.QuoteValue(System.Security.SecurityElement.Escape(affectedItemId)) + "'"); + } +} + +if(notRequestedIdList.Count == 0) +{ + return result; +} + +String notRequestedItemsAmlTempalte = +"" + +" " + +" {1}" + +" " + +""; + +foreach(String itemTypeName in controlledItemTypeNames) +{ + String selectAttr = ""; + if(selectProperties.TryGetValue(itemTypeName, out selectAttr)) + { + if(!String.IsNullOrEmpty(selectAttr)) + { + selectAttr = "," + selectAttr; + } + } + + String notRequestedIds = String.Join("," , notRequestedIdList.ToArray()); + String queryAML = String.Format(notRequestedItemsAmlTempalte, System.Security.SecurityElement.Escape(itemTypeName), + notRequestedIds, System.Security.SecurityElement.Escape(selectAttr)); + + Item queryItem = this.newItem(); + queryItem.loadAML(queryAML); + queryItem = queryItem.apply(); + + if(queryItem.isError()) + { + if(queryItem.getErrorCode() != "0") + { + return queryItem; + } + else + { + continue; + } + } + + int childCount = queryItem.getItemCount(); + for(int childIndex = 0; childIndex < childCount; childIndex++) + { + Item childItem = queryItem.getItemByIndex(childIndex); + String childItemId = childItem.getID(); + idsSelected[childItemId] = true; + resultNode.AppendChild(resultNode.OwnerDocument.ImportNode(childItem.node, true)); + } +} + +// Optimize xml size +var nodesToRemove = new string[] { "id", "source_id" }; +var tmpNodes = result.dom.SelectNodes("//" + String.Join(" | //", nodesToRemove)); +foreach (XmlNode tmpNode in tmpNodes) +{ + tmpNode.ParentNode.RemoveChild(tmpNode); +} +tmpNodes = result.dom.SelectNodes("//*[@typeId] | //related_id"); +foreach (XmlElement tmpNode in tmpNodes) +{ + tmpNode.RemoveAttribute("typeId"); + if (tmpNode.Name == "related_id") + { + tmpNode.RemoveAttribute("type"); + tmpNode.RemoveAttribute("keyed_name"); + } +} + +return result;]]> + C# + Express ECO GetDataSource + + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/Get CM2 Report Data.xml b/Imports/2-Post/PLM/Import/Method/Get CM2 Report Data.xml similarity index 97% rename from Imports/PLM/Import/Method/Get CM2 Report Data.xml rename to Imports/2-Post/PLM/Import/Method/Get CM2 Report Data.xml index 268bf3a..387b88f 100644 --- a/Imports/PLM/Import/Method/Get CM2 Report Data.xml +++ b/Imports/2-Post/PLM/Import/Method/Get CM2 Report Data.xml @@ -1,292 +1,292 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - 1) - return as_planned.getItemByIndex(0); - - return as_planned; -} - -public static string NextRev(string letter) -{ - // only works for default revisioning sequence - // first case - string is empty: return "A" - if ((letter == null) || (letter.Length == 0)) - return "A"; - - // next case - last char is less than 'z': simply increment last char - char lastChar = letter[letter.Length - 1]; - string fragment = letter.Substring(0, letter.Length - 1); - - if (lastChar < 'Z') - { - ++lastChar; - return fragment + lastChar; - } - - // next case - last char is 'Z': roll over and increment preceding string - return NextRev(fragment) + 'A'; -} - -public static Item GetRelationships(Innovator inn, string item_id) -{ - string qd_id = "223AF4086BFA4AA19472DE89DE47D485"; - - // get query definition with relationships - Item queryDef = inn.newItem("qry_QueryDefinition","get"); - queryDef.setID(qd_id); - queryDef.setAttribute("levels","2"); - queryDef = queryDef.apply(); - - string offset = "0"; - string fetch = "100"; - string offset_fetch = ""; - - // add CDATA element to query - XmlNode rootItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryDefinition']/Relationships/Item[1]"); - XmlCDataSection cdata = queryDef.dom.CreateCDataSection(offset_fetch); - XmlElement newNode = queryDef.dom.CreateElement("offset_fetch_xml"); - newNode.AppendChild(cdata); - rootItem.AppendChild(newNode); - - // pass id as a parameter - XmlNode paramItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryParameter']/value"); - paramItem.InnerText = item_id; - - // execute query - queryDef.setAction("qry_ExecuteQueryDefinition"); - queryDef.setAttribute("levels","0"); - queryDef = queryDef.apply(); - - return queryDef; -} - -public static void SetHierarchy(Item thisItem, int level) -{ - try { - // get relationships - Item rels = thisItem.getRelationships(); - - // for each related item, set hierarchy - for (int i=0; i < rels.getItemCount(); i++) - { - Item related = rels.getItemByIndex(i).getItemsByXPath("./Relationships/Item"); - SetHierarchy(related, level+1); - } - - thisItem.setProperty("hierarchy",level + ""); - } - catch (Exception e) - { - thisItem.setProperty("hierarchy",level + ""); - } -} - -public static Item GetParent(Innovator inn, string item_id) -{ - Item parent = inn.newItem("Part","get"); - parent.setProperty("classification","Application Requirements"); - - Item bom = parent.createRelationship("Part BOM","get"); - bom.setProperty("related_id",item_id); - - parent.createRelationship("Part Document","get"); - parent.createRelationship("Part CAD","get"); - - parent = parent.apply(); - - return parent; -} - -public static Item BuildResult(Innovator inn, string selected_date, string item_number, Item structure) -{ - Item result = inn.newItem("Report Options"); - result.setProperty("item_number",item_number); - result.setProperty("selected_date",selected_date); - - result.appendItem(structure); - - return result; - - - - - - - - - - - - - - - - -]]> - C# - Get CM2 Report Data - + + + A73B655731924CD0B027E4F4D5FCC0A9 + 1) + return as_planned.getItemByIndex(0); + + return as_planned; +} + +public static string NextRev(string letter) +{ + // only works for default revisioning sequence + // first case - string is empty: return "A" + if ((letter == null) || (letter.Length == 0)) + return "A"; + + // next case - last char is less than 'z': simply increment last char + char lastChar = letter[letter.Length - 1]; + string fragment = letter.Substring(0, letter.Length - 1); + + if (lastChar < 'Z') + { + ++lastChar; + return fragment + lastChar; + } + + // next case - last char is 'Z': roll over and increment preceding string + return NextRev(fragment) + 'A'; +} + +public static Item GetRelationships(Innovator inn, string item_id) +{ + string qd_id = "223AF4086BFA4AA19472DE89DE47D485"; + + // get query definition with relationships + Item queryDef = inn.newItem("qry_QueryDefinition","get"); + queryDef.setID(qd_id); + queryDef.setAttribute("levels","2"); + queryDef = queryDef.apply(); + + string offset = "0"; + string fetch = "100"; + string offset_fetch = ""; + + // add CDATA element to query + XmlNode rootItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryDefinition']/Relationships/Item[1]"); + XmlCDataSection cdata = queryDef.dom.CreateCDataSection(offset_fetch); + XmlElement newNode = queryDef.dom.CreateElement("offset_fetch_xml"); + newNode.AppendChild(cdata); + rootItem.AppendChild(newNode); + + // pass id as a parameter + XmlNode paramItem = queryDef.dom.SelectSingleNode("//Item[@type='qry_QueryParameter']/value"); + paramItem.InnerText = item_id; + + // execute query + queryDef.setAction("qry_ExecuteQueryDefinition"); + queryDef.setAttribute("levels","0"); + queryDef = queryDef.apply(); + + return queryDef; +} + +public static void SetHierarchy(Item thisItem, int level) +{ + try { + // get relationships + Item rels = thisItem.getRelationships(); + + // for each related item, set hierarchy + for (int i=0; i < rels.getItemCount(); i++) + { + Item related = rels.getItemByIndex(i).getItemsByXPath("./Relationships/Item"); + SetHierarchy(related, level+1); + } + + thisItem.setProperty("hierarchy",level + ""); + } + catch (Exception e) + { + thisItem.setProperty("hierarchy",level + ""); + } +} + +public static Item GetParent(Innovator inn, string item_id) +{ + Item parent = inn.newItem("Part","get"); + parent.setProperty("classification","Application Requirements"); + + Item bom = parent.createRelationship("Part BOM","get"); + bom.setProperty("related_id",item_id); + + parent.createRelationship("Part Document","get"); + parent.createRelationship("Part CAD","get"); + + parent = parent.apply(); + + return parent; +} + +public static Item BuildResult(Innovator inn, string selected_date, string item_number, Item structure) +{ + Item result = inn.newItem("Report Options"); + result.setProperty("item_number",item_number); + result.setProperty("selected_date",selected_date); + + result.appendItem(structure); + + return result; + + + + + + + + + + + + + + + + +]]> + C# + Get CM2 Report Data + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/Get_Controlled_Item.xml b/Imports/2-Post/PLM/Import/Method/Get_Controlled_Item.xml similarity index 100% rename from Imports/PLM/Import/Method/Get_Controlled_Item.xml rename to Imports/2-Post/PLM/Import/Method/Get_Controlled_Item.xml diff --git a/Imports/PLM/Import/Method/PE_AddChangeItem.xml b/Imports/2-Post/PLM/Import/Method/PE_AddChangeItem.xml similarity index 96% rename from Imports/PLM/Import/Method/PE_AddChangeItem.xml rename to Imports/2-Post/PLM/Import/Method/PE_AddChangeItem.xml index 2fd1798..cc93fae 100644 --- a/Imports/PLM/Import/Method/PE_AddChangeItem.xml +++ b/Imports/2-Post/PLM/Import/Method/PE_AddChangeItem.xml @@ -1,259 +1,259 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - 1) - { - top.aras.AlertError(top.aras.getResource("PLM", "pe_change_management.onlyone_affected_item")); - return false; - } - - var affected_item = top.aras.getItemProperty(this.Item, "affected_item"); - - if (affected_item) - { - top.aras.AlertError(top.aras.getResource("PLM", "pe_change_management.affected_item_already_exist")); - return false; - } - - // Set the affected_item property - top.aras.setItemProperty(this.Item, "affected_item", dataItem.getItemByIndex(0).node); - - return true; - } - - PRChangeItem.prototype.Show = function PRChangeItem_Show() - { - ChangeItem.prototype.Show.call(this); - } - //-PR *********************************************************** - - //+MCO ********************************************************** - function MCOChangeItem(item) - { - this.Item = item; - } - - MCOChangeItem.prototype = new ChangeItem(); - - MCOChangeItem.prototype.SetData = function MCOChangeItem_SetData(dataItem) - { - if(!ChangeItem.prototype.SetData.call(this, dataItem)) - { - return false; - } - - // Create a new Simple MCO Part relationship for each passed item - var mcoPartRelId = top.aras.getItemFromServerByName("RelationshipType", "Simple MCO Part", "id").node.getAttribute('id'); - for (var j = 0; j < dataItem.getItemCount(); j++) - { - var mcoPartRel = top.aras.newRelationship(mcoPartRelId, this.Item); - top.aras.setItemProperty(mcoPartRel, "related_id", dataItem.getItemByIndex(j).node); - } - - return true; - } - - MCOChangeItem.prototype.Show = function MCOChangeItem_Show() - { - ChangeItem.prototype.Show.call(this); - } - //-MCO ********************************************************** - - //+Generic ****************************************************** - function GenericChangeItem(item) - { - this.Item = item; - } - - GenericChangeItem.prototype = new ChangeItem(); - - GenericChangeItem.prototype.SetData = function GenericChangeItem_SetData(dataItem) - { - if(!ChangeItem.prototype.SetData.call(this, dataItem)) - { - return false; - } - - var changeType = this.Item.getAttribute("type"); - // Create a new Affected Item relationship for each passed item - var typeID = top.aras.getItemFromServerByName("RelationshipType", changeType + " Affected Item", "id").node.getAttribute('id'); - - for (var i = 0; i < dataItem.getItemCount(); i++) - { - var addItem = dataItem.getItemByIndex(i).node; - var state = top.aras.getItemProperty(addItem, "state", ""); - - // Set the default Affected Item action based on the state of the item - var action; - var prop; - - if (changeType != "Express ECO") - { - if (state == "Released") - { - action = "Change"; - prop = "affected_id"; - } - else - { - action = "Add"; - prop = "new_item_id"; - } - prop_action = "action"; - } - else - { - prop_action = "item_action"; - action = "Review"; - if (state == "Preliminary") - { - prop = "new_item_id"; - } - else - { - prop = "affected_id" - } - } - - var affItemRel = top.aras.newRelationship(typeID, this.Item); - var affItem = top.aras.newItem("Affected Item"); - - top.aras.setItemProperty(affItem, prop_action, action); - top.aras.setItemProperty(affItem, prop, addItem); - top.aras.setItemPropertyAttribute(affItem, prop, "keyed_name", top.aras.getKeyedNameEx(addItem)) - - top.aras.setItemProperty(affItemRel, "related_id", affItem); - } - - return true; - } - - GenericChangeItem.prototype.Show = function GenericChangeItem_Show() - { - ChangeItem.prototype.Show.call(this); - } - //-Generic ****************************************************** - - var changeItem; - switch (typeName) - { - case "PR": - changeItem = new PRChangeItem(item); - break; - case "ECR": - case "ECN": - case "Express ECO": - case "Express DCO": - case "Simple ECO": - changeItem = new GenericChangeItem(item); - break; - case "Simple MCO": - changeItem = new MCOChangeItem(item); - break; - } - - return changeItem; -} -]]> - JavaScript - PE_AddChangeItem - + + + A73B655731924CD0B027E4F4D5FCC0A9 + 1) + { + top.aras.AlertError(top.aras.getResource("PLM", "pe_change_management.onlyone_affected_item")); + return false; + } + + var affected_item = top.aras.getItemProperty(this.Item, "affected_item"); + + if (affected_item) + { + top.aras.AlertError(top.aras.getResource("PLM", "pe_change_management.affected_item_already_exist")); + return false; + } + + // Set the affected_item property + top.aras.setItemProperty(this.Item, "affected_item", dataItem.getItemByIndex(0).node); + + return true; + } + + PRChangeItem.prototype.Show = function PRChangeItem_Show() + { + ChangeItem.prototype.Show.call(this); + } + //-PR *********************************************************** + + //+MCO ********************************************************** + function MCOChangeItem(item) + { + this.Item = item; + } + + MCOChangeItem.prototype = new ChangeItem(); + + MCOChangeItem.prototype.SetData = function MCOChangeItem_SetData(dataItem) + { + if(!ChangeItem.prototype.SetData.call(this, dataItem)) + { + return false; + } + + // Create a new Simple MCO Part relationship for each passed item + var mcoPartRelId = top.aras.getItemFromServerByName("RelationshipType", "Simple MCO Part", "id").node.getAttribute('id'); + for (var j = 0; j < dataItem.getItemCount(); j++) + { + var mcoPartRel = top.aras.newRelationship(mcoPartRelId, this.Item); + top.aras.setItemProperty(mcoPartRel, "related_id", dataItem.getItemByIndex(j).node); + } + + return true; + } + + MCOChangeItem.prototype.Show = function MCOChangeItem_Show() + { + ChangeItem.prototype.Show.call(this); + } + //-MCO ********************************************************** + + //+Generic ****************************************************** + function GenericChangeItem(item) + { + this.Item = item; + } + + GenericChangeItem.prototype = new ChangeItem(); + + GenericChangeItem.prototype.SetData = function GenericChangeItem_SetData(dataItem) + { + if(!ChangeItem.prototype.SetData.call(this, dataItem)) + { + return false; + } + + var changeType = this.Item.getAttribute("type"); + // Create a new Affected Item relationship for each passed item + var typeID = top.aras.getItemFromServerByName("RelationshipType", changeType + " Affected Item", "id").node.getAttribute('id'); + + for (var i = 0; i < dataItem.getItemCount(); i++) + { + var addItem = dataItem.getItemByIndex(i).node; + var state = top.aras.getItemProperty(addItem, "state", ""); + + // Set the default Affected Item action based on the state of the item + var action; + var prop; + + if (changeType != "Express ECO") + { + if (state == "Released") + { + action = "Change"; + prop = "affected_id"; + } + else + { + action = "Add"; + prop = "new_item_id"; + } + prop_action = "action"; + } + else + { + prop_action = "item_action"; + action = "Review"; + if (state == "Preliminary") + { + prop = "new_item_id"; + } + else + { + prop = "affected_id" + } + } + + var affItemRel = top.aras.newRelationship(typeID, this.Item); + var affItem = top.aras.newItem("Affected Item"); + + top.aras.setItemProperty(affItem, prop_action, action); + top.aras.setItemProperty(affItem, prop, addItem); + top.aras.setItemPropertyAttribute(affItem, prop, "keyed_name", top.aras.getKeyedNameEx(addItem)) + + top.aras.setItemProperty(affItemRel, "related_id", affItem); + } + + return true; + } + + GenericChangeItem.prototype.Show = function GenericChangeItem_Show() + { + ChangeItem.prototype.Show.call(this); + } + //-Generic ****************************************************** + + var changeItem; + switch (typeName) + { + case "PR": + changeItem = new PRChangeItem(item); + break; + case "ECR": + case "ECN": + case "Express ECO": + case "Express DCO": + case "Simple ECO": + changeItem = new GenericChangeItem(item); + break; + case "Simple MCO": + changeItem = new MCOChangeItem(item); + break; + } + + return changeItem; +} +]]> + JavaScript + PE_AddChangeItem + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/PE_ChangeItemTransition.xml b/Imports/2-Post/PLM/Import/Method/PE_ChangeItemTransition.xml similarity index 96% rename from Imports/PLM/Import/Method/PE_ChangeItemTransition.xml rename to Imports/2-Post/PLM/Import/Method/PE_ChangeItemTransition.xml index 912453d..1ab2bd6 100644 --- a/Imports/PLM/Import/Method/PE_ChangeItemTransition.xml +++ b/Imports/2-Post/PLM/Import/Method/PE_ChangeItemTransition.xml @@ -1,4409 +1,4409 @@ - - - C# method that calls PE_ChangeItemValidation - A73B655731924CD0B027E4F4D5FCC0A9 - 0) - { - //"this" shouldn't contain Items with not allowed "actions" because such Items is applied in this server-side method. - //So, e.g., not admin user can call actions where "execution_allowed_to" is for administrators. - throw new InvalidOperationException(); - } - Aras.Server.Security.Identity plmIdentity = Aras.Server.Security.Identity.GetByName("Aras PLM"); - bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(plmIdentity); - - try - { - Utils.InitializeForRequest(this.getInnovator(), CCO); - ChangeItem changeItem; - - // // is used because possible case when Change Item is not a root item. It happens when it child of Method item. - Item item = this.getItemsByXPath("(//Item[@type='ECR' or @type='ECN' or @type='Simple ECO' or @type='Express ECO' or @type='Express DCO' or @type='Express EDR'])[1]"); - - //Create instance of promoted item - switch (item.getType()) - { - case "ECR": - changeItem = new ECR(item); - break; - case "ECN": - changeItem = new ECN(item); - break; - case "Simple ECO": - changeItem = new SimpleECO(item); - break; - case "Express ECO": - changeItem = new ExpressECO(item); - break; - case "Express DCO": - changeItem = new ExpressDCO(item); - break; - case "Express EDR": - changeItem = new ExpressEDR(item); - break; - default: - changeItem = null; - break; - } - - bool isProcessTransition = (changeItem.Transition != null); - - ResultStatus status = changeItem.Validate(); - - if (status.IsSuccess) - { - if (isProcessTransition) - { - return changeItem.ProcessTransition(); - } - else - { - return Utils.GetOkResult(); - } - } - else - { - int numberOfDisplayedErrors = isProcessTransition ? 1 : status.Errors.Count; - return Utils.GetError(status, numberOfDisplayedErrors); - } - } - finally - { - if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(plmIdentity); - } - //TODO: fix CodeAnalysis supressions added by this commit - } -} -/// -/// Interface for validate Change Item instance(ECR, ECN, Express ECO, Express DCO etc) -/// -interface IChangeItemValidationRules -{ - void IsItemExist(ResultStatus status); - void IsAffectedItemExists(ResultStatus status); - void IsAffectedItemOtherThanNoneActionExists(ResultStatus status); -} - -interface IExpressEcoItemValidationRules : IChangeItemValidationRules -{ - void IsSpawnedEdrsInPendingClosureState(ResultStatus status); - void IsEveryEdrGroupHaveATeam(ResultStatus status); -} - -/// -/// Interface for validate Affected item instance -/// -interface IAffectedItemValidationRules -{ - void Compare_AffectedId_and_NewItem_IdTypes(ResultStatus status); - void Is_AffectedId_and_NewItemId_NotLocked(ResultStatus status); - void Is_AffectedId_InReleasedState(ResultStatus status); - void Is_NewItemId_InPreliminaryState(ResultStatus status); - void Is_AffectedId_Requiered(ResultStatus status); - void Is_NewItemId_Required(ResultStatus status); - void Is_NewItemId_RequiresNull(ResultStatus status); - void Is_AffectedId_RequiresNull(ResultStatus status); - void Is_NewItemId_HasNoPreviouslyReleasedGeneration(ResultStatus status); -} - -/// -/// Interface extends validation rules of Affected Item interface for validating Extednded Affected Item -/// -interface IExtendedAffectedItemValidationRules : IAffectedItemValidationRules -{ - void Is_AffectedItem_Action_Review(ResultStatus status); - void Is_NewItemId_InReleasedState(ResultStatus status); - void Is_AffectedId_InSupersededOrReleasedState(ResultStatus status); - void Is_AffectedRelationship_Allowed(ResultStatus status); - void VerifyAffectedItemProperties(ResultStatus status); -} - -/// -/// Interface for validate Affected Relationship -/// -interface IAffectedRelationshipValidationRules -{ - void Is_AffectedRelationship_RequiresAttachAction(ResultStatus status); - void Is_AffectedRelId_Required(ResultStatus status); - void Is_AffectedRelId_Required_AffectedId_SourceID(ResultStatus status); - void Is_AffectedRelationshipProperty_Required(ResultStatus status); - void Verify(ResultStatus status); -} - -// Class Diagramm: -// abstract class ItemContext; -// abstract class ChangeItem : ItemContext; -// -// ->The following classes are implements own Validation and ProcessTransition behavior<- -// -// class ECR : ChangeItem; -// class ECN : ChangeItem; -// class SimpleECO : ChangeItem; -// class ExpressECO : ChangeItem; -// class ExpressDCO : ChangeItem; -// class ExpressEDR : ExpressDCO; - -/// -/// Represent base class for Item wrappers -/// -abstract class ItemContext -{ - /// - /// Constructor. Create empty prototype. - /// - protected ItemContext() - { - } - - /// - /// Constructor. Wrap item and create Utils - /// - /// - public ItemContext(Item item) - { - this.Item = item; - } - - Item p_item; - /// - /// Get wrapped item - /// - public Item Item - { - get { return p_item; } - set { p_item = value; } - } - - public string ID - { - get { return this.Item.getID(); } - } - - public string Type - { - get { return this.Item.getType(); } - } - - public bool IsLocked - { - get { return this.Item.getLockStatus() != 0; } - } - - public string State - { - get { return this.Item.getProperty("state", ""); } - } - - public string ConfigID - { - get { return this.Item.getProperty("config_id", ""); } - } - - /// - /// Promote item - /// - /// to state - /// throws if error - public void Promote(string nextStatus) - { - Item tempItem = Utils.Innovator.newItem(this.Type); - tempItem.setID(this.ID); - Item res = tempItem.promote(nextStatus, "PromoteItem Affected item"); - - Utils.AssertItem(res); - } - - /// - /// Version item - /// - /// versioned item - /// throws if error - public ChangeControlledItem Version() - { - Item tempItem = Utils.Innovator.newItem(this.Type, "version"); - tempItem.setID(this.ID); - tempItem.setProperty("effective_date", ""); - tempItem = tempItem.apply(); - - Utils.AssertItem(tempItem); - - return new ChangeControlledItem(tempItem); - } - - /// - /// Unlock item - /// - /// throws if error - public void Unlock() - { - Item tempItem = Utils.Innovator.newItem(this.Type, "unlock"); - tempItem.setID(this.ID); - tempItem = tempItem.apply(); - - Utils.AssertItem(tempItem); - } - - private static Item CloneItem(Item itemToClone) - { - Item newItem = Utils.Innovator.newItem(); - var newItemNode = (XmlElement) newItem.dom.ImportNode(itemToClone.node, true); - newItem.dom.ReplaceChild(newItemNode, newItem.node); - newItem.node = newItemNode; - return newItem; - } - - /// - /// Apply item with action edit - /// - /// throws if error - public void ApplyEdit() - { - Item tmpItem = CloneItem(this.Item); - tmpItem.setAction("edit"); - tmpItem.setAttribute("version", "0"); - Item res = tmpItem.apply(); - - Utils.AssertItem(res); - } - - /// - /// Copy item - /// - /// ItemContext inheritor - /// - /// throws if error - public TCopy ApplyCopy() - where TCopy : ItemContext - { - Item tmpItem = Utils.Innovator.newItem(this.Type, "copyAsNew"); - tmpItem.setID(this.ID); - Item res = tmpItem.apply(); - - Utils.AssertItem(res); - - return (TCopy)Activator.CreateInstance(typeof(TCopy), res); - } - - /// - /// Apply item with action add - /// - /// throws if error - public void ApplyAdd() - { - Item tmpItem = CloneItem(this.Item); - tmpItem.setAction("add"); - tmpItem.setAttribute("version", "0"); - Item res = tmpItem.apply(); - - Utils.AssertItem(res); - - this.Item = res; - } - - /// - /// Raised after item delete - /// - public event EventHandler Deleted; - protected void FireDeleted() - { - if (Deleted != null) - { - Deleted(this, null); - } - } - - /// - /// Delete item - /// - /// throws if error - public virtual void Delete() - { - Item tmpItem = CloneItem(this.Item); - tmpItem.setAction("delete"); - tmpItem.setAttribute("version", "0"); - Item res = tmpItem.apply(); - - Utils.AssertItem(res); - - FireDeleted(); - } - - public virtual Workflow GetWorkflow() - { - Item workflow = Utils.Innovator.newItem(ItemTypeNames.Workflow, ItemActions.Get); - Item workflowProcess = Utils.Innovator.newItem(ItemTypeNames.WorkflowProcess, ItemActions.Get); - Item wfpa = Utils.Innovator.newItem("Workflow Process Activity", ItemActions.Get); - Item activity = Utils.Innovator.newItem("Activity", ItemActions.Get); - Item activityAssign = Utils.Innovator.newItem(ItemTypeNames.ActivityAssignment, ItemActions.Get); - Item wpp = Utils.Innovator.newItem(ItemTypeNames.WorkflowProcessPath, ItemActions.Get); - Item wppActivity = Utils.Innovator.newItem("Activity", ItemActions.Get); - wppActivity.setPropertyCondition("cloned_as", "is null"); - wpp.setRelatedItem(wppActivity); - workflow.setRelatedItem(workflowProcess); - workflow.setPropertyCondition(RelationshipProperties.Related, "is not null"); - workflow.setProperty(RelationshipProperties.Source, ID); - workflowProcess.addRelationship(wfpa); - wfpa.setRelatedItem(activity); - activity.addRelationship(activityAssign); - activity.addRelationship(wpp); - workflow = workflow.apply(); - - Utils.AssertItem(workflow); - - return new Workflow(workflow); - } -} - -/// -/// Base class for change items which has Affected item relationship -/// -abstract class ChangeItem : ItemContext, IChangeItemValidationRules -{ - protected delegate void TransitionHandler(IList item); - protected string AffectedItemRelshipName; - - protected ChangeItem(Item changeItem, String affectedItemRelshipName) - : base(null) - { - this.AffectedItemRelshipName = affectedItemRelshipName; - - Item transitionItem = changeItem.getPropertyItem("transition"); - if (transitionItem != null) - { - this.Transition = new LifeCycleTransition(transitionItem); - } - - this.Item = changeItem; - } - - #region Relationships - RelationshipItemList p_aff_list; - /// - /// List of Affected Item - /// - public virtual RelationshipItemList AffectedItems - { - get - { - if (p_aff_list == null) - { - p_aff_list = new RelationshipItemList(this.AffectedItemRelshipName, new AffectedItem(), this); - } - return p_aff_list; - } - } - #endregion - - #region Mapped Properties - public string Number - { - get { return this.Item.getProperty("item_number", ""); } - } - #endregion - - /// - /// Get LifeCycleTransition object - /// - public LifeCycleTransition Transition - { - get; - private set; - } - - /// - /// Validate item - /// - /// - public ResultStatus Validate() - { - try - { - if (this.Transition != null) - { - return this.ValidateTransition(); - } - else - { - return this.ValidateState(); - } - } - catch (ValidationException ex) - { - return ex.ResultStatus; - } - } - - /// - /// Validate state item(not on promote) - /// - /// - /// throw if error - protected virtual ResultStatus ValidateState() - { - //throwExceptionOnSecondError = false - ResultStatus status = new ResultStatus(false); - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - thisValidationRules.IsItemExist(status); - - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected virtual ResultStatus ValidateTransition() - { - //throwExceptionOnSecondError = true - ResultStatus status = new ResultStatus(true); - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - thisValidationRules.IsItemExist(status); - - return status; - } - - /// - /// Process item on post promote. - /// - /// - public virtual Item ProcessTransition() - { - return null; - } - - /// - /// Process each affected item by TransitionHandler - /// - /// Handler which will be executed for each affected item in collection - /// - protected Item ProcessTransitionHandler(TransitionHandler handler) - { - if (handler != null) - { - try - { - handler(this.AffectedItems); - } - catch (ItemErrorException ex) - { - return ex.Error; - } - } - - return Utils.GetOkResult(); - } - - #region Validation Rules - /// - /// Validate that item exists in DB - /// - /// - void IChangeItemValidationRules.IsItemExist(ResultStatus status) - { - Item item = Utils.Innovator.getItemById(this.Type, this.ID); - if (item == null || item.isError()) - { - status.AddError("ValidateChangeItem_IsItemExist"); - } - } - - /// - /// At least one Affected Item must be attached to the change item - /// - /// - void IChangeItemValidationRules.IsAffectedItemExists(ResultStatus status) - { - if (this.AffectedItems.Count == 0) - { - status.AddError("ValidateChangeItem_IsAffectedItemExists", this.Type, this.Number); - } - } - - void IChangeItemValidationRules.IsAffectedItemOtherThanNoneActionExists(ResultStatus status) - { - IsAffectedItemOtherThanNoneActionExists(status); - } - - protected virtual void IsAffectedItemOtherThanNoneActionExists(ResultStatus status) - { - if (this.AffectedItems.Count > 0 && !this.AffectedItems.Any(affectedItem => affectedItem.Action != AffectedItem.ActionType.None)) - { - status.AddError("ValidateChangeItem_IsAffectedItemWithActionOtherThanEmptyExists", this.Type, this.Number); - } - } - #endregion -} - -/// -/// Represent inheritor of ChangeItem -/// -class ECR : ChangeItem -{ - public ECR(Item item) - : base(item, "ECR Affected Item") - { - } - - /// - /// Validate state item(not on promote) - /// - /// - /// throw if error - protected override ResultStatus ValidateState() - { - ResultStatus status = base.ValidateState(); - if (!status.IsSuccess) return status; - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.State) - { - case "In Planning": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - - break; - case "In Work": - case "In Review Impl": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected override ResultStatus ValidateTransition() - { - ResultStatus status = base.ValidateTransition(); - if (!status.IsSuccess) return status; - - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.Transition.ToString()) - { - case "In Planning->In Work": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - break; - case "In Work->In Review Impl": - case "In Review Impl->Released": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Process each affected item by TransitionHandler - /// - /// Handler which will be executed for each affected item in collection - /// - public override Item ProcessTransition() - { - TransitionHandler handler = null; - - switch (this.Transition.ToString()) - { - case "In Planning->In Work": - IList sortedAffectedItemList = this.AffectedItems; - - #region Promote all not null affectedIdItem to In Change - { - IList affectedIdItemList = - (from affectedItem in sortedAffectedItemList - where affectedItem.AffectedIdItem != null - select affectedItem.AffectedIdItem) - .ToList(); - - affectedIdItemList.Promote("In Change"); - } - #endregion - - #region Version affectedIdItem with action Change and Interchangeable = true - { - IList affectedItemList = - (from affectedItem in sortedAffectedItemList - where - affectedItem.Action == AffectedItem.ActionType.Change && - affectedItem.Interchangeable - select affectedItem) - .ToList(); - - IList versionedAffectedIdItemList = - affectedItemList - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList() - .Version(); - - versionedAffectedIdItemList.Unlock(); - - affectedItemList = affectedItemList.Select((AffectedItem affectedItem, int index) => - { - affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; - return affectedItem; - } - ) - .ToList(); - - affectedItemList.Lock(); - affectedItemList.ApplyUpdate("new_item_id"); - affectedItemList.Unlock(); - } - #endregion - break; - case "In Work->In Review Impl": - handler = InWork_InReview; - break; - //+++ Added for IR-016676 - case "In Review Impl->In Work": - handler = InReview_InWork; - break; - //--- Added for IR-016676 - case "In Review Impl->Released": - handler = InReview_Released; - break; - } - - return ProcessTransitionHandler(handler); - } - - #region Dispatch Methods - //--------------------------------------------- - // Following methods are TransitionHandler implementations. Each change item has own transition handlers for - // process affected item depending on affected item properties. - //--------------------------------------------- - - //+++ Added for IR-016676 - private static void InReview_InWork(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" && - affectedItem.NewItemIdItem.State != "Preliminary" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("Preliminary"); - } - //--- Added for IR-016676 - - private static void InWork_InReview(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" && - affectedItem.NewItemIdItem.State != "In Review" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("In Review"); - } - - private static void InReview_Released(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("Released"); - - IList affectedIdItemList = - (from affectedItem in affectedItems - where - affectedItem.AffectedIdItem != null && - affectedItem.AffectedIdItem.State == "In Change" - select affectedItem.AffectedIdItem).ToList(); - - affectedIdItemList.Promote("Superseded"); - } - #endregion -} - -class ECN : ChangeItem -{ - public ECN(Item item) - : base(item, "ECN Affected Item") - { - } - - /// - /// Validate state item(not on promote) - /// - /// - /// throw if error - protected override ResultStatus ValidateState() - { - ResultStatus status = base.ValidateState(); - if (!status.IsSuccess) return status; - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.State) - { - case "In Planning": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - - break; - case "In Work": - case "In Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected override ResultStatus ValidateTransition() - { - ResultStatus status = base.ValidateTransition(); - if (!status.IsSuccess) return status; - - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.Transition.ToString()) - { - case "In Planning->In Work": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - break; - case "In Work->In Review": - case "In Review->Released": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Process each affected item by TransitionHandler - /// - /// Handler which will be executed for each affected item in collection - /// - public override Item ProcessTransition() - { - TransitionHandler handler = null; - - switch (this.Transition.ToString()) - { - case "In Planning->In Work": - IList sortedAffectedItemList = this.AffectedItems; - - #region Promote all not null affectedIdItem to In Change - { - IList affectedIdItemList = - (from affectedItem in sortedAffectedItemList - where affectedItem.AffectedIdItem != null - select affectedItem.AffectedIdItem) - .ToList(); - - affectedIdItemList.Promote("In Change"); - } - #endregion - - #region Version affectedIdItem with action Change and Interchangeable = true - { - IList affectedItemList = - (from affectedItem in sortedAffectedItemList - where - affectedItem.Action == AffectedItem.ActionType.Change && - affectedItem.Interchangeable - select affectedItem) - .ToList(); - - IList versionedAffectedIdItemList = - affectedItemList - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList() - .Version(); - - versionedAffectedIdItemList.Unlock(); - - affectedItemList = affectedItemList.Select((AffectedItem affectedItem, int index) => - { - affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; - return affectedItem; - } - ) - .ToList(); - - affectedItemList.Lock(); - affectedItemList.ApplyUpdate("new_item_id"); - affectedItemList.Unlock(); - } - #endregion - break; - case "In Work->In Review": - handler = InWork_InReview; - break; - //+++ Added for IR-016676 - case "In Review->In Work": - handler = InReview_InWork; - break; - //--- Added for IR-016676 - case "In Review->Released": - handler = InReview_Released; - break; - } - - return ProcessTransitionHandler(handler); - } - - #region Dispatch Methods - //--------------------------------------------- - // Following methods are TransitionHandler implementations. Each change item has own transition handlers for - // process affected item depending on affected item properties. - //--------------------------------------------- - - //+++ Added for IR-016676 - private static void InReview_InWork(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" && - affectedItem.NewItemIdItem.State != "Preliminary" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("Preliminary"); - } - //--- Added for IR-016676 - - private static void InWork_InReview(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" && - affectedItem.NewItemIdItem.State != "In Review" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("In Review"); - } - - private static void InReview_Released(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("Released"); - - IList affectedIdItemList = - (from affectedItem in affectedItems - where - affectedItem.AffectedIdItem != null && - affectedItem.AffectedIdItem.State == "In Change" - select affectedItem.AffectedIdItem).ToList(); - - affectedIdItemList.Promote("Superseded"); - } - #endregion -} - -/// -/// Represent inheritor of ChangeItem -/// -class SimpleECO : ChangeItem -{ - public SimpleECO(Item item) - : base(item, "Simple ECO Affected Item") - { - } - - /// - /// Validate state item(not on promote) - /// - /// - /// throw if error - protected override ResultStatus ValidateState() - { - ResultStatus status = base.ValidateState(); - if (!status.IsSuccess) return status; - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.State) - { - case "New": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - break; - case "In Work": - case "In Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected override ResultStatus ValidateTransition() - { - ResultStatus status = base.ValidateTransition(); - if (!status.IsSuccess) return status; - - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.Transition.ToString()) - { - case "New->In Work": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - break; - case "In Work->In Review": - case "In Review->Released": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Process each affected item by TransitionHandler - /// - /// Handler which will be executed for each affected item in collection - /// - public override Item ProcessTransition() - { - TransitionHandler handler = null; - - switch (this.Transition.ToString()) - { - case "New->In Work": - IList sortedAffectedItemList = this.AffectedItems; - - #region Promote all not null affectedIdItem to In Change - { - IList affectedIdItemList = - (from affectedItem in sortedAffectedItemList - where affectedItem.AffectedIdItem != null - select affectedItem.AffectedIdItem) - .ToList(); - - affectedIdItemList.Promote("In Change"); - } - #endregion - - #region Version affectedIdItem with action Change and Interchangeable = true - { - IList affectedItemList = - (from affectedItem in sortedAffectedItemList - where - affectedItem.Action == AffectedItem.ActionType.Change && - affectedItem.Interchangeable - select affectedItem) - .ToList(); - - IList versionedAffectedIdItemList = - affectedItemList - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList() - .Version(); - - versionedAffectedIdItemList.Unlock(); - - affectedItemList = affectedItemList.Select((AffectedItem affectedItem, int index) => - { - affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; - return affectedItem; - } - ) - .ToList(); - - affectedItemList.Lock(); - affectedItemList.ApplyUpdate("new_item_id"); - affectedItemList.Unlock(); - } - #endregion - break; - case "In Work->In Review": - handler = InWork_InReview; - break; - //+++ Added for IR-018084 - case "In Review->In Work": - handler = InReview_InWork; - break; - //--- Added for IR-018084 - case "In Review->Released": - handler = InReview_Released; - break; - } - - return ProcessTransitionHandler(handler); - } - - #region Dispatch Methods - //--------------------------------------------- - // Following methods are TransitionHandler implementations. Each change item has own transition handlers for - // process affected item depending on affected item properties. - //--------------------------------------------- - - //+++ Added for IR-018084 - private static void InReview_InWork(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" && - affectedItem.NewItemIdItem.State != "Preliminary" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("Preliminary"); - } - //--- Added for IR-018084 - - private static void InWork_InReview(IList affectedItems) - { - IList newItemIdList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" && - affectedItem.NewItemIdItem.State != "In Review" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdList.Promote("In Review"); - } - - private static void InReview_Released(IList affectedItems) - { - IList newItemIdItemList = - (from affectedItem in affectedItems - where - affectedItem.NewItemIdItem != null && - affectedItem.NewItemIdItem.State != "Released" - select affectedItem.NewItemIdItem).ToList(); - - newItemIdItemList.Promote("Released"); - - IList affectedIdItemList = - (from affectedItem in affectedItems - where - affectedItem.AffectedIdItem != null && - affectedItem.AffectedIdItem.State == "In Change" - select affectedItem.AffectedIdItem).ToList(); - - affectedIdItemList.Promote("Superseded"); - } - - #endregion -} - -/// -/// Represent inheritor of ChangeItem -/// -class ExpressECO : ChangeItem, IExpressEcoItemValidationRules -{ - public ExpressECO(Item item) - : base(item, "Express ECO Affected Item") - { - } - - #region Relationships - RelationshipItemList p_aff_list; - /// - /// List of ExtendedAffected Items - /// - public override RelationshipItemList AffectedItems - { - get - { - if (p_aff_list == null) - { - p_aff_list = new RelationshipItemList(this.AffectedItemRelshipName, new ExtendedAffectedItem(), this); - } - return p_aff_list; - } - } - - RelationshipItemList p_grouping_list; - /// - /// List of ExtendedAffected Items - /// - public RelationshipItemList GroupingRelationships - { - get - { - if (p_grouping_list == null) - { - p_grouping_list = new RelationshipItemList("Express ECO EDR Grouping", new Relationship(), this); - } - return p_grouping_list; - } - } - #endregion - - /// - /// Validate state item(not on promote) - /// - /// - /// throw if error - protected override ResultStatus ValidateState() - { - ResultStatus status = base.ValidateState(); - if (!status.IsSuccess) return status; - var thisValidationRules = (IExpressEcoItemValidationRules)this; - - switch (this.State) - { - case "In Planning": - case "Plan Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) - { - IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; - affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); - affItemRules.Is_AffectedId_and_NewItemId_NotLocked(status); - affItemRules.Is_AffectedId_InReleasedState(status); - affItemRules.Is_NewItemId_InPreliminaryState(status); - affItemRules.Is_AffectedId_Requiered(status); - affItemRules.Is_NewItemId_Required(status); - affItemRules.Is_NewItemId_RequiresNull(status); - affItemRules.Is_AffectedId_RequiresNull(status); - affItemRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - - affItemRules.Is_AffectedItem_Action_Review(status); - affItemRules.Is_NewItemId_InReleasedState(status); - affItemRules.Is_AffectedId_InSupersededOrReleasedState(status); - affItemRules.Is_AffectedRelationship_Allowed(status); - - foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) - { - IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; - affRelshRules.Is_AffectedRelationship_RequiresAttachAction(status); - affRelshRules.Is_AffectedRelId_Required(status); - affRelshRules.Is_AffectedRelId_Required_AffectedId_SourceID(status); - affRelshRules.Is_AffectedRelationshipProperty_Required(status); - } - } - thisValidationRules.IsEveryEdrGroupHaveATeam(status); - break; - case "In Work": - case "In Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) - { - IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; - affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); - affItemRules.VerifyAffectedItemProperties(status); - - foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) - { - IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; - affRelshRules.Verify(status); - } - } - thisValidationRules.IsSpawnedEdrsInPendingClosureState(status); - break; - } - - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected override ResultStatus ValidateTransition() - { - ResultStatus status = base.ValidateTransition(); - if (!status.IsSuccess) return status; - var thisValidationRules = (IExpressEcoItemValidationRules)this; - - switch (this.Transition.ToString()) - { - case "In Planning->In Work": - case "Plan Review->In Work": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) - { - IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; - affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); - affItemRules.Is_AffectedId_and_NewItemId_NotLocked(status); - affItemRules.Is_AffectedId_InReleasedState(status); - affItemRules.Is_NewItemId_InPreliminaryState(status); - affItemRules.Is_AffectedId_Requiered(status); - affItemRules.Is_NewItemId_Required(status); - affItemRules.Is_NewItemId_RequiresNull(status); - affItemRules.Is_AffectedId_RequiresNull(status); - affItemRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - - affItemRules.Is_AffectedItem_Action_Review(status); - affItemRules.Is_NewItemId_InReleasedState(status); - affItemRules.Is_AffectedId_InSupersededOrReleasedState(status); - affItemRules.Is_AffectedRelationship_Allowed(status); - - foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) - { - IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; - affRelshRules.Is_AffectedRelationship_RequiresAttachAction(status); - affRelshRules.Is_AffectedRelId_Required(status); - affRelshRules.Is_AffectedRelId_Required_AffectedId_SourceID(status); - affRelshRules.Is_AffectedRelationshipProperty_Required(status); - } - } - thisValidationRules.IsEveryEdrGroupHaveATeam(status); - break; - case "In Work->In Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - case "In Work->Released": - case "In Review->Released": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) - { - IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; - affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); - affItemRules.VerifyAffectedItemProperties(status); - - foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) - { - IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; - affRelshRules.Verify(status); - } - } - thisValidationRules.IsSpawnedEdrsInPendingClosureState(status); - - break; - } - - return status; - } - - #region Validation Rules - void IExpressEcoItemValidationRules.IsSpawnedEdrsInPendingClosureState(ResultStatus status) - { - foreach (IExpressEdrItemValidationRules edr in GetSpawnedEdrs()) - { - edr.IsInPendingClosureState(status); - } - } - - protected override void IsAffectedItemOtherThanNoneActionExists(ResultStatus status) - { - if (this.AffectedItems.Count > 0 && !this.AffectedItems.Any(affectedItem => ((ExtendedAffectedItem)affectedItem).ItemAction != ExtendedAffectedItem.ItemActionType.None)) - { - status.AddError("ValidateChangeItem_IsAffectedItemWithActionOtherThanNoneExists", this.Type, this.Number); - } - } - - void IExpressEcoItemValidationRules.IsEveryEdrGroupHaveATeam(ResultStatus status) - { - string[] allGroups = this.AffectedItems - .Cast() - .Where(item => !string.IsNullOrEmpty(item.Grouping)) - .Select(item => item.Grouping) - .Distinct() - .ToArray(); - string[] groupsWithTeam = this.GroupingRelationships - .Where(item => !string.IsNullOrEmpty(item.Item.getProperty("grouping_team")) && !string.IsNullOrEmpty(item.Item.getProperty("grouping"))) - .Select(item => item.Item.getProperty("grouping")) - .ToArray(); - string[] groupsWithoutTeam = allGroups - .Where(g => groupsWithTeam.FirstOrDefault(gt => string.Equals(g, gt, StringComparison.OrdinalIgnoreCase)) == null) - .ToArray(); - if (groupsWithoutTeam.Length > 0) - { - status.AddError("ValidateExpressEco_CheckGroupingTeams", this.Type, this.Number, string.Join(", ", groupsWithoutTeam)); - } - } - #endregion - - /// - /// Process each affected item by TransitionHandler - /// - /// Handler which will be executed for each affected item in collection - /// - public override Item ProcessTransition() - { - TransitionHandler handler = null; - - switch (this.Transition.ToString()) - { - case "In Planning->In Work": - case "Plan Review->In Work": - handler = To_InWork; - break; - case "In Review->In Work": - handler = InReview_InWork; - break; - case "In Work->In Review": - handler = InWork_InReview; - break; - case "In Work->Released": - case "In Review->Released": - handler = Changes_Released; - break; - } - - return ProcessTransitionHandler(handler); - } - - #region Dispatch Methods - //--------------------------------------------- - // Following methods are TransitionHandler implementations. Each change item has own transition handlers for - // process affected item depending on affected item properties. - //--------------------------------------------- - - private void To_InWork(IList affectedItems) - { - IList extAffectedItems = affectedItems.Cast().ToList(); - - #region Release - { - //Select ItemAction == Release - IList releaseExtAffectedItems = extAffectedItems - .Where(extAffectedItem => (extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Release)) - .ToList(); - - releaseExtAffectedItems.ProcessAffectedRelationships(); - releaseExtAffectedItems.ProcessAffectedItemProperties(); - } - #endregion - - #region Revise - { - //Select ItemAction == Revise - IList reviseExtAffectedItems = extAffectedItems - .Where(extAffectedItem => (extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Revise)) - .ToList(); - - //Select AffectedIdItem - IList affectedIdItemList = reviseExtAffectedItems - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList(); - IList versionedItems = affectedIdItemList.Version(); - - versionedItems.Unlock(); - - //Set NewItemIdItem by ids of versioned AffectedIdItems - reviseExtAffectedItems = reviseExtAffectedItems - .Zip(versionedItems, (affectedItem, versionedItem) => - { - affectedItem.NewItemIdItem = versionedItem; - return affectedItem; - }).ToList(); - - //Apply chanes - reviseExtAffectedItems.Lock(); - reviseExtAffectedItems.ApplyUpdate("new_item_id"); - reviseExtAffectedItems.Unlock(); - - affectedIdItemList.Promote("In Change"); - - reviseExtAffectedItems.ProcessAffectedRelationships(); - reviseExtAffectedItems.ProcessAffectedItemProperties(); - } - #endregion - - #region Renumber - { - //Select ItemAction == Renumber - IList renumberExtAffectedItems = extAffectedItems - .Where(extAffectedItem => (extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber)) - .ToList(); - - //Select AffectedIdItem - IList affectedIdItems = renumberExtAffectedItems - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList(); - IList copiedItems = affectedIdItems.Copy(); - - copiedItems.Unlock(); - - //Set NewItemIdItem by ids of copied AffectedIdItems - renumberExtAffectedItems = renumberExtAffectedItems.Zip(copiedItems, (affectedItem, copiedItem) => - { - affectedItem.NewItemIdItem = copiedItem; - return affectedItem; - }).ToList(); - - //Apply changes - renumberExtAffectedItems.Lock(); - renumberExtAffectedItems.ApplyUpdate("new_item_id"); - renumberExtAffectedItems.Unlock(); - - affectedIdItems.Promote("In Change"); - - renumberExtAffectedItems.ProcessAffectedRelationships(); - renumberExtAffectedItems.ProcessAffectedItemProperties(); - } - #endregion - - #region Spawn ExpressEDRs - extAffectedItems - .Where(item => !String.IsNullOrEmpty(item.Grouping) && ExpressEDR.IsEdrType(item.NewAndAffectedItemType)) - .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) - .GroupBy(item => item.Grouping, StringComparer.InvariantCulture).ToList() - .ForEach(items => ExpressEDR.Spawn(this, items.Key, items.ToList())); - #endregion - } - - private static void InWork_InReview(IList affectedItems) - { - var extAffectedItems = affectedItems - .Cast() - .Where(IsControllingByEco) - .ToList(); - InWork_InReview_Common(extAffectedItems); - } - - internal static void InWork_InReview_Common(IList extAffectedItems) - { - //Select NewItemIdItem where AffectedItem.ItemAction == Release | Revise | Renumber - IList newItemList = extAffectedItems - .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) - .Select(affectedItem => affectedItem.NewItemIdItem) - .ToList(); - - newItemList.Promote("In Review"); - } - - private static void InReview_InWork(IList affectedItems) - { - var extAffectedItems = affectedItems - .Cast() - .Where(IsControllingByEco) - .ToList(); - InReview_InWork_Common(extAffectedItems); - } - - internal static void InReview_InWork_Common(IList extAffectedItems) - { - //Select NewItemIdItem where AffectedItem.ItemAction == Release | Revise | Renumber - IList newItemList = extAffectedItems - .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) - .Select(affectedItem => affectedItem.NewItemIdItem) - .ToList(); - - newItemList.Promote("Preliminary"); - } - - private void Changes_Released(IList affectedItems) - { - var extAffectedItems = affectedItems.Cast() - .Where(IsControllingByEco) - .ToList(); - - Changes_Released_Common(extAffectedItems); - - // Vote spawned Edrs for ECO Approve - foreach (var expressEdr in GetSpawnedEdrs()) - { - expressEdr.GetWorkflow().Vote("ECO Approve"); - } - } - - internal static void Changes_Released_Common(IList extAffectedItems) - { - //Select NewItemIdItem where AffectedItem.ItemAction == Release | Revise | Renumber - IList newItemList = extAffectedItems - .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) - .Select(affectedItem => affectedItem.NewItemIdItem) - .ToList(); - newItemList.Promote("Released"); - - //Select AffectedIdItem where AffectedItem.ItemAction == Supersede | Revise | Renumber - IList supersedeItemList = extAffectedItems - .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber - || item.ItemAction == ExtendedAffectedItem.ItemActionType.Supersede) - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList(); - supersedeItemList.Promote("Superseded"); - - //Select AffectedIdItem where AffectedItem.ItemAction == Obsolete - IList obsoleteItemList = extAffectedItems - .Where(extAffectedItem => extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Obsolete) - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList(); - obsoleteItemList.Promote("Obsolete"); - } - #endregion - - private IEnumerable GetSpawnedEdrs() - { - var qry = Utils.Innovator.newItem("Express ECO EDR", "get"); - qry.setProperty("source_id", ID); - qry.setAttribute("select", "related_id(*)"); - var result = qry.apply(); - if (result.isError()) - { - return Enumerable.Empty(); - } - - return ItemHelper.Enumerate(result).Select(item => new ExpressEDR(item.getPropertyItem("related_id"))); - } - - private static bool IsControllingByEco(ExtendedAffectedItem item) - { - return String.IsNullOrEmpty(item.Grouping); - } -} - - interface IExpressEdrItemValidationRules - { - void HasEcoVotedFromPendingClosureToDraftChanges(ResultStatus status); - void CheckPermissionForRestartEdr(ResultStatus status); - void IsInPendingClosureState(ResultStatus status); - } - -/// -/// Represent inheritor of ChangeItem -/// -class ExpressEDR : ChangeItem, IExpressEdrItemValidationRules -{ - #region Relationships - RelationshipItemList p_aff_list; - /// - /// List of ExtendedAffected Items - /// - public override RelationshipItemList AffectedItems - { - get - { - if (p_aff_list == null) - { - p_aff_list = new RelationshipItemList(this.AffectedItemRelshipName, new ExtendedAffectedItem(), this); - } - return p_aff_list; - } - } - #endregion - - private const string TitlePropertyName = "title"; - public string Title - { - get { return Item.getProperty(TitlePropertyName, String.Empty); } - } - - public ExpressECO RelatedEco - { - get - { - - var ecoItem = Utils.Innovator.newItem("Express ECO EDR", "get"); - ecoItem.setAttribute("select", "source_id(*)"); - ecoItem.setProperty("related_id", Item.getAttribute("id")); - ecoItem = ecoItem.apply(); - if (ecoItem.isError()) - { - throw new InvalidOperationException("Express ECO EDR item is not found. Details: " + ecoItem); - } - ecoItem = ecoItem.getPropertyItem("source_id"); - if (ecoItem == null) - { - throw new InvalidOperationException("Express ECO EDR source id is null"); - } - return new ExpressECO(ecoItem); - } - } - - private const string ChangeCoordinatorPropertyName = "owned_by_id"; - public string ChangeCoordinator - { - get { return this.Item.getProperty(ChangeCoordinatorPropertyName, ""); } - } - - public ExpressEDR(Item item) - : base(item, "Express EDR Affected Item") - { - } - - /// - /// Validate state item (not on promote) - /// - /// - protected override ResultStatus ValidateState() - { - ResultStatus status = base.ValidateState(); - if (!status.IsSuccess) - { - return status; - } - var thisValidationRules = (IChangeItemValidationRules)this; - - switch (State) - { - case "In Work": - case "In Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected override ResultStatus ValidateTransition() - { - ResultStatus status = base.ValidateTransition(); - if (!status.IsSuccess) - { - return status; - } - var changeItemValidationRules = (IChangeItemValidationRules)this; - - switch (Transition.ToString()) - { - case "In Work->In Review": - case "In Work->Pending Closure": - case "In Review->Pending Closure": - case "Pending Closure->Released": - changeItemValidationRules.IsAffectedItemExists(status); - changeItemValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - case "Pending Closure->In Work": - var edrItemValidationRules = (IExpressEdrItemValidationRules)this; - edrItemValidationRules.CheckPermissionForRestartEdr(status); - edrItemValidationRules.HasEcoVotedFromPendingClosureToDraftChanges(status); - break; - } - - return status; - } - - /// - /// Process each affected item by TransitionHandler - /// - /// - public override Item ProcessTransition() - { - TransitionHandler handler = null; - switch (Transition.ToString()) - { - case "In Work->In Review": - handler = InWork_InReview; - break; - case "Pending Closure->In Work": - case "In Review->In Work": - handler = InReview_InWork; - break; - case "Pending Closure->Released": - handler = Pending_Released; - break; - } - - return ProcessTransitionHandler(handler); - } - - #region Dispatch Methods - //--------------------------------------------- - // Following methods are TransitionHandler implementations. Each change item has own transition handlers for - // process affected item depending on affected item properties. - //--------------------------------------------- - - private static void InWork_InReview(IList affectedItems) - { - ExpressECO.InWork_InReview_Common(affectedItems.Cast().ToList()); - } - - private static void InReview_InWork(IList affectedItems) - { - Aras.Server.Security.Identity uglyHackForCMIdentityUsedInDocumentLCM = Aras.Server.Security.Identity.GetByName("CM"); - bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(uglyHackForCMIdentityUsedInDocumentLCM); - try - { - ExpressECO.InReview_InWork_Common(affectedItems.Cast().ToList()); - } - finally - { - if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(uglyHackForCMIdentityUsedInDocumentLCM); - } - } - - private static void Pending_Released(IList affectedItems) - { - ExpressECO.Changes_Released_Common(affectedItems.Cast().ToList()); - } - #endregion - - #region Spawn Express EDR from Express ECO and Affected Docs - public static ExpressEDR Spawn(ExpressECO parentEco, string @group, IList affectedDocs) - { - var edr = CreateExpressEdr(parentEco, @group); - UpdateAffectedItems(affectedDocs); - AddAffectedItems(edr, affectedDocs); - - edr.ApplyAdd(); - - var ecoEdrItem = Utils.Innovator.newItem("Express ECO EDR", "add"); - ecoEdrItem.setProperty("source_id", parentEco.ID); - ecoEdrItem.setProperty("related_id", edr.ID); - ecoEdrItem = ecoEdrItem.apply(); - if (ecoEdrItem.isError()) - { - throw new InvalidOperationException("Failed to add Express ECO EDR. Details:" + ecoEdrItem); - } - return edr; - } - - private static ExpressEDR CreateExpressEdr(ExpressECO eco, string @group) - { - var edrItem = Utils.Innovator.newItem("Express EDR"); - edrItem.setNewID(); - edrItem.setProperty("title", GenerateTitle(eco, @group)); - edrItem.setProperty("change_reason", eco.Item.getProperty("change_reason")); - edrItem.setProperty("description", eco.Item.getProperty("description")); - edrItem.setProperty("owned_by_id", eco.Item.getProperty("owned_by_id")); - Relationship groupingItem = eco.GroupingRelationships.FirstOrDefault(item => string.Equals(item.Item.getProperty("grouping"), @group, StringComparison.OrdinalIgnoreCase)); - if (groupingItem == null) - { - throw new InvalidOperationException("New EDR for group=" + @group + ", but GroupingRelationships are not found"); - } - string teamId = groupingItem.Item.getProperty("grouping_team"); - if (string.IsNullOrEmpty(teamId)) - { - throw new InvalidOperationException("New EDR for group=" + @group + ", but grouping_team is empty in GroupingRelationships"); - } - edrItem.setProperty("team_id", teamId); - return new ExpressEDR(edrItem); - } - - private static string GenerateTitle(ExpressECO eco, string @group) - { - return String.Format("EDR-{0} for {1}", @group, eco.Number); - } - - private static void UpdateAffectedItems(IList affectedDocs) - { - foreach (var item in affectedDocs) - { - string action; - string state = (item.NewItemIdItem ?? item.AffectedIdItem).State; - switch (state) - { - case "Preliminary": - action = AffectedItem.ActionType.Add.ToString(); - break; - default: - action = AffectedItem.ActionType.Change.ToString(); - break; - } - item.Item.setProperty("action", action); - } - - affectedDocs.Lock(); - affectedDocs.ApplyUpdate("action"); - affectedDocs.Unlock(); - } - - private static void AddAffectedItems(ExpressEDR edr, IEnumerable affectedDocs) - { - foreach (var document in affectedDocs) - { - var edrAffectedItem = Utils.Innovator.newItem(edr.AffectedItemRelshipName, "add"); - edrAffectedItem.setRelatedItem(document.Item); - edr.Item.addRelationship(edrAffectedItem); - } - } - #endregion - - public static bool IsEdrType(string type) - { - return "Document".Equals(type, StringComparison.InvariantCulture) || "CAD".Equals(type, StringComparison.InvariantCulture); - } - - #region Validation Rules - void IExpressEdrItemValidationRules.HasEcoVotedFromPendingClosureToDraftChanges(ResultStatus status) - { - ICollection history = RelatedEco.GetWorkflow().History; - int historyLength = history.Count; - if (historyLength >= 2) - { - var activeActivity = history.ElementAt(historyLength - 1); - var previousActivity = history.ElementAt(historyLength - 2); - if (previousActivity.Name == "Change Review" && activeActivity.Name == "Draft Changes") - { - return; - } - } - status.AddError("ValidateExpressEdr_HasEcoVotedFromPendingClosureToDraftChanges"); - } - - void IExpressEdrItemValidationRules.CheckPermissionForRestartEdr(ResultStatus status) - { - if (!Utils.CCO.Permissions.IdentityListHasId(Aras.Server.Security.Permissions.Current.IdentitiesList, ChangeCoordinator)) - { - status.AddError("ValidateExpressEdr_NotEnoughPermissions"); - } - } - - void IExpressEdrItemValidationRules.IsInPendingClosureState(ResultStatus status) - { - if (!"Pending Closure".Equals(State, StringComparison.InvariantCulture)) - { - status.AddError("ValidateExpressEdr_IsInPendingClosureState", Number, State); - } - } - #endregion -} - -class Activity : ItemWrapper -{ - public string Name - { - get { return Item.getProperty("name"); } - } - - public string State - { - get { return Item.getProperty("state"); } - } - - public DateTime ActivateDateTime - { - get { return XmlConvert.ToDateTime(Item.getProperty("active_date"), "s"); } - } - - public ICollection Assignment - { - get - { - var assignments = - ItemHelper.Enumerate(Item.getRelationships(ItemTypeNames.ActivityAssignment)).ToList(); - return new System.Collections.ObjectModel.ReadOnlyCollection(assignments); - } - } - - public ICollection Paths - { - get - { - var paths = ItemHelper.Enumerate(Item.getRelationships(ItemTypeNames.WorkflowProcessPath)).ToList(); - return new System.Collections.ObjectModel.ReadOnlyCollection(paths); - } - } - - public Activity(Item activityItem) - : base(activityItem) - { - } - - public override string ToString() - { - return Name; - } -} - -class Workflow : ItemWrapper -{ - public Activity ActiveActivity - { - get { return History.LastOrDefault(); } - } - - private readonly Lazy> _history; - public ICollection History - { - get { return _history.Value; } - } - - public Workflow(Item workflowItem) - : base(workflowItem) - { - _history = new Lazy>(ExtractWorkflowHistory); - } - - public Item Vote(string votePath) - { - var arasPlmIdentity = Aras.Server.Security.Identity.GetByName("Aras PLM"); - var activity = ActiveActivity; - var activityAssignment = activity.Assignment.FirstOrDefault(a => a.getRelatedItemID() == arasPlmIdentity.Id); - var path = activity.Paths.FirstOrDefault(p => p.getProperty("name") == votePath); - if (activityAssignment == null || path == null) - { - throw new InvalidOperationException("No any assignments found for Aras PLM identity. This assignment is supposed to be completed to perform operation."); - } - return VoteActivity(activity.Id, activityAssignment.getID(), path.getID()); - } - - private ICollection ExtractWorkflowHistory() - { - const string selectActivatedActivites = - "./related_id/Item[@type=\"Workflow Process\"]/Relationships/Item/related_id/Item[@type=\"Activity\"][active_date]"; - var history = ItemHelper.Enumerate(Item.getItemsByXPath(selectActivatedActivites)) - .Select(item => new Activity(item)) - .OrderBy(activity => activity.ActivateDateTime); - return new System.Collections.ObjectModel.ReadOnlyCollection(history.ToList()); - } - - private Item VoteActivity(string activityId, string activityAssignment, string pathId) - { - var voteXml = new StringBuilder(""); - voteXml.Append(""); - voteXml.Append(" {0}"); - voteXml.Append(" {1}"); - voteXml.Append(" "); - voteXml.Append(" "); - voteXml.Append(" "); - voteXml.Append(" 0"); - voteXml.Append(" "); - voteXml.Append(" "); - voteXml.Append(" "); - voteXml.Append(" "); - voteXml.Append(" 1"); - voteXml.Append(""); - - var evaluateActivityQuery = Utils.Innovator.newItem(); - evaluateActivityQuery.loadAML(String.Format(voteXml.ToString(), System.Security.SecurityElement.Escape(activityId), - System.Security.SecurityElement.Escape(activityAssignment), System.Security.SecurityElement.Escape(pathId))); - return evaluateActivityQuery.apply(); - } -} - -abstract class ItemWrapper -{ - protected Item Item { get; private set; } - - public string Id - { - get { return Item.getID(); } - } - - protected ItemWrapper(Item item) - { - Item = item; - } -} - -static class ItemHelper -{ - public static IEnumerable Enumerate(Item itemCollection) - { - if (itemCollection == null) - { - throw new ArgumentNullException("itemCollection"); - } - var count = itemCollection.getItemCount(); - for (var i = 0; i < count; i++) - { - yield return itemCollection.getItemByIndex(i); - } - } -} - -class ItemTypeNames -{ - public const string Activity = "Activity"; - public const string ActivityAssignment = "Activity Assignment"; - public const string ExpressEdr = "Express EDR"; - public const string Workflow = "Workflow"; - public const string WorkflowProcess = "Workflow Process"; - public const string WorkflowProcessActivity = "Workflow Process Activity"; - public const string WorkflowProcessPath = "Workflow Process Path"; -} - -class ItemActions -{ - public const string Add = "add"; - public const string Edit = "edit"; - public const string Update = "update"; - public const string Get = "get"; - public const string Delete = "delete"; -} - -class RelationshipProperties -{ - public const string Source = "source_id"; - public const string Related = "related_id"; -} - -/// -/// Represent inheritor of ChangeItem -/// -class ExpressDCO : ChangeItem -{ - public ExpressDCO(Item item) - : base(item, "Express DCO Affected Item") - { - } - - - /// - /// Validate state item(not on promote) - /// - /// - protected override ResultStatus ValidateState() - { - ResultStatus status = base.ValidateState(); - if (!status.IsSuccess) return status; - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.State) - { - case "New": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - break; - case "In Work": - case "In Review": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - return status; - } - - /// - /// Validate item on promote - /// - /// - /// throw if error - protected override ResultStatus ValidateTransition() - { - ResultStatus status = base.ValidateTransition(); - if (!status.IsSuccess) return status; - IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; - - switch (this.Transition.ToString()) - { - case "New->In Work": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); - affectedItem.Is_AffectedId_InReleasedState(status); - affectedItem.Is_NewItemId_InPreliminaryState(status); - affectedItem.Is_AffectedId_Requiered(status); - affectedItem.Is_NewItemId_Required(status); - affectedItem.Is_NewItemId_RequiresNull(status); - affectedItem.Is_AffectedId_RequiresNull(status); - affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); - } - break; - case "In Work->In Review": - case "In Work->Released": - case "In Review->Released": - thisValidationRules.IsAffectedItemExists(status); - thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); - - foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) - { - affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); - } - break; - } - - return status; - } - - /// - /// Process each affected item by TransitionHandler - /// - /// Handler which will be executed for each affected item in collection - /// - public override Item ProcessTransition() - { - TransitionHandler handler = null; - switch (this.Transition.ToString()) - { - case "New->In Work": - handler = New_InWork; - break; - case "In Work->In Review": - handler = InWork_InReview; - break; - case "In Review->In Work": - handler = InReview_InWork; - break; - case "In Work->Released": - case "In Review->Released": - handler = Changes_Released; - break; - } - - return ProcessTransitionHandler(handler); - } - - #region Dispatch Methods - //--------------------------------------------- - // Following methods are TransitionHandler implementations. Each change item has own transition handlers for - // process affected item depending on affected item properties. - //--------------------------------------------- - - - private static void New_InWork(IList affectedItems) - { - #region Change - { - //Select Action == Change && Interchangeable == true - IList changeInterchangeableAffectedItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Change - && - affectedItem.Interchangeable == true - select affectedItem) - .ToList(); - - //Version AffectedIdItem - IList versionedAffectedIdItemList = - changeInterchangeableAffectedItemList - .Select(affectedItem => affectedItem.AffectedIdItem) - .ToList() - .Version(); - - versionedAffectedIdItemList.Unlock(); - - //Set NewItemIdItem by new id of versioned AffectedIdItem - changeInterchangeableAffectedItemList = changeInterchangeableAffectedItemList - .Select( - (AffectedItem affectedItem, int index) => - { - affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; - return affectedItem; - } - ) - .ToList(); - - //Apply changes - changeInterchangeableAffectedItemList.Lock(); - changeInterchangeableAffectedItemList.ApplyUpdate("new_item_id"); - changeInterchangeableAffectedItemList.Unlock(); - - //Select Action == Change - IList changeAffectedIdItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Change - select affectedItem.AffectedIdItem) - .ToList(); - - //Promote AffectedIdItem - changeAffectedIdItemList.Promote("In Change"); - } - #endregion - - #region Delete - { - //Select Delete == Change - IEnumerable deleteAffectedIdItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Delete - select affectedItem.AffectedIdItem); - - //Select AffectedIdItem and promote them - deleteAffectedIdItemList - .ToList() - .Promote("In Change"); - } - #endregion - } - - private static void InWork_InReview(IList affectedItems) - { - //Select NewItemIdItem where affectedItem Action == Add | Change - IList newItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Add || - affectedItem.Action == AffectedItem.ActionType.Change - select affectedItem.NewItemIdItem) - .ToList(); - - newItemList.Promote("In Review"); - } - - private static void InReview_InWork(IList affectedItems) - { - //Select NewItemIdItem where affectedItem Action == Add | Change - IList newItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Add || - affectedItem.Action == AffectedItem.ActionType.Change - select affectedItem.NewItemIdItem) - .ToList(); - - newItemList.Promote("Preliminary"); - } - - private static void Changes_Released(IList affectedItems) - { - //Select NewItemIdItem where affectedItem Action == Add | Change - IList newItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Add || - affectedItem.Action == AffectedItem.ActionType.Change - select affectedItem.NewItemIdItem) - .ToList(); - - newItemList.Promote("Released"); - - //Select AffectedIdItem where affectedItem Action == Delete | Change - IList affectedItemList = - (from affectedItem in affectedItems - where - affectedItem.Action == AffectedItem.ActionType.Delete || - affectedItem.Action == AffectedItem.ActionType.Change - select affectedItem.AffectedIdItem) - .ToList(); - - affectedItemList.Promote("Superseded"); - } - #endregion -} - - -class ChangeControlledRelationship : Relationship -{ - public ChangeControlledRelationship() - : base() - { - } - - public ChangeControlledRelationship(Item item) - : base(item, null) - { - // replace Change Controlled Relationship poly type to particular type - // TODO: use itemtype property to detect defned type if Change Controlled Relationship will contain other than Part BOM relationships - item.setAttribute("type", "Part BOM"); - } - - public ChangeControlledRelationship(Item item, ItemContext sourceItem) - : base(item, sourceItem) - { - // replace Change Controlled Relationship poly type to particular type - // TODO: use itemtype property to detect defned type if Change Controlled Relationship will contain other than Part BOM relationships - item.setAttribute("type", "Part BOM"); - } - - #region Mapped Properties - public string SourceID - { - get { return this.Item.getProperty("source_id"); } - set { this.Item.setProperty("source_id", value); } - } - - public string SortOrder - { - get { return this.Item.getProperty("sort_order"); } - } - - public string ItemTypeID - { - get { return this.Item.getProperty("itemtype"); } - } - #endregion - - public override void Delete() - { - Item tmpItem = Utils.Innovator.newItem(); - tmpItem.setAttribute("typeId", this.ItemTypeID); - tmpItem.setID(this.ID); - tmpItem.setAction("delete"); - - Item res = tmpItem.apply(); - - Utils.AssertItem(res); - - FireDeleted(); - } -} - -/// -/// Wrap Change Controlled Item type instance -/// -class ChangeControlledItem : ItemContext -{ - public ChangeControlledItem(Item item) - : base(item) - { - p_relationships = new RelationshipItemList("Change Controlled Relationship", new ChangeControlledRelationship(), this); - } - - #region Mapped Properties - public string ItemNumber - { - get { return this.Item.getProperty("item_number", ""); } - } - #endregion - - #region Relationships - public RelationshipItemList p_relationships; - public RelationshipItemList Relationships - { - get { return p_relationships; } - } - #endregion - - /// - /// Is item has previosly released generations - /// - public bool HasPreviouslyReleasedGenerations - { - get - { - Item thisCheck = Utils.Innovator.newItem(this.Type, "get"); - thisCheck.setAttribute("select", "config_id"); - thisCheck.setProperty("generation", "*"); - thisCheck.setPropertyCondition("generation", "like"); - - thisCheck.setProperty("config_id", this.ConfigID); - thisCheck.setProperty("is_released", "1"); - thisCheck = thisCheck.apply(); - - return thisCheck.getItemCount() > 0; - } - } -} - -/// -/// Wrap Life Cycle Transition item type instance -/// -class LifeCycleTransition : ItemContext -{ - public LifeCycleTransition(Item item) - : base(item) - { - - } - - public string ToState - { - get { return this.Item.getPropertyAttribute("to_state", "keyed_name", ""); } - } - - public string FromState - { - get { return this.Item.getPropertyAttribute("from_state", "keyed_name", ""); } - } - - public override string ToString() - { - return String.Format(CultureInfo.InvariantCulture, "{0}->{1}", this.FromState, this.ToState); - } -} - -/// -/// Affected Item wrapper. -/// -class AffectedItem : RelatedRelationshipItem, IAffectedItemValidationRules -{ - public enum ActionType - { - None, - Add, - Change, - Delete - } - - /// - /// Prototype constructor - /// - public AffectedItem() - : base() - { - } - - public AffectedItem(Item item, ItemContext sourceItem) - : base(item, sourceItem) - { - this.Interchangeable = this.Item.getProperty("interchangeable", "") == "1"; - - string changeAction = this.Item.getProperty("action", ""); - this.Action = Utils.GetEnumByValue(changeAction, "None"); - } - - #region Mapped Properties - - public string NewAndAffectedItemType { - get - { - if (NewItemIdItem != null) - { - return NewItemIdItem.Type; - } - if (AffectedIdItem != null) - { - return AffectedIdItem.Type; - } - return String.Empty; - } - } - - ActionType p_action; - public ActionType Action - { - get { return p_action; } - private set { p_action = value; } - } - - bool p_interchangeable; - public bool Interchangeable - { - get { return p_interchangeable; } - private set { p_interchangeable = value; } - } - - ChangeControlledItem p_affected_id_item; - public ChangeControlledItem AffectedIdItem - { - get - { - if (p_affected_id_item == null) - { - Item affectedItem = this.Item.getPropertyItem("affected_id"); - if (affectedItem == null) - { - return null; - } - - p_affected_id_item = new ChangeControlledItem(affectedItem); - } - return p_affected_id_item; - } - - set - { - p_affected_id_item = null; - this.Item.setPropertyItem("affected_id", value.Item); - } - } - - ChangeControlledItem p_new_item_id_item; - public ChangeControlledItem NewItemIdItem - { - get - { - if (p_new_item_id_item == null) - { - Item newItem = this.Item.getPropertyItem("new_item_id"); - if (newItem == null) - { - return null; - } - - p_new_item_id_item = new ChangeControlledItem(newItem); - } - return p_new_item_id_item; - } - - set - { - this.p_new_item_id_item = null; - this.Item.setPropertyItem("new_item_id", value.Item); - } - } - - #endregion - - #region IAffectedItemValidationRules Members - void IAffectedItemValidationRules.Compare_AffectedId_and_NewItem_IdTypes(ResultStatus status) - { - if (this.AffectedIdItem == null || this.NewItemIdItem == null) return; - - if (this.AffectedIdItem.Type != this.NewItemIdItem.Type) - { - status.AddError("ValidateChangeItem_Compare_AffectedId_and_NewItem_IdTypes", - this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - - void IAffectedItemValidationRules.Is_AffectedId_and_NewItemId_NotLocked(ResultStatus status) - { - if (this.AffectedIdItem != null && this.AffectedIdItem.IsLocked) - { - status.AddError("ValidateChangeItem_Is_AffectedId_and_NewItemId_NotLocked", - this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); - } - - if (this.NewItemIdItem != null && this.NewItemIdItem.IsLocked) - { - status.AddError("ValidateChangeItem_Is_AffectedId_and_NewItemId_NotLocked", - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - - void IAffectedItemValidationRules.Is_AffectedId_InReleasedState(ResultStatus status) - { - if (this.AffectedIdItem != null && this.AffectedIdItem.State != "Released") - { - status.AddError("ValidateChangeItem_Is_AffectedId_InReleasedState", - this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, this.AffectedIdItem.State); - } - } - - void IAffectedItemValidationRules.Is_NewItemId_InPreliminaryState(ResultStatus status) - { - if (this.NewItemIdItem != null && this.NewItemIdItem.State != "Preliminary") - { - status.AddError("ValidateChangeItem_Is_NewItemId_InPreliminaryState", - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber, this.NewItemIdItem.State); - } - } - - void IAffectedItemValidationRules.Is_AffectedId_Requiered(ResultStatus status) - { - if (this.Action == AffectedItem.ActionType.Change || this.Action == AffectedItem.ActionType.Delete) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateChangeItem_Is_AffectedId_Requiered"); - } - } - } - - void IAffectedItemValidationRules.Is_NewItemId_Required(ResultStatus status) - { - if (this.Action == AffectedItem.ActionType.Change && !this.Interchangeable) - { - if (this.NewItemIdItem == null) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateChangeItem_Is_NewItemId_Required"); - } - else - { - status.AddError("ValidateChangeItem_Is_NewItemId_Required_with_param", this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); - } - } - } - - if (this.Action == AffectedItem.ActionType.Add) - { - if (this.NewItemIdItem == null) - { - status.AddError("ValidateChangeItem_Is_NewItemId_Required_add_action"); - } - } - } - - void IAffectedItemValidationRules.Is_NewItemId_RequiresNull(ResultStatus status) - { - if (this.Action == AffectedItem.ActionType.Delete) - { - if (this.NewItemIdItem != null) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnDelete"); - } - else - { - status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnDelete_with_param", this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); - } - } - } - - if (this.Action == AffectedItem.ActionType.Change && this.Interchangeable) - { - if (this.NewItemIdItem != null) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnChange"); - } - else - { - status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnChange_with_param", this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); - } - } - } - } - - void IAffectedItemValidationRules.Is_AffectedId_RequiresNull(ResultStatus status) - { - if (this.Action == AffectedItem.ActionType.Add) - { - if (this.AffectedIdItem != null) - { - if (this.NewItemIdItem == null) - { - status.AddError("ValidateChangeItem_Is_AffectedId_RequiresNull"); - } - else - { - status.AddError("ValidateChangeItem_Is_AffectedId_RequiresNull_with_param", this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - } - } - - void IAffectedItemValidationRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(ResultStatus status) - { - if (this.NewItemIdItem == null) return; - - if (this.Action == AffectedItem.ActionType.Add && this.NewItemIdItem.HasPreviouslyReleasedGenerations) - { - status.AddError("ValidateChangeItem_Is_NewItemId_HasNoPreviouslyReleasedGeneration", - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - #endregion -} - -/// -/// Extend AffectedItem class by new added properties and relationships to Affected Item type definition. -/// -class ExtendedAffectedItem : AffectedItem, IExtendedAffectedItemValidationRules -{ - public enum ItemActionType - { - Empty, - None, - Release, - Revise, - Renumber, - Supersede, - Obsolete, - Review - } - - public ExtendedAffectedItem() - : base() - { - } - - public ExtendedAffectedItem(Item item, ItemContext sourceItem) - : base(item, sourceItem) - { - Grouping = this.Item.getProperty("grouping", ""); - string itemChangeAction = this.Item.getProperty("item_action", ""); - this.ItemAction = Utils.GetEnumByValue(itemChangeAction, "Empty"); - - p_aff_rel = new RelationshipItemList("Affected Item Relationship", new AffectedRelationship(), this); - p_aff_item_prop = new RelationshipItemList("Affected Item Property", new AffectedItemProperty(), this); - } - - #region Relationships - RelationshipItemList p_aff_rel; - /// - /// Affected Item Relationship relationship - /// - public RelationshipItemList AffectedRelationships - { - get { return p_aff_rel; } - } - - RelationshipItemList p_aff_item_prop; - /// - /// Affected Item Property relationship - /// - public RelationshipItemList AffectedItemProperties - { - get { return p_aff_item_prop; } - } - #endregion - - #region Mapped Properties - public string Grouping { get; private set; } - ItemActionType p_item_action; - public ItemActionType ItemAction - { - get { return p_item_action; } - private set { p_item_action = value; } - } - #endregion - - #region IAffectedItemValidationRules Members - /// - /// All affected_id items must be in "Released" state when item_action is "Revise", "Renumber" or "Supersede" or "Obsolete" - /// - /// - void IAffectedItemValidationRules.Is_AffectedId_InReleasedState(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Revise || - this.ItemAction == ItemActionType.Renumber || - this.ItemAction == ItemActionType.Supersede) - { - if (this.AffectedIdItem != null && this.AffectedIdItem.State != "Released") - { - status.AddError("ValidateAffectedItem_Is_AffectedId_InReleasedState", - this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, this.AffectedIdItem.State); - } - } - } - - /// - /// All new_item_id items must be in Preliminary state when item_action is "Release" - /// - /// - void IAffectedItemValidationRules.Is_NewItemId_InPreliminaryState(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Release) - { - if (this.NewItemIdItem != null && this.NewItemIdItem.State != "Preliminary") - { - status.AddError("ValidateAffectedItem_Is_NewItemId_InPreliminaryState", - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber, this.NewItemIdItem.State); - } - } - } - - /// - /// affected_id is required when item_action is "Revise", "Renumber", "Supersede" or "Obsolete" - /// - /// - void IAffectedItemValidationRules.Is_AffectedId_Requiered(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Revise || - this.ItemAction == ItemActionType.Renumber || - this.ItemAction == ItemActionType.Supersede || - this.ItemAction == ItemActionType.Obsolete) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateAffectedItem_Is_AffectedId_Requiered", this.ItemAction.ToString()); - } - } - } - - /// - /// new_item_id is required when action is "Release" or "Supersede" - /// - /// - void IAffectedItemValidationRules.Is_NewItemId_Required(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Release || this.ItemAction == ItemActionType.Supersede) - { - if (this.NewItemIdItem == null) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateAffectedItem_Is_NewItemId_Required", this.ItemAction.ToString()); - } - else - { - status.AddError("ValidateAffectedItem_Is_NewItemId_Required_with_param", - this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); - } - } - } - } - - /// - /// new_item_id must be null when item_action is "Revise", "Renumber" or "Obsolete" - /// - /// - void IAffectedItemValidationRules.Is_NewItemId_RequiresNull(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Revise || - this.ItemAction == ItemActionType.Renumber || - this.ItemAction == ItemActionType.Obsolete) - { - if (this.NewItemIdItem != null) - { - if (this.AffectedIdItem == null) - { - status.AddError("ValidateAffectedItem_Is_NewItemId_RequiresNull", this.ItemAction.ToString()); - } - else - { - status.AddError("ValidateAffectedItem_Is_NewItemId_RequiresNull_with_param", - this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); - } - } - } - } - - /// - /// affected_id must be null when item_action is "Release" - /// - /// - void IAffectedItemValidationRules.Is_AffectedId_RequiresNull(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Release) - { - if (this.AffectedIdItem != null) - { - if (this.NewItemIdItem == null) - { - status.AddError("ValidateAffectedItem_Is_AffectedId_RequiresNull"); - } - else - { - status.AddError("ValidateAffectedItem_Is_AffectedId_RequiresNull_with_param", - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - } - } - - /// - /// new_item_id items must not have a previously released generation when action is "Release" - /// - /// - void IAffectedItemValidationRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(ResultStatus status) - { - if (this.NewItemIdItem == null) return; - - if (this.ItemAction == ItemActionType.Release && this.NewItemIdItem.HasPreviouslyReleasedGenerations) - { - status.AddError("ValidateAffectedItem_Is_NewItemId_HasNoPreviouslyReleasedGeneration", - this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - #endregion - - #region IExtendedAffectedItemValidationRules Members - /// - /// new_item_id items must not have a previously released generation when action is "Release" - /// - /// - void IExtendedAffectedItemValidationRules.Is_AffectedItem_Action_Review(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Review) - { - status.AddError("ValidateAffectedItem_Is_AffectedItem_Action_Review"); - } - } - - /// - /// All affected_id items must be in "Released" or "Superseded" state when item_action is "Obsolete" - /// - /// - void IExtendedAffectedItemValidationRules.Is_AffectedId_InSupersededOrReleasedState(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Obsolete) - { - if (this.AffectedIdItem != null && this.AffectedIdItem.State != "Superseded" && this.AffectedIdItem.State != "Released") - { - status.AddError("ValidateAffectedItem_Is_AffectedId_InSupersededOrReleasedState", - this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, this.AffectedIdItem.State); - } - } - } - - /// - /// new_item_id items must not have a previously released generation when action is "Release" - /// - /// - void IExtendedAffectedItemValidationRules.Is_NewItemId_InReleasedState(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Supersede) - { - if (this.NewItemIdItem != null && this.NewItemIdItem.State != "Released") - { - status.AddError("ValidateAffectedItem_Is_NewItemId_InReleasedState", - this.ItemAction.ToString(), this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber, this.NewItemIdItem.State); - } - } - } - - /// - /// No affected relationships may be attached to affected items with an item_action of "Supersede", "Obsolete" or "None" - /// - /// - void IExtendedAffectedItemValidationRules.Is_AffectedRelationship_Allowed(ResultStatus status) - { - if (this.ItemAction == ItemActionType.Supersede || this.ItemAction == ItemActionType.Obsolete || this.ItemAction == ItemActionType.None) - { - if (this.AffectedRelationships.Count > 0) - { - status.AddError("ValidateAffectedItem_Is_AffectedRelationship_Allowed", this.ItemAction.ToString()); - } - } - } - - /// - /// Verify all Affected Item Properties. - /// - void IExtendedAffectedItemValidationRules.VerifyAffectedItemProperties(ResultStatus status) - { - foreach (AffectedItemProperty aff_item_prop in this.AffectedItemProperties) - { - string value = this.NewItemIdItem.Item.getProperty(aff_item_prop.PropertyName); - if (value != aff_item_prop.NewValue) - { - status.AddError("VerifyAffectedRelationship_NotAllItemPropertiesWereApplied", aff_item_prop.PropertyName, aff_item_prop.NewValue, this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); - } - } - } - #endregion - - #region Members - /// - /// Process all Affected Relationships relationships. In depend of action affected relationship will be Attached/Modified/Removed. - /// - public void ProcessAffectedRelationships() - { - List sortedAffectedRelationships; - Func orderByComparer = (AffectedRelationship.RelationshipAction action) => { - int res = 0; - switch (action){ - case AffectedRelationship.RelationshipAction.Remove: - res = 1; - break; - case AffectedRelationship.RelationshipAction.Attach: - res = 2; - break; - case AffectedRelationship.RelationshipAction.Modify: - res = 3; - break; - case AffectedRelationship.RelationshipAction.Empty: - res = 4; - break; - default: - throw new ArgumentOutOfRangeException("Not supported action in switch, action=" + action); - } - return res; - }; - sortedAffectedRelationships = this.AffectedRelationships.OrderBy(x => orderByComparer(x.Action)).ToList(); - foreach (AffectedRelationship aff_relship in sortedAffectedRelationships) - { - aff_relship.Process(); - } - } - - /// - /// Process all Affected Item Properties relationships. Apply property to new item. - /// - public void ProcessAffectedItemProperties() - { - foreach (AffectedItemProperty aff_item_prop in this.AffectedItemProperties) - { - this.NewItemIdItem.Item.setProperty(aff_item_prop.PropertyName, aff_item_prop.NewValue); - } - this.NewItemIdItem.ApplyEdit(); - } - #endregion -} - -class AffectedRelationship : RelatedRelationshipItem, IAffectedRelationshipValidationRules -{ - public enum RelationshipAction - { - Empty, - Attach, - Modify, - Remove - } - - public AffectedRelationship() - : base() - { - } - - public AffectedRelationship(Item item, ItemContext sourceItem) - : base(item, sourceItem) - { - string action = this.Item.getProperty("rel_action", ""); - this.Action = Utils.GetEnumByValue(action, "Empty"); - p_aff_rel_prop = new RelationshipItemList("Affected Relationship Property", new AffectedRelationshipProperty(), this); - } - - #region Relationships - RelationshipItemList p_aff_rel_prop; - public RelationshipItemList AffectedRelationshipProperties - { - get { return p_aff_rel_prop; } - } - #endregion - - #region Mapped Properties - RelationshipAction p_relAction; - public RelationshipAction Action - { - get { return p_relAction; } - private set { p_relAction = value; } - } - - ChangeControlledRelationship p_new_rel_item_id_item; - public ChangeControlledRelationship NewRelItemIdItem - { - get - { - - if (p_new_rel_item_id_item == null) - { - Item newRelItem = this.Item.getPropertyItem("new_rel_id"); - if (newRelItem == null) - { - return null; - } - - p_new_rel_item_id_item = new ChangeControlledRelationship(newRelItem); - } - - return p_new_rel_item_id_item; - } - - set - { - this.p_new_rel_item_id_item = null; - this.Item.setPropertyItem("new_rel_id", value.Item); - } - } - - ChangeControlledRelationship p_affected_rel_item_id_item; - public ChangeControlledRelationship AffectedRelItemIdItem - { - get - { - if (p_affected_rel_item_id_item == null) - { - Item affectedRelItem = this.Item.getPropertyItem("affected_rel_id"); - if (affectedRelItem == null) - { - return null; - } - - p_affected_rel_item_id_item = new ChangeControlledRelationship(affectedRelItem); - } - return p_affected_rel_item_id_item; - } - - set - { - this.p_affected_rel_item_id_item = null; - this.Item.setPropertyItem("affected_rel_id", value.Item); - } - } - #endregion - - #region IAffectedRelationshipValidationRules Members - - /// - /// All affected relationships on affected items with an item_action of "Release" must have a rel_action of "Attach" - /// - /// - void IAffectedRelationshipValidationRules.Is_AffectedRelationship_RequiresAttachAction(ResultStatus status) - { - ExtendedAffectedItem sourceItem = (ExtendedAffectedItem)this.Relationship.SourceItem; - if (sourceItem.ItemAction == ExtendedAffectedItem.ItemActionType.Release) - { - if (this.Action != RelationshipAction.Attach) - { - status.AddError("ValidateAffectedRelationship_Is_AffectedRelationship_RequiresAttachAction"); - } - } - } - - /// - /// affected_rel is required when rel_action is "Modify" or "Remove" - /// - /// - void IAffectedRelationshipValidationRules.Is_AffectedRelId_Required(ResultStatus status) - { - if (this.Action == RelationshipAction.Modify || this.Action == RelationshipAction.Remove) - { - if (this.AffectedRelItemIdItem == null) - { - status.AddError("ValidateAffectedRelationship_Is_AffectedRelId_Required", this.Action.ToString()); - } - } - } - - /// - /// affected_rel relationships must have a source_id that matches the parent affected item's affected_id - /// - /// - void IAffectedRelationshipValidationRules.Is_AffectedRelId_Required_AffectedId_SourceID(ResultStatus status) - { - ExtendedAffectedItem sourceItem = (ExtendedAffectedItem)this.Relationship.SourceItem; - if (sourceItem.AffectedIdItem == null || this.AffectedRelItemIdItem == null) return; - - if (this.AffectedRelItemIdItem.SourceID != sourceItem.AffectedIdItem.ID) - { - status.AddError("ValidateAffectedRelationship_Is_AffectedRelId_Required_AffectedId_SourceID"); - } - } - - /// - /// At least one affected relationship property must be attached when rel_action is "Attach" or "Modify" - /// - /// - void IAffectedRelationshipValidationRules.Is_AffectedRelationshipProperty_Required(ResultStatus status) - { - if (this.Action == RelationshipAction.Attach || this.Action == RelationshipAction.Modify) - { - if (this.AffectedRelationshipProperties.Count == 0) - { - status.AddError("ValidateAffectedRelationship_Is_AffectedRelationshipProperty_Required", this.Action.ToString()); - } - } - } - - void IAffectedRelationshipValidationRules.Verify(ResultStatus status) - { - ExtendedAffectedItem ext_affected_item = (ExtendedAffectedItem)this.Relationship.SourceItem; - - if (ext_affected_item.ItemAction != ExtendedAffectedItem.ItemActionType.Release && - ext_affected_item.ItemAction != ExtendedAffectedItem.ItemActionType.Revise && - ext_affected_item.ItemAction != ExtendedAffectedItem.ItemActionType.Renumber) - { - return; - } - - if (this.Action == RelationshipAction.Attach || this.Action == RelationshipAction.Modify) - { - //Verify that new_rel_id populated and new relationship was attached to correct sourceItem and that all properties were - //modified. - - if (this.NewRelItemIdItem == null) - { - status.AddError("VerifyAffectedRelationship_NewRelItemIDIsNull"); - return; - } - - ChangeControlledRelationship new_relship = - (from relship in ext_affected_item.NewItemIdItem.Relationships - where - relship.ID == this.NewRelItemIdItem.ID - select relship).SingleOrDefault(); - - //if relationship not exists in new_item. - if (new_relship == null) - { - status.AddError("VerifyAffectedRelationship_NewItemNotContainRelationship", this.NewRelItemIdItem.Type, this.NewRelItemIdItem.ID, ext_affected_item.NewItemIdItem.Type, ext_affected_item.NewItemIdItem.ItemNumber); - return; - } - - //validate properties which was set - foreach (AffectedRelationshipProperty relship_prop in this.AffectedRelationshipProperties) - { - string value = new_relship.Item.getProperty(relship_prop.PropertyName); - if (value != relship_prop.NewValue) - { - status.AddError("VerifyAffectedRelationship_NotAllRelationshipPropertiesWereApplied", relship_prop.PropertyName, relship_prop.NewValue, this.Type, this.ID); - } - } - } - else if (this.Action == RelationshipAction.Remove) - { - //Try to find the new relationship and check that it is null because it was deleted. - ChangeControlledRelationship new_relship = - (from relship in ext_affected_item.NewItemIdItem.Relationships - where - relship.SourceID == ext_affected_item.NewItemIdItem.ID && - relship.SortOrder == this.AffectedRelItemIdItem.SortOrder && - relship.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID - select relship).SingleOrDefault(); - - if (new_relship != null) - { - //Check if another relationship was added with the same Source ID, Sort Order, and Type - AffectedRelationship attached_relship = - (from relship in ext_affected_item.AffectedRelationships - where - relship.Action == RelationshipAction.Attach && - relship.NewRelItemIdItem.SourceID == ext_affected_item.NewItemIdItem.ID && - relship.NewRelItemIdItem.SortOrder == this.AffectedRelItemIdItem.SortOrder && - relship.NewRelItemIdItem.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID - select relship).SingleOrDefault(); - if (attached_relship == null) - { - status.AddError("VerifyAffectedRelationship_RelationshipStillExistInItem", ext_affected_item.NewItemIdItem.Type, ext_affected_item.NewItemIdItem.ItemNumber, new_relship.Type, new_relship.ID); - } - } - } - } - #endregion - - #region Members - /// - /// Process affected relationship in depend on Action property. - /// - public void Process() - { - ExtendedAffectedItem ext_affected_item = (ExtendedAffectedItem)this.Relationship.SourceItem; - - if (this.Action == RelationshipAction.Attach) - { - //Create a new relationship with source_id equal to the new_item_id item on the parent Affected Item - //and other properties as specified in Affected Relationship Property relationships. - //Populate the new_rel property with the id of the new relationship - - Item new_rel_item = Utils.Innovator.newItem("Part BOM"); // hardcoded, in first implementation iteration we have to do it. - ChangeControlledRelationship new_relship = new ChangeControlledRelationship(new_rel_item); - new_relship.SourceID = ext_affected_item.NewItemIdItem.ID; - - //set - foreach (AffectedRelationshipProperty relship_prop in this.AffectedRelationshipProperties) - { - new_relship.Item.setProperty(relship_prop.PropertyName, relship_prop.NewValue); - } - - new_relship.ApplyAdd(); - - this.NewRelItemIdItem = new_relship; - this.ApplyEdit(); - } - else if (this.Action == RelationshipAction.Modify) - { - //Find the id of the new relationship and set the new_rel property. - //Edit the new relationship using the properties specified in Affected Relationship Property relationships. - - ChangeControlledRelationship new_relship = - (from relship in ext_affected_item.NewItemIdItem.Relationships - where - relship.SourceID == ext_affected_item.NewItemIdItem.ID && - relship.SortOrder == this.AffectedRelItemIdItem.SortOrder && - relship.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID - select relship).Single(); - - this.NewRelItemIdItem = new_relship; - this.ApplyEdit(); - - //set - foreach (AffectedRelationshipProperty relship_prop in this.AffectedRelationshipProperties) - { - this.NewRelItemIdItem.Item.setProperty(relship_prop.PropertyName, relship_prop.NewValue); - } - - this.NewRelItemIdItem.ApplyEdit(); - } - else if (this.Action == RelationshipAction.Remove) - { - //Find the new relationship and delete it. - - ChangeControlledRelationship new_relship = - (from relship in ext_affected_item.NewItemIdItem.Relationships - where - relship.SourceID == ext_affected_item.NewItemIdItem.ID && - relship.SortOrder == this.AffectedRelItemIdItem.SortOrder && - relship.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID - select relship).Single(); - - new_relship.Delete(); - } - } - #endregion -} - -/// -/// No related relationship Affected Item Property of Affected Item -/// -class AffectedItemProperty : NoRelatedRelationshipItem -{ - public AffectedItemProperty() - : base() - { - } - - public AffectedItemProperty(Item item, AffectedItem sourceItem) - : base(item, sourceItem) - { - this.PropertyName = item.getProperty("property_name", ""); - this.NewValue = item.getProperty("new_value", ""); - } - - #region Mapped Properties - string property_name; - public string PropertyName - { - get { return property_name; } - private set { property_name = value; } - } - - string new_value; - public string NewValue - { - get { return new_value; } - private set { new_value = value; } - } - #endregion -} - -/// -/// No related relationship Affected Relationship Property of Affected Relationship -/// -class AffectedRelationshipProperty : NoRelatedRelationshipItem -{ - public AffectedRelationshipProperty() - : base() - { - } - - public AffectedRelationshipProperty(Item item, AffectedRelationship sourceItem) - : base(item, sourceItem) - { - this.PropertyName = item.getProperty("property_name", ""); - this.NewValue = item.getProperty("new_value", ""); - } - - #region Mapped Properties - string property_name; - public string PropertyName - { - get { return property_name; } - private set { property_name = value; } - } - - string new_value; - public string NewValue - { - get { return new_value; } - private set { new_value = value; } - } - #endregion -} - -/// -/// Create and get access to Innovator object and provide help methods. -/// -static class Utils -{ - public static void InitializeForRequest(Innovator innovator, Aras.Server.Core.CallContext CCO) - { - HttpContext.Current.Items["AffectedItemInnovatorObject"] = innovator; - HttpContext.Current.Items["AffectedItemInnovatorCCO"] = CCO; - } - - - private static Innovator TestInnovator; - internal static void InitializeForUnitTests(Innovator innovator) - { - TestInnovator = innovator; - } - - /// - /// Instantiate item with "OK" result - /// - /// Item with "OK" result - public static Item GetOkResult() - { - return Utils.Innovator.newResult("OK"); - } - - /// - /// Get error item with specific parameters - /// - /// Status with errors - /// The number of displayed errors - /// Item with error - public static Item GetError(ResultStatus status, int numberOfDisplayedErrors) - { - var lookedupMessages = status.Errors - .Select(error => Utils.CCO.ErrorLookup.Lookup(error.name, error.parameters)) - .Distinct() - .Take(numberOfDisplayedErrors); - - if (status.Errors.Count > numberOfDisplayedErrors) - { - lookedupMessages = lookedupMessages.Concat(new List { Environment.NewLine + Utils.CCO.ErrorLookup.Lookup("ValidateChangeItem_AdditionalErrors") }); - } - - return Utils.Innovator.newError(String.Join(Environment.NewLine, lookedupMessages)); - } - - /// - /// Assert passed item, throw ItemErrorException if item has error - /// - /// - public static void AssertItem(Item item) - { - if (item.isError()) - { - throw new ItemErrorException(item); - } - } - - /// - /// Get instance of Innovator object - /// - public static Innovator Innovator - { - get - { - if (TestInnovator != null) - { - return TestInnovator; - } - return ((Innovator)HttpContext.Current.Items["AffectedItemInnovatorObject"]); - } - } - - public static Aras.Server.Core.CallContext CCO - { - get - { - return ((Aras.Server.Core.CallContext)HttpContext.Current.Items["AffectedItemInnovatorCCO"]); - } - } - - /// - /// Convert string name to enum - /// - /// Enum - /// enum value - /// value which will be parsed if value not presented in enum - /// - public static T GetEnumByValue(string value, string noneValue) where T : struct, IConvertible - { - Type en = typeof(T); - if (!en.IsEnum) - { - throw new ArgumentException("T must be an enumerated type"); - } - - if (String.IsNullOrEmpty(value)) - { - return (T)Enum.Parse(en, noneValue); - } - - return (T)Enum.Parse(en, value); - } -} - -/// -/// Represent error -/// -struct Error -{ - public string name; - public object[] parameters; - - /// - /// Create error - /// - /// UserMessage name - /// objects to format error - public Error(string name, object[] parameters) - { - this.name = name; - this.parameters = parameters; - } -} - -/// -/// Exception which wrap error Item -/// -[Serializable] -class ItemErrorException : Exception -{ - public ItemErrorException(Item error) - : base() - { - this.error = error; - } - - private Item error; - public Item Error - { - get { return error; } - } -} - -/// -/// Exception which provide status of validation operation. -/// -[Serializable] -class ValidationException : Exception -{ - public ValidationException(ResultStatus status) - : base() - { - this.status = status; - } - - private ResultStatus status; - public ResultStatus ResultStatus - { - get { return status; } - } -} - -/// -/// Type provide ability to aggregate multiple errors -/// -class ResultStatus -{ - private bool p_isSuccess; - private List p_errorList = new List(); - private bool p_throwExceptionIfError; - private int p_numberOfErrorsBeforeThrowException; - - /// - /// Constructor - /// - /// if true, then exception will be thrown when error add - public ResultStatus(bool throwExceptionIfError) - { - this.p_isSuccess = true; - this.p_throwExceptionIfError = throwExceptionIfError; - this.p_numberOfErrorsBeforeThrowException = 2; - } - - /// - /// Add error to collection. Toggle IsSuccess to false. - /// - /// UserMessage name - /// objects to format error message - /// throw if constructor get true to throwExceptionIfError - public void AddError(string name, params string[] parameters) - { - this.p_errorList.Add(new Error(name, parameters)); - this.p_isSuccess = false; - - //throw exception if only if number of available errors were handled - if (this.p_throwExceptionIfError && this.Errors.Count >= this.p_numberOfErrorsBeforeThrowException) - { - throw new ValidationException(this); - } - } - - /// - /// Get is status success - /// - public bool IsSuccess - { - get { return p_isSuccess; } - } - - /// - /// Get Error collection - /// - public IList Errors - { - get { return new System.Collections.ObjectModel.ReadOnlyCollection(p_errorList); } - } -} - -/// -/// Base class for relationship item -/// -class Relationship : ItemContext -{ - public Relationship() - : base() - { - } - - public Relationship(Item item, ItemContext sourceItem) - : base(item) - { - this.sourceItem = sourceItem; - } - - #region Mapped Properties - ItemContext sourceItem; - public ItemContext SourceItem - { - get { return sourceItem; } - protected set { sourceItem = value; } - } - #endregion -} - -/// -/// No Related relationship item -/// -abstract class NoRelatedRelationshipItem : Relationship -{ - public NoRelatedRelationshipItem() - : base() - { - } - - public NoRelatedRelationshipItem(Item item, ItemContext sourceItem) - : base(item, sourceItem) - { - } -} - -/// -/// Represent intermediate related relationship item that link source item with related item. -/// -class RelatedRelationship : Relationship -{ - public RelatedRelationship(Item item, ItemContext sourceItem) - : base(item, sourceItem) - { - } - - #region Mapped Properties - public string RelatedID - { - get { return this.Item.getProperty("related_id"); } - } - - public string SortOrder - { - get { return this.Item.getProperty("sort_order"); } - } - #endregion -} - -/// -/// Related relationship item -/// -abstract class RelatedRelationshipItem : Relationship -{ - public RelatedRelationshipItem() - : base() - { - } - - public RelatedRelationshipItem(Item item, ItemContext sourceItem) - : base(item.getItemsByXPath("related_id/Item"), sourceItem) - { - - } - - private RelatedRelationship relationship; - /// - /// Get relationship item - /// - public RelatedRelationship Relationship - { - get - { - if (relationship == null) - { - relationship = new RelatedRelationship(this.Item.getItemsByXPath("../../Item"), this.SourceItem); - } - return relationship; - } - } -} - -/// -/// Collection of relationships -/// -/// Relationship related or no related item -class RelationshipItemList : IList, ICollection, IEnumerable - where T : Relationship -{ - ItemContext sourceItem; - Type relationshipPrototypeType; - T relationshipPrototype; - - /// - /// Constructor - /// - /// Relationship name - /// Pass instance of relationship item which will be a prototype of list items. Could be inheritors of base T type. - /// Source item - public RelationshipItemList(string relshipName, T prototype, ItemContext sourceItem) - { - this.Name = relshipName; - this.relationshipPrototype = prototype; - this.relationshipPrototypeType = this.relationshipPrototype.GetType(); - this.sourceItem = sourceItem; - } - - public RelationshipItemList(IEnumerable collection) - { - list = new List(collection); - readOnlyList = new System.Collections.ObjectModel.ReadOnlyCollection(list); - } - - string relshipName; - public string Name - { - get { return relshipName; } - private set { relshipName = value; } - } - - private IList list; - private IList readOnlyList; - - /// - /// Bind relationship collection. Attach to ItemContext.Deleted event - /// - public void Bind() - { - this.Unbind(); - list = new List(); - readOnlyList = new System.Collections.ObjectModel.ReadOnlyCollection(list); - - Item relshipItems = Utils.Innovator.newItem(this.Name, "get"); - relshipItems.setProperty("source_id", sourceItem.ID); - relshipItems.setAttribute("serverEvents", "0"); - - if (this.Name == "ECR Affected Item" || - this.Name == "ECN Affected Item" || - this.Name == "Simple ECO Affected Item" || - this.Name == "Express DCO Affected Item" || - this.Name == "Express ECO Affected Item" || - this.Name == "Express EDR Affected Item") - { - Item affItem = Utils.Innovator.newItem("Affected Item", "get"); - affItem.setAttribute("select", "interchangeable, item_action, action, affected_id, new_item_id, grouping"); - affItem.setAttribute("serverEvents", "0"); - - Item changeControlledItem = Utils.Innovator.newItem("Change Controlled Item", "get"); - changeControlledItem.setAttribute("serverEvents", "0"); - affItem.setPropertyItem("affected_id", changeControlledItem); - affItem.setPropertyItem("new_item_id", changeControlledItem); - - relshipItems.setPropertyItem("related_id", affItem); - } - - if (this.Name == "Affected Item Relationship") - { - Item affRelshipItem = Utils.Innovator.newItem("Affected Relationship", "get"); - affRelshipItem.setAttribute("select", "rel_action, affected_rel_id, new_rel_id"); - affRelshipItem.setAttribute("serverEvents", "0"); - - Item changeControlledRelship = Utils.Innovator.newItem("Change Controlled Relationship", "get"); - changeControlledRelship.setAttribute("serverEvents", "0"); - changeControlledRelship.setAttribute("related_expand", "0"); - affRelshipItem.setPropertyItem("affected_rel_id", changeControlledRelship); - affRelshipItem.setPropertyItem("new_rel_id", changeControlledRelship); - - relshipItems.setPropertyItem("related_id", affRelshipItem); - } - - relshipItems = relshipItems.apply(); - - int affItemRelshipCount = relshipItems.getItemCount(); - - for (int p = 0; p < affItemRelshipCount; p++) - { - Item affItem = relshipItems.getItemByIndex(p); - T instance = (T)Activator.CreateInstance(this.relationshipPrototypeType, affItem, sourceItem); - instance.Deleted += new EventHandler(instance_Deleted); - list.Add(instance); - } - } - - /// - /// Detach from ItemContext.Deleted event - /// - private void Unbind() - { - if (list == null) return; - foreach (T t in list) - { - t.Deleted -= new EventHandler(instance_Deleted); - } - list.Clear(); - list = null; - } - - /// - /// ItemContext.Deleted event handler. remove item from relationship collection. - /// - /// - /// - private void instance_Deleted(object sender, EventArgs e) - { - T instance = (T)sender; - instance.Deleted -= new EventHandler(instance_Deleted); - list.Remove(instance); - } - - /// - /// Bind collection if list was not initialized or was unbinded. - /// - private void BindIfNotInitialized() - { - if (list == null) - { - this.Bind(); - } - } - - #region IList Members - - public int IndexOf(T item) - { - this.BindIfNotInitialized(); - return readOnlyList.IndexOf(item); - } - - public void Insert(int index, T item) - { - this.BindIfNotInitialized(); - readOnlyList.Insert(index, item); - } - - public void RemoveAt(int index) - { - this.BindIfNotInitialized(); - readOnlyList.RemoveAt(index); - } - - public T this[int index] - { - get - { - this.BindIfNotInitialized(); - return readOnlyList[index]; - } - set - { - this.BindIfNotInitialized(); - readOnlyList[index] = value; - } - } - - #endregion - - #region ICollection Members - - public void Add(T item) - { - this.BindIfNotInitialized(); - readOnlyList.Add(item); - } - - public void Clear() - { - this.BindIfNotInitialized(); - readOnlyList.Clear(); - } - - public bool Contains(T item) - { - this.BindIfNotInitialized(); - return readOnlyList.Contains(item); - } - - public void CopyTo(T[] array, int arrayIndex) - { - this.BindIfNotInitialized(); - readOnlyList.CopyTo(array, arrayIndex); - } - - public int Count - { - get { this.BindIfNotInitialized(); return readOnlyList.Count; } - } - - public bool IsReadOnly - { - get { this.BindIfNotInitialized(); return readOnlyList.IsReadOnly; } - } - - public bool Remove(T item) - { - this.BindIfNotInitialized(); - return readOnlyList.Remove(item); - } - - #endregion - - #region IEnumerable Members - - public IEnumerator GetEnumerator() - { - this.BindIfNotInitialized(); - return readOnlyList.GetEnumerator(); - } - - #endregion - - #region IEnumerable Members - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - this.BindIfNotInitialized(); - return ((System.Collections.IEnumerable)readOnlyList).GetEnumerator(); - } - - #endregion -} - -internal static class ItemContextGroupOperations -{ - public static void Promote(this IList items, string nextStatus) where TSource : ItemContext - { - items.InvokeActionByGroup(groupItems => groupItems.PromoteImpl(nextStatus)); - } - - public static IList Version(this IList items) where TSource : ItemContext - { - TSource[] result = new TSource[items.Count]; - - Dictionary itemsIndexDict = items - .Select((templateItem, index) => index) - .ToDictionary((index) => items[index].ID); - - items.InvokeActionByGroup((groupItems) => - { - IList groupItemsResult = groupItems.VersionImpl(); - - for (int indexInGroup = 0; indexInGroup < groupItems.Count; indexInGroup++) - { - string originalID = groupItems[indexInGroup].ID; - TSource versionedItem = groupItemsResult[indexInGroup]; - int positionInInputList = itemsIndexDict[originalID]; - - result[positionInInputList] = versionedItem; - } - }); - - return result.ToList(); - } - - public static void Unlock(this IList items) where TSource : ItemContext - { - items.InvokeActionByGroup(UnlockImpl); - } - - public static void Lock(this IList items) where TSource : ItemContext - { - items.InvokeActionByGroup(LockImpl); - } - - public static void ApplyUpdate(this IList items, params string[] updateParameterNames) where TSource : ItemContext - { - items.InvokeActionByGroup(itemsGroup => ApplyUpdateImpl(itemsGroup, updateParameterNames)); - } - - //TODO: innovator doesn't support group copy yet - public static IList Copy(this IList items) where TSource : ItemContext - { - return !items.Any() ? items : items.Select(item => item.ApplyCopy()).ToList(); - } - - public static void ProcessAffectedRelationships(this IList affectedItems) where TSource : ExtendedAffectedItem - { - foreach (TSource extAffectedItem in affectedItems) - { - extAffectedItem.ProcessAffectedRelationships(); - } - } - - public static void ProcessAffectedItemProperties(this IList affectedItems) where TSource : ExtendedAffectedItem - { - affectedItems - .GroupBy(item => item.NewItemIdItem.Type) - .ToList() - .ForEach(ProcessAffectedItemPropertiesImpl); - } - - #region Action implementations - private static void ProcessAffectedItemPropertiesImpl(IEnumerable affectedItems) where TSource : ExtendedAffectedItem - { - var newItemIdItems = new List(); - var propertyNames = new HashSet(); - - foreach (var affectedItem in affectedItems) - { - newItemIdItems.Add(affectedItem.NewItemIdItem); - foreach (var affectedItemProperty in affectedItem.AffectedItemProperties) - { - affectedItem.NewItemIdItem.Item.setProperty(affectedItemProperty.PropertyName, affectedItemProperty.NewValue); - propertyNames.Add(affectedItemProperty.PropertyName); - } - } - - newItemIdItems.Lock(); - newItemIdItems.ApplyUpdate(propertyNames.ToArray()); - newItemIdItems.Unlock(); - } - - private static void PromoteImpl(this IList items, string nextStatus) where TSource : ItemContext - { - if (!items.Any()) - { - return; - } - - var promoteIds = items.Select(item => item.ID); - Item promoteItem = Utils.Innovator.newItem(items.First().Type); - promoteItem.setAttribute("idlist", String.Join(",", promoteIds)); - - Item res = promoteItem.promote(nextStatus, "Promote set"); - - Utils.AssertItem(res); - } - - private static IList VersionImpl(this IList items) where TSource : ItemContext - { - if (!items.Any()) - { - return items; - } - - String[] versionIds = items.Select((TSource item) => item.ID).ToArray(); - String type = items.First().Type; - Item versionItem = Utils.Innovator.newItem(type, "version"); - - String idList = String.Join(",", versionIds); - versionItem.setAttribute("idlist", idList); - - Item res = versionItem.apply(); - Utils.AssertItem(res); - - StringBuilder updateSql = new StringBuilder(); - updateSql.AppendFormat(CultureInfo.InvariantCulture, "UPDATE {0} SET EFFECTIVE_DATE = NULL WHERE ID IN (", Utils.CCO.DB.InnDatabase.GetTableName(type)); - - List result = new List(); - int versionedItemCount = res.getItemCount(); - - for (int i = 0; i < versionedItemCount; i++) - { - TSource item = (TSource)Activator.CreateInstance(typeof(TSource), res.getItemByIndex(i)); - result.Add(item); - - updateSql.AppendFormat(CultureInfo.InvariantCulture, "'{0}'", Utils.CCO.DB.InnDatabase.QuoteValue(item.ID)); - - if (i != versionedItemCount - 1) - { - updateSql.Append(","); - } - } - - updateSql.Append(")"); - - Utils.CCO.DB.InnDatabase.ExecuteSQL(updateSql.ToString()); - - return result; - } - - private static void UnlockImpl(this IList items) where TSource : ItemContext - { - if (!items.Any()) - { - return; - } - - String[] unlockIds = items.Select((TSource item) => item.ID).ToArray(); - Item unlockItem = Utils.Innovator.newItem(items.First().Type, "unlock"); - unlockItem.setAttribute("idlist", String.Join(",", unlockIds)); - - Item res = unlockItem.apply(); - - Utils.AssertItem(res); - } - - private static void LockImpl(this IList items) where TSource : ItemContext - { - if (!items.Any()) - { - return; - } - - String[] lockIds = items.Select((TSource item) => item.ID).ToArray(); - Item lockItem = Utils.Innovator.newItem(items.First().Type, "lock"); - lockItem.setAttribute("idlist", String.Join(",", lockIds)); - - Item res = lockItem.apply(); - Utils.AssertItem(res); - } - - private static void ApplyUpdateImpl(this IList items, params string[] updateParameterNames) where TSource : ItemContext - { - if (!items.Any()) - { - return; - } - - if (updateParameterNames.Any()) - { - const string tmpTableName = "PE_45471a4468a3479496638d90b2eefb10"; - - Type typeInnDb = Utils.CCO.DB.InnDatabase.GetType(); - - Utils.CCO.DB.InnDatabase.CreateTable(tmpTableName); - - try - { - - //Friend MustOverride Sub AddColumn(ByVal tableName As String, ByVal column As InnovatorDBColumn) - System.Reflection.MethodInfo methodAddColumn = typeInnDb.GetMethod("AddColumn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); - System.Reflection.ParameterInfo[] parametersAddColumn = methodAddColumn.GetParameters(); - //Friend Sub New( _ - //ByVal columnName As String, _ - //ByVal columnType As InnovatorDataType) - System.Reflection.ConstructorInfo ctorInnovatorDBColumn = parametersAddColumn[1].ParameterType.GetConstructors(System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic)[0]; - - foreach (string parameter in updateParameterNames) - { - //InnovatorDataType.string_ == 1 - object[] paramsForCtor = new object[] { parameter, 1 }; - object[] paramsForAddColumn = new object[] { tmpTableName, ctorInnovatorDBColumn.Invoke(paramsForCtor) }; - methodAddColumn.Invoke(Utils.CCO.DB.InnDatabase, paramsForAddColumn); - } - - using (DataTable dt = new DataTable(tmpTableName)) - { - dt.Locale = CultureInfo.InvariantCulture; - - dt.Columns.Add("id"); - foreach (string parameter in updateParameterNames) - { - dt.Columns.Add(parameter); - } - - foreach (TSource item in items) - { - DataRow row = dt.NewRow(); - row[0] = item.Item.getID(); - - for (int i = 0; i < updateParameterNames.Count(); i++) - { - row[i + 1] = item.Item.getProperty(updateParameterNames[i]); - } - - dt.Rows.Add(row); - } - - System.Data.SqlClient.SqlConnection sqlConnection = (System.Data.SqlClient.SqlConnection)(typeInnDb.GetProperty("CurrentConnection", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(Utils.CCO.DB.InnDatabase, null)); - System.Data.SqlClient.SqlTransaction sqlTransaction = (System.Data.SqlClient.SqlTransaction)(typeInnDb.GetProperty("CurrentTransaction", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(Utils.CCO.DB.InnDatabase, null)); - - using (System.Data.SqlClient.SqlBulkCopy sqlBulkCopy = new System.Data.SqlClient.SqlBulkCopy(sqlConnection, System.Data.SqlClient.SqlBulkCopyOptions.Default, sqlTransaction)) - { - sqlBulkCopy.DestinationTableName = tmpTableName; - sqlBulkCopy.WriteToServer(dt); - } - } - - string type = items.First().Type; - string typeTableName = Utils.CCO.DB.InnDatabase.QuoteName(Utils.CCO.DB.GenerateTableName(type)); - string escapedName = Utils.CCO.DB.InnDatabase.QuoteName(tmpTableName); - string updateQueryFormat = "UPDATE " + typeTableName + " SET {0} FROM " + escapedName + " WHERE " + escapedName + ".ID = " + typeTableName + ".ID"; - string setColumnFormat = "{0} = " + escapedName + ".{0}"; - - StringBuilder setColumns = new StringBuilder(); - foreach (string parameter in updateParameterNames) - { - setColumns.AppendFormat(CultureInfo.InvariantCulture, setColumnFormat, Utils.CCO.DB.InnDatabase.QuoteName(parameter)); - setColumns.Append(","); - } - setColumns.Remove(setColumns.Length - 1, 1); - - string sqlQuery = string.Format(updateQueryFormat, setColumns); - - Aras.Server.Core.InnovatorDatabase conn = Utils.CCO.DB.InnDatabase; - conn.ExecuteSQL(sqlQuery); - } - finally - { - if (Utils.CCO.DB.InnDatabase.TableExists(tmpTableName)) - { - Utils.CCO.DB.InnDatabase.DropTable(tmpTableName); - } - } - } - - const string amlFormat = ""; - string idlist = string.Join(",", items.Select(item => item.Item.getID())); - string aml = string.Format(amlFormat, System.Security.SecurityElement.Escape(idlist), - System.Security.SecurityElement.Escape(items.First().Type)); - Item result = Utils.Innovator.applyAML(aml); - Utils.AssertItem(result); - } - - #endregion - - private static void InvokeActionByGroup(this IEnumerable items, Action> operationAction) where TSource : ItemContext - { - items.GroupBy(item => item.Type) - .Select(groupedItems => groupedItems.ToList()) - .ToList() - .ForEach(operationAction); - } -} - -class fin -{ - void method() - {]]> - C# - PE_ChangeItemTransition - + + + C# method that calls PE_ChangeItemValidation + A73B655731924CD0B027E4F4D5FCC0A9 + 0) + { + //"this" shouldn't contain Items with not allowed "actions" because such Items is applied in this server-side method. + //So, e.g., not admin user can call actions where "execution_allowed_to" is for administrators. + throw new InvalidOperationException(); + } + Aras.Server.Security.Identity plmIdentity = Aras.Server.Security.Identity.GetByName("Aras PLM"); + bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(plmIdentity); + + try + { + Utils.InitializeForRequest(this.getInnovator(), CCO); + ChangeItem changeItem; + + // // is used because possible case when Change Item is not a root item. It happens when it child of Method item. + Item item = this.getItemsByXPath("(//Item[@type='ECR' or @type='ECN' or @type='Simple ECO' or @type='Express ECO' or @type='Express DCO' or @type='Express EDR'])[1]"); + + //Create instance of promoted item + switch (item.getType()) + { + case "ECR": + changeItem = new ECR(item); + break; + case "ECN": + changeItem = new ECN(item); + break; + case "Simple ECO": + changeItem = new SimpleECO(item); + break; + case "Express ECO": + changeItem = new ExpressECO(item); + break; + case "Express DCO": + changeItem = new ExpressDCO(item); + break; + case "Express EDR": + changeItem = new ExpressEDR(item); + break; + default: + changeItem = null; + break; + } + + bool isProcessTransition = (changeItem.Transition != null); + + ResultStatus status = changeItem.Validate(); + + if (status.IsSuccess) + { + if (isProcessTransition) + { + return changeItem.ProcessTransition(); + } + else + { + return Utils.GetOkResult(); + } + } + else + { + int numberOfDisplayedErrors = isProcessTransition ? 1 : status.Errors.Count; + return Utils.GetError(status, numberOfDisplayedErrors); + } + } + finally + { + if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(plmIdentity); + } + //TODO: fix CodeAnalysis supressions added by this commit + } +} +/// +/// Interface for validate Change Item instance(ECR, ECN, Express ECO, Express DCO etc) +/// +interface IChangeItemValidationRules +{ + void IsItemExist(ResultStatus status); + void IsAffectedItemExists(ResultStatus status); + void IsAffectedItemOtherThanNoneActionExists(ResultStatus status); +} + +interface IExpressEcoItemValidationRules : IChangeItemValidationRules +{ + void IsSpawnedEdrsInPendingClosureState(ResultStatus status); + void IsEveryEdrGroupHaveATeam(ResultStatus status); +} + +/// +/// Interface for validate Affected item instance +/// +interface IAffectedItemValidationRules +{ + void Compare_AffectedId_and_NewItem_IdTypes(ResultStatus status); + void Is_AffectedId_and_NewItemId_NotLocked(ResultStatus status); + void Is_AffectedId_InReleasedState(ResultStatus status); + void Is_NewItemId_InPreliminaryState(ResultStatus status); + void Is_AffectedId_Requiered(ResultStatus status); + void Is_NewItemId_Required(ResultStatus status); + void Is_NewItemId_RequiresNull(ResultStatus status); + void Is_AffectedId_RequiresNull(ResultStatus status); + void Is_NewItemId_HasNoPreviouslyReleasedGeneration(ResultStatus status); +} + +/// +/// Interface extends validation rules of Affected Item interface for validating Extednded Affected Item +/// +interface IExtendedAffectedItemValidationRules : IAffectedItemValidationRules +{ + void Is_AffectedItem_Action_Review(ResultStatus status); + void Is_NewItemId_InReleasedState(ResultStatus status); + void Is_AffectedId_InSupersededOrReleasedState(ResultStatus status); + void Is_AffectedRelationship_Allowed(ResultStatus status); + void VerifyAffectedItemProperties(ResultStatus status); +} + +/// +/// Interface for validate Affected Relationship +/// +interface IAffectedRelationshipValidationRules +{ + void Is_AffectedRelationship_RequiresAttachAction(ResultStatus status); + void Is_AffectedRelId_Required(ResultStatus status); + void Is_AffectedRelId_Required_AffectedId_SourceID(ResultStatus status); + void Is_AffectedRelationshipProperty_Required(ResultStatus status); + void Verify(ResultStatus status); +} + +// Class Diagramm: +// abstract class ItemContext; +// abstract class ChangeItem : ItemContext; +// +// ->The following classes are implements own Validation and ProcessTransition behavior<- +// +// class ECR : ChangeItem; +// class ECN : ChangeItem; +// class SimpleECO : ChangeItem; +// class ExpressECO : ChangeItem; +// class ExpressDCO : ChangeItem; +// class ExpressEDR : ExpressDCO; + +/// +/// Represent base class for Item wrappers +/// +abstract class ItemContext +{ + /// + /// Constructor. Create empty prototype. + /// + protected ItemContext() + { + } + + /// + /// Constructor. Wrap item and create Utils + /// + /// + public ItemContext(Item item) + { + this.Item = item; + } + + Item p_item; + /// + /// Get wrapped item + /// + public Item Item + { + get { return p_item; } + set { p_item = value; } + } + + public string ID + { + get { return this.Item.getID(); } + } + + public string Type + { + get { return this.Item.getType(); } + } + + public bool IsLocked + { + get { return this.Item.getLockStatus() != 0; } + } + + public string State + { + get { return this.Item.getProperty("state", ""); } + } + + public string ConfigID + { + get { return this.Item.getProperty("config_id", ""); } + } + + /// + /// Promote item + /// + /// to state + /// throws if error + public void Promote(string nextStatus) + { + Item tempItem = Utils.Innovator.newItem(this.Type); + tempItem.setID(this.ID); + Item res = tempItem.promote(nextStatus, "PromoteItem Affected item"); + + Utils.AssertItem(res); + } + + /// + /// Version item + /// + /// versioned item + /// throws if error + public ChangeControlledItem Version() + { + Item tempItem = Utils.Innovator.newItem(this.Type, "version"); + tempItem.setID(this.ID); + tempItem.setProperty("effective_date", ""); + tempItem = tempItem.apply(); + + Utils.AssertItem(tempItem); + + return new ChangeControlledItem(tempItem); + } + + /// + /// Unlock item + /// + /// throws if error + public void Unlock() + { + Item tempItem = Utils.Innovator.newItem(this.Type, "unlock"); + tempItem.setID(this.ID); + tempItem = tempItem.apply(); + + Utils.AssertItem(tempItem); + } + + private static Item CloneItem(Item itemToClone) + { + Item newItem = Utils.Innovator.newItem(); + var newItemNode = (XmlElement) newItem.dom.ImportNode(itemToClone.node, true); + newItem.dom.ReplaceChild(newItemNode, newItem.node); + newItem.node = newItemNode; + return newItem; + } + + /// + /// Apply item with action edit + /// + /// throws if error + public void ApplyEdit() + { + Item tmpItem = CloneItem(this.Item); + tmpItem.setAction("edit"); + tmpItem.setAttribute("version", "0"); + Item res = tmpItem.apply(); + + Utils.AssertItem(res); + } + + /// + /// Copy item + /// + /// ItemContext inheritor + /// + /// throws if error + public TCopy ApplyCopy() + where TCopy : ItemContext + { + Item tmpItem = Utils.Innovator.newItem(this.Type, "copyAsNew"); + tmpItem.setID(this.ID); + Item res = tmpItem.apply(); + + Utils.AssertItem(res); + + return (TCopy)Activator.CreateInstance(typeof(TCopy), res); + } + + /// + /// Apply item with action add + /// + /// throws if error + public void ApplyAdd() + { + Item tmpItem = CloneItem(this.Item); + tmpItem.setAction("add"); + tmpItem.setAttribute("version", "0"); + Item res = tmpItem.apply(); + + Utils.AssertItem(res); + + this.Item = res; + } + + /// + /// Raised after item delete + /// + public event EventHandler Deleted; + protected void FireDeleted() + { + if (Deleted != null) + { + Deleted(this, null); + } + } + + /// + /// Delete item + /// + /// throws if error + public virtual void Delete() + { + Item tmpItem = CloneItem(this.Item); + tmpItem.setAction("delete"); + tmpItem.setAttribute("version", "0"); + Item res = tmpItem.apply(); + + Utils.AssertItem(res); + + FireDeleted(); + } + + public virtual Workflow GetWorkflow() + { + Item workflow = Utils.Innovator.newItem(ItemTypeNames.Workflow, ItemActions.Get); + Item workflowProcess = Utils.Innovator.newItem(ItemTypeNames.WorkflowProcess, ItemActions.Get); + Item wfpa = Utils.Innovator.newItem("Workflow Process Activity", ItemActions.Get); + Item activity = Utils.Innovator.newItem("Activity", ItemActions.Get); + Item activityAssign = Utils.Innovator.newItem(ItemTypeNames.ActivityAssignment, ItemActions.Get); + Item wpp = Utils.Innovator.newItem(ItemTypeNames.WorkflowProcessPath, ItemActions.Get); + Item wppActivity = Utils.Innovator.newItem("Activity", ItemActions.Get); + wppActivity.setPropertyCondition("cloned_as", "is null"); + wpp.setRelatedItem(wppActivity); + workflow.setRelatedItem(workflowProcess); + workflow.setPropertyCondition(RelationshipProperties.Related, "is not null"); + workflow.setProperty(RelationshipProperties.Source, ID); + workflowProcess.addRelationship(wfpa); + wfpa.setRelatedItem(activity); + activity.addRelationship(activityAssign); + activity.addRelationship(wpp); + workflow = workflow.apply(); + + Utils.AssertItem(workflow); + + return new Workflow(workflow); + } +} + +/// +/// Base class for change items which has Affected item relationship +/// +abstract class ChangeItem : ItemContext, IChangeItemValidationRules +{ + protected delegate void TransitionHandler(IList item); + protected string AffectedItemRelshipName; + + protected ChangeItem(Item changeItem, String affectedItemRelshipName) + : base(null) + { + this.AffectedItemRelshipName = affectedItemRelshipName; + + Item transitionItem = changeItem.getPropertyItem("transition"); + if (transitionItem != null) + { + this.Transition = new LifeCycleTransition(transitionItem); + } + + this.Item = changeItem; + } + + #region Relationships + RelationshipItemList p_aff_list; + /// + /// List of Affected Item + /// + public virtual RelationshipItemList AffectedItems + { + get + { + if (p_aff_list == null) + { + p_aff_list = new RelationshipItemList(this.AffectedItemRelshipName, new AffectedItem(), this); + } + return p_aff_list; + } + } + #endregion + + #region Mapped Properties + public string Number + { + get { return this.Item.getProperty("item_number", ""); } + } + #endregion + + /// + /// Get LifeCycleTransition object + /// + public LifeCycleTransition Transition + { + get; + private set; + } + + /// + /// Validate item + /// + /// + public ResultStatus Validate() + { + try + { + if (this.Transition != null) + { + return this.ValidateTransition(); + } + else + { + return this.ValidateState(); + } + } + catch (ValidationException ex) + { + return ex.ResultStatus; + } + } + + /// + /// Validate state item(not on promote) + /// + /// + /// throw if error + protected virtual ResultStatus ValidateState() + { + //throwExceptionOnSecondError = false + ResultStatus status = new ResultStatus(false); + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + thisValidationRules.IsItemExist(status); + + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected virtual ResultStatus ValidateTransition() + { + //throwExceptionOnSecondError = true + ResultStatus status = new ResultStatus(true); + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + thisValidationRules.IsItemExist(status); + + return status; + } + + /// + /// Process item on post promote. + /// + /// + public virtual Item ProcessTransition() + { + return null; + } + + /// + /// Process each affected item by TransitionHandler + /// + /// Handler which will be executed for each affected item in collection + /// + protected Item ProcessTransitionHandler(TransitionHandler handler) + { + if (handler != null) + { + try + { + handler(this.AffectedItems); + } + catch (ItemErrorException ex) + { + return ex.Error; + } + } + + return Utils.GetOkResult(); + } + + #region Validation Rules + /// + /// Validate that item exists in DB + /// + /// + void IChangeItemValidationRules.IsItemExist(ResultStatus status) + { + Item item = Utils.Innovator.getItemById(this.Type, this.ID); + if (item == null || item.isError()) + { + status.AddError("ValidateChangeItem_IsItemExist"); + } + } + + /// + /// At least one Affected Item must be attached to the change item + /// + /// + void IChangeItemValidationRules.IsAffectedItemExists(ResultStatus status) + { + if (this.AffectedItems.Count == 0) + { + status.AddError("ValidateChangeItem_IsAffectedItemExists", this.Type, this.Number); + } + } + + void IChangeItemValidationRules.IsAffectedItemOtherThanNoneActionExists(ResultStatus status) + { + IsAffectedItemOtherThanNoneActionExists(status); + } + + protected virtual void IsAffectedItemOtherThanNoneActionExists(ResultStatus status) + { + if (this.AffectedItems.Count > 0 && !this.AffectedItems.Any(affectedItem => affectedItem.Action != AffectedItem.ActionType.None)) + { + status.AddError("ValidateChangeItem_IsAffectedItemWithActionOtherThanEmptyExists", this.Type, this.Number); + } + } + #endregion +} + +/// +/// Represent inheritor of ChangeItem +/// +class ECR : ChangeItem +{ + public ECR(Item item) + : base(item, "ECR Affected Item") + { + } + + /// + /// Validate state item(not on promote) + /// + /// + /// throw if error + protected override ResultStatus ValidateState() + { + ResultStatus status = base.ValidateState(); + if (!status.IsSuccess) return status; + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.State) + { + case "In Planning": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + + break; + case "In Work": + case "In Review Impl": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected override ResultStatus ValidateTransition() + { + ResultStatus status = base.ValidateTransition(); + if (!status.IsSuccess) return status; + + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.Transition.ToString()) + { + case "In Planning->In Work": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + break; + case "In Work->In Review Impl": + case "In Review Impl->Released": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Process each affected item by TransitionHandler + /// + /// Handler which will be executed for each affected item in collection + /// + public override Item ProcessTransition() + { + TransitionHandler handler = null; + + switch (this.Transition.ToString()) + { + case "In Planning->In Work": + IList sortedAffectedItemList = this.AffectedItems; + + #region Promote all not null affectedIdItem to In Change + { + IList affectedIdItemList = + (from affectedItem in sortedAffectedItemList + where affectedItem.AffectedIdItem != null + select affectedItem.AffectedIdItem) + .ToList(); + + affectedIdItemList.Promote("In Change"); + } + #endregion + + #region Version affectedIdItem with action Change and Interchangeable = true + { + IList affectedItemList = + (from affectedItem in sortedAffectedItemList + where + affectedItem.Action == AffectedItem.ActionType.Change && + affectedItem.Interchangeable + select affectedItem) + .ToList(); + + IList versionedAffectedIdItemList = + affectedItemList + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList() + .Version(); + + versionedAffectedIdItemList.Unlock(); + + affectedItemList = affectedItemList.Select((AffectedItem affectedItem, int index) => + { + affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; + return affectedItem; + } + ) + .ToList(); + + affectedItemList.Lock(); + affectedItemList.ApplyUpdate("new_item_id"); + affectedItemList.Unlock(); + } + #endregion + break; + case "In Work->In Review Impl": + handler = InWork_InReview; + break; + //+++ Added for IR-016676 + case "In Review Impl->In Work": + handler = InReview_InWork; + break; + //--- Added for IR-016676 + case "In Review Impl->Released": + handler = InReview_Released; + break; + } + + return ProcessTransitionHandler(handler); + } + + #region Dispatch Methods + //--------------------------------------------- + // Following methods are TransitionHandler implementations. Each change item has own transition handlers for + // process affected item depending on affected item properties. + //--------------------------------------------- + + //+++ Added for IR-016676 + private static void InReview_InWork(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" && + affectedItem.NewItemIdItem.State != "Preliminary" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("Preliminary"); + } + //--- Added for IR-016676 + + private static void InWork_InReview(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" && + affectedItem.NewItemIdItem.State != "In Review" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("In Review"); + } + + private static void InReview_Released(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("Released"); + + IList affectedIdItemList = + (from affectedItem in affectedItems + where + affectedItem.AffectedIdItem != null && + affectedItem.AffectedIdItem.State == "In Change" + select affectedItem.AffectedIdItem).ToList(); + + affectedIdItemList.Promote("Superseded"); + } + #endregion +} + +class ECN : ChangeItem +{ + public ECN(Item item) + : base(item, "ECN Affected Item") + { + } + + /// + /// Validate state item(not on promote) + /// + /// + /// throw if error + protected override ResultStatus ValidateState() + { + ResultStatus status = base.ValidateState(); + if (!status.IsSuccess) return status; + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.State) + { + case "In Planning": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + + break; + case "In Work": + case "In Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected override ResultStatus ValidateTransition() + { + ResultStatus status = base.ValidateTransition(); + if (!status.IsSuccess) return status; + + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.Transition.ToString()) + { + case "In Planning->In Work": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + break; + case "In Work->In Review": + case "In Review->Released": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Process each affected item by TransitionHandler + /// + /// Handler which will be executed for each affected item in collection + /// + public override Item ProcessTransition() + { + TransitionHandler handler = null; + + switch (this.Transition.ToString()) + { + case "In Planning->In Work": + IList sortedAffectedItemList = this.AffectedItems; + + #region Promote all not null affectedIdItem to In Change + { + IList affectedIdItemList = + (from affectedItem in sortedAffectedItemList + where affectedItem.AffectedIdItem != null + select affectedItem.AffectedIdItem) + .ToList(); + + affectedIdItemList.Promote("In Change"); + } + #endregion + + #region Version affectedIdItem with action Change and Interchangeable = true + { + IList affectedItemList = + (from affectedItem in sortedAffectedItemList + where + affectedItem.Action == AffectedItem.ActionType.Change && + affectedItem.Interchangeable + select affectedItem) + .ToList(); + + IList versionedAffectedIdItemList = + affectedItemList + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList() + .Version(); + + versionedAffectedIdItemList.Unlock(); + + affectedItemList = affectedItemList.Select((AffectedItem affectedItem, int index) => + { + affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; + return affectedItem; + } + ) + .ToList(); + + affectedItemList.Lock(); + affectedItemList.ApplyUpdate("new_item_id"); + affectedItemList.Unlock(); + } + #endregion + break; + case "In Work->In Review": + handler = InWork_InReview; + break; + //+++ Added for IR-016676 + case "In Review->In Work": + handler = InReview_InWork; + break; + //--- Added for IR-016676 + case "In Review->Released": + handler = InReview_Released; + break; + } + + return ProcessTransitionHandler(handler); + } + + #region Dispatch Methods + //--------------------------------------------- + // Following methods are TransitionHandler implementations. Each change item has own transition handlers for + // process affected item depending on affected item properties. + //--------------------------------------------- + + //+++ Added for IR-016676 + private static void InReview_InWork(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" && + affectedItem.NewItemIdItem.State != "Preliminary" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("Preliminary"); + } + //--- Added for IR-016676 + + private static void InWork_InReview(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" && + affectedItem.NewItemIdItem.State != "In Review" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("In Review"); + } + + private static void InReview_Released(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("Released"); + + IList affectedIdItemList = + (from affectedItem in affectedItems + where + affectedItem.AffectedIdItem != null && + affectedItem.AffectedIdItem.State == "In Change" + select affectedItem.AffectedIdItem).ToList(); + + affectedIdItemList.Promote("Superseded"); + } + #endregion +} + +/// +/// Represent inheritor of ChangeItem +/// +class SimpleECO : ChangeItem +{ + public SimpleECO(Item item) + : base(item, "Simple ECO Affected Item") + { + } + + /// + /// Validate state item(not on promote) + /// + /// + /// throw if error + protected override ResultStatus ValidateState() + { + ResultStatus status = base.ValidateState(); + if (!status.IsSuccess) return status; + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.State) + { + case "New": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + break; + case "In Work": + case "In Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected override ResultStatus ValidateTransition() + { + ResultStatus status = base.ValidateTransition(); + if (!status.IsSuccess) return status; + + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.Transition.ToString()) + { + case "New->In Work": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + break; + case "In Work->In Review": + case "In Review->Released": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Process each affected item by TransitionHandler + /// + /// Handler which will be executed for each affected item in collection + /// + public override Item ProcessTransition() + { + TransitionHandler handler = null; + + switch (this.Transition.ToString()) + { + case "New->In Work": + IList sortedAffectedItemList = this.AffectedItems; + + #region Promote all not null affectedIdItem to In Change + { + IList affectedIdItemList = + (from affectedItem in sortedAffectedItemList + where affectedItem.AffectedIdItem != null + select affectedItem.AffectedIdItem) + .ToList(); + + affectedIdItemList.Promote("In Change"); + } + #endregion + + #region Version affectedIdItem with action Change and Interchangeable = true + { + IList affectedItemList = + (from affectedItem in sortedAffectedItemList + where + affectedItem.Action == AffectedItem.ActionType.Change && + affectedItem.Interchangeable + select affectedItem) + .ToList(); + + IList versionedAffectedIdItemList = + affectedItemList + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList() + .Version(); + + versionedAffectedIdItemList.Unlock(); + + affectedItemList = affectedItemList.Select((AffectedItem affectedItem, int index) => + { + affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; + return affectedItem; + } + ) + .ToList(); + + affectedItemList.Lock(); + affectedItemList.ApplyUpdate("new_item_id"); + affectedItemList.Unlock(); + } + #endregion + break; + case "In Work->In Review": + handler = InWork_InReview; + break; + //+++ Added for IR-018084 + case "In Review->In Work": + handler = InReview_InWork; + break; + //--- Added for IR-018084 + case "In Review->Released": + handler = InReview_Released; + break; + } + + return ProcessTransitionHandler(handler); + } + + #region Dispatch Methods + //--------------------------------------------- + // Following methods are TransitionHandler implementations. Each change item has own transition handlers for + // process affected item depending on affected item properties. + //--------------------------------------------- + + //+++ Added for IR-018084 + private static void InReview_InWork(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" && + affectedItem.NewItemIdItem.State != "Preliminary" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("Preliminary"); + } + //--- Added for IR-018084 + + private static void InWork_InReview(IList affectedItems) + { + IList newItemIdList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" && + affectedItem.NewItemIdItem.State != "In Review" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdList.Promote("In Review"); + } + + private static void InReview_Released(IList affectedItems) + { + IList newItemIdItemList = + (from affectedItem in affectedItems + where + affectedItem.NewItemIdItem != null && + affectedItem.NewItemIdItem.State != "Released" + select affectedItem.NewItemIdItem).ToList(); + + newItemIdItemList.Promote("Released"); + + IList affectedIdItemList = + (from affectedItem in affectedItems + where + affectedItem.AffectedIdItem != null && + affectedItem.AffectedIdItem.State == "In Change" + select affectedItem.AffectedIdItem).ToList(); + + affectedIdItemList.Promote("Superseded"); + } + + #endregion +} + +/// +/// Represent inheritor of ChangeItem +/// +class ExpressECO : ChangeItem, IExpressEcoItemValidationRules +{ + public ExpressECO(Item item) + : base(item, "Express ECO Affected Item") + { + } + + #region Relationships + RelationshipItemList p_aff_list; + /// + /// List of ExtendedAffected Items + /// + public override RelationshipItemList AffectedItems + { + get + { + if (p_aff_list == null) + { + p_aff_list = new RelationshipItemList(this.AffectedItemRelshipName, new ExtendedAffectedItem(), this); + } + return p_aff_list; + } + } + + RelationshipItemList p_grouping_list; + /// + /// List of ExtendedAffected Items + /// + public RelationshipItemList GroupingRelationships + { + get + { + if (p_grouping_list == null) + { + p_grouping_list = new RelationshipItemList("Express ECO EDR Grouping", new Relationship(), this); + } + return p_grouping_list; + } + } + #endregion + + /// + /// Validate state item(not on promote) + /// + /// + /// throw if error + protected override ResultStatus ValidateState() + { + ResultStatus status = base.ValidateState(); + if (!status.IsSuccess) return status; + var thisValidationRules = (IExpressEcoItemValidationRules)this; + + switch (this.State) + { + case "In Planning": + case "Plan Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) + { + IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; + affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); + affItemRules.Is_AffectedId_and_NewItemId_NotLocked(status); + affItemRules.Is_AffectedId_InReleasedState(status); + affItemRules.Is_NewItemId_InPreliminaryState(status); + affItemRules.Is_AffectedId_Requiered(status); + affItemRules.Is_NewItemId_Required(status); + affItemRules.Is_NewItemId_RequiresNull(status); + affItemRules.Is_AffectedId_RequiresNull(status); + affItemRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + + affItemRules.Is_AffectedItem_Action_Review(status); + affItemRules.Is_NewItemId_InReleasedState(status); + affItemRules.Is_AffectedId_InSupersededOrReleasedState(status); + affItemRules.Is_AffectedRelationship_Allowed(status); + + foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) + { + IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; + affRelshRules.Is_AffectedRelationship_RequiresAttachAction(status); + affRelshRules.Is_AffectedRelId_Required(status); + affRelshRules.Is_AffectedRelId_Required_AffectedId_SourceID(status); + affRelshRules.Is_AffectedRelationshipProperty_Required(status); + } + } + thisValidationRules.IsEveryEdrGroupHaveATeam(status); + break; + case "In Work": + case "In Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) + { + IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; + affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); + affItemRules.VerifyAffectedItemProperties(status); + + foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) + { + IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; + affRelshRules.Verify(status); + } + } + thisValidationRules.IsSpawnedEdrsInPendingClosureState(status); + break; + } + + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected override ResultStatus ValidateTransition() + { + ResultStatus status = base.ValidateTransition(); + if (!status.IsSuccess) return status; + var thisValidationRules = (IExpressEcoItemValidationRules)this; + + switch (this.Transition.ToString()) + { + case "In Planning->In Work": + case "Plan Review->In Work": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) + { + IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; + affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); + affItemRules.Is_AffectedId_and_NewItemId_NotLocked(status); + affItemRules.Is_AffectedId_InReleasedState(status); + affItemRules.Is_NewItemId_InPreliminaryState(status); + affItemRules.Is_AffectedId_Requiered(status); + affItemRules.Is_NewItemId_Required(status); + affItemRules.Is_NewItemId_RequiresNull(status); + affItemRules.Is_AffectedId_RequiresNull(status); + affItemRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + + affItemRules.Is_AffectedItem_Action_Review(status); + affItemRules.Is_NewItemId_InReleasedState(status); + affItemRules.Is_AffectedId_InSupersededOrReleasedState(status); + affItemRules.Is_AffectedRelationship_Allowed(status); + + foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) + { + IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; + affRelshRules.Is_AffectedRelationship_RequiresAttachAction(status); + affRelshRules.Is_AffectedRelId_Required(status); + affRelshRules.Is_AffectedRelId_Required_AffectedId_SourceID(status); + affRelshRules.Is_AffectedRelationshipProperty_Required(status); + } + } + thisValidationRules.IsEveryEdrGroupHaveATeam(status); + break; + case "In Work->In Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + case "In Work->Released": + case "In Review->Released": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (ExtendedAffectedItem affectedItem in this.AffectedItems) + { + IExtendedAffectedItemValidationRules affItemRules = (IExtendedAffectedItemValidationRules)affectedItem; + affItemRules.Compare_AffectedId_and_NewItem_IdTypes(status); + affItemRules.VerifyAffectedItemProperties(status); + + foreach (AffectedRelationship affectedRelationship in affectedItem.AffectedRelationships) + { + IAffectedRelationshipValidationRules affRelshRules = (IAffectedRelationshipValidationRules)affectedRelationship; + affRelshRules.Verify(status); + } + } + thisValidationRules.IsSpawnedEdrsInPendingClosureState(status); + + break; + } + + return status; + } + + #region Validation Rules + void IExpressEcoItemValidationRules.IsSpawnedEdrsInPendingClosureState(ResultStatus status) + { + foreach (IExpressEdrItemValidationRules edr in GetSpawnedEdrs()) + { + edr.IsInPendingClosureState(status); + } + } + + protected override void IsAffectedItemOtherThanNoneActionExists(ResultStatus status) + { + if (this.AffectedItems.Count > 0 && !this.AffectedItems.Any(affectedItem => ((ExtendedAffectedItem)affectedItem).ItemAction != ExtendedAffectedItem.ItemActionType.None)) + { + status.AddError("ValidateChangeItem_IsAffectedItemWithActionOtherThanNoneExists", this.Type, this.Number); + } + } + + void IExpressEcoItemValidationRules.IsEveryEdrGroupHaveATeam(ResultStatus status) + { + string[] allGroups = this.AffectedItems + .Cast() + .Where(item => !string.IsNullOrEmpty(item.Grouping)) + .Select(item => item.Grouping) + .Distinct() + .ToArray(); + string[] groupsWithTeam = this.GroupingRelationships + .Where(item => !string.IsNullOrEmpty(item.Item.getProperty("grouping_team")) && !string.IsNullOrEmpty(item.Item.getProperty("grouping"))) + .Select(item => item.Item.getProperty("grouping")) + .ToArray(); + string[] groupsWithoutTeam = allGroups + .Where(g => groupsWithTeam.FirstOrDefault(gt => string.Equals(g, gt, StringComparison.OrdinalIgnoreCase)) == null) + .ToArray(); + if (groupsWithoutTeam.Length > 0) + { + status.AddError("ValidateExpressEco_CheckGroupingTeams", this.Type, this.Number, string.Join(", ", groupsWithoutTeam)); + } + } + #endregion + + /// + /// Process each affected item by TransitionHandler + /// + /// Handler which will be executed for each affected item in collection + /// + public override Item ProcessTransition() + { + TransitionHandler handler = null; + + switch (this.Transition.ToString()) + { + case "In Planning->In Work": + case "Plan Review->In Work": + handler = To_InWork; + break; + case "In Review->In Work": + handler = InReview_InWork; + break; + case "In Work->In Review": + handler = InWork_InReview; + break; + case "In Work->Released": + case "In Review->Released": + handler = Changes_Released; + break; + } + + return ProcessTransitionHandler(handler); + } + + #region Dispatch Methods + //--------------------------------------------- + // Following methods are TransitionHandler implementations. Each change item has own transition handlers for + // process affected item depending on affected item properties. + //--------------------------------------------- + + private void To_InWork(IList affectedItems) + { + IList extAffectedItems = affectedItems.Cast().ToList(); + + #region Release + { + //Select ItemAction == Release + IList releaseExtAffectedItems = extAffectedItems + .Where(extAffectedItem => (extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Release)) + .ToList(); + + releaseExtAffectedItems.ProcessAffectedRelationships(); + releaseExtAffectedItems.ProcessAffectedItemProperties(); + } + #endregion + + #region Revise + { + //Select ItemAction == Revise + IList reviseExtAffectedItems = extAffectedItems + .Where(extAffectedItem => (extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Revise)) + .ToList(); + + //Select AffectedIdItem + IList affectedIdItemList = reviseExtAffectedItems + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList(); + IList versionedItems = affectedIdItemList.Version(); + + versionedItems.Unlock(); + + //Set NewItemIdItem by ids of versioned AffectedIdItems + reviseExtAffectedItems = reviseExtAffectedItems + .Zip(versionedItems, (affectedItem, versionedItem) => + { + affectedItem.NewItemIdItem = versionedItem; + return affectedItem; + }).ToList(); + + //Apply chanes + reviseExtAffectedItems.Lock(); + reviseExtAffectedItems.ApplyUpdate("new_item_id"); + reviseExtAffectedItems.Unlock(); + + affectedIdItemList.Promote("In Change"); + + reviseExtAffectedItems.ProcessAffectedRelationships(); + reviseExtAffectedItems.ProcessAffectedItemProperties(); + } + #endregion + + #region Renumber + { + //Select ItemAction == Renumber + IList renumberExtAffectedItems = extAffectedItems + .Where(extAffectedItem => (extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber)) + .ToList(); + + //Select AffectedIdItem + IList affectedIdItems = renumberExtAffectedItems + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList(); + IList copiedItems = affectedIdItems.Copy(); + + copiedItems.Unlock(); + + //Set NewItemIdItem by ids of copied AffectedIdItems + renumberExtAffectedItems = renumberExtAffectedItems.Zip(copiedItems, (affectedItem, copiedItem) => + { + affectedItem.NewItemIdItem = copiedItem; + return affectedItem; + }).ToList(); + + //Apply changes + renumberExtAffectedItems.Lock(); + renumberExtAffectedItems.ApplyUpdate("new_item_id"); + renumberExtAffectedItems.Unlock(); + + affectedIdItems.Promote("In Change"); + + renumberExtAffectedItems.ProcessAffectedRelationships(); + renumberExtAffectedItems.ProcessAffectedItemProperties(); + } + #endregion + + #region Spawn ExpressEDRs + extAffectedItems + .Where(item => !String.IsNullOrEmpty(item.Grouping) && ExpressEDR.IsEdrType(item.NewAndAffectedItemType)) + .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) + .GroupBy(item => item.Grouping, StringComparer.InvariantCulture).ToList() + .ForEach(items => ExpressEDR.Spawn(this, items.Key, items.ToList())); + #endregion + } + + private static void InWork_InReview(IList affectedItems) + { + var extAffectedItems = affectedItems + .Cast() + .Where(IsControllingByEco) + .ToList(); + InWork_InReview_Common(extAffectedItems); + } + + internal static void InWork_InReview_Common(IList extAffectedItems) + { + //Select NewItemIdItem where AffectedItem.ItemAction == Release | Revise | Renumber + IList newItemList = extAffectedItems + .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) + .Select(affectedItem => affectedItem.NewItemIdItem) + .ToList(); + + newItemList.Promote("In Review"); + } + + private static void InReview_InWork(IList affectedItems) + { + var extAffectedItems = affectedItems + .Cast() + .Where(IsControllingByEco) + .ToList(); + InReview_InWork_Common(extAffectedItems); + } + + internal static void InReview_InWork_Common(IList extAffectedItems) + { + //Select NewItemIdItem where AffectedItem.ItemAction == Release | Revise | Renumber + IList newItemList = extAffectedItems + .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) + .Select(affectedItem => affectedItem.NewItemIdItem) + .ToList(); + + newItemList.Promote("Preliminary"); + } + + private void Changes_Released(IList affectedItems) + { + var extAffectedItems = affectedItems.Cast() + .Where(IsControllingByEco) + .ToList(); + + Changes_Released_Common(extAffectedItems); + + // Vote spawned Edrs for ECO Approve + foreach (var expressEdr in GetSpawnedEdrs()) + { + expressEdr.GetWorkflow().Vote("ECO Approve"); + } + } + + internal static void Changes_Released_Common(IList extAffectedItems) + { + //Select NewItemIdItem where AffectedItem.ItemAction == Release | Revise | Renumber + IList newItemList = extAffectedItems + .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Release + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber) + .Select(affectedItem => affectedItem.NewItemIdItem) + .ToList(); + newItemList.Promote("Released"); + + //Select AffectedIdItem where AffectedItem.ItemAction == Supersede | Revise | Renumber + IList supersedeItemList = extAffectedItems + .Where(item => item.ItemAction == ExtendedAffectedItem.ItemActionType.Revise + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Renumber + || item.ItemAction == ExtendedAffectedItem.ItemActionType.Supersede) + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList(); + supersedeItemList.Promote("Superseded"); + + //Select AffectedIdItem where AffectedItem.ItemAction == Obsolete + IList obsoleteItemList = extAffectedItems + .Where(extAffectedItem => extAffectedItem.ItemAction == ExtendedAffectedItem.ItemActionType.Obsolete) + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList(); + obsoleteItemList.Promote("Obsolete"); + } + #endregion + + private IEnumerable GetSpawnedEdrs() + { + var qry = Utils.Innovator.newItem("Express ECO EDR", "get"); + qry.setProperty("source_id", ID); + qry.setAttribute("select", "related_id(*)"); + var result = qry.apply(); + if (result.isError()) + { + return Enumerable.Empty(); + } + + return ItemHelper.Enumerate(result).Select(item => new ExpressEDR(item.getPropertyItem("related_id"))); + } + + private static bool IsControllingByEco(ExtendedAffectedItem item) + { + return String.IsNullOrEmpty(item.Grouping); + } +} + + interface IExpressEdrItemValidationRules + { + void HasEcoVotedFromPendingClosureToDraftChanges(ResultStatus status); + void CheckPermissionForRestartEdr(ResultStatus status); + void IsInPendingClosureState(ResultStatus status); + } + +/// +/// Represent inheritor of ChangeItem +/// +class ExpressEDR : ChangeItem, IExpressEdrItemValidationRules +{ + #region Relationships + RelationshipItemList p_aff_list; + /// + /// List of ExtendedAffected Items + /// + public override RelationshipItemList AffectedItems + { + get + { + if (p_aff_list == null) + { + p_aff_list = new RelationshipItemList(this.AffectedItemRelshipName, new ExtendedAffectedItem(), this); + } + return p_aff_list; + } + } + #endregion + + private const string TitlePropertyName = "title"; + public string Title + { + get { return Item.getProperty(TitlePropertyName, String.Empty); } + } + + public ExpressECO RelatedEco + { + get + { + + var ecoItem = Utils.Innovator.newItem("Express ECO EDR", "get"); + ecoItem.setAttribute("select", "source_id(*)"); + ecoItem.setProperty("related_id", Item.getAttribute("id")); + ecoItem = ecoItem.apply(); + if (ecoItem.isError()) + { + throw new InvalidOperationException("Express ECO EDR item is not found. Details: " + ecoItem); + } + ecoItem = ecoItem.getPropertyItem("source_id"); + if (ecoItem == null) + { + throw new InvalidOperationException("Express ECO EDR source id is null"); + } + return new ExpressECO(ecoItem); + } + } + + private const string ChangeCoordinatorPropertyName = "owned_by_id"; + public string ChangeCoordinator + { + get { return this.Item.getProperty(ChangeCoordinatorPropertyName, ""); } + } + + public ExpressEDR(Item item) + : base(item, "Express EDR Affected Item") + { + } + + /// + /// Validate state item (not on promote) + /// + /// + protected override ResultStatus ValidateState() + { + ResultStatus status = base.ValidateState(); + if (!status.IsSuccess) + { + return status; + } + var thisValidationRules = (IChangeItemValidationRules)this; + + switch (State) + { + case "In Work": + case "In Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected override ResultStatus ValidateTransition() + { + ResultStatus status = base.ValidateTransition(); + if (!status.IsSuccess) + { + return status; + } + var changeItemValidationRules = (IChangeItemValidationRules)this; + + switch (Transition.ToString()) + { + case "In Work->In Review": + case "In Work->Pending Closure": + case "In Review->Pending Closure": + case "Pending Closure->Released": + changeItemValidationRules.IsAffectedItemExists(status); + changeItemValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + case "Pending Closure->In Work": + var edrItemValidationRules = (IExpressEdrItemValidationRules)this; + edrItemValidationRules.CheckPermissionForRestartEdr(status); + edrItemValidationRules.HasEcoVotedFromPendingClosureToDraftChanges(status); + break; + } + + return status; + } + + /// + /// Process each affected item by TransitionHandler + /// + /// + public override Item ProcessTransition() + { + TransitionHandler handler = null; + switch (Transition.ToString()) + { + case "In Work->In Review": + handler = InWork_InReview; + break; + case "Pending Closure->In Work": + case "In Review->In Work": + handler = InReview_InWork; + break; + case "Pending Closure->Released": + handler = Pending_Released; + break; + } + + return ProcessTransitionHandler(handler); + } + + #region Dispatch Methods + //--------------------------------------------- + // Following methods are TransitionHandler implementations. Each change item has own transition handlers for + // process affected item depending on affected item properties. + //--------------------------------------------- + + private static void InWork_InReview(IList affectedItems) + { + ExpressECO.InWork_InReview_Common(affectedItems.Cast().ToList()); + } + + private static void InReview_InWork(IList affectedItems) + { + Aras.Server.Security.Identity uglyHackForCMIdentityUsedInDocumentLCM = Aras.Server.Security.Identity.GetByName("CM"); + bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(uglyHackForCMIdentityUsedInDocumentLCM); + try + { + ExpressECO.InReview_InWork_Common(affectedItems.Cast().ToList()); + } + finally + { + if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(uglyHackForCMIdentityUsedInDocumentLCM); + } + } + + private static void Pending_Released(IList affectedItems) + { + ExpressECO.Changes_Released_Common(affectedItems.Cast().ToList()); + } + #endregion + + #region Spawn Express EDR from Express ECO and Affected Docs + public static ExpressEDR Spawn(ExpressECO parentEco, string @group, IList affectedDocs) + { + var edr = CreateExpressEdr(parentEco, @group); + UpdateAffectedItems(affectedDocs); + AddAffectedItems(edr, affectedDocs); + + edr.ApplyAdd(); + + var ecoEdrItem = Utils.Innovator.newItem("Express ECO EDR", "add"); + ecoEdrItem.setProperty("source_id", parentEco.ID); + ecoEdrItem.setProperty("related_id", edr.ID); + ecoEdrItem = ecoEdrItem.apply(); + if (ecoEdrItem.isError()) + { + throw new InvalidOperationException("Failed to add Express ECO EDR. Details:" + ecoEdrItem); + } + return edr; + } + + private static ExpressEDR CreateExpressEdr(ExpressECO eco, string @group) + { + var edrItem = Utils.Innovator.newItem("Express EDR"); + edrItem.setNewID(); + edrItem.setProperty("title", GenerateTitle(eco, @group)); + edrItem.setProperty("change_reason", eco.Item.getProperty("change_reason")); + edrItem.setProperty("description", eco.Item.getProperty("description")); + edrItem.setProperty("owned_by_id", eco.Item.getProperty("owned_by_id")); + Relationship groupingItem = eco.GroupingRelationships.FirstOrDefault(item => string.Equals(item.Item.getProperty("grouping"), @group, StringComparison.OrdinalIgnoreCase)); + if (groupingItem == null) + { + throw new InvalidOperationException("New EDR for group=" + @group + ", but GroupingRelationships are not found"); + } + string teamId = groupingItem.Item.getProperty("grouping_team"); + if (string.IsNullOrEmpty(teamId)) + { + throw new InvalidOperationException("New EDR for group=" + @group + ", but grouping_team is empty in GroupingRelationships"); + } + edrItem.setProperty("team_id", teamId); + return new ExpressEDR(edrItem); + } + + private static string GenerateTitle(ExpressECO eco, string @group) + { + return String.Format("EDR-{0} for {1}", @group, eco.Number); + } + + private static void UpdateAffectedItems(IList affectedDocs) + { + foreach (var item in affectedDocs) + { + string action; + string state = (item.NewItemIdItem ?? item.AffectedIdItem).State; + switch (state) + { + case "Preliminary": + action = AffectedItem.ActionType.Add.ToString(); + break; + default: + action = AffectedItem.ActionType.Change.ToString(); + break; + } + item.Item.setProperty("action", action); + } + + affectedDocs.Lock(); + affectedDocs.ApplyUpdate("action"); + affectedDocs.Unlock(); + } + + private static void AddAffectedItems(ExpressEDR edr, IEnumerable affectedDocs) + { + foreach (var document in affectedDocs) + { + var edrAffectedItem = Utils.Innovator.newItem(edr.AffectedItemRelshipName, "add"); + edrAffectedItem.setRelatedItem(document.Item); + edr.Item.addRelationship(edrAffectedItem); + } + } + #endregion + + public static bool IsEdrType(string type) + { + return "Document".Equals(type, StringComparison.InvariantCulture) || "CAD".Equals(type, StringComparison.InvariantCulture); + } + + #region Validation Rules + void IExpressEdrItemValidationRules.HasEcoVotedFromPendingClosureToDraftChanges(ResultStatus status) + { + ICollection history = RelatedEco.GetWorkflow().History; + int historyLength = history.Count; + if (historyLength >= 2) + { + var activeActivity = history.ElementAt(historyLength - 1); + var previousActivity = history.ElementAt(historyLength - 2); + if (previousActivity.Name == "Change Review" && activeActivity.Name == "Draft Changes") + { + return; + } + } + status.AddError("ValidateExpressEdr_HasEcoVotedFromPendingClosureToDraftChanges"); + } + + void IExpressEdrItemValidationRules.CheckPermissionForRestartEdr(ResultStatus status) + { + if (!Utils.CCO.Permissions.IdentityListHasId(Aras.Server.Security.Permissions.Current.IdentitiesList, ChangeCoordinator)) + { + status.AddError("ValidateExpressEdr_NotEnoughPermissions"); + } + } + + void IExpressEdrItemValidationRules.IsInPendingClosureState(ResultStatus status) + { + if (!"Pending Closure".Equals(State, StringComparison.InvariantCulture)) + { + status.AddError("ValidateExpressEdr_IsInPendingClosureState", Number, State); + } + } + #endregion +} + +class Activity : ItemWrapper +{ + public string Name + { + get { return Item.getProperty("name"); } + } + + public string State + { + get { return Item.getProperty("state"); } + } + + public DateTime ActivateDateTime + { + get { return XmlConvert.ToDateTime(Item.getProperty("active_date"), "s"); } + } + + public ICollection Assignment + { + get + { + var assignments = + ItemHelper.Enumerate(Item.getRelationships(ItemTypeNames.ActivityAssignment)).ToList(); + return new System.Collections.ObjectModel.ReadOnlyCollection(assignments); + } + } + + public ICollection Paths + { + get + { + var paths = ItemHelper.Enumerate(Item.getRelationships(ItemTypeNames.WorkflowProcessPath)).ToList(); + return new System.Collections.ObjectModel.ReadOnlyCollection(paths); + } + } + + public Activity(Item activityItem) + : base(activityItem) + { + } + + public override string ToString() + { + return Name; + } +} + +class Workflow : ItemWrapper +{ + public Activity ActiveActivity + { + get { return History.LastOrDefault(); } + } + + private readonly Lazy> _history; + public ICollection History + { + get { return _history.Value; } + } + + public Workflow(Item workflowItem) + : base(workflowItem) + { + _history = new Lazy>(ExtractWorkflowHistory); + } + + public Item Vote(string votePath) + { + var arasPlmIdentity = Aras.Server.Security.Identity.GetByName("Aras PLM"); + var activity = ActiveActivity; + var activityAssignment = activity.Assignment.FirstOrDefault(a => a.getRelatedItemID() == arasPlmIdentity.Id); + var path = activity.Paths.FirstOrDefault(p => p.getProperty("name") == votePath); + if (activityAssignment == null || path == null) + { + throw new InvalidOperationException("No any assignments found for Aras PLM identity. This assignment is supposed to be completed to perform operation."); + } + return VoteActivity(activity.Id, activityAssignment.getID(), path.getID()); + } + + private ICollection ExtractWorkflowHistory() + { + const string selectActivatedActivites = + "./related_id/Item[@type=\"Workflow Process\"]/Relationships/Item/related_id/Item[@type=\"Activity\"][active_date]"; + var history = ItemHelper.Enumerate(Item.getItemsByXPath(selectActivatedActivites)) + .Select(item => new Activity(item)) + .OrderBy(activity => activity.ActivateDateTime); + return new System.Collections.ObjectModel.ReadOnlyCollection(history.ToList()); + } + + private Item VoteActivity(string activityId, string activityAssignment, string pathId) + { + var voteXml = new StringBuilder(""); + voteXml.Append(""); + voteXml.Append(" {0}"); + voteXml.Append(" {1}"); + voteXml.Append(" "); + voteXml.Append(" "); + voteXml.Append(" "); + voteXml.Append(" 0"); + voteXml.Append(" "); + voteXml.Append(" "); + voteXml.Append(" "); + voteXml.Append(" "); + voteXml.Append(" 1"); + voteXml.Append(""); + + var evaluateActivityQuery = Utils.Innovator.newItem(); + evaluateActivityQuery.loadAML(String.Format(voteXml.ToString(), System.Security.SecurityElement.Escape(activityId), + System.Security.SecurityElement.Escape(activityAssignment), System.Security.SecurityElement.Escape(pathId))); + return evaluateActivityQuery.apply(); + } +} + +abstract class ItemWrapper +{ + protected Item Item { get; private set; } + + public string Id + { + get { return Item.getID(); } + } + + protected ItemWrapper(Item item) + { + Item = item; + } +} + +static class ItemHelper +{ + public static IEnumerable Enumerate(Item itemCollection) + { + if (itemCollection == null) + { + throw new ArgumentNullException("itemCollection"); + } + var count = itemCollection.getItemCount(); + for (var i = 0; i < count; i++) + { + yield return itemCollection.getItemByIndex(i); + } + } +} + +class ItemTypeNames +{ + public const string Activity = "Activity"; + public const string ActivityAssignment = "Activity Assignment"; + public const string ExpressEdr = "Express EDR"; + public const string Workflow = "Workflow"; + public const string WorkflowProcess = "Workflow Process"; + public const string WorkflowProcessActivity = "Workflow Process Activity"; + public const string WorkflowProcessPath = "Workflow Process Path"; +} + +class ItemActions +{ + public const string Add = "add"; + public const string Edit = "edit"; + public const string Update = "update"; + public const string Get = "get"; + public const string Delete = "delete"; +} + +class RelationshipProperties +{ + public const string Source = "source_id"; + public const string Related = "related_id"; +} + +/// +/// Represent inheritor of ChangeItem +/// +class ExpressDCO : ChangeItem +{ + public ExpressDCO(Item item) + : base(item, "Express DCO Affected Item") + { + } + + + /// + /// Validate state item(not on promote) + /// + /// + protected override ResultStatus ValidateState() + { + ResultStatus status = base.ValidateState(); + if (!status.IsSuccess) return status; + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.State) + { + case "New": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + break; + case "In Work": + case "In Review": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + return status; + } + + /// + /// Validate item on promote + /// + /// + /// throw if error + protected override ResultStatus ValidateTransition() + { + ResultStatus status = base.ValidateTransition(); + if (!status.IsSuccess) return status; + IChangeItemValidationRules thisValidationRules = (IChangeItemValidationRules)this; + + switch (this.Transition.ToString()) + { + case "New->In Work": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + affectedItem.Is_AffectedId_and_NewItemId_NotLocked(status); + affectedItem.Is_AffectedId_InReleasedState(status); + affectedItem.Is_NewItemId_InPreliminaryState(status); + affectedItem.Is_AffectedId_Requiered(status); + affectedItem.Is_NewItemId_Required(status); + affectedItem.Is_NewItemId_RequiresNull(status); + affectedItem.Is_AffectedId_RequiresNull(status); + affectedItem.Is_NewItemId_HasNoPreviouslyReleasedGeneration(status); + } + break; + case "In Work->In Review": + case "In Work->Released": + case "In Review->Released": + thisValidationRules.IsAffectedItemExists(status); + thisValidationRules.IsAffectedItemOtherThanNoneActionExists(status); + + foreach (IAffectedItemValidationRules affectedItem in this.AffectedItems) + { + affectedItem.Compare_AffectedId_and_NewItem_IdTypes(status); + } + break; + } + + return status; + } + + /// + /// Process each affected item by TransitionHandler + /// + /// Handler which will be executed for each affected item in collection + /// + public override Item ProcessTransition() + { + TransitionHandler handler = null; + switch (this.Transition.ToString()) + { + case "New->In Work": + handler = New_InWork; + break; + case "In Work->In Review": + handler = InWork_InReview; + break; + case "In Review->In Work": + handler = InReview_InWork; + break; + case "In Work->Released": + case "In Review->Released": + handler = Changes_Released; + break; + } + + return ProcessTransitionHandler(handler); + } + + #region Dispatch Methods + //--------------------------------------------- + // Following methods are TransitionHandler implementations. Each change item has own transition handlers for + // process affected item depending on affected item properties. + //--------------------------------------------- + + + private static void New_InWork(IList affectedItems) + { + #region Change + { + //Select Action == Change && Interchangeable == true + IList changeInterchangeableAffectedItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Change + && + affectedItem.Interchangeable == true + select affectedItem) + .ToList(); + + //Version AffectedIdItem + IList versionedAffectedIdItemList = + changeInterchangeableAffectedItemList + .Select(affectedItem => affectedItem.AffectedIdItem) + .ToList() + .Version(); + + versionedAffectedIdItemList.Unlock(); + + //Set NewItemIdItem by new id of versioned AffectedIdItem + changeInterchangeableAffectedItemList = changeInterchangeableAffectedItemList + .Select( + (AffectedItem affectedItem, int index) => + { + affectedItem.NewItemIdItem = versionedAffectedIdItemList[index]; + return affectedItem; + } + ) + .ToList(); + + //Apply changes + changeInterchangeableAffectedItemList.Lock(); + changeInterchangeableAffectedItemList.ApplyUpdate("new_item_id"); + changeInterchangeableAffectedItemList.Unlock(); + + //Select Action == Change + IList changeAffectedIdItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Change + select affectedItem.AffectedIdItem) + .ToList(); + + //Promote AffectedIdItem + changeAffectedIdItemList.Promote("In Change"); + } + #endregion + + #region Delete + { + //Select Delete == Change + IEnumerable deleteAffectedIdItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Delete + select affectedItem.AffectedIdItem); + + //Select AffectedIdItem and promote them + deleteAffectedIdItemList + .ToList() + .Promote("In Change"); + } + #endregion + } + + private static void InWork_InReview(IList affectedItems) + { + //Select NewItemIdItem where affectedItem Action == Add | Change + IList newItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Add || + affectedItem.Action == AffectedItem.ActionType.Change + select affectedItem.NewItemIdItem) + .ToList(); + + newItemList.Promote("In Review"); + } + + private static void InReview_InWork(IList affectedItems) + { + //Select NewItemIdItem where affectedItem Action == Add | Change + IList newItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Add || + affectedItem.Action == AffectedItem.ActionType.Change + select affectedItem.NewItemIdItem) + .ToList(); + + newItemList.Promote("Preliminary"); + } + + private static void Changes_Released(IList affectedItems) + { + //Select NewItemIdItem where affectedItem Action == Add | Change + IList newItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Add || + affectedItem.Action == AffectedItem.ActionType.Change + select affectedItem.NewItemIdItem) + .ToList(); + + newItemList.Promote("Released"); + + //Select AffectedIdItem where affectedItem Action == Delete | Change + IList affectedItemList = + (from affectedItem in affectedItems + where + affectedItem.Action == AffectedItem.ActionType.Delete || + affectedItem.Action == AffectedItem.ActionType.Change + select affectedItem.AffectedIdItem) + .ToList(); + + affectedItemList.Promote("Superseded"); + } + #endregion +} + + +class ChangeControlledRelationship : Relationship +{ + public ChangeControlledRelationship() + : base() + { + } + + public ChangeControlledRelationship(Item item) + : base(item, null) + { + // replace Change Controlled Relationship poly type to particular type + // TODO: use itemtype property to detect defned type if Change Controlled Relationship will contain other than Part BOM relationships + item.setAttribute("type", "Part BOM"); + } + + public ChangeControlledRelationship(Item item, ItemContext sourceItem) + : base(item, sourceItem) + { + // replace Change Controlled Relationship poly type to particular type + // TODO: use itemtype property to detect defned type if Change Controlled Relationship will contain other than Part BOM relationships + item.setAttribute("type", "Part BOM"); + } + + #region Mapped Properties + public string SourceID + { + get { return this.Item.getProperty("source_id"); } + set { this.Item.setProperty("source_id", value); } + } + + public string SortOrder + { + get { return this.Item.getProperty("sort_order"); } + } + + public string ItemTypeID + { + get { return this.Item.getProperty("itemtype"); } + } + #endregion + + public override void Delete() + { + Item tmpItem = Utils.Innovator.newItem(); + tmpItem.setAttribute("typeId", this.ItemTypeID); + tmpItem.setID(this.ID); + tmpItem.setAction("delete"); + + Item res = tmpItem.apply(); + + Utils.AssertItem(res); + + FireDeleted(); + } +} + +/// +/// Wrap Change Controlled Item type instance +/// +class ChangeControlledItem : ItemContext +{ + public ChangeControlledItem(Item item) + : base(item) + { + p_relationships = new RelationshipItemList("Change Controlled Relationship", new ChangeControlledRelationship(), this); + } + + #region Mapped Properties + public string ItemNumber + { + get { return this.Item.getProperty("item_number", ""); } + } + #endregion + + #region Relationships + public RelationshipItemList p_relationships; + public RelationshipItemList Relationships + { + get { return p_relationships; } + } + #endregion + + /// + /// Is item has previosly released generations + /// + public bool HasPreviouslyReleasedGenerations + { + get + { + Item thisCheck = Utils.Innovator.newItem(this.Type, "get"); + thisCheck.setAttribute("select", "config_id"); + thisCheck.setProperty("generation", "*"); + thisCheck.setPropertyCondition("generation", "like"); + + thisCheck.setProperty("config_id", this.ConfigID); + thisCheck.setProperty("is_released", "1"); + thisCheck = thisCheck.apply(); + + return thisCheck.getItemCount() > 0; + } + } +} + +/// +/// Wrap Life Cycle Transition item type instance +/// +class LifeCycleTransition : ItemContext +{ + public LifeCycleTransition(Item item) + : base(item) + { + + } + + public string ToState + { + get { return this.Item.getPropertyAttribute("to_state", "keyed_name", ""); } + } + + public string FromState + { + get { return this.Item.getPropertyAttribute("from_state", "keyed_name", ""); } + } + + public override string ToString() + { + return String.Format(CultureInfo.InvariantCulture, "{0}->{1}", this.FromState, this.ToState); + } +} + +/// +/// Affected Item wrapper. +/// +class AffectedItem : RelatedRelationshipItem, IAffectedItemValidationRules +{ + public enum ActionType + { + None, + Add, + Change, + Delete + } + + /// + /// Prototype constructor + /// + public AffectedItem() + : base() + { + } + + public AffectedItem(Item item, ItemContext sourceItem) + : base(item, sourceItem) + { + this.Interchangeable = this.Item.getProperty("interchangeable", "") == "1"; + + string changeAction = this.Item.getProperty("action", ""); + this.Action = Utils.GetEnumByValue(changeAction, "None"); + } + + #region Mapped Properties + + public string NewAndAffectedItemType { + get + { + if (NewItemIdItem != null) + { + return NewItemIdItem.Type; + } + if (AffectedIdItem != null) + { + return AffectedIdItem.Type; + } + return String.Empty; + } + } + + ActionType p_action; + public ActionType Action + { + get { return p_action; } + private set { p_action = value; } + } + + bool p_interchangeable; + public bool Interchangeable + { + get { return p_interchangeable; } + private set { p_interchangeable = value; } + } + + ChangeControlledItem p_affected_id_item; + public ChangeControlledItem AffectedIdItem + { + get + { + if (p_affected_id_item == null) + { + Item affectedItem = this.Item.getPropertyItem("affected_id"); + if (affectedItem == null) + { + return null; + } + + p_affected_id_item = new ChangeControlledItem(affectedItem); + } + return p_affected_id_item; + } + + set + { + p_affected_id_item = null; + this.Item.setPropertyItem("affected_id", value.Item); + } + } + + ChangeControlledItem p_new_item_id_item; + public ChangeControlledItem NewItemIdItem + { + get + { + if (p_new_item_id_item == null) + { + Item newItem = this.Item.getPropertyItem("new_item_id"); + if (newItem == null) + { + return null; + } + + p_new_item_id_item = new ChangeControlledItem(newItem); + } + return p_new_item_id_item; + } + + set + { + this.p_new_item_id_item = null; + this.Item.setPropertyItem("new_item_id", value.Item); + } + } + + #endregion + + #region IAffectedItemValidationRules Members + void IAffectedItemValidationRules.Compare_AffectedId_and_NewItem_IdTypes(ResultStatus status) + { + if (this.AffectedIdItem == null || this.NewItemIdItem == null) return; + + if (this.AffectedIdItem.Type != this.NewItemIdItem.Type) + { + status.AddError("ValidateChangeItem_Compare_AffectedId_and_NewItem_IdTypes", + this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + + void IAffectedItemValidationRules.Is_AffectedId_and_NewItemId_NotLocked(ResultStatus status) + { + if (this.AffectedIdItem != null && this.AffectedIdItem.IsLocked) + { + status.AddError("ValidateChangeItem_Is_AffectedId_and_NewItemId_NotLocked", + this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); + } + + if (this.NewItemIdItem != null && this.NewItemIdItem.IsLocked) + { + status.AddError("ValidateChangeItem_Is_AffectedId_and_NewItemId_NotLocked", + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + + void IAffectedItemValidationRules.Is_AffectedId_InReleasedState(ResultStatus status) + { + if (this.AffectedIdItem != null && this.AffectedIdItem.State != "Released") + { + status.AddError("ValidateChangeItem_Is_AffectedId_InReleasedState", + this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, this.AffectedIdItem.State); + } + } + + void IAffectedItemValidationRules.Is_NewItemId_InPreliminaryState(ResultStatus status) + { + if (this.NewItemIdItem != null && this.NewItemIdItem.State != "Preliminary") + { + status.AddError("ValidateChangeItem_Is_NewItemId_InPreliminaryState", + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber, this.NewItemIdItem.State); + } + } + + void IAffectedItemValidationRules.Is_AffectedId_Requiered(ResultStatus status) + { + if (this.Action == AffectedItem.ActionType.Change || this.Action == AffectedItem.ActionType.Delete) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateChangeItem_Is_AffectedId_Requiered"); + } + } + } + + void IAffectedItemValidationRules.Is_NewItemId_Required(ResultStatus status) + { + if (this.Action == AffectedItem.ActionType.Change && !this.Interchangeable) + { + if (this.NewItemIdItem == null) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateChangeItem_Is_NewItemId_Required"); + } + else + { + status.AddError("ValidateChangeItem_Is_NewItemId_Required_with_param", this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); + } + } + } + + if (this.Action == AffectedItem.ActionType.Add) + { + if (this.NewItemIdItem == null) + { + status.AddError("ValidateChangeItem_Is_NewItemId_Required_add_action"); + } + } + } + + void IAffectedItemValidationRules.Is_NewItemId_RequiresNull(ResultStatus status) + { + if (this.Action == AffectedItem.ActionType.Delete) + { + if (this.NewItemIdItem != null) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnDelete"); + } + else + { + status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnDelete_with_param", this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); + } + } + } + + if (this.Action == AffectedItem.ActionType.Change && this.Interchangeable) + { + if (this.NewItemIdItem != null) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnChange"); + } + else + { + status.AddError("ValidateChangeItem_Is_NewItemId_RequiresNull_OnChange_with_param", this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); + } + } + } + } + + void IAffectedItemValidationRules.Is_AffectedId_RequiresNull(ResultStatus status) + { + if (this.Action == AffectedItem.ActionType.Add) + { + if (this.AffectedIdItem != null) + { + if (this.NewItemIdItem == null) + { + status.AddError("ValidateChangeItem_Is_AffectedId_RequiresNull"); + } + else + { + status.AddError("ValidateChangeItem_Is_AffectedId_RequiresNull_with_param", this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + } + } + + void IAffectedItemValidationRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(ResultStatus status) + { + if (this.NewItemIdItem == null) return; + + if (this.Action == AffectedItem.ActionType.Add && this.NewItemIdItem.HasPreviouslyReleasedGenerations) + { + status.AddError("ValidateChangeItem_Is_NewItemId_HasNoPreviouslyReleasedGeneration", + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + #endregion +} + +/// +/// Extend AffectedItem class by new added properties and relationships to Affected Item type definition. +/// +class ExtendedAffectedItem : AffectedItem, IExtendedAffectedItemValidationRules +{ + public enum ItemActionType + { + Empty, + None, + Release, + Revise, + Renumber, + Supersede, + Obsolete, + Review + } + + public ExtendedAffectedItem() + : base() + { + } + + public ExtendedAffectedItem(Item item, ItemContext sourceItem) + : base(item, sourceItem) + { + Grouping = this.Item.getProperty("grouping", ""); + string itemChangeAction = this.Item.getProperty("item_action", ""); + this.ItemAction = Utils.GetEnumByValue(itemChangeAction, "Empty"); + + p_aff_rel = new RelationshipItemList("Affected Item Relationship", new AffectedRelationship(), this); + p_aff_item_prop = new RelationshipItemList("Affected Item Property", new AffectedItemProperty(), this); + } + + #region Relationships + RelationshipItemList p_aff_rel; + /// + /// Affected Item Relationship relationship + /// + public RelationshipItemList AffectedRelationships + { + get { return p_aff_rel; } + } + + RelationshipItemList p_aff_item_prop; + /// + /// Affected Item Property relationship + /// + public RelationshipItemList AffectedItemProperties + { + get { return p_aff_item_prop; } + } + #endregion + + #region Mapped Properties + public string Grouping { get; private set; } + ItemActionType p_item_action; + public ItemActionType ItemAction + { + get { return p_item_action; } + private set { p_item_action = value; } + } + #endregion + + #region IAffectedItemValidationRules Members + /// + /// All affected_id items must be in "Released" state when item_action is "Revise", "Renumber" or "Supersede" or "Obsolete" + /// + /// + void IAffectedItemValidationRules.Is_AffectedId_InReleasedState(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Revise || + this.ItemAction == ItemActionType.Renumber || + this.ItemAction == ItemActionType.Supersede) + { + if (this.AffectedIdItem != null && this.AffectedIdItem.State != "Released") + { + status.AddError("ValidateAffectedItem_Is_AffectedId_InReleasedState", + this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, this.AffectedIdItem.State); + } + } + } + + /// + /// All new_item_id items must be in Preliminary state when item_action is "Release" + /// + /// + void IAffectedItemValidationRules.Is_NewItemId_InPreliminaryState(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Release) + { + if (this.NewItemIdItem != null && this.NewItemIdItem.State != "Preliminary") + { + status.AddError("ValidateAffectedItem_Is_NewItemId_InPreliminaryState", + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber, this.NewItemIdItem.State); + } + } + } + + /// + /// affected_id is required when item_action is "Revise", "Renumber", "Supersede" or "Obsolete" + /// + /// + void IAffectedItemValidationRules.Is_AffectedId_Requiered(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Revise || + this.ItemAction == ItemActionType.Renumber || + this.ItemAction == ItemActionType.Supersede || + this.ItemAction == ItemActionType.Obsolete) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateAffectedItem_Is_AffectedId_Requiered", this.ItemAction.ToString()); + } + } + } + + /// + /// new_item_id is required when action is "Release" or "Supersede" + /// + /// + void IAffectedItemValidationRules.Is_NewItemId_Required(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Release || this.ItemAction == ItemActionType.Supersede) + { + if (this.NewItemIdItem == null) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateAffectedItem_Is_NewItemId_Required", this.ItemAction.ToString()); + } + else + { + status.AddError("ValidateAffectedItem_Is_NewItemId_Required_with_param", + this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); + } + } + } + } + + /// + /// new_item_id must be null when item_action is "Revise", "Renumber" or "Obsolete" + /// + /// + void IAffectedItemValidationRules.Is_NewItemId_RequiresNull(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Revise || + this.ItemAction == ItemActionType.Renumber || + this.ItemAction == ItemActionType.Obsolete) + { + if (this.NewItemIdItem != null) + { + if (this.AffectedIdItem == null) + { + status.AddError("ValidateAffectedItem_Is_NewItemId_RequiresNull", this.ItemAction.ToString()); + } + else + { + status.AddError("ValidateAffectedItem_Is_NewItemId_RequiresNull_with_param", + this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber); + } + } + } + } + + /// + /// affected_id must be null when item_action is "Release" + /// + /// + void IAffectedItemValidationRules.Is_AffectedId_RequiresNull(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Release) + { + if (this.AffectedIdItem != null) + { + if (this.NewItemIdItem == null) + { + status.AddError("ValidateAffectedItem_Is_AffectedId_RequiresNull"); + } + else + { + status.AddError("ValidateAffectedItem_Is_AffectedId_RequiresNull_with_param", + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + } + } + + /// + /// new_item_id items must not have a previously released generation when action is "Release" + /// + /// + void IAffectedItemValidationRules.Is_NewItemId_HasNoPreviouslyReleasedGeneration(ResultStatus status) + { + if (this.NewItemIdItem == null) return; + + if (this.ItemAction == ItemActionType.Release && this.NewItemIdItem.HasPreviouslyReleasedGenerations) + { + status.AddError("ValidateAffectedItem_Is_NewItemId_HasNoPreviouslyReleasedGeneration", + this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + #endregion + + #region IExtendedAffectedItemValidationRules Members + /// + /// new_item_id items must not have a previously released generation when action is "Release" + /// + /// + void IExtendedAffectedItemValidationRules.Is_AffectedItem_Action_Review(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Review) + { + status.AddError("ValidateAffectedItem_Is_AffectedItem_Action_Review"); + } + } + + /// + /// All affected_id items must be in "Released" or "Superseded" state when item_action is "Obsolete" + /// + /// + void IExtendedAffectedItemValidationRules.Is_AffectedId_InSupersededOrReleasedState(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Obsolete) + { + if (this.AffectedIdItem != null && this.AffectedIdItem.State != "Superseded" && this.AffectedIdItem.State != "Released") + { + status.AddError("ValidateAffectedItem_Is_AffectedId_InSupersededOrReleasedState", + this.ItemAction.ToString(), this.AffectedIdItem.Type, this.AffectedIdItem.ItemNumber, this.AffectedIdItem.State); + } + } + } + + /// + /// new_item_id items must not have a previously released generation when action is "Release" + /// + /// + void IExtendedAffectedItemValidationRules.Is_NewItemId_InReleasedState(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Supersede) + { + if (this.NewItemIdItem != null && this.NewItemIdItem.State != "Released") + { + status.AddError("ValidateAffectedItem_Is_NewItemId_InReleasedState", + this.ItemAction.ToString(), this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber, this.NewItemIdItem.State); + } + } + } + + /// + /// No affected relationships may be attached to affected items with an item_action of "Supersede", "Obsolete" or "None" + /// + /// + void IExtendedAffectedItemValidationRules.Is_AffectedRelationship_Allowed(ResultStatus status) + { + if (this.ItemAction == ItemActionType.Supersede || this.ItemAction == ItemActionType.Obsolete || this.ItemAction == ItemActionType.None) + { + if (this.AffectedRelationships.Count > 0) + { + status.AddError("ValidateAffectedItem_Is_AffectedRelationship_Allowed", this.ItemAction.ToString()); + } + } + } + + /// + /// Verify all Affected Item Properties. + /// + void IExtendedAffectedItemValidationRules.VerifyAffectedItemProperties(ResultStatus status) + { + foreach (AffectedItemProperty aff_item_prop in this.AffectedItemProperties) + { + string value = this.NewItemIdItem.Item.getProperty(aff_item_prop.PropertyName); + if (value != aff_item_prop.NewValue) + { + status.AddError("VerifyAffectedRelationship_NotAllItemPropertiesWereApplied", aff_item_prop.PropertyName, aff_item_prop.NewValue, this.NewItemIdItem.Type, this.NewItemIdItem.ItemNumber); + } + } + } + #endregion + + #region Members + /// + /// Process all Affected Relationships relationships. In depend of action affected relationship will be Attached/Modified/Removed. + /// + public void ProcessAffectedRelationships() + { + List sortedAffectedRelationships; + Func orderByComparer = (AffectedRelationship.RelationshipAction action) => { + int res = 0; + switch (action){ + case AffectedRelationship.RelationshipAction.Remove: + res = 1; + break; + case AffectedRelationship.RelationshipAction.Attach: + res = 2; + break; + case AffectedRelationship.RelationshipAction.Modify: + res = 3; + break; + case AffectedRelationship.RelationshipAction.Empty: + res = 4; + break; + default: + throw new ArgumentOutOfRangeException("Not supported action in switch, action=" + action); + } + return res; + }; + sortedAffectedRelationships = this.AffectedRelationships.OrderBy(x => orderByComparer(x.Action)).ToList(); + foreach (AffectedRelationship aff_relship in sortedAffectedRelationships) + { + aff_relship.Process(); + } + } + + /// + /// Process all Affected Item Properties relationships. Apply property to new item. + /// + public void ProcessAffectedItemProperties() + { + foreach (AffectedItemProperty aff_item_prop in this.AffectedItemProperties) + { + this.NewItemIdItem.Item.setProperty(aff_item_prop.PropertyName, aff_item_prop.NewValue); + } + this.NewItemIdItem.ApplyEdit(); + } + #endregion +} + +class AffectedRelationship : RelatedRelationshipItem, IAffectedRelationshipValidationRules +{ + public enum RelationshipAction + { + Empty, + Attach, + Modify, + Remove + } + + public AffectedRelationship() + : base() + { + } + + public AffectedRelationship(Item item, ItemContext sourceItem) + : base(item, sourceItem) + { + string action = this.Item.getProperty("rel_action", ""); + this.Action = Utils.GetEnumByValue(action, "Empty"); + p_aff_rel_prop = new RelationshipItemList("Affected Relationship Property", new AffectedRelationshipProperty(), this); + } + + #region Relationships + RelationshipItemList p_aff_rel_prop; + public RelationshipItemList AffectedRelationshipProperties + { + get { return p_aff_rel_prop; } + } + #endregion + + #region Mapped Properties + RelationshipAction p_relAction; + public RelationshipAction Action + { + get { return p_relAction; } + private set { p_relAction = value; } + } + + ChangeControlledRelationship p_new_rel_item_id_item; + public ChangeControlledRelationship NewRelItemIdItem + { + get + { + + if (p_new_rel_item_id_item == null) + { + Item newRelItem = this.Item.getPropertyItem("new_rel_id"); + if (newRelItem == null) + { + return null; + } + + p_new_rel_item_id_item = new ChangeControlledRelationship(newRelItem); + } + + return p_new_rel_item_id_item; + } + + set + { + this.p_new_rel_item_id_item = null; + this.Item.setPropertyItem("new_rel_id", value.Item); + } + } + + ChangeControlledRelationship p_affected_rel_item_id_item; + public ChangeControlledRelationship AffectedRelItemIdItem + { + get + { + if (p_affected_rel_item_id_item == null) + { + Item affectedRelItem = this.Item.getPropertyItem("affected_rel_id"); + if (affectedRelItem == null) + { + return null; + } + + p_affected_rel_item_id_item = new ChangeControlledRelationship(affectedRelItem); + } + return p_affected_rel_item_id_item; + } + + set + { + this.p_affected_rel_item_id_item = null; + this.Item.setPropertyItem("affected_rel_id", value.Item); + } + } + #endregion + + #region IAffectedRelationshipValidationRules Members + + /// + /// All affected relationships on affected items with an item_action of "Release" must have a rel_action of "Attach" + /// + /// + void IAffectedRelationshipValidationRules.Is_AffectedRelationship_RequiresAttachAction(ResultStatus status) + { + ExtendedAffectedItem sourceItem = (ExtendedAffectedItem)this.Relationship.SourceItem; + if (sourceItem.ItemAction == ExtendedAffectedItem.ItemActionType.Release) + { + if (this.Action != RelationshipAction.Attach) + { + status.AddError("ValidateAffectedRelationship_Is_AffectedRelationship_RequiresAttachAction"); + } + } + } + + /// + /// affected_rel is required when rel_action is "Modify" or "Remove" + /// + /// + void IAffectedRelationshipValidationRules.Is_AffectedRelId_Required(ResultStatus status) + { + if (this.Action == RelationshipAction.Modify || this.Action == RelationshipAction.Remove) + { + if (this.AffectedRelItemIdItem == null) + { + status.AddError("ValidateAffectedRelationship_Is_AffectedRelId_Required", this.Action.ToString()); + } + } + } + + /// + /// affected_rel relationships must have a source_id that matches the parent affected item's affected_id + /// + /// + void IAffectedRelationshipValidationRules.Is_AffectedRelId_Required_AffectedId_SourceID(ResultStatus status) + { + ExtendedAffectedItem sourceItem = (ExtendedAffectedItem)this.Relationship.SourceItem; + if (sourceItem.AffectedIdItem == null || this.AffectedRelItemIdItem == null) return; + + if (this.AffectedRelItemIdItem.SourceID != sourceItem.AffectedIdItem.ID) + { + status.AddError("ValidateAffectedRelationship_Is_AffectedRelId_Required_AffectedId_SourceID"); + } + } + + /// + /// At least one affected relationship property must be attached when rel_action is "Attach" or "Modify" + /// + /// + void IAffectedRelationshipValidationRules.Is_AffectedRelationshipProperty_Required(ResultStatus status) + { + if (this.Action == RelationshipAction.Attach || this.Action == RelationshipAction.Modify) + { + if (this.AffectedRelationshipProperties.Count == 0) + { + status.AddError("ValidateAffectedRelationship_Is_AffectedRelationshipProperty_Required", this.Action.ToString()); + } + } + } + + void IAffectedRelationshipValidationRules.Verify(ResultStatus status) + { + ExtendedAffectedItem ext_affected_item = (ExtendedAffectedItem)this.Relationship.SourceItem; + + if (ext_affected_item.ItemAction != ExtendedAffectedItem.ItemActionType.Release && + ext_affected_item.ItemAction != ExtendedAffectedItem.ItemActionType.Revise && + ext_affected_item.ItemAction != ExtendedAffectedItem.ItemActionType.Renumber) + { + return; + } + + if (this.Action == RelationshipAction.Attach || this.Action == RelationshipAction.Modify) + { + //Verify that new_rel_id populated and new relationship was attached to correct sourceItem and that all properties were + //modified. + + if (this.NewRelItemIdItem == null) + { + status.AddError("VerifyAffectedRelationship_NewRelItemIDIsNull"); + return; + } + + ChangeControlledRelationship new_relship = + (from relship in ext_affected_item.NewItemIdItem.Relationships + where + relship.ID == this.NewRelItemIdItem.ID + select relship).SingleOrDefault(); + + //if relationship not exists in new_item. + if (new_relship == null) + { + status.AddError("VerifyAffectedRelationship_NewItemNotContainRelationship", this.NewRelItemIdItem.Type, this.NewRelItemIdItem.ID, ext_affected_item.NewItemIdItem.Type, ext_affected_item.NewItemIdItem.ItemNumber); + return; + } + + //validate properties which was set + foreach (AffectedRelationshipProperty relship_prop in this.AffectedRelationshipProperties) + { + string value = new_relship.Item.getProperty(relship_prop.PropertyName); + if (value != relship_prop.NewValue) + { + status.AddError("VerifyAffectedRelationship_NotAllRelationshipPropertiesWereApplied", relship_prop.PropertyName, relship_prop.NewValue, this.Type, this.ID); + } + } + } + else if (this.Action == RelationshipAction.Remove) + { + //Try to find the new relationship and check that it is null because it was deleted. + ChangeControlledRelationship new_relship = + (from relship in ext_affected_item.NewItemIdItem.Relationships + where + relship.SourceID == ext_affected_item.NewItemIdItem.ID && + relship.SortOrder == this.AffectedRelItemIdItem.SortOrder && + relship.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID + select relship).SingleOrDefault(); + + if (new_relship != null) + { + //Check if another relationship was added with the same Source ID, Sort Order, and Type + AffectedRelationship attached_relship = + (from relship in ext_affected_item.AffectedRelationships + where + relship.Action == RelationshipAction.Attach && + relship.NewRelItemIdItem.SourceID == ext_affected_item.NewItemIdItem.ID && + relship.NewRelItemIdItem.SortOrder == this.AffectedRelItemIdItem.SortOrder && + relship.NewRelItemIdItem.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID + select relship).SingleOrDefault(); + if (attached_relship == null) + { + status.AddError("VerifyAffectedRelationship_RelationshipStillExistInItem", ext_affected_item.NewItemIdItem.Type, ext_affected_item.NewItemIdItem.ItemNumber, new_relship.Type, new_relship.ID); + } + } + } + } + #endregion + + #region Members + /// + /// Process affected relationship in depend on Action property. + /// + public void Process() + { + ExtendedAffectedItem ext_affected_item = (ExtendedAffectedItem)this.Relationship.SourceItem; + + if (this.Action == RelationshipAction.Attach) + { + //Create a new relationship with source_id equal to the new_item_id item on the parent Affected Item + //and other properties as specified in Affected Relationship Property relationships. + //Populate the new_rel property with the id of the new relationship + + Item new_rel_item = Utils.Innovator.newItem("Part BOM"); // hardcoded, in first implementation iteration we have to do it. + ChangeControlledRelationship new_relship = new ChangeControlledRelationship(new_rel_item); + new_relship.SourceID = ext_affected_item.NewItemIdItem.ID; + + //set + foreach (AffectedRelationshipProperty relship_prop in this.AffectedRelationshipProperties) + { + new_relship.Item.setProperty(relship_prop.PropertyName, relship_prop.NewValue); + } + + new_relship.ApplyAdd(); + + this.NewRelItemIdItem = new_relship; + this.ApplyEdit(); + } + else if (this.Action == RelationshipAction.Modify) + { + //Find the id of the new relationship and set the new_rel property. + //Edit the new relationship using the properties specified in Affected Relationship Property relationships. + + ChangeControlledRelationship new_relship = + (from relship in ext_affected_item.NewItemIdItem.Relationships + where + relship.SourceID == ext_affected_item.NewItemIdItem.ID && + relship.SortOrder == this.AffectedRelItemIdItem.SortOrder && + relship.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID + select relship).Single(); + + this.NewRelItemIdItem = new_relship; + this.ApplyEdit(); + + //set + foreach (AffectedRelationshipProperty relship_prop in this.AffectedRelationshipProperties) + { + this.NewRelItemIdItem.Item.setProperty(relship_prop.PropertyName, relship_prop.NewValue); + } + + this.NewRelItemIdItem.ApplyEdit(); + } + else if (this.Action == RelationshipAction.Remove) + { + //Find the new relationship and delete it. + + ChangeControlledRelationship new_relship = + (from relship in ext_affected_item.NewItemIdItem.Relationships + where + relship.SourceID == ext_affected_item.NewItemIdItem.ID && + relship.SortOrder == this.AffectedRelItemIdItem.SortOrder && + relship.ItemTypeID == this.AffectedRelItemIdItem.ItemTypeID + select relship).Single(); + + new_relship.Delete(); + } + } + #endregion +} + +/// +/// No related relationship Affected Item Property of Affected Item +/// +class AffectedItemProperty : NoRelatedRelationshipItem +{ + public AffectedItemProperty() + : base() + { + } + + public AffectedItemProperty(Item item, AffectedItem sourceItem) + : base(item, sourceItem) + { + this.PropertyName = item.getProperty("property_name", ""); + this.NewValue = item.getProperty("new_value", ""); + } + + #region Mapped Properties + string property_name; + public string PropertyName + { + get { return property_name; } + private set { property_name = value; } + } + + string new_value; + public string NewValue + { + get { return new_value; } + private set { new_value = value; } + } + #endregion +} + +/// +/// No related relationship Affected Relationship Property of Affected Relationship +/// +class AffectedRelationshipProperty : NoRelatedRelationshipItem +{ + public AffectedRelationshipProperty() + : base() + { + } + + public AffectedRelationshipProperty(Item item, AffectedRelationship sourceItem) + : base(item, sourceItem) + { + this.PropertyName = item.getProperty("property_name", ""); + this.NewValue = item.getProperty("new_value", ""); + } + + #region Mapped Properties + string property_name; + public string PropertyName + { + get { return property_name; } + private set { property_name = value; } + } + + string new_value; + public string NewValue + { + get { return new_value; } + private set { new_value = value; } + } + #endregion +} + +/// +/// Create and get access to Innovator object and provide help methods. +/// +static class Utils +{ + public static void InitializeForRequest(Innovator innovator, Aras.Server.Core.CallContext CCO) + { + HttpContext.Current.Items["AffectedItemInnovatorObject"] = innovator; + HttpContext.Current.Items["AffectedItemInnovatorCCO"] = CCO; + } + + + private static Innovator TestInnovator; + internal static void InitializeForUnitTests(Innovator innovator) + { + TestInnovator = innovator; + } + + /// + /// Instantiate item with "OK" result + /// + /// Item with "OK" result + public static Item GetOkResult() + { + return Utils.Innovator.newResult("OK"); + } + + /// + /// Get error item with specific parameters + /// + /// Status with errors + /// The number of displayed errors + /// Item with error + public static Item GetError(ResultStatus status, int numberOfDisplayedErrors) + { + var lookedupMessages = status.Errors + .Select(error => Utils.CCO.ErrorLookup.Lookup(error.name, error.parameters)) + .Distinct() + .Take(numberOfDisplayedErrors); + + if (status.Errors.Count > numberOfDisplayedErrors) + { + lookedupMessages = lookedupMessages.Concat(new List { Environment.NewLine + Utils.CCO.ErrorLookup.Lookup("ValidateChangeItem_AdditionalErrors") }); + } + + return Utils.Innovator.newError(String.Join(Environment.NewLine, lookedupMessages)); + } + + /// + /// Assert passed item, throw ItemErrorException if item has error + /// + /// + public static void AssertItem(Item item) + { + if (item.isError()) + { + throw new ItemErrorException(item); + } + } + + /// + /// Get instance of Innovator object + /// + public static Innovator Innovator + { + get + { + if (TestInnovator != null) + { + return TestInnovator; + } + return ((Innovator)HttpContext.Current.Items["AffectedItemInnovatorObject"]); + } + } + + public static Aras.Server.Core.CallContext CCO + { + get + { + return ((Aras.Server.Core.CallContext)HttpContext.Current.Items["AffectedItemInnovatorCCO"]); + } + } + + /// + /// Convert string name to enum + /// + /// Enum + /// enum value + /// value which will be parsed if value not presented in enum + /// + public static T GetEnumByValue(string value, string noneValue) where T : struct, IConvertible + { + Type en = typeof(T); + if (!en.IsEnum) + { + throw new ArgumentException("T must be an enumerated type"); + } + + if (String.IsNullOrEmpty(value)) + { + return (T)Enum.Parse(en, noneValue); + } + + return (T)Enum.Parse(en, value); + } +} + +/// +/// Represent error +/// +struct Error +{ + public string name; + public object[] parameters; + + /// + /// Create error + /// + /// UserMessage name + /// objects to format error + public Error(string name, object[] parameters) + { + this.name = name; + this.parameters = parameters; + } +} + +/// +/// Exception which wrap error Item +/// +[Serializable] +class ItemErrorException : Exception +{ + public ItemErrorException(Item error) + : base() + { + this.error = error; + } + + private Item error; + public Item Error + { + get { return error; } + } +} + +/// +/// Exception which provide status of validation operation. +/// +[Serializable] +class ValidationException : Exception +{ + public ValidationException(ResultStatus status) + : base() + { + this.status = status; + } + + private ResultStatus status; + public ResultStatus ResultStatus + { + get { return status; } + } +} + +/// +/// Type provide ability to aggregate multiple errors +/// +class ResultStatus +{ + private bool p_isSuccess; + private List p_errorList = new List(); + private bool p_throwExceptionIfError; + private int p_numberOfErrorsBeforeThrowException; + + /// + /// Constructor + /// + /// if true, then exception will be thrown when error add + public ResultStatus(bool throwExceptionIfError) + { + this.p_isSuccess = true; + this.p_throwExceptionIfError = throwExceptionIfError; + this.p_numberOfErrorsBeforeThrowException = 2; + } + + /// + /// Add error to collection. Toggle IsSuccess to false. + /// + /// UserMessage name + /// objects to format error message + /// throw if constructor get true to throwExceptionIfError + public void AddError(string name, params string[] parameters) + { + this.p_errorList.Add(new Error(name, parameters)); + this.p_isSuccess = false; + + //throw exception if only if number of available errors were handled + if (this.p_throwExceptionIfError && this.Errors.Count >= this.p_numberOfErrorsBeforeThrowException) + { + throw new ValidationException(this); + } + } + + /// + /// Get is status success + /// + public bool IsSuccess + { + get { return p_isSuccess; } + } + + /// + /// Get Error collection + /// + public IList Errors + { + get { return new System.Collections.ObjectModel.ReadOnlyCollection(p_errorList); } + } +} + +/// +/// Base class for relationship item +/// +class Relationship : ItemContext +{ + public Relationship() + : base() + { + } + + public Relationship(Item item, ItemContext sourceItem) + : base(item) + { + this.sourceItem = sourceItem; + } + + #region Mapped Properties + ItemContext sourceItem; + public ItemContext SourceItem + { + get { return sourceItem; } + protected set { sourceItem = value; } + } + #endregion +} + +/// +/// No Related relationship item +/// +abstract class NoRelatedRelationshipItem : Relationship +{ + public NoRelatedRelationshipItem() + : base() + { + } + + public NoRelatedRelationshipItem(Item item, ItemContext sourceItem) + : base(item, sourceItem) + { + } +} + +/// +/// Represent intermediate related relationship item that link source item with related item. +/// +class RelatedRelationship : Relationship +{ + public RelatedRelationship(Item item, ItemContext sourceItem) + : base(item, sourceItem) + { + } + + #region Mapped Properties + public string RelatedID + { + get { return this.Item.getProperty("related_id"); } + } + + public string SortOrder + { + get { return this.Item.getProperty("sort_order"); } + } + #endregion +} + +/// +/// Related relationship item +/// +abstract class RelatedRelationshipItem : Relationship +{ + public RelatedRelationshipItem() + : base() + { + } + + public RelatedRelationshipItem(Item item, ItemContext sourceItem) + : base(item.getItemsByXPath("related_id/Item"), sourceItem) + { + + } + + private RelatedRelationship relationship; + /// + /// Get relationship item + /// + public RelatedRelationship Relationship + { + get + { + if (relationship == null) + { + relationship = new RelatedRelationship(this.Item.getItemsByXPath("../../Item"), this.SourceItem); + } + return relationship; + } + } +} + +/// +/// Collection of relationships +/// +/// Relationship related or no related item +class RelationshipItemList : IList, ICollection, IEnumerable + where T : Relationship +{ + ItemContext sourceItem; + Type relationshipPrototypeType; + T relationshipPrototype; + + /// + /// Constructor + /// + /// Relationship name + /// Pass instance of relationship item which will be a prototype of list items. Could be inheritors of base T type. + /// Source item + public RelationshipItemList(string relshipName, T prototype, ItemContext sourceItem) + { + this.Name = relshipName; + this.relationshipPrototype = prototype; + this.relationshipPrototypeType = this.relationshipPrototype.GetType(); + this.sourceItem = sourceItem; + } + + public RelationshipItemList(IEnumerable collection) + { + list = new List(collection); + readOnlyList = new System.Collections.ObjectModel.ReadOnlyCollection(list); + } + + string relshipName; + public string Name + { + get { return relshipName; } + private set { relshipName = value; } + } + + private IList list; + private IList readOnlyList; + + /// + /// Bind relationship collection. Attach to ItemContext.Deleted event + /// + public void Bind() + { + this.Unbind(); + list = new List(); + readOnlyList = new System.Collections.ObjectModel.ReadOnlyCollection(list); + + Item relshipItems = Utils.Innovator.newItem(this.Name, "get"); + relshipItems.setProperty("source_id", sourceItem.ID); + relshipItems.setAttribute("serverEvents", "0"); + + if (this.Name == "ECR Affected Item" || + this.Name == "ECN Affected Item" || + this.Name == "Simple ECO Affected Item" || + this.Name == "Express DCO Affected Item" || + this.Name == "Express ECO Affected Item" || + this.Name == "Express EDR Affected Item") + { + Item affItem = Utils.Innovator.newItem("Affected Item", "get"); + affItem.setAttribute("select", "interchangeable, item_action, action, affected_id, new_item_id, grouping"); + affItem.setAttribute("serverEvents", "0"); + + Item changeControlledItem = Utils.Innovator.newItem("Change Controlled Item", "get"); + changeControlledItem.setAttribute("serverEvents", "0"); + affItem.setPropertyItem("affected_id", changeControlledItem); + affItem.setPropertyItem("new_item_id", changeControlledItem); + + relshipItems.setPropertyItem("related_id", affItem); + } + + if (this.Name == "Affected Item Relationship") + { + Item affRelshipItem = Utils.Innovator.newItem("Affected Relationship", "get"); + affRelshipItem.setAttribute("select", "rel_action, affected_rel_id, new_rel_id"); + affRelshipItem.setAttribute("serverEvents", "0"); + + Item changeControlledRelship = Utils.Innovator.newItem("Change Controlled Relationship", "get"); + changeControlledRelship.setAttribute("serverEvents", "0"); + changeControlledRelship.setAttribute("related_expand", "0"); + affRelshipItem.setPropertyItem("affected_rel_id", changeControlledRelship); + affRelshipItem.setPropertyItem("new_rel_id", changeControlledRelship); + + relshipItems.setPropertyItem("related_id", affRelshipItem); + } + + relshipItems = relshipItems.apply(); + + int affItemRelshipCount = relshipItems.getItemCount(); + + for (int p = 0; p < affItemRelshipCount; p++) + { + Item affItem = relshipItems.getItemByIndex(p); + T instance = (T)Activator.CreateInstance(this.relationshipPrototypeType, affItem, sourceItem); + instance.Deleted += new EventHandler(instance_Deleted); + list.Add(instance); + } + } + + /// + /// Detach from ItemContext.Deleted event + /// + private void Unbind() + { + if (list == null) return; + foreach (T t in list) + { + t.Deleted -= new EventHandler(instance_Deleted); + } + list.Clear(); + list = null; + } + + /// + /// ItemContext.Deleted event handler. remove item from relationship collection. + /// + /// + /// + private void instance_Deleted(object sender, EventArgs e) + { + T instance = (T)sender; + instance.Deleted -= new EventHandler(instance_Deleted); + list.Remove(instance); + } + + /// + /// Bind collection if list was not initialized or was unbinded. + /// + private void BindIfNotInitialized() + { + if (list == null) + { + this.Bind(); + } + } + + #region IList Members + + public int IndexOf(T item) + { + this.BindIfNotInitialized(); + return readOnlyList.IndexOf(item); + } + + public void Insert(int index, T item) + { + this.BindIfNotInitialized(); + readOnlyList.Insert(index, item); + } + + public void RemoveAt(int index) + { + this.BindIfNotInitialized(); + readOnlyList.RemoveAt(index); + } + + public T this[int index] + { + get + { + this.BindIfNotInitialized(); + return readOnlyList[index]; + } + set + { + this.BindIfNotInitialized(); + readOnlyList[index] = value; + } + } + + #endregion + + #region ICollection Members + + public void Add(T item) + { + this.BindIfNotInitialized(); + readOnlyList.Add(item); + } + + public void Clear() + { + this.BindIfNotInitialized(); + readOnlyList.Clear(); + } + + public bool Contains(T item) + { + this.BindIfNotInitialized(); + return readOnlyList.Contains(item); + } + + public void CopyTo(T[] array, int arrayIndex) + { + this.BindIfNotInitialized(); + readOnlyList.CopyTo(array, arrayIndex); + } + + public int Count + { + get { this.BindIfNotInitialized(); return readOnlyList.Count; } + } + + public bool IsReadOnly + { + get { this.BindIfNotInitialized(); return readOnlyList.IsReadOnly; } + } + + public bool Remove(T item) + { + this.BindIfNotInitialized(); + return readOnlyList.Remove(item); + } + + #endregion + + #region IEnumerable Members + + public IEnumerator GetEnumerator() + { + this.BindIfNotInitialized(); + return readOnlyList.GetEnumerator(); + } + + #endregion + + #region IEnumerable Members + + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() + { + this.BindIfNotInitialized(); + return ((System.Collections.IEnumerable)readOnlyList).GetEnumerator(); + } + + #endregion +} + +internal static class ItemContextGroupOperations +{ + public static void Promote(this IList items, string nextStatus) where TSource : ItemContext + { + items.InvokeActionByGroup(groupItems => groupItems.PromoteImpl(nextStatus)); + } + + public static IList Version(this IList items) where TSource : ItemContext + { + TSource[] result = new TSource[items.Count]; + + Dictionary itemsIndexDict = items + .Select((templateItem, index) => index) + .ToDictionary((index) => items[index].ID); + + items.InvokeActionByGroup((groupItems) => + { + IList groupItemsResult = groupItems.VersionImpl(); + + for (int indexInGroup = 0; indexInGroup < groupItems.Count; indexInGroup++) + { + string originalID = groupItems[indexInGroup].ID; + TSource versionedItem = groupItemsResult[indexInGroup]; + int positionInInputList = itemsIndexDict[originalID]; + + result[positionInInputList] = versionedItem; + } + }); + + return result.ToList(); + } + + public static void Unlock(this IList items) where TSource : ItemContext + { + items.InvokeActionByGroup(UnlockImpl); + } + + public static void Lock(this IList items) where TSource : ItemContext + { + items.InvokeActionByGroup(LockImpl); + } + + public static void ApplyUpdate(this IList items, params string[] updateParameterNames) where TSource : ItemContext + { + items.InvokeActionByGroup(itemsGroup => ApplyUpdateImpl(itemsGroup, updateParameterNames)); + } + + //TODO: innovator doesn't support group copy yet + public static IList Copy(this IList items) where TSource : ItemContext + { + return !items.Any() ? items : items.Select(item => item.ApplyCopy()).ToList(); + } + + public static void ProcessAffectedRelationships(this IList affectedItems) where TSource : ExtendedAffectedItem + { + foreach (TSource extAffectedItem in affectedItems) + { + extAffectedItem.ProcessAffectedRelationships(); + } + } + + public static void ProcessAffectedItemProperties(this IList affectedItems) where TSource : ExtendedAffectedItem + { + affectedItems + .GroupBy(item => item.NewItemIdItem.Type) + .ToList() + .ForEach(ProcessAffectedItemPropertiesImpl); + } + + #region Action implementations + private static void ProcessAffectedItemPropertiesImpl(IEnumerable affectedItems) where TSource : ExtendedAffectedItem + { + var newItemIdItems = new List(); + var propertyNames = new HashSet(); + + foreach (var affectedItem in affectedItems) + { + newItemIdItems.Add(affectedItem.NewItemIdItem); + foreach (var affectedItemProperty in affectedItem.AffectedItemProperties) + { + affectedItem.NewItemIdItem.Item.setProperty(affectedItemProperty.PropertyName, affectedItemProperty.NewValue); + propertyNames.Add(affectedItemProperty.PropertyName); + } + } + + newItemIdItems.Lock(); + newItemIdItems.ApplyUpdate(propertyNames.ToArray()); + newItemIdItems.Unlock(); + } + + private static void PromoteImpl(this IList items, string nextStatus) where TSource : ItemContext + { + if (!items.Any()) + { + return; + } + + var promoteIds = items.Select(item => item.ID); + Item promoteItem = Utils.Innovator.newItem(items.First().Type); + promoteItem.setAttribute("idlist", String.Join(",", promoteIds)); + + Item res = promoteItem.promote(nextStatus, "Promote set"); + + Utils.AssertItem(res); + } + + private static IList VersionImpl(this IList items) where TSource : ItemContext + { + if (!items.Any()) + { + return items; + } + + String[] versionIds = items.Select((TSource item) => item.ID).ToArray(); + String type = items.First().Type; + Item versionItem = Utils.Innovator.newItem(type, "version"); + + String idList = String.Join(",", versionIds); + versionItem.setAttribute("idlist", idList); + + Item res = versionItem.apply(); + Utils.AssertItem(res); + + StringBuilder updateSql = new StringBuilder(); + updateSql.AppendFormat(CultureInfo.InvariantCulture, "UPDATE {0} SET EFFECTIVE_DATE = NULL WHERE ID IN (", Utils.CCO.DB.InnDatabase.GetTableName(type)); + + List result = new List(); + int versionedItemCount = res.getItemCount(); + + for (int i = 0; i < versionedItemCount; i++) + { + TSource item = (TSource)Activator.CreateInstance(typeof(TSource), res.getItemByIndex(i)); + result.Add(item); + + updateSql.AppendFormat(CultureInfo.InvariantCulture, "'{0}'", Utils.CCO.DB.InnDatabase.QuoteValue(item.ID)); + + if (i != versionedItemCount - 1) + { + updateSql.Append(","); + } + } + + updateSql.Append(")"); + + Utils.CCO.DB.InnDatabase.ExecuteSQL(updateSql.ToString()); + + return result; + } + + private static void UnlockImpl(this IList items) where TSource : ItemContext + { + if (!items.Any()) + { + return; + } + + String[] unlockIds = items.Select((TSource item) => item.ID).ToArray(); + Item unlockItem = Utils.Innovator.newItem(items.First().Type, "unlock"); + unlockItem.setAttribute("idlist", String.Join(",", unlockIds)); + + Item res = unlockItem.apply(); + + Utils.AssertItem(res); + } + + private static void LockImpl(this IList items) where TSource : ItemContext + { + if (!items.Any()) + { + return; + } + + String[] lockIds = items.Select((TSource item) => item.ID).ToArray(); + Item lockItem = Utils.Innovator.newItem(items.First().Type, "lock"); + lockItem.setAttribute("idlist", String.Join(",", lockIds)); + + Item res = lockItem.apply(); + Utils.AssertItem(res); + } + + private static void ApplyUpdateImpl(this IList items, params string[] updateParameterNames) where TSource : ItemContext + { + if (!items.Any()) + { + return; + } + + if (updateParameterNames.Any()) + { + const string tmpTableName = "PE_45471a4468a3479496638d90b2eefb10"; + + Type typeInnDb = Utils.CCO.DB.InnDatabase.GetType(); + + Utils.CCO.DB.InnDatabase.CreateTable(tmpTableName); + + try + { + + //Friend MustOverride Sub AddColumn(ByVal tableName As String, ByVal column As InnovatorDBColumn) + System.Reflection.MethodInfo methodAddColumn = typeInnDb.GetMethod("AddColumn", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); + System.Reflection.ParameterInfo[] parametersAddColumn = methodAddColumn.GetParameters(); + //Friend Sub New( _ + //ByVal columnName As String, _ + //ByVal columnType As InnovatorDataType) + System.Reflection.ConstructorInfo ctorInnovatorDBColumn = parametersAddColumn[1].ParameterType.GetConstructors(System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic)[0]; + + foreach (string parameter in updateParameterNames) + { + //InnovatorDataType.string_ == 1 + object[] paramsForCtor = new object[] { parameter, 1 }; + object[] paramsForAddColumn = new object[] { tmpTableName, ctorInnovatorDBColumn.Invoke(paramsForCtor) }; + methodAddColumn.Invoke(Utils.CCO.DB.InnDatabase, paramsForAddColumn); + } + + using (DataTable dt = new DataTable(tmpTableName)) + { + dt.Locale = CultureInfo.InvariantCulture; + + dt.Columns.Add("id"); + foreach (string parameter in updateParameterNames) + { + dt.Columns.Add(parameter); + } + + foreach (TSource item in items) + { + DataRow row = dt.NewRow(); + row[0] = item.Item.getID(); + + for (int i = 0; i < updateParameterNames.Count(); i++) + { + row[i + 1] = item.Item.getProperty(updateParameterNames[i]); + } + + dt.Rows.Add(row); + } + + System.Data.SqlClient.SqlConnection sqlConnection = (System.Data.SqlClient.SqlConnection)(typeInnDb.GetProperty("CurrentConnection", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(Utils.CCO.DB.InnDatabase, null)); + System.Data.SqlClient.SqlTransaction sqlTransaction = (System.Data.SqlClient.SqlTransaction)(typeInnDb.GetProperty("CurrentTransaction", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(Utils.CCO.DB.InnDatabase, null)); + + using (System.Data.SqlClient.SqlBulkCopy sqlBulkCopy = new System.Data.SqlClient.SqlBulkCopy(sqlConnection, System.Data.SqlClient.SqlBulkCopyOptions.Default, sqlTransaction)) + { + sqlBulkCopy.DestinationTableName = tmpTableName; + sqlBulkCopy.WriteToServer(dt); + } + } + + string type = items.First().Type; + string typeTableName = Utils.CCO.DB.InnDatabase.QuoteName(Utils.CCO.DB.GenerateTableName(type)); + string escapedName = Utils.CCO.DB.InnDatabase.QuoteName(tmpTableName); + string updateQueryFormat = "UPDATE " + typeTableName + " SET {0} FROM " + escapedName + " WHERE " + escapedName + ".ID = " + typeTableName + ".ID"; + string setColumnFormat = "{0} = " + escapedName + ".{0}"; + + StringBuilder setColumns = new StringBuilder(); + foreach (string parameter in updateParameterNames) + { + setColumns.AppendFormat(CultureInfo.InvariantCulture, setColumnFormat, Utils.CCO.DB.InnDatabase.QuoteName(parameter)); + setColumns.Append(","); + } + setColumns.Remove(setColumns.Length - 1, 1); + + string sqlQuery = string.Format(updateQueryFormat, setColumns); + + Aras.Server.Core.InnovatorDatabase conn = Utils.CCO.DB.InnDatabase; + conn.ExecuteSQL(sqlQuery); + } + finally + { + if (Utils.CCO.DB.InnDatabase.TableExists(tmpTableName)) + { + Utils.CCO.DB.InnDatabase.DropTable(tmpTableName); + } + } + } + + const string amlFormat = ""; + string idlist = string.Join(",", items.Select(item => item.Item.getID())); + string aml = string.Format(amlFormat, System.Security.SecurityElement.Escape(idlist), + System.Security.SecurityElement.Escape(items.First().Type)); + Item result = Utils.Innovator.applyAML(aml); + Utils.AssertItem(result); + } + + #endregion + + private static void InvokeActionByGroup(this IEnumerable items, Action> operationAction) where TSource : ItemContext + { + items.GroupBy(item => item.Type) + .Select(groupedItems => groupedItems.ToList()) + .ToList() + .ForEach(operationAction); + } +} + +class fin +{ + void method() + {]]> + C# + PE_ChangeItemTransition + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/PE_update_has_change_pending.xml b/Imports/2-Post/PLM/Import/Method/PE_update_has_change_pending.xml similarity index 97% rename from Imports/PLM/Import/Method/PE_update_has_change_pending.xml rename to Imports/2-Post/PLM/Import/Method/PE_update_has_change_pending.xml index 5697b8c..f23c907 100644 --- a/Imports/PLM/Import/Method/PE_update_has_change_pending.xml +++ b/Imports/2-Post/PLM/Import/Method/PE_update_has_change_pending.xml @@ -1,224 +1,224 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - ,string> execUpdateFlag = (itemType,idList,ignoredAffItemID) => - { - String itemTypeDbName = String.Empty; - - if (!String.IsNullOrEmpty(itemType)) - { - itemTypeDbName = CCO.DB.GenerateTableName(itemType); - } - - Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; - - foreach (String itemID in idList) - { - string sqlQueryFormat = "exec update_has_change_pending_flag '" + itemTypeDbName + "','" + itemID + "','" + ignoredAffItemID + "'"; - conn.ExecuteSQL(sqlQueryFormat); - } - }; - - string thisType = this.getType(); - List itemIDs = new List(); - string itemTypeName = String.Empty; - string ignoredAffectedItemID = String.Empty; - - Item affectedItem = null; - - switch(thisType) - { - case "Part": - case "Document": - case "CAD": - var nonUserInputTableName = new Dictionary() - { - {"PART", "Part"}, {"DOCUMENT", "Document"},{"CAD", "CAD"} - }; - string thisTypeTable = nonUserInputTableName[thisType.ToUpperInvariant()]; - string tableName = CCO.DB.GenerateTableName(thisTypeTable); - Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; - string configId = this.getProperty("config_id"); - - Aras.Server.Core.Utilities.IsIdValid(configId, true); - - string sqlQuery = "SELECT TOP(1) id FROM " + tableName + " WHERE IS_CURRENT = '1' AND config_id = '" + conn.QuoteValue(configId) + "'"; - Aras.Server.Core.InnovatorDataSet result = conn.ExecuteSelect(sqlQuery); - if (result.RowsNumber == 0) - { - const string errorString = "Item last version is not found."; - const string errorDetail = "config_id = '{0}'"; - Item errorItem = this.getInnovator().newError(errorString); - errorItem.setErrorDetail(string.Format(errorDetail,this.getProperty("config_id"))); - return errorItem; - } - itemIDs.Add(result["id"].ToString()); - - itemTypeName = thisType; - break; - case "Affected Item": - affectedItem = this; - break; - case "Express ECO Affected Item": - case "Express DCO Affected Item": - case "ECN Affected Item": - case "ECR Affected Item": - case "Simple ECO Affected Item": - { - // test that related item has all needed properties - affectedItem = this.getItemsByXPath("/Item/related_id/Item[@type='Affected Item' and new_item_id and affected_id]"); - if(affectedItem.node == null) - { - if(this.getAction() != "delete") - { - - Aras.Server.Core.InnovatorDatabase dbconn = CCO.Variables.InnDatabase; - string itemTypeDbName = CCO.DB.GenerateTableName("Affected Item"); - string affectedItemId = this.getProperty("related_id"); - - Aras.Server.Core.Utilities.IsIdValid(affectedItemId, true); - - string sqlQuerySelect = "SELECT TOP(1) affected_id,new_item_id FROM " + itemTypeDbName + " WHERE id = '" + dbconn.QuoteValue(affectedItemId) + "'"; - - Aras.Server.Core.InnovatorDataSet rs = dbconn.ExecuteSelect(sqlQuerySelect); - if (rs.RowsNumber == 0) - { - const string errorString = "Affected Item is not found."; - const string errorDetail = "id = '{0}'"; - Item errorItem = this.getInnovator().newError(errorString); - errorItem.setErrorDetail(string.Format(errorDetail,affectedItemId)); - return errorItem; - } - - affectedItem = this.newItem("Affected Item",""); - affectedItem.setID(affectedItemId); - affectedItem.setProperty("affected_id",rs["affected_id"].ToString()); - affectedItem.setProperty("new_item_id",rs["new_item_id"].ToString()); - } - else - { - affectedItem = this.getRelatedItem(); - } - } - break; - } - case "Simple MCO Part": - { - itemIDs.Add(this.getProperty("related_id", "")); - itemTypeName = "Part"; - break; - } - case "Express ECO": - case "Express DCO": - case "ECN": - case "ECR": - case "Simple ECO": - { - Dictionary relationships = new Dictionary() - { - {"Express ECO", "Express ECO Affected Item"}, - {"Express DCO", "Express DCO Affected Item"}, - {"ECN", "ECN Affected Item"}, - {"ECR", "ECR Affected Item"}, - {"Simple ECO", "Simple ECO Affected Item"} - }; - - string relshipType = relationships[thisType]; - - Item relshipItemList = this.newItem(relshipType, "get"); - relshipItemList.setProperty("source_id", this.getID()); - relshipItemList = relshipItemList.apply(); - - int relshipItemCount = relshipItemList.getItemCount(); - - if(relshipItemCount < 0) - { - //TODO ERROR: Have to return error item!!!! - return relshipItemList; - } - - for(int i = 0; i < relshipItemCount; i++) - { - Item relshipItem = relshipItemList.getItemByIndex(i); - relshipItem.setAction("PE_update_has_change_pending"); - relshipItem = relshipItem.apply(); - } - - return this; - } - } - - if(affectedItem != null) - { - string idlistAttr = affectedItem.getAttribute("idlist",""); - string[] idlist; - if (string.IsNullOrEmpty(idlistAttr)) - { - idlist = new string[]{affectedItem.getID()}; - } - else - { - idlist = idlistAttr.Split(','); - } - - string execute_action = affectedItem.getAttribute("action", ""); - if(execute_action == "edit" || execute_action == "update" || execute_action == "delete") - { - foreach(string id in idlist) - { - List itemIdList = new List(); - - Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; - string itemTypeDbName = CCO.DB.GenerateTableName("Affected Item"); - - Aras.Server.Core.Utilities.IsIdValid(id, true); - - string sqlQuery = "SELECT TOP(1) affected_id,new_item_id FROM " + itemTypeDbName + " WHERE id = '" + conn.QuoteValue(id) + "'"; - - Aras.Server.Core.InnovatorDataSet result = conn.ExecuteSelect(sqlQuery); - if (result.RowsNumber == 0) - { - const string errorString = "Affected Item is not found."; - const string errorDetail = "id = '{0}'"; - Item errorItem = this.getInnovator().newError(errorString); - errorItem.setErrorDetail(string.Format(errorDetail,id)); - return errorItem; - } - - itemIdList.Add(result["affected_id"].ToString()); - itemIdList.Add(result["new_item_id"].ToString()); - ignoredAffectedItemID = id; - execUpdateFlag(itemTypeName,itemIdList,ignoredAffectedItemID); - } - } - else - { - List itemIdList = new List(); - itemIdList.Add(affectedItem.getProperty("affected_id","")); - itemIdList.Add(affectedItem.getProperty("new_item_id","")); - ignoredAffectedItemID = ""; - execUpdateFlag(itemTypeName,itemIdList,ignoredAffectedItemID); - } - } - - if(itemIDs.Count != 0) - { - execUpdateFlag(itemTypeName,itemIDs,ignoredAffectedItemID); - return this; - } -} -finally -{ - if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(plmIdentity); -} - -return this;]]> - C# - PE_update_has_change_pending - + + + A73B655731924CD0B027E4F4D5FCC0A9 + ,string> execUpdateFlag = (itemType,idList,ignoredAffItemID) => + { + String itemTypeDbName = String.Empty; + + if (!String.IsNullOrEmpty(itemType)) + { + itemTypeDbName = CCO.DB.GenerateTableName(itemType); + } + + Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; + + foreach (String itemID in idList) + { + string sqlQueryFormat = "exec update_has_change_pending_flag '" + itemTypeDbName + "','" + itemID + "','" + ignoredAffItemID + "'"; + conn.ExecuteSQL(sqlQueryFormat); + } + }; + + string thisType = this.getType(); + List itemIDs = new List(); + string itemTypeName = String.Empty; + string ignoredAffectedItemID = String.Empty; + + Item affectedItem = null; + + switch(thisType) + { + case "Part": + case "Document": + case "CAD": + var nonUserInputTableName = new Dictionary() + { + {"PART", "Part"}, {"DOCUMENT", "Document"},{"CAD", "CAD"} + }; + string thisTypeTable = nonUserInputTableName[thisType.ToUpperInvariant()]; + string tableName = CCO.DB.GenerateTableName(thisTypeTable); + Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; + string configId = this.getProperty("config_id"); + + Aras.Server.Core.Utilities.IsIdValid(configId, true); + + string sqlQuery = "SELECT TOP(1) id FROM " + tableName + " WHERE IS_CURRENT = '1' AND config_id = '" + conn.QuoteValue(configId) + "'"; + Aras.Server.Core.InnovatorDataSet result = conn.ExecuteSelect(sqlQuery); + if (result.RowsNumber == 0) + { + const string errorString = "Item last version is not found."; + const string errorDetail = "config_id = '{0}'"; + Item errorItem = this.getInnovator().newError(errorString); + errorItem.setErrorDetail(string.Format(errorDetail,this.getProperty("config_id"))); + return errorItem; + } + itemIDs.Add(result["id"].ToString()); + + itemTypeName = thisType; + break; + case "Affected Item": + affectedItem = this; + break; + case "Express ECO Affected Item": + case "Express DCO Affected Item": + case "ECN Affected Item": + case "ECR Affected Item": + case "Simple ECO Affected Item": + { + // test that related item has all needed properties + affectedItem = this.getItemsByXPath("/Item/related_id/Item[@type='Affected Item' and new_item_id and affected_id]"); + if(affectedItem.node == null) + { + if(this.getAction() != "delete") + { + + Aras.Server.Core.InnovatorDatabase dbconn = CCO.Variables.InnDatabase; + string itemTypeDbName = CCO.DB.GenerateTableName("Affected Item"); + string affectedItemId = this.getProperty("related_id"); + + Aras.Server.Core.Utilities.IsIdValid(affectedItemId, true); + + string sqlQuerySelect = "SELECT TOP(1) affected_id,new_item_id FROM " + itemTypeDbName + " WHERE id = '" + dbconn.QuoteValue(affectedItemId) + "'"; + + Aras.Server.Core.InnovatorDataSet rs = dbconn.ExecuteSelect(sqlQuerySelect); + if (rs.RowsNumber == 0) + { + const string errorString = "Affected Item is not found."; + const string errorDetail = "id = '{0}'"; + Item errorItem = this.getInnovator().newError(errorString); + errorItem.setErrorDetail(string.Format(errorDetail,affectedItemId)); + return errorItem; + } + + affectedItem = this.newItem("Affected Item",""); + affectedItem.setID(affectedItemId); + affectedItem.setProperty("affected_id",rs["affected_id"].ToString()); + affectedItem.setProperty("new_item_id",rs["new_item_id"].ToString()); + } + else + { + affectedItem = this.getRelatedItem(); + } + } + break; + } + case "Simple MCO Part": + { + itemIDs.Add(this.getProperty("related_id", "")); + itemTypeName = "Part"; + break; + } + case "Express ECO": + case "Express DCO": + case "ECN": + case "ECR": + case "Simple ECO": + { + Dictionary relationships = new Dictionary() + { + {"Express ECO", "Express ECO Affected Item"}, + {"Express DCO", "Express DCO Affected Item"}, + {"ECN", "ECN Affected Item"}, + {"ECR", "ECR Affected Item"}, + {"Simple ECO", "Simple ECO Affected Item"} + }; + + string relshipType = relationships[thisType]; + + Item relshipItemList = this.newItem(relshipType, "get"); + relshipItemList.setProperty("source_id", this.getID()); + relshipItemList = relshipItemList.apply(); + + int relshipItemCount = relshipItemList.getItemCount(); + + if(relshipItemCount < 0) + { + //TODO ERROR: Have to return error item!!!! + return relshipItemList; + } + + for(int i = 0; i < relshipItemCount; i++) + { + Item relshipItem = relshipItemList.getItemByIndex(i); + relshipItem.setAction("PE_update_has_change_pending"); + relshipItem = relshipItem.apply(); + } + + return this; + } + } + + if(affectedItem != null) + { + string idlistAttr = affectedItem.getAttribute("idlist",""); + string[] idlist; + if (string.IsNullOrEmpty(idlistAttr)) + { + idlist = new string[]{affectedItem.getID()}; + } + else + { + idlist = idlistAttr.Split(','); + } + + string execute_action = affectedItem.getAttribute("action", ""); + if(execute_action == "edit" || execute_action == "update" || execute_action == "delete") + { + foreach(string id in idlist) + { + List itemIdList = new List(); + + Aras.Server.Core.InnovatorDatabase conn = CCO.Variables.InnDatabase; + string itemTypeDbName = CCO.DB.GenerateTableName("Affected Item"); + + Aras.Server.Core.Utilities.IsIdValid(id, true); + + string sqlQuery = "SELECT TOP(1) affected_id,new_item_id FROM " + itemTypeDbName + " WHERE id = '" + conn.QuoteValue(id) + "'"; + + Aras.Server.Core.InnovatorDataSet result = conn.ExecuteSelect(sqlQuery); + if (result.RowsNumber == 0) + { + const string errorString = "Affected Item is not found."; + const string errorDetail = "id = '{0}'"; + Item errorItem = this.getInnovator().newError(errorString); + errorItem.setErrorDetail(string.Format(errorDetail,id)); + return errorItem; + } + + itemIdList.Add(result["affected_id"].ToString()); + itemIdList.Add(result["new_item_id"].ToString()); + ignoredAffectedItemID = id; + execUpdateFlag(itemTypeName,itemIdList,ignoredAffectedItemID); + } + } + else + { + List itemIdList = new List(); + itemIdList.Add(affectedItem.getProperty("affected_id","")); + itemIdList.Add(affectedItem.getProperty("new_item_id","")); + ignoredAffectedItemID = ""; + execUpdateFlag(itemTypeName,itemIdList,ignoredAffectedItemID); + } + } + + if(itemIDs.Count != 0) + { + execUpdateFlag(itemTypeName,itemIDs,ignoredAffectedItemID); + return this; + } +} +finally +{ + if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(plmIdentity); +} + +return this;]]> + C# + PE_update_has_change_pending + \ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/Method/RefreshImpactGridForceServerCall.xml b/Imports/2-Post/PLM/Import/Method/RefreshImpactGridForceServerCall.xml new file mode 100644 index 0000000..b13073a --- /dev/null +++ b/Imports/2-Post/PLM/Import/Method/RefreshImpactGridForceServerCall.xml @@ -0,0 +1,24 @@ + + + A73B655731924CD0B027E4F4D5FCC0A9 + + JavaScript + RefreshImpactGridForceServerCall + + \ No newline at end of file diff --git a/Imports/PLM/Import/Method/Run CM2 Baseline Report.xml b/Imports/2-Post/PLM/Import/Method/Run CM2 Baseline Report.xml similarity index 96% rename from Imports/PLM/Import/Method/Run CM2 Baseline Report.xml rename to Imports/2-Post/PLM/Import/Method/Run CM2 Baseline Report.xml index efb812e..5c71174 100644 --- a/Imports/PLM/Import/Method/Run CM2 Baseline Report.xml +++ b/Imports/2-Post/PLM/Import/Method/Run CM2 Baseline Report.xml @@ -1,78 +1,78 @@ - - - A73B655731924CD0B027E4F4D5FCC0A9 - = 0) - itemClass = "Facilities"; - -var reportName = "CM2 Baseline "; -var methodName = "Get CM2 Report Data"; -switch (itemClass) -{ - case "IS": - reportName += "(Info Systems)"; - break; - - case "Enterprise": - reportName += "(Enterprise)"; - methodName = "CM2 Get Enterprise Baseline Data"; - break; - - case "Model": - reportName += "(ILS)"; - break; - - case "Facilities": - reportName += "(Facilities)"; - break; - - default: - reportName += "(D&P)"; -} - -var i18n = inn.getI18NSessionContext(); -var format = i18n.GetUIDatePattern("short_date_time"); -var baseDate = new Date().toString(format); - -params = { - date: baseDate, - format: format, - aras: aras, - type: "Date" -}; - -// call the date dialog with defined params -var then = aras.getMainWindow().main.ArasModules.Dialog.show("iframe", params).promise.then(function(res) { - if (!res) { return; } - - var selected_date = i18n.ConvertToNeutral(res,"date","short_date_time"); - var content = runCM2Report(selected_date); - - // ******Transform and display AML***** - var report = inn.getItemByKeyedName('Report',reportName); - var style = report.getProperty('xsl_stylesheet'); - var html = content.applyStylesheet(style,'text'); - return html; - // ************* -}); - -return then; - -// call the CM2 As Released As Planned Report -function runCM2Report(dt) { - var inn = aras.newIOMInnovator(); - var item = inn.getItemById(itemType,itemId); - var result = inn.applyMethod(methodName,"" + item.getProperty("item_number","") + "" + dt + ""); - return result; -}]]> - JavaScript - Run CM2 Baseline Report - + + + A73B655731924CD0B027E4F4D5FCC0A9 + = 0) + itemClass = "Facilities"; + +var reportName = "CM2 Baseline "; +var methodName = "Get CM2 Report Data"; +switch (itemClass) +{ + case "IS": + reportName += "(Info Systems)"; + break; + + case "Enterprise": + reportName += "(Enterprise)"; + methodName = "CM2 Get Enterprise Baseline Data"; + break; + + case "Model": + reportName += "(ILS)"; + break; + + case "Facilities": + reportName += "(Facilities)"; + break; + + default: + reportName += "(D&P)"; +} + +var i18n = inn.getI18NSessionContext(); +var format = i18n.GetUIDatePattern("short_date_time"); +var baseDate = new Date().toString(format); + +params = { + date: baseDate, + format: format, + aras: aras, + type: "Date" +}; + +// call the date dialog with defined params +var then = aras.getMainWindow().main.ArasModules.Dialog.show("iframe", params).promise.then(function(res) { + if (!res) { return; } + + var selected_date = i18n.ConvertToNeutral(res,"date","short_date_time"); + var content = runCM2Report(selected_date); + + // ******Transform and display AML***** + var report = inn.getItemByKeyedName('Report',reportName); + var style = report.getProperty('xsl_stylesheet'); + var html = content.applyStylesheet(style,'text'); + return html; + // ************* +}); + +return then; + +// call the CM2 As Released As Planned Report +function runCM2Report(dt) { + var inn = aras.newIOMInnovator(); + var item = inn.getItemById(itemType,itemId); + var result = inn.applyMethod(methodName,"" + item.getProperty("item_number","") + "" + dt + ""); + return result; +}]]> + JavaScript + Run CM2 Baseline Report + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/CM2 CR Cost.xml b/Imports/2-Post/PLM/Import/Permission/CM2 CR Cost.xml similarity index 97% rename from Imports/PLM/Import/Permission/CM2 CR Cost.xml rename to Imports/2-Post/PLM/Import/Permission/CM2 CR Cost.xml index ffd6d8b..f805a65 100644 --- a/Imports/PLM/Import/Permission/CM2 CR Cost.xml +++ b/Imports/2-Post/PLM/Import/Permission/CM2 CR Cost.xml @@ -1,82 +1,82 @@ - - - 0 - CM2 CR Cost - - - 1 - 0 - 1 - 1 - 1 - - - Creator - - - 0 - 128 - 6452E4F7210D4E2BA18611CDF58B8DA6 - - - 0 - 1 - 1 - 1 - 1 - 2618D6F5A90949BAA7E920D1B04C7EE1 - 0 - 256 - 6452E4F7210D4E2BA18611CDF58B8DA6 - - - 1 - 1 - 1 - 1 - 1 - B27017B16ED44274A1BED8D044E86BEA - 0 - 256 - 6452E4F7210D4E2BA18611CDF58B8DA6 - - - 0 - 0 - 1 - 1 - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 384 - 6452E4F7210D4E2BA18611CDF58B8DA6 - - - 1 - 0 - 1 - 1 - 1 - F6624E9AE5504958A84E4B6A5831298B - 0 - 128 - 6452E4F7210D4E2BA18611CDF58B8DA6 - - - 0 - 0 - 1 - 1 - 0 - - - World - - - 0 - 512 - 6452E4F7210D4E2BA18611CDF58B8DA6 - - - + + + 0 + CM2 CR Cost + + + 1 + 0 + 1 + 1 + 1 + + + Creator + + + 0 + 128 + 6452E4F7210D4E2BA18611CDF58B8DA6 + + + 0 + 1 + 1 + 1 + 1 + 2618D6F5A90949BAA7E920D1B04C7EE1 + 0 + 256 + 6452E4F7210D4E2BA18611CDF58B8DA6 + + + 1 + 1 + 1 + 1 + 1 + B27017B16ED44274A1BED8D044E86BEA + 0 + 256 + 6452E4F7210D4E2BA18611CDF58B8DA6 + + + 0 + 0 + 1 + 1 + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 384 + 6452E4F7210D4E2BA18611CDF58B8DA6 + + + 1 + 0 + 1 + 1 + 1 + F6624E9AE5504958A84E4B6A5831298B + 0 + 128 + 6452E4F7210D4E2BA18611CDF58B8DA6 + + + 0 + 0 + 1 + 1 + 0 + + + World + + + 0 + 512 + 6452E4F7210D4E2BA18611CDF58B8DA6 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/In Review CAD.xml b/Imports/2-Post/PLM/Import/Permission/In Review CAD.xml similarity index 97% rename from Imports/PLM/Import/Permission/In Review CAD.xml rename to Imports/2-Post/PLM/Import/Permission/In Review CAD.xml index db24feb..76cca70 100644 --- a/Imports/PLM/Import/Permission/In Review CAD.xml +++ b/Imports/2-Post/PLM/Import/Permission/In Review CAD.xml @@ -1,41 +1,41 @@ - - - 0 - In Review CAD - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 256 - ADAD9367EAAD4546AC268AF314531355 - - - 1 - 0 - 1 - 1 - 1 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 0 - 384 - ADAD9367EAAD4546AC268AF314531355 - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - ADAD9367EAAD4546AC268AF314531355 - - - + + + 0 + In Review CAD + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 256 + ADAD9367EAAD4546AC268AF314531355 + + + 1 + 0 + 1 + 1 + 1 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 0 + 384 + ADAD9367EAAD4546AC268AF314531355 + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + ADAD9367EAAD4546AC268AF314531355 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/In Review Document.xml b/Imports/2-Post/PLM/Import/Permission/In Review Document.xml similarity index 97% rename from Imports/PLM/Import/Permission/In Review Document.xml rename to Imports/2-Post/PLM/Import/Permission/In Review Document.xml index 40c084e..61dba9c 100644 --- a/Imports/PLM/Import/Permission/In Review Document.xml +++ b/Imports/2-Post/PLM/Import/Permission/In Review Document.xml @@ -1,41 +1,41 @@ - - - 0 - In Review Document - - - 1 - 0 - 1 - 1 - 1 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 0 - 384 - 0F7937AD05F0427AB307E79A7746CC29 - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 256 - 0F7937AD05F0427AB307E79A7746CC29 - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - 0F7937AD05F0427AB307E79A7746CC29 - - - + + + 0 + In Review Document + + + 1 + 0 + 1 + 1 + 1 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 0 + 384 + 0F7937AD05F0427AB307E79A7746CC29 + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 256 + 0F7937AD05F0427AB307E79A7746CC29 + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + 0F7937AD05F0427AB307E79A7746CC29 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/In Review Part.xml b/Imports/2-Post/PLM/Import/Permission/In Review Part.xml similarity index 97% rename from Imports/PLM/Import/Permission/In Review Part.xml rename to Imports/2-Post/PLM/Import/Permission/In Review Part.xml index 33b4c4b..0ba47f0 100644 --- a/Imports/PLM/Import/Permission/In Review Part.xml +++ b/Imports/2-Post/PLM/Import/Permission/In Review Part.xml @@ -1,41 +1,41 @@ - - - 0 - In Review Part - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - 37235C81EE0C4A3694B0538C30E7A0D9 - - - 1 - 0 - 1 - 1 - 1 - F8CEF1DD2CCC4776816D40D4D8FA6E2E - 0 - 256 - 37235C81EE0C4A3694B0538C30E7A0D9 - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 384 - 37235C81EE0C4A3694B0538C30E7A0D9 - - - + + + 0 + In Review Part + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + 37235C81EE0C4A3694B0538C30E7A0D9 + + + 1 + 0 + 1 + 1 + 1 + F8CEF1DD2CCC4776816D40D4D8FA6E2E + 0 + 256 + 37235C81EE0C4A3694B0538C30E7A0D9 + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 384 + 37235C81EE0C4A3694B0538C30E7A0D9 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/In Work ECN.xml b/Imports/2-Post/PLM/Import/Permission/In Work ECN.xml similarity index 97% rename from Imports/PLM/Import/Permission/In Work ECN.xml rename to Imports/2-Post/PLM/Import/Permission/In Work ECN.xml index c9fe9d8..4cc57f1 100644 --- a/Imports/PLM/Import/Permission/In Work ECN.xml +++ b/Imports/2-Post/PLM/Import/Permission/In Work ECN.xml @@ -1,71 +1,71 @@ - - - 0 - In Work ECN - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 256 - 4C4647116F04475794F23B0852715FCE - - - 0 - 0 - 1 - 1 - 1 - 81CFAC7D108C43CDBD5A1C5112020E3F - 0 - 640 - 4C4647116F04475794F23B0852715FCE - - - 0 - 0 - 1 - 1 - 1 - - - Manager - - - 0 - 512 - 4C4647116F04475794F23B0852715FCE - - - 0 - 0 - 1 - 1 - 1 - - - Owner - - - 0 - 384 - 4C4647116F04475794F23B0852715FCE - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - 4C4647116F04475794F23B0852715FCE - - - + + + 0 + In Work ECN + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 256 + 4C4647116F04475794F23B0852715FCE + + + 0 + 0 + 1 + 1 + 1 + 81CFAC7D108C43CDBD5A1C5112020E3F + 0 + 640 + 4C4647116F04475794F23B0852715FCE + + + 0 + 0 + 1 + 1 + 1 + + + Manager + + + 0 + 512 + 4C4647116F04475794F23B0852715FCE + + + 0 + 0 + 1 + 1 + 1 + + + Owner + + + 0 + 384 + 4C4647116F04475794F23B0852715FCE + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + 4C4647116F04475794F23B0852715FCE + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/New CAD.xml b/Imports/2-Post/PLM/Import/Permission/New CAD.xml similarity index 97% rename from Imports/PLM/Import/Permission/New CAD.xml rename to Imports/2-Post/PLM/Import/Permission/New CAD.xml index c1ef0d1..7acdfb2 100644 --- a/Imports/PLM/Import/Permission/New CAD.xml +++ b/Imports/2-Post/PLM/Import/Permission/New CAD.xml @@ -1,75 +1,75 @@ - - - 0 - New CAD - - - 1 - 0 - 1 - 1 - 1 - - - Creator - - - 0 - 512 - EA3ED7E7391542D7A17AF2F42B5274ED - - - 1 - 0 - 1 - 1 - 1 - - - Owner - - - 0 - 256 - EA3ED7E7391542D7A17AF2F42B5274ED - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 640 - EA3ED7E7391542D7A17AF2F42B5274ED - - - 0 - 0 - 1 - 1 - 0 - - - Manager - - - 0 - 384 - EA3ED7E7391542D7A17AF2F42B5274ED - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - EA3ED7E7391542D7A17AF2F42B5274ED - - - + + + 0 + New CAD + + + 1 + 0 + 1 + 1 + 1 + + + Creator + + + 0 + 512 + EA3ED7E7391542D7A17AF2F42B5274ED + + + 1 + 0 + 1 + 1 + 1 + + + Owner + + + 0 + 256 + EA3ED7E7391542D7A17AF2F42B5274ED + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 640 + EA3ED7E7391542D7A17AF2F42B5274ED + + + 0 + 0 + 1 + 1 + 0 + + + Manager + + + 0 + 384 + EA3ED7E7391542D7A17AF2F42B5274ED + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + EA3ED7E7391542D7A17AF2F42B5274ED + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/New Document.xml b/Imports/2-Post/PLM/Import/Permission/New Document.xml similarity index 97% rename from Imports/PLM/Import/Permission/New Document.xml rename to Imports/2-Post/PLM/Import/Permission/New Document.xml index 0e5f426..d28d426 100644 --- a/Imports/PLM/Import/Permission/New Document.xml +++ b/Imports/2-Post/PLM/Import/Permission/New Document.xml @@ -1,75 +1,75 @@ - - - 0 - New Document - - - 1 - 0 - 1 - 1 - 1 - - - Creator - - - 0 - 512 - F0E3A6D242FC4889A9A119EEBC8EC79E - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - F0E3A6D242FC4889A9A119EEBC8EC79E - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 640 - F0E3A6D242FC4889A9A119EEBC8EC79E - - - 0 - 0 - 1 - 1 - 0 - - - Manager - - - 0 - 384 - F0E3A6D242FC4889A9A119EEBC8EC79E - - - 1 - 0 - 1 - 1 - 1 - - - Owner - - - 0 - 256 - F0E3A6D242FC4889A9A119EEBC8EC79E - - - + + + 0 + New Document + + + 1 + 0 + 1 + 1 + 1 + + + Creator + + + 0 + 512 + F0E3A6D242FC4889A9A119EEBC8EC79E + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + F0E3A6D242FC4889A9A119EEBC8EC79E + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 640 + F0E3A6D242FC4889A9A119EEBC8EC79E + + + 0 + 0 + 1 + 1 + 0 + + + Manager + + + 0 + 384 + F0E3A6D242FC4889A9A119EEBC8EC79E + + + 1 + 0 + 1 + 1 + 1 + + + Owner + + + 0 + 256 + F0E3A6D242FC4889A9A119EEBC8EC79E + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/New ECN.xml b/Imports/2-Post/PLM/Import/Permission/New ECN.xml similarity index 100% rename from Imports/PLM/Import/Permission/New ECN.xml rename to Imports/2-Post/PLM/Import/Permission/New ECN.xml diff --git a/Imports/PLM/Import/Permission/New ECR.xml b/Imports/2-Post/PLM/Import/Permission/New ECR.xml similarity index 100% rename from Imports/PLM/Import/Permission/New ECR.xml rename to Imports/2-Post/PLM/Import/Permission/New ECR.xml diff --git a/Imports/PLM/Import/Permission/New Part.xml b/Imports/2-Post/PLM/Import/Permission/New Part.xml similarity index 97% rename from Imports/PLM/Import/Permission/New Part.xml rename to Imports/2-Post/PLM/Import/Permission/New Part.xml index b1f413f..133cd9b 100644 --- a/Imports/PLM/Import/Permission/New Part.xml +++ b/Imports/2-Post/PLM/Import/Permission/New Part.xml @@ -1,75 +1,75 @@ - - - 0 - New Part - - - 1 - 1 - 1 - 1 - 1 - 56A96DA9E981481688563E2D14D5D878 - 0 - 640 - 5C07EB829D4241F6BB884952960FAF58 - - - 0 - 0 - 1 - 1 - 0 - - - Manager - - - 0 - 384 - 5C07EB829D4241F6BB884952960FAF58 - - - 1 - 0 - 1 - 1 - 1 - - - Owner - - - 0 - 256 - 5C07EB829D4241F6BB884952960FAF58 - - - 1 - 0 - 1 - 1 - 1 - - - Creator - - - 0 - 512 - 5C07EB829D4241F6BB884952960FAF58 - - - 0 - 0 - 1 - 1 - 0 - B32BD81D1AD04207BF1E61E39A4E0E13 - 0 - 128 - 5C07EB829D4241F6BB884952960FAF58 - - - + + + 0 + New Part + + + 1 + 1 + 1 + 1 + 1 + 56A96DA9E981481688563E2D14D5D878 + 0 + 640 + 5C07EB829D4241F6BB884952960FAF58 + + + 0 + 0 + 1 + 1 + 0 + + + Manager + + + 0 + 384 + 5C07EB829D4241F6BB884952960FAF58 + + + 1 + 0 + 1 + 1 + 1 + + + Owner + + + 0 + 256 + 5C07EB829D4241F6BB884952960FAF58 + + + 1 + 0 + 1 + 1 + 1 + + + Creator + + + 0 + 512 + 5C07EB829D4241F6BB884952960FAF58 + + + 0 + 0 + 1 + 1 + 0 + B32BD81D1AD04207BF1E61E39A4E0E13 + 0 + 128 + 5C07EB829D4241F6BB884952960FAF58 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Permission/PE_Deviation - Approved.xml b/Imports/2-Post/PLM/Import/Permission/PE_Deviation - Approved.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Deviation - Approved.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Deviation - Approved.xml diff --git a/Imports/PLM/Import/Permission/PE_Deviation - In Review.xml b/Imports/2-Post/PLM/Import/Permission/PE_Deviation - In Review.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Deviation - In Review.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Deviation - In Review.xml diff --git a/Imports/PLM/Import/Permission/PE_Deviation - In Work.xml b/Imports/2-Post/PLM/Import/Permission/PE_Deviation - In Work.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Deviation - In Work.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Deviation - In Work.xml diff --git a/Imports/PLM/Import/Permission/PE_Deviation - Rejected.xml b/Imports/2-Post/PLM/Import/Permission/PE_Deviation - Rejected.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Deviation - Rejected.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Deviation - Rejected.xml diff --git a/Imports/PLM/Import/Permission/PE_Waiver - Approved.xml b/Imports/2-Post/PLM/Import/Permission/PE_Waiver - Approved.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Waiver - Approved.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Waiver - Approved.xml diff --git a/Imports/PLM/Import/Permission/PE_Waiver - In Review.xml b/Imports/2-Post/PLM/Import/Permission/PE_Waiver - In Review.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Waiver - In Review.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Waiver - In Review.xml diff --git a/Imports/PLM/Import/Permission/PE_Waiver - In Work.xml b/Imports/2-Post/PLM/Import/Permission/PE_Waiver - In Work.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Waiver - In Work.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Waiver - In Work.xml diff --git a/Imports/PLM/Import/Permission/PE_Waiver - Rejected.xml b/Imports/2-Post/PLM/Import/Permission/PE_Waiver - Rejected.xml similarity index 100% rename from Imports/PLM/Import/Permission/PE_Waiver - Rejected.xml rename to Imports/2-Post/PLM/Import/Permission/PE_Waiver - Rejected.xml diff --git a/Imports/PLM/Import/PresentationConfiguration/58E1B4FEBD594F878EA2463516B9EFF0.xml b/Imports/2-Post/PLM/Import/PresentationConfiguration/58E1B4FEBD594F878EA2463516B9EFF0.xml similarity index 100% rename from Imports/PLM/Import/PresentationConfiguration/58E1B4FEBD594F878EA2463516B9EFF0.xml rename to Imports/2-Post/PLM/Import/PresentationConfiguration/58E1B4FEBD594F878EA2463516B9EFF0.xml diff --git a/Imports/PLM/Import/RelationshipType/AO Affected Part.xml b/Imports/2-Post/PLM/Import/RelationshipType/AO Affected Part.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/AO Affected Part.xml rename to Imports/2-Post/PLM/Import/RelationshipType/AO Affected Part.xml index e4fe921..3d960df 100644 --- a/Imports/PLM/Import/RelationshipType/AO Affected Part.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/AO Affected Part.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_AO_AFFECTED_PART - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 AO Affected Part - - - - 256 - E34E757891444E5AA24B37C8D04025C1 - CM2 AO Affected Part - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_AO_AFFECTED_PART + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 AO Affected Part + + + + 256 + E34E757891444E5AA24B37C8D04025C1 + CM2 AO Affected Part + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/AO As Built File.xml b/Imports/2-Post/PLM/Import/RelationshipType/AO As Built File.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/AO As Built File.xml rename to Imports/2-Post/PLM/Import/RelationshipType/AO As Built File.xml index 5118915..22fc93e 100644 --- a/Imports/PLM/Import/RelationshipType/AO As Built File.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/AO As Built File.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 8052A558B9084D41B9F11805E464F443 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - AO_AS_BUILT_FILE - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - AO As Built File - - - - 128 - E34E757891444E5AA24B37C8D04025C1 - AO As Built File - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 8052A558B9084D41B9F11805E464F443 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + AO_AS_BUILT_FILE + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + AO As Built File + + + + 128 + E34E757891444E5AA24B37C8D04025C1 + AO As Built File + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/AO Conform Doc.xml b/Imports/2-Post/PLM/Import/RelationshipType/AO Conform Doc.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/AO Conform Doc.xml rename to Imports/2-Post/PLM/Import/RelationshipType/AO Conform Doc.xml index 64aa8a7..e70434e 100644 --- a/Imports/PLM/Import/RelationshipType/AO Conform Doc.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/AO Conform Doc.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - B88C14B99EF449828C5D926E39EE8B89 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_AO_CONFORM_DOC - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 AO Conform Doc - - - - 384 - E34E757891444E5AA24B37C8D04025C1 - CM2 AO Conform Doc - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + B88C14B99EF449828C5D926E39EE8B89 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_AO_CONFORM_DOC + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 AO Conform Doc + + + + 384 + E34E757891444E5AA24B37C8D04025C1 + CM2 AO Conform Doc + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/Affected Item File.xml b/Imports/2-Post/PLM/Import/RelationshipType/Affected Item File.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/Affected Item File.xml rename to Imports/2-Post/PLM/Import/RelationshipType/Affected Item File.xml index dd5bf69..1f1ae36 100644 --- a/Imports/PLM/Import/RelationshipType/Affected Item File.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/Affected Item File.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 8052A558B9084D41B9F11805E464F443 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - AFFECTED_ITEM_FILE - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - Affected Item File - - - - 32 - BFAAB0F6838D4F80BF12CB328FF5B097 - Affected Item File - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 8052A558B9084D41B9F11805E464F443 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + AFFECTED_ITEM_FILE + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + Affected Item File + + + + 32 + BFAAB0F6838D4F80BF12CB328FF5B097 + Affected Item File + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CM2 AO As Built File.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 AO As Built File.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/CM2 AO As Built File.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 AO As Built File.xml diff --git a/Imports/PLM/Import/RelationshipType/CM2 AO CN.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 AO CN.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/CM2 AO CN.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 AO CN.xml diff --git a/Imports/PLM/Import/RelationshipType/CM2 AO CR.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 AO CR.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/CM2 AO CR.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 AO CR.xml diff --git a/Imports/PLM/Import/RelationshipType/CM2 AO IR.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 AO IR.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/CM2 AO IR.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 AO IR.xml diff --git a/Imports/PLM/Import/RelationshipType/CM2 IR Chg Cntld Items.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Chg Cntld Items.xml similarity index 98% rename from Imports/PLM/Import/RelationshipType/CM2 IR Chg Cntld Items.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Chg Cntld Items.xml index 937e030..c2293f5 100644 --- a/Imports/PLM/Import/RelationshipType/CM2 IR Chg Cntld Items.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Chg Cntld Items.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 198BF0BCCC364EE29F56434D803D5F1E - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_IR_CHG_CNTLD_ITEMS - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 IR Chg Cntld Items - - - - 128 - 622CD8AFA3174EDE8E074BC06B829AC2 - CM2 IR Chg Cntld Items - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 198BF0BCCC364EE29F56434D803D5F1E + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_IR_CHG_CNTLD_ITEMS + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 IR Chg Cntld Items + + + + 128 + 622CD8AFA3174EDE8E074BC06B829AC2 + CM2 IR Chg Cntld Items + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CM2 IR Cost.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Cost.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/CM2 IR Cost.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Cost.xml index 15b5d7a..11a2b65 100644 --- a/Imports/PLM/Import/RelationshipType/CM2 IR Cost.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Cost.xml @@ -1,247 +1,247 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_IR_COST - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 IR Cost - - - left - 198BF0BCCC364EE29F56434D803D5F1E - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 4352 - AA288335B0B84F35A1F98A419ACD5981 - 0 - affected_ref - - - left - 400 - text - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 4480 - AA288335B0B84F35A1F98A419ACD5981 - 1 - comments - - - left - decimal - 0 - 0 - 0 - 0 - 0 - 0 - - 10 - 0 - 0 - 3 - 3840 - AA288335B0B84F35A1F98A419ACD5981 - 1 - cost - - - left - D781E57782E5447A95362ABCCDBAAA55 - filter list - 0 - 0 - 0 - 0 - 0 - 0 - - recur - 0 - 0 - 3712 - AA288335B0B84F35A1F98A419ACD5981 - 256 - 1 - cost_type - - - left - D6E6EB783356462D84B992716C9AEC8D - list - USD - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3968 - AA288335B0B84F35A1F98A419ACD5981 - 256 - 0 - cost_units - - - left - decimal - 0 - 0 - 0 - 0 - 0 - 0 - - 7 - 0 - 0 - 1 - 4096 - AA288335B0B84F35A1F98A419ACD5981 - 0 - duration - - - left - D09163D96DF94F498604F8611A436A3D - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 4224 - AA288335B0B84F35A1F98A419ACD5981 - 256 - 0 - duration_units - - - left - 9287B8A07D764C2A9FD791AA13D87D44 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3584 - AA288335B0B84F35A1F98A419ACD5981 - 256 - 1 - recur - - - js - A268BD60BD114F0F87AE9AD5CF4C2281 - - - World - - - 0 - 128 - AA288335B0B84F35A1F98A419ACD5981 - default - - - - - 384 - 622CD8AFA3174EDE8E074BC06B829AC2 - CM2 IR Cost - - - - - left - 45E899CD2859442982EB22BB2DF683E5 - item - 1 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 1152 - AA288335B0B84F35A1F98A419ACD5981 - 0 - modified_by_id - - - left - date - 1 - 1 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 1 - 1024 - AA288335B0B84F35A1F98A419ACD5981 - 0 - modified_on - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_IR_COST + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 IR Cost + + + left + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 4352 + AA288335B0B84F35A1F98A419ACD5981 + 0 + affected_ref + + + left + 400 + text + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 4480 + AA288335B0B84F35A1F98A419ACD5981 + 1 + comments + + + left + decimal + 0 + 0 + 0 + 0 + 0 + 0 + + 10 + 0 + 0 + 3 + 3840 + AA288335B0B84F35A1F98A419ACD5981 + 1 + cost + + + left + D781E57782E5447A95362ABCCDBAAA55 + filter list + 0 + 0 + 0 + 0 + 0 + 0 + + recur + 0 + 0 + 3712 + AA288335B0B84F35A1F98A419ACD5981 + 256 + 1 + cost_type + + + left + D6E6EB783356462D84B992716C9AEC8D + list + USD + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3968 + AA288335B0B84F35A1F98A419ACD5981 + 256 + 0 + cost_units + + + left + decimal + 0 + 0 + 0 + 0 + 0 + 0 + + 7 + 0 + 0 + 1 + 4096 + AA288335B0B84F35A1F98A419ACD5981 + 0 + duration + + + left + D09163D96DF94F498604F8611A436A3D + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 4224 + AA288335B0B84F35A1F98A419ACD5981 + 256 + 0 + duration_units + + + left + 9287B8A07D764C2A9FD791AA13D87D44 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + AA288335B0B84F35A1F98A419ACD5981 + 256 + 1 + recur + + + js + A268BD60BD114F0F87AE9AD5CF4C2281 + + + World + + + 0 + 128 + AA288335B0B84F35A1F98A419ACD5981 + default + + + + + 384 + 622CD8AFA3174EDE8E074BC06B829AC2 + CM2 IR Cost + + + + + left + 45E899CD2859442982EB22BB2DF683E5 + item + 1 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 1152 + AA288335B0B84F35A1F98A419ACD5981 + 0 + modified_by_id + + + left + date + 1 + 1 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 1 + 1024 + AA288335B0B84F35A1F98A419ACD5981 + 0 + modified_on + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CM2 IR Identity.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Identity.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/CM2 IR Identity.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Identity.xml index 072cb6c..085de07 100644 --- a/Imports/PLM/Import/RelationshipType/CM2 IR Identity.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Identity.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - E582AB17663F4EF28460015B2BE9E094 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_IR_IDENTITY - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 IR Identity - - - - 256 - 622CD8AFA3174EDE8E074BC06B829AC2 - CM2 IR Identity - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + E582AB17663F4EF28460015B2BE9E094 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_IR_IDENTITY + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 IR Identity + + + + 256 + 622CD8AFA3174EDE8E074BC06B829AC2 + CM2 IR Identity + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CM2 IR Signoffs.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Signoffs.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/CM2 IR Signoffs.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Signoffs.xml index 2ee77a3..9e0d497 100644 --- a/Imports/PLM/Import/RelationshipType/CM2 IR Signoffs.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CM2 IR Signoffs.xml @@ -1,65 +1,65 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_IR_SIGNOFFS - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 IR Signoffs - - - js - 285AF73575AB4BEC8FEA34B42550FED8 - - - World - - - 0 - 128 - 9DFD6C117377442B823DA5CE7E36ACE8 - default - - - - - 512 - 622CD8AFA3174EDE8E074BC06B829AC2 - CM2 IR Signoffs - - -
41449A928F3341149788B4A17F164845
- - - World - - - 128 - F32A210F25FF407E84BE22F2D79B711C -
-
-
+ + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_IR_SIGNOFFS + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 IR Signoffs + + + js + 285AF73575AB4BEC8FEA34B42550FED8 + + + World + + + 0 + 128 + 9DFD6C117377442B823DA5CE7E36ACE8 + default + + + + + 512 + 622CD8AFA3174EDE8E074BC06B829AC2 + CM2 IR Signoffs + + +
41449A928F3341149788B4A17F164845
+ + + World + + + 128 + F32A210F25FF407E84BE22F2D79B711C +
+
+
\ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CM2 Incident File.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 Incident File.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/CM2 Incident File.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 Incident File.xml index 2feb3d2..63415e5 100644 --- a/Imports/PLM/Import/RelationshipType/CM2 Incident File.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CM2 Incident File.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 8052A558B9084D41B9F11805E464F443 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CM2_INCIDENT_FILE - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CM2 Incident File - - - - 128 - C522A937F22247F997543CA11DCAE859 - CM2 Incident File - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 8052A558B9084D41B9F11805E464F443 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CM2_INCIDENT_FILE + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CM2 Incident File + + + + 128 + C522A937F22247F997543CA11DCAE859 + CM2 Incident File + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CM2 WA BOM.xml b/Imports/2-Post/PLM/Import/RelationshipType/CM2 WA BOM.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/CM2 WA BOM.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CM2 WA BOM.xml diff --git a/Imports/PLM/Import/RelationshipType/CR Cost.xml b/Imports/2-Post/PLM/Import/RelationshipType/CR Cost.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/CR Cost.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CR Cost.xml index f4f496a..c1f4e37 100644 --- a/Imports/PLM/Import/RelationshipType/CR Cost.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CR Cost.xml @@ -1,260 +1,260 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 0 - 2 - - - 1 - 0 - 0 - 0 - 3BC16EF9E52B4F9792AB76BCE0492F29 - table - CR_COST - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 0 - CR Cost - - - left - 198BF0BCCC364EE29F56434D803D5F1E - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 4352 - 4A856E695F6F4A1688FEE1670AC5E673 - 0 - affected_ref - - - left - 400 - text - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 4480 - 4A856E695F6F4A1688FEE1670AC5E673 - 1 - comments - - - left - decimal - 0 - 0 - 0 - 0 - 0 - 0 - - 10 - 0 - 0 - 3 - 3840 - 4A856E695F6F4A1688FEE1670AC5E673 - 1 - cost - - - left - D781E57782E5447A95362ABCCDBAAA55 - filter list - 0 - 0 - 0 - 0 - 0 - 0 - - recur - 0 - 0 - 3712 - 4A856E695F6F4A1688FEE1670AC5E673 - 256 - 1 - cost_type - - - left - D6E6EB783356462D84B992716C9AEC8D - list - USD - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3968 - 4A856E695F6F4A1688FEE1670AC5E673 - 256 - 0 - cost_units - - - left - decimal - 0 - 0 - 0 - 0 - 0 - 0 - - 7 - 0 - 0 - 1 - 4096 - 4A856E695F6F4A1688FEE1670AC5E673 - 0 - duration - - - left - D09163D96DF94F498604F8611A436A3D - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 4224 - 4A856E695F6F4A1688FEE1670AC5E673 - 256 - 0 - duration_units - - - left - 9287B8A07D764C2A9FD791AA13D87D44 - list - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3584 - 4A856E695F6F4A1688FEE1670AC5E673 - 256 - 1 - recur - - - js - DC5E451A829D4D8285CEDEEC7405DB57 - - - World - - - 0 - 128 - 4A856E695F6F4A1688FEE1670AC5E673 - default - - - 1 - B32BD81D1AD04207BF1E61E39A4E0E13 - 128 - 4A856E695F6F4A1688FEE1670AC5E673 - - - 1 - 6452E4F7210D4E2BA18611CDF58B8DA6 - 128 - 4A856E695F6F4A1688FEE1670AC5E673 - - - - - 640 - 2D4799413792453DA08C1EDE6AA22A76 - CR Cost - - - - - left - 45E899CD2859442982EB22BB2DF683E5 - item - 1 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 1 - 1152 - 4A856E695F6F4A1688FEE1670AC5E673 - 0 - modified_by_id - - - left - date - 1 - 0 - 0 - 0 - 0 - 0 - - short_date_time - 0 - 1 - 1024 - 4A856E695F6F4A1688FEE1670AC5E673 - 0 - modified_on - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + 3BC16EF9E52B4F9792AB76BCE0492F29 + table + CR_COST + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 0 + CR Cost + + + left + 198BF0BCCC364EE29F56434D803D5F1E + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 4352 + 4A856E695F6F4A1688FEE1670AC5E673 + 0 + affected_ref + + + left + 400 + text + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 4480 + 4A856E695F6F4A1688FEE1670AC5E673 + 1 + comments + + + left + decimal + 0 + 0 + 0 + 0 + 0 + 0 + + 10 + 0 + 0 + 3 + 3840 + 4A856E695F6F4A1688FEE1670AC5E673 + 1 + cost + + + left + D781E57782E5447A95362ABCCDBAAA55 + filter list + 0 + 0 + 0 + 0 + 0 + 0 + + recur + 0 + 0 + 3712 + 4A856E695F6F4A1688FEE1670AC5E673 + 256 + 1 + cost_type + + + left + D6E6EB783356462D84B992716C9AEC8D + list + USD + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3968 + 4A856E695F6F4A1688FEE1670AC5E673 + 256 + 0 + cost_units + + + left + decimal + 0 + 0 + 0 + 0 + 0 + 0 + + 7 + 0 + 0 + 1 + 4096 + 4A856E695F6F4A1688FEE1670AC5E673 + 0 + duration + + + left + D09163D96DF94F498604F8611A436A3D + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 4224 + 4A856E695F6F4A1688FEE1670AC5E673 + 256 + 0 + duration_units + + + left + 9287B8A07D764C2A9FD791AA13D87D44 + list + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 4A856E695F6F4A1688FEE1670AC5E673 + 256 + 1 + recur + + + js + DC5E451A829D4D8285CEDEEC7405DB57 + + + World + + + 0 + 128 + 4A856E695F6F4A1688FEE1670AC5E673 + default + + + 1 + B32BD81D1AD04207BF1E61E39A4E0E13 + 128 + 4A856E695F6F4A1688FEE1670AC5E673 + + + 1 + 6452E4F7210D4E2BA18611CDF58B8DA6 + 128 + 4A856E695F6F4A1688FEE1670AC5E673 + + + + + 640 + 2D4799413792453DA08C1EDE6AA22A76 + CR Cost + + + + + left + 45E899CD2859442982EB22BB2DF683E5 + item + 1 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 1 + 1152 + 4A856E695F6F4A1688FEE1670AC5E673 + 0 + modified_by_id + + + left + date + 1 + 0 + 0 + 0 + 0 + 0 + + short_date_time + 0 + 1 + 1024 + 4A856E695F6F4A1688FEE1670AC5E673 + 0 + modified_on + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/CR ECA Identity.xml b/Imports/2-Post/PLM/Import/RelationshipType/CR ECA Identity.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/CR ECA Identity.xml rename to Imports/2-Post/PLM/Import/RelationshipType/CR ECA Identity.xml index 15ca3e7..68ffa48 100644 --- a/Imports/PLM/Import/RelationshipType/CR ECA Identity.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/CR ECA Identity.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - E582AB17663F4EF28460015B2BE9E094 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - CR_ECA_IDENTITY - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - CR ECA Identity - - - - 512 - 2D4799413792453DA08C1EDE6AA22A76 - CR ECA Identity - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + E582AB17663F4EF28460015B2BE9E094 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + CR_ECA_IDENTITY + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + CR ECA Identity + + + + 512 + 2D4799413792453DA08C1EDE6AA22A76 + CR ECA Identity + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECN Affected Item.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECN Affected Item.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECN Affected Item.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECN Affected Item.xml index 7f34cf7..2328808 100644 --- a/Imports/PLM/Import/RelationshipType/ECN Affected Item.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECN Affected Item.xml @@ -1,95 +1,95 @@ - - - 1 - float - 0 - 0 - - 0 - 1 - 1 - 0 - - 0 - BFAAB0F6838D4F80BF12CB328FF5B097 - 0 - 2 - - - 1 - 1 - 25 - 0 - 0 - table - ECN_AFFECTED_ITEM - 0 - 1 - 0 - - ECN Affected Items - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECN Affected Item - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterAdd - 256 - 7EA6D421B61A4BEB9F54DF7D1A51B78C - - - version_1 - 0 - - - PE_update_has_change_pending - - - onAfterDelete - 384 - 7EA6D421B61A4BEB9F54DF7D1A51B78C - - - version_1 - 0 - - - PE_PopulateAffectedType - - - onAfterGet - 512 - 7EA6D421B61A4BEB9F54DF7D1A51B78C - - - version_1 - 0 - - - PE_populate_related_id_item - - - onBeforeDelete - 128 - 7EA6D421B61A4BEB9F54DF7D1A51B78C - - - - - 128 - 85F86794FACF42599F07019F7BEA1D46 - ECN Affected Item - - - + + + 1 + float + 0 + 0 + + 0 + 1 + 1 + 0 + + 0 + BFAAB0F6838D4F80BF12CB328FF5B097 + 0 + 2 + + + 1 + 1 + 25 + 0 + 0 + table + ECN_AFFECTED_ITEM + 0 + 1 + 0 + + ECN Affected Items + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECN Affected Item + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterAdd + 256 + 7EA6D421B61A4BEB9F54DF7D1A51B78C + + + version_1 + 0 + + + PE_update_has_change_pending + + + onAfterDelete + 384 + 7EA6D421B61A4BEB9F54DF7D1A51B78C + + + version_1 + 0 + + + PE_PopulateAffectedType + + + onAfterGet + 512 + 7EA6D421B61A4BEB9F54DF7D1A51B78C + + + version_1 + 0 + + + PE_populate_related_id_item + + + onBeforeDelete + 128 + 7EA6D421B61A4BEB9F54DF7D1A51B78C + + + + + 128 + 85F86794FACF42599F07019F7BEA1D46 + ECN Affected Item + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECN CM2 IR.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECN CM2 IR.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/ECN CM2 IR.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECN CM2 IR.xml diff --git a/Imports/PLM/Import/RelationshipType/ECN CM2 Organization.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECN CM2 Organization.xml similarity index 100% rename from Imports/PLM/Import/RelationshipType/ECN CM2 Organization.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECN CM2 Organization.xml diff --git a/Imports/PLM/Import/RelationshipType/ECN ECN.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECN ECN.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECN ECN.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECN ECN.xml index 83d2d6e..df81326 100644 --- a/Imports/PLM/Import/RelationshipType/ECN ECN.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECN ECN.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 85F86794FACF42599F07019F7BEA1D46 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECN_ECN - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECN ECN - - - - 512 - 85F86794FACF42599F07019F7BEA1D46 - ECN ECN - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 85F86794FACF42599F07019F7BEA1D46 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECN_ECN + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECN ECN + + + + 512 + 85F86794FACF42599F07019F7BEA1D46 + ECN ECN + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECN ECR.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECN ECR.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECN ECR.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECN ECR.xml index 12dc209..a1ab843 100644 --- a/Imports/PLM/Import/RelationshipType/ECN ECR.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECN ECR.xml @@ -1,92 +1,92 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 2D4799413792453DA08C1EDE6AA22A76 - 1 - 0 - - - 1 - 1 - 25 - 0 - 0 - table - ECN_ECR - 0 - 1 - 0 - - ECN ECRs - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECN ECR - - - js - AAF50728FD7840258D5857EF2BAB0503 - - - World - - - 0 - 128 - 8A1DE1C158FB41F0A19D1B3D631A3597 - default - - - - - 256 - 85F86794FACF42599F07019F7BEA1D46 - ECN ECR - - - oninsertrow - - - Increment Sequence Number - - - 128 - 585A79D78E694392AC5C3D45BA791FF6 - - - - - - - left - 70 - integer - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 8A1DE1C158FB41F0A19D1B3D631A3597 - 0 - sort_order - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 2D4799413792453DA08C1EDE6AA22A76 + 1 + 0 + + + 1 + 1 + 25 + 0 + 0 + table + ECN_ECR + 0 + 1 + 0 + + ECN ECRs + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECN ECR + + + js + AAF50728FD7840258D5857EF2BAB0503 + + + World + + + 0 + 128 + 8A1DE1C158FB41F0A19D1B3D631A3597 + default + + + + + 256 + 85F86794FACF42599F07019F7BEA1D46 + ECN ECR + + + oninsertrow + + + Increment Sequence Number + + + 128 + 585A79D78E694392AC5C3D45BA791FF6 + + + + + + + left + 70 + integer + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 8A1DE1C158FB41F0A19D1B3D631A3597 + 0 + sort_order + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECN Signoffs.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECN Signoffs.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECN Signoffs.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECN Signoffs.xml index 30b9591..b91c063 100644 --- a/Imports/PLM/Import/RelationshipType/ECN Signoffs.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECN Signoffs.xml @@ -1,65 +1,65 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECN_SIGNOFFS - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECN Signoffs - - - js - 4E62BE85053849518D576538BF009BAA - - - World - - - 0 - 128 - BAC3B8DCD6844C27A4A594F75995923F - default - - - - - 1000 - 85F86794FACF42599F07019F7BEA1D46 - ECN Signoffs - - -
41449A928F3341149788B4A17F164845
- - - World - - - 128 - FFB8021A7EC14F41BD5FC2A33F725848 -
-
-
+ + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECN_SIGNOFFS + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECN Signoffs + + + js + 4E62BE85053849518D576538BF009BAA + + + World + + + 0 + 128 + BAC3B8DCD6844C27A4A594F75995923F + default + + + + + 1000 + 85F86794FACF42599F07019F7BEA1D46 + ECN Signoffs + + +
41449A928F3341149788B4A17F164845
+ + + World + + + 128 + FFB8021A7EC14F41BD5FC2A33F725848 +
+
+
\ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECR CM2 IR.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECR CM2 IR.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECR CM2 IR.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECR CM2 IR.xml index 8d4cbca..0caa872 100644 --- a/Imports/PLM/Import/RelationshipType/ECR CM2 IR.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECR CM2 IR.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 622CD8AFA3174EDE8E074BC06B829AC2 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECR_CM2_IR - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECR CM2 IR - - - - 256 - 2D4799413792453DA08C1EDE6AA22A76 - ECR CM2 IR - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 622CD8AFA3174EDE8E074BC06B829AC2 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECR_CM2_IR + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECR CM2 IR + + + + 256 + 2D4799413792453DA08C1EDE6AA22A76 + ECR CM2 IR + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECR CM2 Org.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECR CM2 Org.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECR CM2 Org.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECR CM2 Org.xml index 77f7b31..47ffc65 100644 --- a/Imports/PLM/Import/RelationshipType/ECR CM2 Org.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECR CM2 Org.xml @@ -1,42 +1,42 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - FCAD6E3989234A6DB46771F937E8F1E6 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECR_CM2_ORG - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECR CM2 Org - - - - 768 - 2D4799413792453DA08C1EDE6AA22A76 - ECR CM2 Org - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + FCAD6E3989234A6DB46771F937E8F1E6 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECR_CM2_ORG + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECR CM2 Org + + + + 768 + 2D4799413792453DA08C1EDE6AA22A76 + ECR CM2 Org + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECR ECNs.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECR ECNs.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECR ECNs.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECR ECNs.xml index 27c5bb2..a488dec 100644 --- a/Imports/PLM/Import/RelationshipType/ECR ECNs.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECR ECNs.xml @@ -1,66 +1,66 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECR_ECNS - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECR ECNs - - - js - E7CCCF2D7E0746A096F2B36482FCE61E - - - World - - - 0 - 128 - B8E11F10F63A40B1ABD30516015DF88D - default - - - - - 896 - 2D4799413792453DA08C1EDE6AA22A76 - ECR ECNs - - - 'ITName='+itemTypeName+'&itemID='+itemID+'&reverseITName=ECN&reverseRelationshipName=ECN ECR' - - - World - - - 128 - 62D6759023B54AEDBF2191E62929A59D - ../Solutions/PLM/scripts/ReverseItemsGrid.html - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECR_ECNS + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECR ECNs + + + js + E7CCCF2D7E0746A096F2B36482FCE61E + + + World + + + 0 + 128 + B8E11F10F63A40B1ABD30516015DF88D + default + + + + + 896 + 2D4799413792453DA08C1EDE6AA22A76 + ECR ECNs + + + 'ITName='+itemTypeName+'&itemID='+itemID+'&reverseITName=ECN&reverseRelationshipName=ECN ECR' + + + World + + + 128 + 62D6759023B54AEDBF2191E62929A59D + ../Solutions/PLM/scripts/ReverseItemsGrid.html + + + \ No newline at end of file diff --git a/Imports/2-Post/PLM/Import/RelationshipType/ECR Impact Matrix.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECR Impact Matrix.xml new file mode 100644 index 0000000..12c80e1 --- /dev/null +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECR Impact Matrix.xml @@ -0,0 +1,53 @@ + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECR_IMPACT_MATRIX + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECR Impact Matrix + + + + 192 + 2D4799413792453DA08C1EDE6AA22A76 + ECR Impact Matrix + + +
CC0EAB2BD739465EBCEB58BC75C5AEAF
+ + + World + + + 128 + CF5FE619467C4AF9BB01ABCD9496125A +
+
+
+ + +
\ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECR PR.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECR PR.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECR PR.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECR PR.xml index bb40331..608f597 100644 --- a/Imports/PLM/Import/RelationshipType/ECR PR.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECR PR.xml @@ -1,91 +1,91 @@ - - - 1 - float - 0 - 0 - 1 - 1 - 1 - 0 - - 0 - 881803D90C0B4F98A49A4732C16277F2 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECR_PR - 0 - 1 - 0 - - ECR PRs - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECR PR - - - js - 215F2653EDC34E8DAF226A4F30815980 - - - World - - - 0 - 128 - 83BBF4271B09417590A7FD9134307A37 - default - - - - - 256 - 2D4799413792453DA08C1EDE6AA22A76 - ECR PR - - - oninsertrow - - - Increment Sequence Number - - - 128 - 738D159A07A44BD588A63D94C32DD775 - - - - - - - left - 70 - integer - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 83BBF4271B09417590A7FD9134307A37 - 0 - sort_order - - - + + + 1 + float + 0 + 0 + 1 + 1 + 1 + 0 + + 0 + 881803D90C0B4F98A49A4732C16277F2 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECR_PR + 0 + 1 + 0 + + ECR PRs + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECR PR + + + js + 215F2653EDC34E8DAF226A4F30815980 + + + World + + + 0 + 128 + 83BBF4271B09417590A7FD9134307A37 + default + + + + + 256 + 2D4799413792453DA08C1EDE6AA22A76 + ECR PR + + + oninsertrow + + + Increment Sequence Number + + + 128 + 738D159A07A44BD588A63D94C32DD775 + + + + + + + left + 70 + integer + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 83BBF4271B09417590A7FD9134307A37 + 0 + sort_order + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/ECR Signoffs.xml b/Imports/2-Post/PLM/Import/RelationshipType/ECR Signoffs.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/ECR Signoffs.xml rename to Imports/2-Post/PLM/Import/RelationshipType/ECR Signoffs.xml index 0f0204b..00cefae 100644 --- a/Imports/PLM/Import/RelationshipType/ECR Signoffs.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/ECR Signoffs.xml @@ -1,65 +1,65 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - ECR_SIGNOFFS - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - ECR Signoffs - - - js - 55D7CB3031E04E97931BF40E5236ACD0 - - - World - - - 0 - 128 - 4CA515D31AEF49B1A23734B68FD28262 - default - - - - - 1024 - 2D4799413792453DA08C1EDE6AA22A76 - ECR Signoffs - - -
41449A928F3341149788B4A17F164845
- - - World - - - 128 - E1877C7DE6CB4B99AA0239A5A945B013 -
-
-
+ + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + ECR_SIGNOFFS + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + ECR Signoffs + + + js + 55D7CB3031E04E97931BF40E5236ACD0 + + + World + + + 0 + 128 + 4CA515D31AEF49B1A23734B68FD28262 + default + + + + + 1024 + 2D4799413792453DA08C1EDE6AA22A76 + ECR Signoffs + + +
41449A928F3341149788B4A17F164845
+ + + World + + + 128 + E1877C7DE6CB4B99AA0239A5A945B013 +
+
+
\ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/Part Alternate.xml b/Imports/2-Post/PLM/Import/RelationshipType/Part Alternate.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/Part Alternate.xml rename to Imports/2-Post/PLM/Import/RelationshipType/Part Alternate.xml index 6695650..2c130a8 100644 --- a/Imports/PLM/Import/RelationshipType/Part Alternate.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/Part Alternate.xml @@ -1,204 +1,204 @@ - - - 1 - float - 0 - 0 - Alternate Parts - intermix - 0 - 1 - 1 - 0 - - 0 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - PART_ALTERNATE - 0 - 1 - 0 - - Alternates - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - Part Alternate - - - left - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3840 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - 32 - 0 - applications - - - left - date - 0 - 0 - 0 - 0 - 0 - 0 - - short_date - 0 - 0 - 3968 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - 0 - approved_date - - - left - - - related_id - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - - - foreign - - - cage_code - - - Part - - - - - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3584 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - 0 - cage_code - - - left - 85F86794FACF42599F07019F7BEA1D46 - item - 0 - 0 - 0 - 0 - 0 - 0 - float - - 0 - 0 - 4096 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - 0 - cn_id - - - left - string - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3712 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - 32 - 0 - limit_time_or_qty - - - js - E91F301F13CB4A15A0408A8FB40FCB20 - - - World - - - 0 - 128 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - default - - - CA091A7941184A8699B8BB7E31D85A8F - 128 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - - - - - 256 - 4F1AC04A2B484F3ABA4E20DB63808A88 - Part Alternate - - - oninsertrow - - - Increment Sequence Number - - - 128 - A06CE2E9D07542DB9883CAF20BB22B11 - - - - - - - left - 70 - integer - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 7350C0705BB14CCBAC79D8D9FBC2F5E6 - 0 - sort_order - - - + + + 1 + float + 0 + 0 + Alternate Parts + intermix + 0 + 1 + 1 + 0 + + 0 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + PART_ALTERNATE + 0 + 1 + 0 + + Alternates + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + Part Alternate + + + left + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3840 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + 32 + 0 + applications + + + left + date + 0 + 0 + 0 + 0 + 0 + 0 + + short_date + 0 + 0 + 3968 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + 0 + approved_date + + + left + + + related_id + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + + + foreign + + + cage_code + + + Part + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + 0 + cage_code + + + left + 85F86794FACF42599F07019F7BEA1D46 + item + 0 + 0 + 0 + 0 + 0 + 0 + float + + 0 + 0 + 4096 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + 0 + cn_id + + + left + string + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3712 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + 32 + 0 + limit_time_or_qty + + + js + E91F301F13CB4A15A0408A8FB40FCB20 + + + World + + + 0 + 128 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + default + + + CA091A7941184A8699B8BB7E31D85A8F + 128 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + + + + + 256 + 4F1AC04A2B484F3ABA4E20DB63808A88 + Part Alternate + + + oninsertrow + + + Increment Sequence Number + + + 128 + A06CE2E9D07542DB9883CAF20BB22B11 + + + + + + + left + 70 + integer + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 7350C0705BB14CCBAC79D8D9FBC2F5E6 + 0 + sort_order + + + \ No newline at end of file diff --git a/Imports/PLM/Import/RelationshipType/Part Equivalent.xml b/Imports/2-Post/PLM/Import/RelationshipType/Part Equivalent.xml similarity index 97% rename from Imports/PLM/Import/RelationshipType/Part Equivalent.xml rename to Imports/2-Post/PLM/Import/RelationshipType/Part Equivalent.xml index cdeb52e..ff37072 100644 --- a/Imports/PLM/Import/RelationshipType/Part Equivalent.xml +++ b/Imports/2-Post/PLM/Import/RelationshipType/Part Equivalent.xml @@ -1,96 +1,96 @@ - - - 1 - float - 0 - 0 - 0 - 1 - 1 - 0 - - 0 - 4F1AC04A2B484F3ABA4E20DB63808A88 - 0 - 2 - - - 1 - 0 - 0 - 0 - table - PART_EQUIVALENT - 0 - 1 - 0 - 7FE395DD8B9F4E1090756A34B733D75E - 1 - tabs off - 0 - 1 - Part Equivalent - - - left - 971F0BB7264140A7B1D3B11B118AE4F5 - list - Full - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3712 - FCEF57E3383F4C10B4DE9628916EFA2A - 256 - 0 - alt_type - - - left - - - related_id - FCEF57E3383F4C10B4DE9628916EFA2A - - - foreign - - - cage_code - - - Part - - - - - 0 - 0 - 0 - 0 - 0 - 0 - - 0 - 0 - 3584 - FCEF57E3383F4C10B4DE9628916EFA2A - 0 - cage_code - - - - - 254 - 4F1AC04A2B484F3ABA4E20DB63808A88 - Part Equivalent - - - + + + 1 + float + 0 + 0 + 0 + 1 + 1 + 0 + + 0 + 4F1AC04A2B484F3ABA4E20DB63808A88 + 0 + 2 + + + 1 + 0 + 0 + 0 + table + PART_EQUIVALENT + 0 + 1 + 0 + 7FE395DD8B9F4E1090756A34B733D75E + 1 + tabs off + 0 + 1 + Part Equivalent + + + left + 971F0BB7264140A7B1D3B11B118AE4F5 + list + Full + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3712 + FCEF57E3383F4C10B4DE9628916EFA2A + 256 + 0 + alt_type + + + left + + + related_id + FCEF57E3383F4C10B4DE9628916EFA2A + + + foreign + + + cage_code + + + Part + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + 0 + 0 + 3584 + FCEF57E3383F4C10B4DE9628916EFA2A + 0 + cage_code + + + + + 254 + 4F1AC04A2B484F3ABA4E20DB63808A88 + Part Equivalent + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 As Released As Planned.xml b/Imports/2-Post/PLM/Import/Report/CM2 As Released As Planned.xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 As Released As Planned.xml rename to Imports/2-Post/PLM/Import/Report/CM2 As Released As Planned.xml index 1b8123b..2806cbc 100644 --- a/Imports/PLM/Import/Report/CM2 As Released As Planned.xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 As Released As Planned.xml @@ -1,1551 +1,1551 @@ - - - client - ]]> - window - item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CM2 Baseline for Development & Production (D&P)
- ID No. - - - Date - - - -
ItemsDatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.RevRel. DateEff. DateCNA/DEffectivityCN
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Application Requirements - - - * * * * * * * * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>
- CM2 Baseline (D&P) -
+ + + client + ]]> + window + item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CM2 Baseline for Development & Production (D&P)
+ ID No. + + + Date + + + +
ItemsDatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.RevRel. DateEff. DateCNA/DEffectivityCN
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Application Requirements + + + * * * * * * * * * + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>
+ CM2 Baseline (D&P) +
\ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 Baseline (Enterprise).xml b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (Enterprise).xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 Baseline (Enterprise).xml rename to Imports/2-Post/PLM/Import/Report/CM2 Baseline (Enterprise).xml index f3f268a..bfed016 100644 --- a/Imports/PLM/Import/Report/CM2 Baseline (Enterprise).xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (Enterprise).xml @@ -1,456 +1,456 @@ - - - client - ]]> - window - item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CM2 Baseline for Enterprise Datasets
- Enterprise ID - - - Date - - - -
ItemsEnterprise DatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.RevRel. DateEff. DateCNA/DEffectivityCN
- - - -
- - - - - - - - - - x - - - - - x - - - - - x - - - - - x - - - - - x - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>
- CM2 Baseline (Enterprise) -
+ + + client + ]]> + window + item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CM2 Baseline for Enterprise Datasets
+ Enterprise ID + + + Date + + + +
ItemsEnterprise DatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.RevRel. DateEff. DateCNA/DEffectivityCN
+ + + +
+ + + + + + + + + + x + + + + + x + + + + + x + + + + + x + + + + + x + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>
+ CM2 Baseline (Enterprise) +
\ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 Baseline (Facilities).xml b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (Facilities).xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 Baseline (Facilities).xml rename to Imports/2-Post/PLM/Import/Report/CM2 Baseline (Facilities).xml index 017fd0b..ee7eb7d 100644 --- a/Imports/PLM/Import/Report/CM2 Baseline (Facilities).xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (Facilities).xml @@ -1,1694 +1,1694 @@ - - - client - ]]> - window - item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CM2 Baseline for Facilities
- Facility No. - - - Date - - - -
ItemsFacility DatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.SectionMCRSvc. Bul.RevRel. DateEff. DateCNA/DEffectivityCN
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Application Requirements - - - * * * * * * * * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>
- CM2 Baseline (Facilities) -
+ + + client + ]]> + window + item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CM2 Baseline for Facilities
+ Facility No. + + + Date + + + +
ItemsFacility DatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.SectionMCRSvc. Bul.RevRel. DateEff. DateCNA/DEffectivityCN
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Application Requirements + + + * * * * * * * * * + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>
+ CM2 Baseline (Facilities) +
\ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 Baseline (ILS).xml b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (ILS).xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 Baseline (ILS).xml rename to Imports/2-Post/PLM/Import/Report/CM2 Baseline (ILS).xml index 2b5a38f..c65e6cf 100644 --- a/Imports/PLM/Import/Report/CM2 Baseline (ILS).xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (ILS).xml @@ -1,1698 +1,1698 @@ - - - client - ]]> - window - item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CM2 Baseline for Development and Production (ILS)
- Model No. - - - Serial No. - - - Date - - - -
ItemsILS DatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.SectionMCRSvc. Bul.RevRel. DateEff. DateCNA/DEffectivityCN
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Application Requirements - - - * * * * * * * * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>
- CM2 Baseline (ILS) -
+ + + client + ]]> + window + item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CM2 Baseline for Development and Production (ILS)
+ Model No. + + + Serial No. + + + Date + + + +
ItemsILS DatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.SectionMCRSvc. Bul.RevRel. DateEff. DateCNA/DEffectivityCN
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Application Requirements + + + * * * * * * * * * + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>
+ CM2 Baseline (ILS) +
\ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 Baseline (Info Systems).xml b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (Info Systems).xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 Baseline (Info Systems).xml rename to Imports/2-Post/PLM/Import/Report/CM2 Baseline (Info Systems).xml index 5caff70..5b2670f 100644 --- a/Imports/PLM/Import/Report/CM2 Baseline (Info Systems).xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 Baseline (Info Systems).xml @@ -1,1551 +1,1551 @@ - - - client - ]]> - window - item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CM2 Baseline for Information Systems
- IS No. - - - Date - - - -
ItemsDatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.RevRel. DateEff. DateCNA/DEffectivityCN
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Application Requirements - - - * * * * * * * * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - A - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deviation - - - Waiver - - - - - - - - - - - - - - - - - - - D - - - - - - - - - - - - - - - - - - - - - - - - - BOM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>
- CM2 Baseline (Info Systems) -
+ + + client + ]]> + window + item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CM2 Baseline for Information Systems
+ IS No. + + + Date + + + +
ItemsDatasetsPlanned Changes
Hierarchy (Qty per)Num.NameTypeNum.RevRel. DateEff. DateCNA/DEffectivityCN
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Application Requirements + + + * * * * * * * * * + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + A + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deviation + + + Waiver + + + + + + + + + + + + + + + + + + + D + + + + + + + + + + + + + + + + + + + + + + + + + BOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>
+ CM2 Baseline (Info Systems) +
\ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 Baseline Report.xml b/Imports/2-Post/PLM/Import/Report/CM2 Baseline Report.xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 Baseline Report.xml rename to Imports/2-Post/PLM/Import/Report/CM2 Baseline Report.xml index 40d09d2..0e3b148 100644 --- a/Imports/PLM/Import/Report/CM2 Baseline Report.xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 Baseline Report.xml @@ -1,14 +1,14 @@ - - - client - - - Run CM2 Baseline Report - - - ]]> - window - item - CM2 Baseline Report - + + + client + + + Run CM2 Baseline Report + + + ]]> + window + item + CM2 Baseline Report + \ No newline at end of file diff --git a/Imports/PLM/Import/Report/CM2 Planning Bill.xml b/Imports/2-Post/PLM/Import/Report/CM2 Planning Bill.xml similarity index 97% rename from Imports/PLM/Import/Report/CM2 Planning Bill.xml rename to Imports/2-Post/PLM/Import/Report/CM2 Planning Bill.xml index 6227659..6126c5e 100644 --- a/Imports/PLM/Import/Report/CM2 Planning Bill.xml +++ b/Imports/2-Post/PLM/Import/Report/CM2 Planning Bill.xml @@ -1,409 +1,409 @@ - - - client - - - CM2 Planning Bill - - - ]]> - window - item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CM2 Planning Bill
- Item # - - - Date - - - - - Description - -
BOM DataEnterprise Change
Ref. No.Item NumberDescriptionM/BU/MQtyA/DDateECNRev.
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>
- CM2 Planning Bill -
+ + + client + + + CM2 Planning Bill + + + ]]> + window + item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CM2 Planning Bill
+ Item # + + + Date + + + + + Description + +
BOM DataEnterprise Change
Ref. No.Item NumberDescriptionM/BU/MQtyA/DDateECNRev.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>
+ CM2 Planning Bill +
\ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/CM2 AO.xml b/Imports/2-Post/PLM/Import/Sequence/CM2 AO.xml similarity index 96% rename from Imports/PLM/Import/Sequence/CM2 AO.xml rename to Imports/2-Post/PLM/Import/Sequence/CM2 AO.xml index d1d3c41..9a2cdbe 100644 --- a/Imports/PLM/Import/Sequence/CM2 AO.xml +++ b/Imports/2-Post/PLM/Import/Sequence/CM2 AO.xml @@ -1,9 +1,9 @@ - - - 0 - 6 - 0 - AO - CM2 AO - + + + 0 + 6 + 0 + AO + CM2 AO + \ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/CM2 IR.xml b/Imports/2-Post/PLM/Import/Sequence/CM2 IR.xml similarity index 96% rename from Imports/PLM/Import/Sequence/CM2 IR.xml rename to Imports/2-Post/PLM/Import/Sequence/CM2 IR.xml index 5a0cb12..0ec2c9b 100644 --- a/Imports/PLM/Import/Sequence/CM2 IR.xml +++ b/Imports/2-Post/PLM/Import/Sequence/CM2 IR.xml @@ -1,9 +1,9 @@ - - - 0 - 6 - 0 - IR - CM2 IR - + + + 0 + 6 + 0 + IR + CM2 IR + \ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/CM2 Incident.xml b/Imports/2-Post/PLM/Import/Sequence/CM2 Incident.xml similarity index 96% rename from Imports/PLM/Import/Sequence/CM2 Incident.xml rename to Imports/2-Post/PLM/Import/Sequence/CM2 Incident.xml index a2e2cb8..db0cc6d 100644 --- a/Imports/PLM/Import/Sequence/CM2 Incident.xml +++ b/Imports/2-Post/PLM/Import/Sequence/CM2 Incident.xml @@ -1,9 +1,9 @@ - - - 0 - 5 - 0 - IN - CM2 Incident - + + + 0 + 5 + 0 + IN + CM2 Incident + \ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/Default Part.xml b/Imports/2-Post/PLM/Import/Sequence/Default Part.xml similarity index 96% rename from Imports/PLM/Import/Sequence/Default Part.xml rename to Imports/2-Post/PLM/Import/Sequence/Default Part.xml index 991e262..f0cf915 100644 --- a/Imports/PLM/Import/Sequence/Default Part.xml +++ b/Imports/2-Post/PLM/Import/Sequence/Default Part.xml @@ -1,10 +1,10 @@ - - - 100000 - 7 - Z - 10 - -001 - Default Part - + + + 100000 + 7 + Z + 10 + -001 + Default Part + \ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/ECN.xml b/Imports/2-Post/PLM/Import/Sequence/ECN.xml similarity index 96% rename from Imports/PLM/Import/Sequence/ECN.xml rename to Imports/2-Post/PLM/Import/Sequence/ECN.xml index 052df72..c39e636 100644 --- a/Imports/PLM/Import/Sequence/ECN.xml +++ b/Imports/2-Post/PLM/Import/Sequence/ECN.xml @@ -1,8 +1,8 @@ - - - 100000 - CN - 1 - ECN - + + + 100000 + CN + 1 + ECN + \ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/ECR.xml b/Imports/2-Post/PLM/Import/Sequence/ECR.xml similarity index 96% rename from Imports/PLM/Import/Sequence/ECR.xml rename to Imports/2-Post/PLM/Import/Sequence/ECR.xml index 5c31f30..2e6893c 100644 --- a/Imports/PLM/Import/Sequence/ECR.xml +++ b/Imports/2-Post/PLM/Import/Sequence/ECR.xml @@ -1,8 +1,8 @@ - - - 100000 - CR - 1 - ECR - + + + 100000 + CR + 1 + ECR + \ No newline at end of file diff --git a/Imports/PLM/Import/Sequence/PE_Deviation.xml b/Imports/2-Post/PLM/Import/Sequence/PE_Deviation.xml similarity index 100% rename from Imports/PLM/Import/Sequence/PE_Deviation.xml rename to Imports/2-Post/PLM/Import/Sequence/PE_Deviation.xml diff --git a/Imports/PLM/Import/Sequence/PE_Waiver.xml b/Imports/2-Post/PLM/Import/Sequence/PE_Waiver.xml similarity index 100% rename from Imports/PLM/Import/Sequence/PE_Waiver.xml rename to Imports/2-Post/PLM/Import/Sequence/PE_Waiver.xml diff --git a/Imports/PLM/Import/Workflow Map/CM2 CN.xml b/Imports/2-Post/PLM/Import/Workflow Map/CM2 CN.xml similarity index 98% rename from Imports/PLM/Import/Workflow Map/CM2 CN.xml rename to Imports/2-Post/PLM/Import/Workflow Map/CM2 CN.xml index ef5a808..2bced50 100644 --- a/Imports/PLM/Import/Workflow Map/CM2 CN.xml +++ b/Imports/2-Post/PLM/Import/Workflow Map/CM2 CN.xml @@ -1,492 +1,492 @@ - - - CN Workflow - - - - - - - - - - - Manager - - - - - - CM2 CN - - - - - 0 - 0 - 0 - 0 - ../images/Delete.svg - 1 - 1 - 0 - Workflow End - 1 - 0 - 0 - 0 - 0 - 0 - 726 - 75 - CN Released - - - 85F86794FACF42599F07019F7BEA1D46 - on_activate - 4E719301D7654E08A7A26F95EEE59CE1 - 128 - A38A6AC71DD249F58D779E0E6EEC6097 - - - - - 128 - 5AC5D7551B4F4F3E823A869C631961FB - - - - - 0 - 0 - 0 - 0 - ../images/WorkflowStart.svg - 1 - 0 - 1 - Workflow Start - 2 - 0 - 0 - 0 - 0 - 0 - 29 - 76 - Start - - - none - 1 - 0 - Go - 8626CF191A5F4214B5DF2CE7D1987787 - - 128 - AC87CCFD218A4560BFC97F66B53CCB8F - - - - - 256 - 5AC5D7551B4F4F3E823A869C631961FB - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please submit the CN - 0 - 0 - 114 - 76 - Submit CN - - - - - Creator - - - 128 - 8626CF191A5F4214B5DF2CE7D1987787 - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 8626CF191A5F4214B5DF2CE7D1987787 - all_assignments - - - Check the CN form for completeness - 0 - 128 - 8626CF191A5F4214B5DF2CE7D1987787 - 1 - - - Ensure all Affected Items are attached - 0 - 256 - 8626CF191A5F4214B5DF2CE7D1987787 - 2 - - - Submit the CN for implementation planning - 0 - 384 - 8626CF191A5F4214B5DF2CE7D1987787 - 3 - - - none - 0 - 0 - Submit - 579325721A84487FA60A60C568290A38 - 128 - 8626CF191A5F4214B5DF2CE7D1987787 - - - - - 384 - 5AC5D7551B4F4F3E823A869C631961FB - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Update documents and complete tasks per release and implementation plans - 0 - 0 - 393 - 76 - Update Documents - - - - - Owner - - - 128 - D166DD4B1CDA44C3BDEC90F5D94C88AD - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - D166DD4B1CDA44C3BDEC90F5D94C88AD - all_assignments - - - Update the documents to implement the change - 0 - 128 - D166DD4B1CDA44C3BDEC90F5D94C88AD - 1 - - - Check in the updated documents - 0 - 256 - D166DD4B1CDA44C3BDEC90F5D94C88AD - 2 - - - Vote "Complete" to send the documents for review - 0 - 384 - D166DD4B1CDA44C3BDEC90F5D94C88AD - 3 - - - 85F86794FACF42599F07019F7BEA1D46 - on_activate - 7ABB5384854B4BAFAAB95D32AA8D1E1D - 128 - D166DD4B1CDA44C3BDEC90F5D94C88AD - - - 85F86794FACF42599F07019F7BEA1D46 - on_activate - EF241A9C104545D9B4FA76A6C26F8027 - 256 - D166DD4B1CDA44C3BDEC90F5D94C88AD - - - none - 0 - 0 - Complete - 3170DF945E124DF6B9517B21D862AE5B - - 128 - D166DD4B1CDA44C3BDEC90F5D94C88AD - 40 - 9 - - - - - 512 - 5AC5D7551B4F4F3E823A869C631961FB - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Confirm the implementation plan is complete - 0 - 0 - 526 - 75 - Complete Implementation - - - - - Manager - - - 128 - 3170DF945E124DF6B9517B21D862AE5B - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 3170DF945E124DF6B9517B21D862AE5B - all_assignments - - - Review the documents to ensure the change has been implemented properly - 0 - 128 - 3170DF945E124DF6B9517B21D862AE5B - 1 - - - Vote to either "Approve" or "Reject" the changes - 0 - 256 - 3170DF945E124DF6B9517B21D862AE5B - 2 - - - 85F86794FACF42599F07019F7BEA1D46 - on_activate - FBF0EA8DABEA460F99A98D0B0514C4AB - 128 - 3170DF945E124DF6B9517B21D862AE5B - - - none - 0 - 0 - Reject - D166DD4B1CDA44C3BDEC90F5D94C88AD - 439,31 - 128 - 3170DF945E124DF6B9517B21D862AE5B - -63 - -53 - - - none - 0 - 0 - Approve - 704A21A83A624AE594704D7331114C95 - - 256 - 3170DF945E124DF6B9517B21D862AE5B - 29 - 10 - - - - - 640 - 5AC5D7551B4F4F3E823A869C631961FB - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Implementation Planning - 0 - 0 - 254 - 76 - CN Planning - - - - - Manager - - - 128 - 579325721A84487FA60A60C568290A38 - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 579325721A84487FA60A60C568290A38 - all_assignments - - - Plan the implementation of this CN in relation to others - 0 - 128 - 579325721A84487FA60A60C568290A38 - 1 - - - Set the effectivity date - 0 - 256 - 579325721A84487FA60A60C568290A38 - 2 - - - Vote "Complete" to complete the planning - 0 - 384 - 579325721A84487FA60A60C568290A38 - 3 - - - 85F86794FACF42599F07019F7BEA1D46 - on_activate - AD7CE702E416493381A2263B0B165BA4 - 128 - 579325721A84487FA60A60C568290A38 - - - none - 0 - 0 - Complete - D166DD4B1CDA44C3BDEC90F5D94C88AD - 128 - 579325721A84487FA60A60C568290A38 - - - - - 768 - 5AC5D7551B4F4F3E823A869C631961FB - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - CN Audit - 0 - 0 - 630 - 75 - CN Audit - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 704A21A83A624AE594704D7331114C95 - all_assignments - - - on_activate - - - CM2 CN WF Assign - - - 128 - 704A21A83A624AE594704D7331114C95 - - - Confirm the CN has been implemented in accordance with the plan - 0 - 128 - 704A21A83A624AE594704D7331114C95 - 1 - - - Vote "Complete" to release the CN - 0 - 256 - 704A21A83A624AE594704D7331114C95 - 2 - - - none - 0 - 0 - Complete - A38A6AC71DD249F58D779E0E6EEC6097 - 128 - 704A21A83A624AE594704D7331114C95 - - - - - 896 - 5AC5D7551B4F4F3E823A869C631961FB - - - + + + CN Workflow + + + + + + + + + + + Manager + + + + + + CM2 CN + + + + + 0 + 0 + 0 + 0 + ../images/Delete.svg + 1 + 1 + 0 + Workflow End + 1 + 0 + 0 + 0 + 0 + 0 + 726 + 75 + CN Released + + + 85F86794FACF42599F07019F7BEA1D46 + on_activate + 4E719301D7654E08A7A26F95EEE59CE1 + 128 + A38A6AC71DD249F58D779E0E6EEC6097 + + + + + 128 + 5AC5D7551B4F4F3E823A869C631961FB + + + + + 0 + 0 + 0 + 0 + ../images/WorkflowStart.svg + 1 + 0 + 1 + Workflow Start + 2 + 0 + 0 + 0 + 0 + 0 + 29 + 76 + Start + + + none + 1 + 0 + Go + 8626CF191A5F4214B5DF2CE7D1987787 + + 128 + AC87CCFD218A4560BFC97F66B53CCB8F + + + + + 256 + 5AC5D7551B4F4F3E823A869C631961FB + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please submit the CN + 0 + 0 + 114 + 76 + Submit CN + + + + + Creator + + + 128 + 8626CF191A5F4214B5DF2CE7D1987787 + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 8626CF191A5F4214B5DF2CE7D1987787 + all_assignments + + + Check the CN form for completeness + 0 + 128 + 8626CF191A5F4214B5DF2CE7D1987787 + 1 + + + Ensure all Affected Items are attached + 0 + 256 + 8626CF191A5F4214B5DF2CE7D1987787 + 2 + + + Submit the CN for implementation planning + 0 + 384 + 8626CF191A5F4214B5DF2CE7D1987787 + 3 + + + none + 0 + 0 + Submit + 579325721A84487FA60A60C568290A38 + 128 + 8626CF191A5F4214B5DF2CE7D1987787 + + + + + 384 + 5AC5D7551B4F4F3E823A869C631961FB + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Update documents and complete tasks per release and implementation plans + 0 + 0 + 393 + 76 + Update Documents + + + + + Owner + + + 128 + D166DD4B1CDA44C3BDEC90F5D94C88AD + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + D166DD4B1CDA44C3BDEC90F5D94C88AD + all_assignments + + + Update the documents to implement the change + 0 + 128 + D166DD4B1CDA44C3BDEC90F5D94C88AD + 1 + + + Check in the updated documents + 0 + 256 + D166DD4B1CDA44C3BDEC90F5D94C88AD + 2 + + + Vote "Complete" to send the documents for review + 0 + 384 + D166DD4B1CDA44C3BDEC90F5D94C88AD + 3 + + + 85F86794FACF42599F07019F7BEA1D46 + on_activate + 7ABB5384854B4BAFAAB95D32AA8D1E1D + 128 + D166DD4B1CDA44C3BDEC90F5D94C88AD + + + 85F86794FACF42599F07019F7BEA1D46 + on_activate + EF241A9C104545D9B4FA76A6C26F8027 + 256 + D166DD4B1CDA44C3BDEC90F5D94C88AD + + + none + 0 + 0 + Complete + 3170DF945E124DF6B9517B21D862AE5B + + 128 + D166DD4B1CDA44C3BDEC90F5D94C88AD + 40 + 9 + + + + + 512 + 5AC5D7551B4F4F3E823A869C631961FB + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Confirm the implementation plan is complete + 0 + 0 + 526 + 75 + Complete Implementation + + + + + Manager + + + 128 + 3170DF945E124DF6B9517B21D862AE5B + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 3170DF945E124DF6B9517B21D862AE5B + all_assignments + + + Review the documents to ensure the change has been implemented properly + 0 + 128 + 3170DF945E124DF6B9517B21D862AE5B + 1 + + + Vote to either "Approve" or "Reject" the changes + 0 + 256 + 3170DF945E124DF6B9517B21D862AE5B + 2 + + + 85F86794FACF42599F07019F7BEA1D46 + on_activate + FBF0EA8DABEA460F99A98D0B0514C4AB + 128 + 3170DF945E124DF6B9517B21D862AE5B + + + none + 0 + 0 + Reject + D166DD4B1CDA44C3BDEC90F5D94C88AD + 439,31 + 128 + 3170DF945E124DF6B9517B21D862AE5B + -63 + -53 + + + none + 0 + 0 + Approve + 704A21A83A624AE594704D7331114C95 + + 256 + 3170DF945E124DF6B9517B21D862AE5B + 29 + 10 + + + + + 640 + 5AC5D7551B4F4F3E823A869C631961FB + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Implementation Planning + 0 + 0 + 254 + 76 + CN Planning + + + + + Manager + + + 128 + 579325721A84487FA60A60C568290A38 + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 579325721A84487FA60A60C568290A38 + all_assignments + + + Plan the implementation of this CN in relation to others + 0 + 128 + 579325721A84487FA60A60C568290A38 + 1 + + + Set the effectivity date + 0 + 256 + 579325721A84487FA60A60C568290A38 + 2 + + + Vote "Complete" to complete the planning + 0 + 384 + 579325721A84487FA60A60C568290A38 + 3 + + + 85F86794FACF42599F07019F7BEA1D46 + on_activate + AD7CE702E416493381A2263B0B165BA4 + 128 + 579325721A84487FA60A60C568290A38 + + + none + 0 + 0 + Complete + D166DD4B1CDA44C3BDEC90F5D94C88AD + 128 + 579325721A84487FA60A60C568290A38 + + + + + 768 + 5AC5D7551B4F4F3E823A869C631961FB + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + CN Audit + 0 + 0 + 630 + 75 + CN Audit + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 704A21A83A624AE594704D7331114C95 + all_assignments + + + on_activate + + + CM2 CN WF Assign + + + 128 + 704A21A83A624AE594704D7331114C95 + + + Confirm the CN has been implemented in accordance with the plan + 0 + 128 + 704A21A83A624AE594704D7331114C95 + 1 + + + Vote "Complete" to release the CN + 0 + 256 + 704A21A83A624AE594704D7331114C95 + 2 + + + none + 0 + 0 + Complete + A38A6AC71DD249F58D779E0E6EEC6097 + 128 + 704A21A83A624AE594704D7331114C95 + + + + + 896 + 5AC5D7551B4F4F3E823A869C631961FB + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Workflow Map/CM2 CR.xml b/Imports/2-Post/PLM/Import/Workflow Map/CM2 CR.xml similarity index 98% rename from Imports/PLM/Import/Workflow Map/CM2 CR.xml rename to Imports/2-Post/PLM/Import/Workflow Map/CM2 CR.xml index dc97cd6..ebb523d 100644 --- a/Imports/PLM/Import/Workflow Map/CM2 CR.xml +++ b/Imports/2-Post/PLM/Import/Workflow Map/CM2 CR.xml @@ -1,1296 +1,1296 @@ - - - Enterprise Change Request - - - - - - - - - B27017B16ED44274A1BED8D044E86BEA - - - - CM2 CR - - - - - 0 - 0 - 0 - 0 - ../images/Delete.svg - 0 - 0 - 0 - CR Approved - 1 - 0 - 0 - 0 - 0 - 0 - 855 - 20 - CR Approved - - - - - Manager - - - 128 - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - 0 - 0 - 100 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 8702F414B9584EE3BCFF85829BCB7196 - 128 - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - - - none - 0 - 0 - Combined CR-CN - 4FB0C92F4E3B47D89F588A0030E34EDE - - 128 - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - 4 - -10 - - - none - 0 - 0 - Create CN - BB2417BE519A49C8B2F3DA8D32D8411D - - 256 - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - -4 - 49 - - - - - 128 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 0 - 0 - 0 - 0 - ../images/WorkflowStart.svg - 1 - 0 - 1 - Start - 2 - 0 - 0 - 0 - 0 - 0 - 20 - 20 - Start - - - none - 1 - 0 - go - 04E98FC42E1E45F49C1F786C8FE73381 - - 128 - A4B08011AE86444FBB502224A6CBBD96 - - - - - 256 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please perform an Enterprise Change Assessment of the CR - 0 - 0 - 342 - 20 - Enterprise Change Assessment - - - - - Owner - - - 128 - 05810B402B9144EF941E3B08C47D22FB - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 05810B402B9144EF941E3B08C47D22FB - all_assignments - - - Assess change impact - 0 - 128 - 05810B402B9144EF941E3B08C47D22FB - 1 - - - Get input from other reviewers - 0 - 256 - 05810B402B9144EF941E3B08C47D22FB - 2 - - - Make recommendations - 0 - 384 - 05810B402B9144EF941E3B08C47D22FB - 3 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - AA4F2E821DB141C9A8A69F441632CD7F - 128 - 05810B402B9144EF941E3B08C47D22FB - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 9FD9D64B1F46430E84E359715B3F62F7 - 256 - 05810B402B9144EF941E3B08C47D22FB - - - password - 0 - 0 - Complete - EDA49BC5BD1A458A9364FBBF57E1E40B - - 128 - 05810B402B9144EF941E3B08C47D22FB - 24 - 13 - - - - - 384 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Review ECA and Route the CR - 0 - 0 - 450 - 20 - Route CR - - - - - Manager - - - 128 - EDA49BC5BD1A458A9364FBBF57E1E40B - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - EDA49BC5BD1A458A9364FBBF57E1E40B - all_assignments - - - Review ECA recommendations - 0 - 128 - EDA49BC5BD1A458A9364FBBF57E1E40B - 1 - - - Prepare Cost Estimate - 0 - 256 - EDA49BC5BD1A458A9364FBBF57E1E40B - 2 - - - Route the CR - 0 - 384 - EDA49BC5BD1A458A9364FBBF57E1E40B - 3 - - - none - 1 - 0 - CRB Approve - 85C06C1087BC4A46B535DB1600195291 - - 128 - EDA49BC5BD1A458A9364FBBF57E1E40B - -27 - 50 - - - none - 0 - 0 - Fast Track Approve - 2CB65343C2494152B6AFD20E9AAC5EDA - - 256 - EDA49BC5BD1A458A9364FBBF57E1E40B - 21 - 13 - - - - - 512 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Change Review Board - 0 - 0 - 642 - 86 - Online CRB - - - 7635594273054F2BA32C1CADB31FD413 - 128 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - 0 - 1 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - all_assignments - - - Review the CR and disposition - 0 - 128 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - 1 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 60FA15074CD246908247E480DDCB8E84 - 128 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - - - password - 1 - 0 - Approve - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - - 128 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - -4 - -24 - - - none - 0 - 1 - Call Meeting - 1F009B4A53E24139AC4167CA56D258DA - - 256 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - -70 - 46 - - - password - 0 - 0 - Disapprove - 652FE749C7414B0A9177F0D18C9B5E8A - - 384 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - 83 - 63 - - - none - 0 - 0 - Investigate - 05810B402B9144EF941E3B08C47D22FB - 533,209|425,209 - 512 - 67D0F986A65F46B7B43BBA3EF1EB4CEC - -186 - 105 - - - - - 640 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please review the rejected CR - 0 - 0 - 111 - 108 - Review Rejected CR - - - - - Creator - - - 128 - 371CA8DF8E804E908DDAC8EAE95E55DE - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 371CA8DF8E804E908DDAC8EAE95E55DE - all_assignments - - - Review comments - 0 - 128 - 371CA8DF8E804E908DDAC8EAE95E55DE - 1 - - - Modify the ECR and resubmit or cancel the ECR - 0 - 256 - 371CA8DF8E804E908DDAC8EAE95E55DE - 2 - - - none - 0 - 0 - Resubmit - C527F63EED2C4905900F264CFA467571 - 232,120 - 128 - 371CA8DF8E804E908DDAC8EAE95E55DE - 53 - -7 - - - none - 0 - 0 - Cancel CR - C5EFB648717D46C289FD075A90321ACD - - 256 - 371CA8DF8E804E908DDAC8EAE95E55DE - 5 - 16 - - - - - 768 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Submit the CR for review - 0 - 0 - 110 - 20 - Submit CR - - - - - Creator - - - 128 - 04E98FC42E1E45F49C1F786C8FE73381 - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 04E98FC42E1E45F49C1F786C8FE73381 - all_assignments - - - Attach known Affected Items - 0 - 128 - 04E98FC42E1E45F49C1F786C8FE73381 - 1 - - - Ensure the CR is ready for initial review - 0 - 256 - 04E98FC42E1E45F49C1F786C8FE73381 - 2 - - - none - 0 - 0 - Submit - C527F63EED2C4905900F264CFA467571 - - 128 - 04E98FC42E1E45F49C1F786C8FE73381 - 28 - -6 - - - - - 896 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - An CR has been submitted, please review it - 0 - 0 - 220 - 20 - CL Review - - - - - Manager - - - 128 - C527F63EED2C4905900F264CFA467571 - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - C527F63EED2C4905900F264CFA467571 - all_assignments - - - Check CR form for completeness - 0 - 128 - C527F63EED2C4905900F264CFA467571 - 1 - - - Search for similar CRs - 0 - 256 - C527F63EED2C4905900F264CFA467571 - 2 - - - Review Affected Items, add additional if necessary - 0 - 384 - C527F63EED2C4905900F264CFA467571 - 3 - - - Make sure the Assigned Creator is correct - 1 - 512 - C527F63EED2C4905900F264CFA467571 - 4 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - FA0C3B23723E4423BCA1583516A2EA4F - 128 - C527F63EED2C4905900F264CFA467571 - - - none - 0 - 0 - Change Assessment - 05810B402B9144EF941E3B08C47D22FB - - 128 - C527F63EED2C4905900F264CFA467571 - -30 - -20 - - - none - 0 - 0 - Reject - 371CA8DF8E804E908DDAC8EAE95E55DE - - 256 - C527F63EED2C4905900F264CFA467571 - -103 - 48 - - - - - 1024 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 0 - 0 - 0 - ../images/Delete.svg - 1 - 1 - 0 - CR Cancelled - 0 - 0 - 109 - 194 - CR Cancelled - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - D7BE1DAD4BED43EB9DCD2B5B139184C2 - 128 - C5EFB648717D46C289FD075A90321ACD - - - - - 1152 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Prepare for CRB - 0 - 0 - 525 - 86 - Prepare CRB - - - - - Manager - - - 128 - 85C06C1087BC4A46B535DB1600195291 - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 85C06C1087BC4A46B535DB1600195291 - all_assignments - - - Prepare CRB agenda - 0 - 128 - 85C06C1087BC4A46B535DB1600195291 - 1 - - - Review atendee list - 0 - 256 - 85C06C1087BC4A46B535DB1600195291 - 2 - - - Choose online CRB or meeting - 0 - 384 - 85C06C1087BC4A46B535DB1600195291 - 3 - - - none - 0 - 0 - Send to CRB - 67D0F986A65F46B7B43BBA3EF1EB4CEC - - 128 - 85C06C1087BC4A46B535DB1600195291 - 19 - -3 - - - none - 0 - 0 - Call CRB Meeting - 1F009B4A53E24139AC4167CA56D258DA - 537,173 - 256 - 85C06C1087BC4A46B535DB1600195291 - -100 - 50 - - - - - 1280 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Disposition the CR - 0 - 0 - 642 - 20 - Disposition CR - - - - - Owner - - - 128 - 2CB65343C2494152B6AFD20E9AAC5EDA - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 2CB65343C2494152B6AFD20E9AAC5EDA - all_assignments - - - Review ECR details - 0 - 128 - 2CB65343C2494152B6AFD20E9AAC5EDA - 1 - - - Approve, disapprove or invetigate further - 0 - 256 - 2CB65343C2494152B6AFD20E9AAC5EDA - 2 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 60FA15074CD246908247E480DDCB8E84 - 128 - 2CB65343C2494152B6AFD20E9AAC5EDA - - - password - 0 - 0 - Disapprove - 652FE749C7414B0A9177F0D18C9B5E8A - - 128 - 2CB65343C2494152B6AFD20E9AAC5EDA - 154 - 95 - - - password - 0 - 0 - Approve - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - 256 - 2CB65343C2494152B6AFD20E9AAC5EDA - - - none - 0 - 0 - Investigate - 05810B402B9144EF941E3B08C47D22FB - 654,7|353,7 - 384 - 2CB65343C2494152B6AFD20E9AAC5EDA - -174 - -11 - - - - - 1408 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Schedule and hold a CRB meeting - 0 - 0 - 642 - 161 - CRB Meeting - - - - - Manager - - - 128 - 1F009B4A53E24139AC4167CA56D258DA - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 1F009B4A53E24139AC4167CA56D258DA - all_assignments - - - Schedule CRB Meeting - 0 - 128 - 1F009B4A53E24139AC4167CA56D258DA - 1 - - - Chair CRB meeting - 0 - 256 - 1F009B4A53E24139AC4167CA56D258DA - 2 - - - Record meeting results - 0 - 384 - 1F009B4A53E24139AC4167CA56D258DA - 3 - - - Disposition CR - 0 - 512 - 1F009B4A53E24139AC4167CA56D258DA - 4 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 60FA15074CD246908247E480DDCB8E84 - 128 - 1F009B4A53E24139AC4167CA56D258DA - - - password - 0 - 0 - Disapprove - 652FE749C7414B0A9177F0D18C9B5E8A - 854,173 - 128 - 1F009B4A53E24139AC4167CA56D258DA - 123 - 16 - - - password - 0 - 0 - Approve - 05AE05C2455D4EC9BA1DCD4AA223DEE2 - - 256 - 1F009B4A53E24139AC4167CA56D258DA - 86 - -54 - - - none - 0 - 0 - Investigate - 05810B402B9144EF941E3B08C47D22FB - 654,229|353,229 - 384 - 1F009B4A53E24139AC4167CA56D258DA - -98 - 45 - - - - - 1536 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 0 - 0 - 0 - ../images/Delete.svg - 1 - 1 - 0 - CR Disapproved - 0 - 0 - 858 - 161 - CR Disapproved - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 350CCF21126541B99786F5230B56536B - 128 - 652FE749C7414B0A9177F0D18C9B5E8A - - - - - 1664 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 1 - 1 - 0 - Please Review... - 0 - 0 - 1409 - 21 - CR-CN Released - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 55254AD67AD84431B34AF77516C00C49 - 128 - 5EF861304D974FC88CFBFE1D5694B3E2 - - - - - 1792 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 1 - 1 - 0 - Please Review... - 0 - 0 - 937 - 82 - Create CN - - - 1920 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please Review... - 0 - 0 - 961 - 21 - CR-CN Planning - - - - - Owner - - - 128 - 4FB0C92F4E3B47D89F588A0030E34EDE - 0 - 0 - 100 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 10B93F4E58BD4673B8867ED1778D30A3 - 128 - 4FB0C92F4E3B47D89F588A0030E34EDE - - - none - 0 - 0 - Complete - 7E4C39B18B734E4DA4C623A45F0C799B - - 128 - 4FB0C92F4E3B47D89F588A0030E34EDE - 0 - 0 - - - - - 2048 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please Review... - 0 - 0 - 1079 - 21 - Update Documents - - - - - Owner - - - 128 - 7E4C39B18B734E4DA4C623A45F0C799B - 0 - 0 - 100 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 67DF7980B4C74F91BBD6A5B8607AE2DC - 128 - 7E4C39B18B734E4DA4C623A45F0C799B - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - DAC802F992E445DBB80465E6DF82C86B - 256 - 7E4C39B18B734E4DA4C623A45F0C799B - - - none - 0 - 0 - Complete - 6DE22F1F78854180A647343E3820DCEE - - 128 - 7E4C39B18B734E4DA4C623A45F0C799B - 0 - 0 - - - - - 2176 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please Review... - 0 - 0 - 1208 - 21 - Complete Implementation - - - - - Owner - - - 128 - 6DE22F1F78854180A647343E3820DCEE - 0 - 0 - 100 - - - 2D4799413792453DA08C1EDE6AA22A76 - on_activate - 5F9EF8FCA5F14CBD85471DA7B26001B7 - 128 - 6DE22F1F78854180A647343E3820DCEE - - - none - 0 - 0 - Approve - 32D44DD25DC442F3940E03D82573F3FE - - 128 - 6DE22F1F78854180A647343E3820DCEE - 0 - 0 - - - none - 0 - 0 - Reject - 7E4C39B18B734E4DA4C623A45F0C799B - 1177,12 - 256 - 6DE22F1F78854180A647343E3820DCEE - -43 - -28 - - - - - 2304 - EF4AA3A088594FA3BA55F82D713EEDAD - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please Review... - 0 - 0 - 1319 - 21 - CR-CN Audit - - - on_activate - - - CM2 CN WF Assign - - - 128 - 32D44DD25DC442F3940E03D82573F3FE - - - none - 0 - 0 - Complete - 5EF861304D974FC88CFBFE1D5694B3E2 - - 128 - 32D44DD25DC442F3940E03D82573F3FE - 0 - 0 - - - - - 2432 - EF4AA3A088594FA3BA55F82D713EEDAD - - - + + + Enterprise Change Request + + + + + + + + + B27017B16ED44274A1BED8D044E86BEA + + + + CM2 CR + + + + + 0 + 0 + 0 + 0 + ../images/Delete.svg + 0 + 0 + 0 + CR Approved + 1 + 0 + 0 + 0 + 0 + 0 + 855 + 20 + CR Approved + + + + + Manager + + + 128 + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + 0 + 0 + 100 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 8702F414B9584EE3BCFF85829BCB7196 + 128 + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + + + none + 0 + 0 + Combined CR-CN + 4FB0C92F4E3B47D89F588A0030E34EDE + + 128 + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + 4 + -10 + + + none + 0 + 0 + Create CN + BB2417BE519A49C8B2F3DA8D32D8411D + + 256 + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + -4 + 49 + + + + + 128 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 0 + 0 + 0 + 0 + ../images/WorkflowStart.svg + 1 + 0 + 1 + Start + 2 + 0 + 0 + 0 + 0 + 0 + 20 + 20 + Start + + + none + 1 + 0 + go + 04E98FC42E1E45F49C1F786C8FE73381 + + 128 + A4B08011AE86444FBB502224A6CBBD96 + + + + + 256 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please perform an Enterprise Change Assessment of the CR + 0 + 0 + 342 + 20 + Enterprise Change Assessment + + + + + Owner + + + 128 + 05810B402B9144EF941E3B08C47D22FB + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 05810B402B9144EF941E3B08C47D22FB + all_assignments + + + Assess change impact + 0 + 128 + 05810B402B9144EF941E3B08C47D22FB + 1 + + + Get input from other reviewers + 0 + 256 + 05810B402B9144EF941E3B08C47D22FB + 2 + + + Make recommendations + 0 + 384 + 05810B402B9144EF941E3B08C47D22FB + 3 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + AA4F2E821DB141C9A8A69F441632CD7F + 128 + 05810B402B9144EF941E3B08C47D22FB + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 9FD9D64B1F46430E84E359715B3F62F7 + 256 + 05810B402B9144EF941E3B08C47D22FB + + + password + 0 + 0 + Complete + EDA49BC5BD1A458A9364FBBF57E1E40B + + 128 + 05810B402B9144EF941E3B08C47D22FB + 24 + 13 + + + + + 384 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Review ECA and Route the CR + 0 + 0 + 450 + 20 + Route CR + + + + + Manager + + + 128 + EDA49BC5BD1A458A9364FBBF57E1E40B + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + EDA49BC5BD1A458A9364FBBF57E1E40B + all_assignments + + + Review ECA recommendations + 0 + 128 + EDA49BC5BD1A458A9364FBBF57E1E40B + 1 + + + Prepare Cost Estimate + 0 + 256 + EDA49BC5BD1A458A9364FBBF57E1E40B + 2 + + + Route the CR + 0 + 384 + EDA49BC5BD1A458A9364FBBF57E1E40B + 3 + + + none + 1 + 0 + CRB Approve + 85C06C1087BC4A46B535DB1600195291 + + 128 + EDA49BC5BD1A458A9364FBBF57E1E40B + -27 + 50 + + + none + 0 + 0 + Fast Track Approve + 2CB65343C2494152B6AFD20E9AAC5EDA + + 256 + EDA49BC5BD1A458A9364FBBF57E1E40B + 21 + 13 + + + + + 512 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Change Review Board + 0 + 0 + 642 + 86 + Online CRB + + + 7635594273054F2BA32C1CADB31FD413 + 128 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + 0 + 1 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + all_assignments + + + Review the CR and disposition + 0 + 128 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + 1 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 60FA15074CD246908247E480DDCB8E84 + 128 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + + + password + 1 + 0 + Approve + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + + 128 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + -4 + -24 + + + none + 0 + 1 + Call Meeting + 1F009B4A53E24139AC4167CA56D258DA + + 256 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + -70 + 46 + + + password + 0 + 0 + Disapprove + 652FE749C7414B0A9177F0D18C9B5E8A + + 384 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + 83 + 63 + + + none + 0 + 0 + Investigate + 05810B402B9144EF941E3B08C47D22FB + 533,209|425,209 + 512 + 67D0F986A65F46B7B43BBA3EF1EB4CEC + -186 + 105 + + + + + 640 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please review the rejected CR + 0 + 0 + 111 + 108 + Review Rejected CR + + + + + Creator + + + 128 + 371CA8DF8E804E908DDAC8EAE95E55DE + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 371CA8DF8E804E908DDAC8EAE95E55DE + all_assignments + + + Review comments + 0 + 128 + 371CA8DF8E804E908DDAC8EAE95E55DE + 1 + + + Modify the ECR and resubmit or cancel the ECR + 0 + 256 + 371CA8DF8E804E908DDAC8EAE95E55DE + 2 + + + none + 0 + 0 + Resubmit + C527F63EED2C4905900F264CFA467571 + 232,120 + 128 + 371CA8DF8E804E908DDAC8EAE95E55DE + 53 + -7 + + + none + 0 + 0 + Cancel CR + C5EFB648717D46C289FD075A90321ACD + + 256 + 371CA8DF8E804E908DDAC8EAE95E55DE + 5 + 16 + + + + + 768 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Submit the CR for review + 0 + 0 + 110 + 20 + Submit CR + + + + + Creator + + + 128 + 04E98FC42E1E45F49C1F786C8FE73381 + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 04E98FC42E1E45F49C1F786C8FE73381 + all_assignments + + + Attach known Affected Items + 0 + 128 + 04E98FC42E1E45F49C1F786C8FE73381 + 1 + + + Ensure the CR is ready for initial review + 0 + 256 + 04E98FC42E1E45F49C1F786C8FE73381 + 2 + + + none + 0 + 0 + Submit + C527F63EED2C4905900F264CFA467571 + + 128 + 04E98FC42E1E45F49C1F786C8FE73381 + 28 + -6 + + + + + 896 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + An CR has been submitted, please review it + 0 + 0 + 220 + 20 + CL Review + + + + + Manager + + + 128 + C527F63EED2C4905900F264CFA467571 + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + C527F63EED2C4905900F264CFA467571 + all_assignments + + + Check CR form for completeness + 0 + 128 + C527F63EED2C4905900F264CFA467571 + 1 + + + Search for similar CRs + 0 + 256 + C527F63EED2C4905900F264CFA467571 + 2 + + + Review Affected Items, add additional if necessary + 0 + 384 + C527F63EED2C4905900F264CFA467571 + 3 + + + Make sure the Assigned Creator is correct + 1 + 512 + C527F63EED2C4905900F264CFA467571 + 4 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + FA0C3B23723E4423BCA1583516A2EA4F + 128 + C527F63EED2C4905900F264CFA467571 + + + none + 0 + 0 + Change Assessment + 05810B402B9144EF941E3B08C47D22FB + + 128 + C527F63EED2C4905900F264CFA467571 + -30 + -20 + + + none + 0 + 0 + Reject + 371CA8DF8E804E908DDAC8EAE95E55DE + + 256 + C527F63EED2C4905900F264CFA467571 + -103 + 48 + + + + + 1024 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 0 + 0 + 0 + ../images/Delete.svg + 1 + 1 + 0 + CR Cancelled + 0 + 0 + 109 + 194 + CR Cancelled + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + D7BE1DAD4BED43EB9DCD2B5B139184C2 + 128 + C5EFB648717D46C289FD075A90321ACD + + + + + 1152 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Prepare for CRB + 0 + 0 + 525 + 86 + Prepare CRB + + + + + Manager + + + 128 + 85C06C1087BC4A46B535DB1600195291 + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 85C06C1087BC4A46B535DB1600195291 + all_assignments + + + Prepare CRB agenda + 0 + 128 + 85C06C1087BC4A46B535DB1600195291 + 1 + + + Review atendee list + 0 + 256 + 85C06C1087BC4A46B535DB1600195291 + 2 + + + Choose online CRB or meeting + 0 + 384 + 85C06C1087BC4A46B535DB1600195291 + 3 + + + none + 0 + 0 + Send to CRB + 67D0F986A65F46B7B43BBA3EF1EB4CEC + + 128 + 85C06C1087BC4A46B535DB1600195291 + 19 + -3 + + + none + 0 + 0 + Call CRB Meeting + 1F009B4A53E24139AC4167CA56D258DA + 537,173 + 256 + 85C06C1087BC4A46B535DB1600195291 + -100 + 50 + + + + + 1280 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Disposition the CR + 0 + 0 + 642 + 20 + Disposition CR + + + + + Owner + + + 128 + 2CB65343C2494152B6AFD20E9AAC5EDA + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 2CB65343C2494152B6AFD20E9AAC5EDA + all_assignments + + + Review ECR details + 0 + 128 + 2CB65343C2494152B6AFD20E9AAC5EDA + 1 + + + Approve, disapprove or invetigate further + 0 + 256 + 2CB65343C2494152B6AFD20E9AAC5EDA + 2 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 60FA15074CD246908247E480DDCB8E84 + 128 + 2CB65343C2494152B6AFD20E9AAC5EDA + + + password + 0 + 0 + Disapprove + 652FE749C7414B0A9177F0D18C9B5E8A + + 128 + 2CB65343C2494152B6AFD20E9AAC5EDA + 154 + 95 + + + password + 0 + 0 + Approve + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + 256 + 2CB65343C2494152B6AFD20E9AAC5EDA + + + none + 0 + 0 + Investigate + 05810B402B9144EF941E3B08C47D22FB + 654,7|353,7 + 384 + 2CB65343C2494152B6AFD20E9AAC5EDA + -174 + -11 + + + + + 1408 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Schedule and hold a CRB meeting + 0 + 0 + 642 + 161 + CRB Meeting + + + + + Manager + + + 128 + 1F009B4A53E24139AC4167CA56D258DA + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 1F009B4A53E24139AC4167CA56D258DA + all_assignments + + + Schedule CRB Meeting + 0 + 128 + 1F009B4A53E24139AC4167CA56D258DA + 1 + + + Chair CRB meeting + 0 + 256 + 1F009B4A53E24139AC4167CA56D258DA + 2 + + + Record meeting results + 0 + 384 + 1F009B4A53E24139AC4167CA56D258DA + 3 + + + Disposition CR + 0 + 512 + 1F009B4A53E24139AC4167CA56D258DA + 4 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 60FA15074CD246908247E480DDCB8E84 + 128 + 1F009B4A53E24139AC4167CA56D258DA + + + password + 0 + 0 + Disapprove + 652FE749C7414B0A9177F0D18C9B5E8A + 854,173 + 128 + 1F009B4A53E24139AC4167CA56D258DA + 123 + 16 + + + password + 0 + 0 + Approve + 05AE05C2455D4EC9BA1DCD4AA223DEE2 + + 256 + 1F009B4A53E24139AC4167CA56D258DA + 86 + -54 + + + none + 0 + 0 + Investigate + 05810B402B9144EF941E3B08C47D22FB + 654,229|353,229 + 384 + 1F009B4A53E24139AC4167CA56D258DA + -98 + 45 + + + + + 1536 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 0 + 0 + 0 + ../images/Delete.svg + 1 + 1 + 0 + CR Disapproved + 0 + 0 + 858 + 161 + CR Disapproved + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 350CCF21126541B99786F5230B56536B + 128 + 652FE749C7414B0A9177F0D18C9B5E8A + + + + + 1664 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 1 + 1 + 0 + Please Review... + 0 + 0 + 1409 + 21 + CR-CN Released + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 55254AD67AD84431B34AF77516C00C49 + 128 + 5EF861304D974FC88CFBFE1D5694B3E2 + + + + + 1792 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 1 + 1 + 0 + Please Review... + 0 + 0 + 937 + 82 + Create CN + + + 1920 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please Review... + 0 + 0 + 961 + 21 + CR-CN Planning + + + + + Owner + + + 128 + 4FB0C92F4E3B47D89F588A0030E34EDE + 0 + 0 + 100 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 10B93F4E58BD4673B8867ED1778D30A3 + 128 + 4FB0C92F4E3B47D89F588A0030E34EDE + + + none + 0 + 0 + Complete + 7E4C39B18B734E4DA4C623A45F0C799B + + 128 + 4FB0C92F4E3B47D89F588A0030E34EDE + 0 + 0 + + + + + 2048 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please Review... + 0 + 0 + 1079 + 21 + Update Documents + + + + + Owner + + + 128 + 7E4C39B18B734E4DA4C623A45F0C799B + 0 + 0 + 100 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 67DF7980B4C74F91BBD6A5B8607AE2DC + 128 + 7E4C39B18B734E4DA4C623A45F0C799B + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + DAC802F992E445DBB80465E6DF82C86B + 256 + 7E4C39B18B734E4DA4C623A45F0C799B + + + none + 0 + 0 + Complete + 6DE22F1F78854180A647343E3820DCEE + + 128 + 7E4C39B18B734E4DA4C623A45F0C799B + 0 + 0 + + + + + 2176 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please Review... + 0 + 0 + 1208 + 21 + Complete Implementation + + + + + Owner + + + 128 + 6DE22F1F78854180A647343E3820DCEE + 0 + 0 + 100 + + + 2D4799413792453DA08C1EDE6AA22A76 + on_activate + 5F9EF8FCA5F14CBD85471DA7B26001B7 + 128 + 6DE22F1F78854180A647343E3820DCEE + + + none + 0 + 0 + Approve + 32D44DD25DC442F3940E03D82573F3FE + + 128 + 6DE22F1F78854180A647343E3820DCEE + 0 + 0 + + + none + 0 + 0 + Reject + 7E4C39B18B734E4DA4C623A45F0C799B + 1177,12 + 256 + 6DE22F1F78854180A647343E3820DCEE + -43 + -28 + + + + + 2304 + EF4AA3A088594FA3BA55F82D713EEDAD + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please Review... + 0 + 0 + 1319 + 21 + CR-CN Audit + + + on_activate + + + CM2 CN WF Assign + + + 128 + 32D44DD25DC442F3940E03D82573F3FE + + + none + 0 + 0 + Complete + 5EF861304D974FC88CFBFE1D5694B3E2 + + 128 + 32D44DD25DC442F3940E03D82573F3FE + 0 + 0 + + + + + 2432 + EF4AA3A088594FA3BA55F82D713EEDAD + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Workflow Map/CM2 IR.xml b/Imports/2-Post/PLM/Import/Workflow Map/CM2 IR.xml similarity index 98% rename from Imports/PLM/Import/Workflow Map/CM2 IR.xml rename to Imports/2-Post/PLM/Import/Workflow Map/CM2 IR.xml index 26cfdfe..a7d3edc 100644 --- a/Imports/PLM/Import/Workflow Map/CM2 IR.xml +++ b/Imports/2-Post/PLM/Import/Workflow Map/CM2 IR.xml @@ -1,442 +1,442 @@ - - - Investigation Request Workflow - - - - - - - - - B27017B16ED44274A1BED8D044E86BEA - - - - CM2 IR - - - - - 0 - 0 - 0 - 0 - ../images/WorkflowStart.svg - 1 - 0 - 1 - Workflow Start - 2 - 0 - 0 - 0 - 0 - 0 - 20 - 20 - Start - - - none - 1 - 0 - Go - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 128 - E6B5021A080746319B152B653D9DFE5B - - - - - 128 - 5227CE02A5AD4ED7B647692BB06F8556 - - - - - 0 - 0 - 0 - 0 - ../images/Delete.svg - 1 - 1 - 0 - Workflow End - 1 - 0 - 0 - 0 - 0 - 0 - 677 - 20 - IR Pending - - - 622CD8AFA3174EDE8E074BC06B829AC2 - on_activate - F5D611374B354F29A1C527E3CD9A8731 - 128 - 049ECB9F9BC144A094212C59E6D0E9AF - - - - - 256 - 5227CE02A5AD4ED7B647692BB06F8556 - - - - - 1 - 0 - 0 - B27017B16ED44274A1BED8D044E86BEA - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please Review the Investigation Request - 0 - 0 - 140 - 20 - Review IR - - - - - Manager - - - 128 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - all_assignments - - - Check the IR for completeness - 0 - 128 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 1 - - - Check for duplicate IRs - 0 - 256 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 2 - - - Assign an Owner and Reviewers for the IR - 0 - 384 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 3 - - - Vote "Reject" to reject the PR outright or "Verify" to send it for verification - 0 - 512 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 4 - - - none - 0 - 0 - Reject - 46256C17C9CA419A8F9246E1F048E356 - - 128 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 6 - 63 - - - none - 0 - 0 - Verify - A4927929762B4CE98622A1FE49739F84 - - 256 - CBD9B22FA6DA47AFA9E253CDB8ACD6CB - 91 - 11 - - - - - 384 - 5227CE02A5AD4ED7B647692BB06F8556 - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please verify the Investigation Request - 0 - 0 - 366 - 20 - Verify IR - - - - - Owner - - - 128 - A4927929762B4CE98622A1FE49739F84 - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - A4927929762B4CE98622A1FE49739F84 - all_assignments - - - Attempt to verify the investigation as described - 0 - 128 - A4927929762B4CE98622A1FE49739F84 - 1 - - - Complete the remaining fields on the form - 0 - 256 - A4927929762B4CE98622A1FE49739F84 - 2 - - - Vote "Verified" to send the IR for approval or "Not Verified" if unverifiable - 0 - 384 - A4927929762B4CE98622A1FE49739F84 - 3 - - - 622CD8AFA3174EDE8E074BC06B829AC2 - on_activate - 61AC059DFC0F43FD90D5D9AC215F4A82 - 128 - A4927929762B4CE98622A1FE49739F84 - - - none - 0 - 0 - Verified - 459FA2D214414B24B180ADFD88111B5A - - 128 - A4927929762B4CE98622A1FE49739F84 - 5 - 1 - - - none - 0 - 0 - Not Verified - FF083732E8C349D6B85EE8D7AF71FFB4 - - 256 - A4927929762B4CE98622A1FE49739F84 - -67 - 48 - - - - - 512 - 5227CE02A5AD4ED7B647692BB06F8556 - - - - - 1 - 0 - 0 - F6624E9AE5504958A84E4B6A5831298B - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please approve the Investiation Request - 0 - 0 - 516 - 19 - Approve IR - - - - - Manager - - - 128 - 459FA2D214414B24B180ADFD88111B5A - 0 - 0 - 100 - - - on_activate - D7DED4DE50BA4CD4817B4B4638C1CD78 - 128 - 459FA2D214414B24B180ADFD88111B5A - all_assignments - - - Check the IR for completeness - 0 - 128 - 459FA2D214414B24B180ADFD88111B5A - 1 - - - Vote "Approve" to signify that the IR is complete and verified - 0 - 256 - 459FA2D214414B24B180ADFD88111B5A - 2 - - - 622CD8AFA3174EDE8E074BC06B829AC2 - on_activate - 96E24B8F72414C5CA498ED50B02FA98A - 128 - 459FA2D214414B24B180ADFD88111B5A - - - none - 0 - 0 - Approve - 049ECB9F9BC144A094212C59E6D0E9AF - - 128 - 459FA2D214414B24B180ADFD88111B5A - 53 - 11 - - - - - 640 - 5227CE02A5AD4ED7B647692BB06F8556 - - - - - 0 - 0 - 0 - ../images/WorkflowNode.svg - 1 - 1 - 0 - Your Investigation Request has been rejected - 0 - 0 - 140 - 140 - IR Rejected - - - - - Creator - - - 128 - 46256C17C9CA419A8F9246E1F048E356 - 0 - 0 - 100 - - - 622CD8AFA3174EDE8E074BC06B829AC2 - on_activate - A2D0B7C4770242D785E07B755DAA477A - 128 - 46256C17C9CA419A8F9246E1F048E356 - - - - - 768 - 5227CE02A5AD4ED7B647692BB06F8556 - - - - - 0 - 0 - 0 - ../images/WorkflowNode.svg - 1 - 1 - 0 - We were not able to verify your Investigation Request - 0 - 0 - 367 - 101 - IR Unverified - - - - - Creator - - - 128 - FF083732E8C349D6B85EE8D7AF71FFB4 - 0 - 0 - 100 - - - 622CD8AFA3174EDE8E074BC06B829AC2 - on_activate - C9A4C3D20E5F4F2EB3F6054ED8F98911 - 128 - FF083732E8C349D6B85EE8D7AF71FFB4 - - - - - 896 - 5227CE02A5AD4ED7B647692BB06F8556 - - - + + + Investigation Request Workflow + + + + + + + + + B27017B16ED44274A1BED8D044E86BEA + + + + CM2 IR + + + + + 0 + 0 + 0 + 0 + ../images/WorkflowStart.svg + 1 + 0 + 1 + Workflow Start + 2 + 0 + 0 + 0 + 0 + 0 + 20 + 20 + Start + + + none + 1 + 0 + Go + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 128 + E6B5021A080746319B152B653D9DFE5B + + + + + 128 + 5227CE02A5AD4ED7B647692BB06F8556 + + + + + 0 + 0 + 0 + 0 + ../images/Delete.svg + 1 + 1 + 0 + Workflow End + 1 + 0 + 0 + 0 + 0 + 0 + 677 + 20 + IR Pending + + + 622CD8AFA3174EDE8E074BC06B829AC2 + on_activate + F5D611374B354F29A1C527E3CD9A8731 + 128 + 049ECB9F9BC144A094212C59E6D0E9AF + + + + + 256 + 5227CE02A5AD4ED7B647692BB06F8556 + + + + + 1 + 0 + 0 + B27017B16ED44274A1BED8D044E86BEA + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please Review the Investigation Request + 0 + 0 + 140 + 20 + Review IR + + + + + Manager + + + 128 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + all_assignments + + + Check the IR for completeness + 0 + 128 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 1 + + + Check for duplicate IRs + 0 + 256 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 2 + + + Assign an Owner and Reviewers for the IR + 0 + 384 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 3 + + + Vote "Reject" to reject the PR outright or "Verify" to send it for verification + 0 + 512 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 4 + + + none + 0 + 0 + Reject + 46256C17C9CA419A8F9246E1F048E356 + + 128 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 6 + 63 + + + none + 0 + 0 + Verify + A4927929762B4CE98622A1FE49739F84 + + 256 + CBD9B22FA6DA47AFA9E253CDB8ACD6CB + 91 + 11 + + + + + 384 + 5227CE02A5AD4ED7B647692BB06F8556 + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please verify the Investigation Request + 0 + 0 + 366 + 20 + Verify IR + + + + + Owner + + + 128 + A4927929762B4CE98622A1FE49739F84 + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + A4927929762B4CE98622A1FE49739F84 + all_assignments + + + Attempt to verify the investigation as described + 0 + 128 + A4927929762B4CE98622A1FE49739F84 + 1 + + + Complete the remaining fields on the form + 0 + 256 + A4927929762B4CE98622A1FE49739F84 + 2 + + + Vote "Verified" to send the IR for approval or "Not Verified" if unverifiable + 0 + 384 + A4927929762B4CE98622A1FE49739F84 + 3 + + + 622CD8AFA3174EDE8E074BC06B829AC2 + on_activate + 61AC059DFC0F43FD90D5D9AC215F4A82 + 128 + A4927929762B4CE98622A1FE49739F84 + + + none + 0 + 0 + Verified + 459FA2D214414B24B180ADFD88111B5A + + 128 + A4927929762B4CE98622A1FE49739F84 + 5 + 1 + + + none + 0 + 0 + Not Verified + FF083732E8C349D6B85EE8D7AF71FFB4 + + 256 + A4927929762B4CE98622A1FE49739F84 + -67 + 48 + + + + + 512 + 5227CE02A5AD4ED7B647692BB06F8556 + + + + + 1 + 0 + 0 + F6624E9AE5504958A84E4B6A5831298B + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please approve the Investiation Request + 0 + 0 + 516 + 19 + Approve IR + + + + + Manager + + + 128 + 459FA2D214414B24B180ADFD88111B5A + 0 + 0 + 100 + + + on_activate + D7DED4DE50BA4CD4817B4B4638C1CD78 + 128 + 459FA2D214414B24B180ADFD88111B5A + all_assignments + + + Check the IR for completeness + 0 + 128 + 459FA2D214414B24B180ADFD88111B5A + 1 + + + Vote "Approve" to signify that the IR is complete and verified + 0 + 256 + 459FA2D214414B24B180ADFD88111B5A + 2 + + + 622CD8AFA3174EDE8E074BC06B829AC2 + on_activate + 96E24B8F72414C5CA498ED50B02FA98A + 128 + 459FA2D214414B24B180ADFD88111B5A + + + none + 0 + 0 + Approve + 049ECB9F9BC144A094212C59E6D0E9AF + + 128 + 459FA2D214414B24B180ADFD88111B5A + 53 + 11 + + + + + 640 + 5227CE02A5AD4ED7B647692BB06F8556 + + + + + 0 + 0 + 0 + ../images/WorkflowNode.svg + 1 + 1 + 0 + Your Investigation Request has been rejected + 0 + 0 + 140 + 140 + IR Rejected + + + + + Creator + + + 128 + 46256C17C9CA419A8F9246E1F048E356 + 0 + 0 + 100 + + + 622CD8AFA3174EDE8E074BC06B829AC2 + on_activate + A2D0B7C4770242D785E07B755DAA477A + 128 + 46256C17C9CA419A8F9246E1F048E356 + + + + + 768 + 5227CE02A5AD4ED7B647692BB06F8556 + + + + + 0 + 0 + 0 + ../images/WorkflowNode.svg + 1 + 1 + 0 + We were not able to verify your Investigation Request + 0 + 0 + 367 + 101 + IR Unverified + + + + + Creator + + + 128 + FF083732E8C349D6B85EE8D7AF71FFB4 + 0 + 0 + 100 + + + 622CD8AFA3174EDE8E074BC06B829AC2 + on_activate + C9A4C3D20E5F4F2EB3F6054ED8F98911 + 128 + FF083732E8C349D6B85EE8D7AF71FFB4 + + + + + 896 + 5227CE02A5AD4ED7B647692BB06F8556 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/Workflow Map/CM2 Incident.xml b/Imports/2-Post/PLM/Import/Workflow Map/CM2 Incident.xml similarity index 97% rename from Imports/PLM/Import/Workflow Map/CM2 Incident.xml rename to Imports/2-Post/PLM/Import/Workflow Map/CM2 Incident.xml index 613b46f..96bf573 100644 --- a/Imports/PLM/Import/Workflow Map/CM2 Incident.xml +++ b/Imports/2-Post/PLM/Import/Workflow Map/CM2 Incident.xml @@ -1,257 +1,257 @@ - - - - - - - - - - - - - - - Innovator Admin - - - - - - CM2 Incident - - - - - 0 - 0 - 0 - 0 - ../images/Delete.svg - 1 - 1 - 0 - Workflow End - 1 - 0 - 0 - 0 - 0 - 0 - 483 - 24 - OK - - - 128 - 910CD047077B4FE68D312BC05ABA12B1 - - - - - 0 - 0 - 0 - 0 - ../images/WorkflowStart.svg - 1 - 0 - 1 - Workflow Start - 2 - 0 - 0 - 0 - 0 - 0 - 20 - 20 - Start - - - none - 1 - 0 - Go - B1A38A46E213498C9D2B8DF2B6BA0053 - - 128 - 82F77CF1601A44799A5BAD8C3802A000 - - - - - 256 - 910CD047077B4FE68D312BC05ABA12B1 - - - - - 0 - 0 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Submit the new incident - 0 - 0 - 134 - 20 - Submit Incident - - - - - Creator - - - 128 - B1A38A46E213498C9D2B8DF2B6BA0053 - 0 - 0 - 100 - - - C522A937F22247F997543CA11DCAE859 - on_activate - BCA93D92157A4762BF99FD24FD22D01F - 128 - B1A38A46E213498C9D2B8DF2B6BA0053 - - - none - 0 - 0 - Submit - A42EA053021B46FFB3B7608C170FFF79 - 128 - B1A38A46E213498C9D2B8DF2B6BA0053 - - - - - 384 - 910CD047077B4FE68D312BC05ABA12B1 - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please assign the incident to the correct owner - 0 - 0 - 235 - 21 - Assign Owner - - - D8B11513AB2B4759BCDF5893650CEEDC - 128 - A42EA053021B46FFB3B7608C170FFF79 - 0 - 0 - 100 - - - C522A937F22247F997543CA11DCAE859 - on_close - 22F3FCAF476C454F9ADA442F593FD200 - 128 - A42EA053021B46FFB3B7608C170FFF79 - - - none - 0 - 0 - Owner Assigned - FD5AF38E21E64527966838E1A44A960C - - 128 - A42EA053021B46FFB3B7608C170FFF79 - 11 - 10 - - - - - 512 - 910CD047077B4FE68D312BC05ABA12B1 - - - - - 1 - 1 - 0 - ../images/WorkflowNode.svg - 0 - 0 - 0 - Please investigate the incident and start change process if needed - 0 - 0 - 345 - 22 - Investigate Incident - - - none - 0 - 0 - Close OK - ECAC2885C734497B9C27B899F1FA6BBB - - 128 - FD5AF38E21E64527966838E1A44A960C - 0 - 0 - - - none - 0 - 0 - Change Started - 184DC94CBC0642FB9ABB15DF65DE66B5 - 256 - FD5AF38E21E64527966838E1A44A960C - 0 - 0 - - - - - 640 - 910CD047077B4FE68D312BC05ABA12B1 - - - - - 0 - 0 - 0 - ../images/WorkflowNode.svg - 1 - 1 - 0 - Please Review... - 0 - 0 - 469 - 152 - Change Started - - - 768 - 910CD047077B4FE68D312BC05ABA12B1 - - - + + + + + + + + + + + + + + + Innovator Admin + + + + + + CM2 Incident + + + + + 0 + 0 + 0 + 0 + ../images/Delete.svg + 1 + 1 + 0 + Workflow End + 1 + 0 + 0 + 0 + 0 + 0 + 483 + 24 + OK + + + 128 + 910CD047077B4FE68D312BC05ABA12B1 + + + + + 0 + 0 + 0 + 0 + ../images/WorkflowStart.svg + 1 + 0 + 1 + Workflow Start + 2 + 0 + 0 + 0 + 0 + 0 + 20 + 20 + Start + + + none + 1 + 0 + Go + B1A38A46E213498C9D2B8DF2B6BA0053 + + 128 + 82F77CF1601A44799A5BAD8C3802A000 + + + + + 256 + 910CD047077B4FE68D312BC05ABA12B1 + + + + + 0 + 0 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Submit the new incident + 0 + 0 + 134 + 20 + Submit Incident + + + + + Creator + + + 128 + B1A38A46E213498C9D2B8DF2B6BA0053 + 0 + 0 + 100 + + + C522A937F22247F997543CA11DCAE859 + on_activate + BCA93D92157A4762BF99FD24FD22D01F + 128 + B1A38A46E213498C9D2B8DF2B6BA0053 + + + none + 0 + 0 + Submit + A42EA053021B46FFB3B7608C170FFF79 + 128 + B1A38A46E213498C9D2B8DF2B6BA0053 + + + + + 384 + 910CD047077B4FE68D312BC05ABA12B1 + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please assign the incident to the correct owner + 0 + 0 + 235 + 21 + Assign Owner + + + D8B11513AB2B4759BCDF5893650CEEDC + 128 + A42EA053021B46FFB3B7608C170FFF79 + 0 + 0 + 100 + + + C522A937F22247F997543CA11DCAE859 + on_close + 22F3FCAF476C454F9ADA442F593FD200 + 128 + A42EA053021B46FFB3B7608C170FFF79 + + + none + 0 + 0 + Owner Assigned + FD5AF38E21E64527966838E1A44A960C + + 128 + A42EA053021B46FFB3B7608C170FFF79 + 11 + 10 + + + + + 512 + 910CD047077B4FE68D312BC05ABA12B1 + + + + + 1 + 1 + 0 + ../images/WorkflowNode.svg + 0 + 0 + 0 + Please investigate the incident and start change process if needed + 0 + 0 + 345 + 22 + Investigate Incident + + + none + 0 + 0 + Close OK + ECAC2885C734497B9C27B899F1FA6BBB + + 128 + FD5AF38E21E64527966838E1A44A960C + 0 + 0 + + + none + 0 + 0 + Change Started + 184DC94CBC0642FB9ABB15DF65DE66B5 + 256 + FD5AF38E21E64527966838E1A44A960C + 0 + 0 + + + + + 640 + 910CD047077B4FE68D312BC05ABA12B1 + + + + + 0 + 0 + 0 + ../images/WorkflowNode.svg + 1 + 1 + 0 + Please Review... + 0 + 0 + 469 + 152 + Change Started + + + 768 + 910CD047077B4FE68D312BC05ABA12B1 + + + \ No newline at end of file diff --git a/Imports/PLM/Import/qry_QueryDefinition/Get CM2 Structure.xml b/Imports/2-Post/PLM/Import/qry_QueryDefinition/Get CM2 Structure.xml similarity index 100% rename from Imports/PLM/Import/qry_QueryDefinition/Get CM2 Structure.xml rename to Imports/2-Post/PLM/Import/qry_QueryDefinition/Get CM2 Structure.xml diff --git a/Imports/Project/Import/Form/Project.xml b/Imports/2-Post/Project/Import/Form/Project.xml similarity index 100% rename from Imports/Project/Import/Form/Project.xml rename to Imports/2-Post/Project/Import/Form/Project.xml diff --git a/Imports/Project/Import/Identity/Project Management.xml b/Imports/2-Post/Project/Import/Identity/Project Management.xml similarity index 100% rename from Imports/Project/Import/Identity/Project Management.xml rename to Imports/2-Post/Project/Import/Identity/Project Management.xml diff --git a/Imports/Project/Import/ItemType/Project.xml b/Imports/2-Post/Project/Import/ItemType/Project.xml similarity index 100% rename from Imports/Project/Import/ItemType/Project.xml rename to Imports/2-Post/Project/Import/ItemType/Project.xml diff --git a/Imports/Project/Import/Permission/Project.xml b/Imports/2-Post/Project/Import/Permission/Project.xml similarity index 100% rename from Imports/Project/Import/Permission/Project.xml rename to Imports/2-Post/Project/Import/Permission/Project.xml diff --git a/Imports/imports.mf b/Imports/2-Post/imports.mf similarity index 98% rename from Imports/imports.mf rename to Imports/2-Post/imports.mf index ef2177a..e58dbdc 100644 --- a/Imports/imports.mf +++ b/Imports/2-Post/imports.mf @@ -1,7 +1,7 @@ - - - - - - + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index dca103d..5a30033 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,14 @@ The Aras CM2 Community Project package adds to and modifies the base PLM applica * CM2 Order Bill itemtype to define the BOM for a specified part and effective date on an order, generated through a “Derive Order Bill” action to derive the order bill from the effective planning bill for that part * Work Authorization with action to derive Work Authorization BOM * Combined CR/CN capability on CR form and workflow map +* [ECR Impact Matrix](https://github.com/ArasLabs/ecr-impact-matrix) - a simplified version of the Express ECO Impact Matrix +* ECR to ECN conversion action ## History Release | Notes --------|-------- +[v1.2.0](https://github.com/ArasLabs/CM2/releases/tag/v1.2.0) | Adds a simplified version of the Express ECO Impact Matrix onto the ECR, and adds an item action to convert an ECR to an ECN. [v1.1.0](https://github.com/ArasLabs/CM2/releases/tag/v1.1.0) | This release adds a Work Authorization, with an action to derive Work Authorization BOM. It also combines CR/CN capability on the CR form and workflow map. [v1.0.1](https://github.com/ArasLabs/CM2/releases/tag/v1.0.1) | Typo fix in readme. [v1.0.0](https://github.com/ArasLabs/CM2/releases/tag/v1.0.0) | First release. @@ -31,6 +34,7 @@ Release | Notes Project | Aras --------|------ +[v1.2.0](https://github.com/ArasLabs/CM2/releases/tag/v1.2.0) | 11.0 SP12+ [v1.1.0](https://github.com/ArasLabs/CM2/releases/tag/v1.1.0) | 11.0 SP12+ [v1.0.1](https://github.com/ArasLabs/CM2/releases/tag/v1.0.1) | 11.0 SP12+ [v1.0.0](https://github.com/ArasLabs/CM2/releases/tag/v1.0.0) | 11.0 SP12+ @@ -46,21 +50,33 @@ Project | Aras 2. PE 11.0 R4 installed 3. Aras Package Import Utility 4. CM2 Community Project package +5. Code Tree overlay ### Install Steps +#### The Code Tree +1. Backup your code tree and store the backup in a safe place. +2. Copy the `Innovator` folder from `\CodeTree` in your local repository. +3. Paste this folder to the root install directory of your code tree. + * This should be the same folder that contains the `InnovatorServerConfig.xml`. + +#### The Database 1. Back up your database and store the BAK file in a safe place. 2. Open up the Aras Package Import tool. 3. Enter your login credentials and click **Login** * _Note: You must log in as root for the package import to succeed!_ 4. Enter the package name in the TargetRelease field. * Optional: Enter a description in the Description field. -5. Enter the path to your local `..\cm2\Import\imports.mf` file in the Manifest File field. +5. Enter the path to your local `..\cm2\Import\1-Pre\imports.mf` file in the Manifest File field. 6. Select the following in the Available for Import field. * **com.aras.innovator.solution.PLM** 7. Select Type = **Merge** and Mode = **Thorough Mode**. 8. Click **Import** in the top left corner. -9. Close the Aras Package Import tool. +9. Enter the path to your local `..\cm2\Import\2-Post\imports.mf` file in the Manifest File field. +10. Select the following in the Available for Import field. + * **com.aras.innovator.solution.PLM** +11. Click **Import** in the top left corner. +12. Close the Aras Package Import tool. You are now ready to login to Aras and use the new CM2 capabilities.