Hello
I want to add the BOMs Items of Parts as Itemtypes
i can do that for each item by applying this AML:
<AML>
<Item type="ItemType"
action = "merge" where = "ItemType.name = 'Gear'">
<name>Gear</name>
<Relationships>
<Item type="Property" action = "merge"
where = "Property.name = 'powersystempumpcap'"
>
<name>powersystempumpcap</name>
<data_type>decimal</data_type>
<help_tooltip xml:lang="en">Power systems number</help_tooltip>
<label xml:lang="en">Power systems number</label>
<sort_order>10004</sort_order>
</Item>
<Item type="Property" action = "merge"
where = "Property.name = 'powersystempumpca_unit'"
>
<name>powersystempumpca_unit</name>
<data_type>string</data_type>
<default_value xml:lang="en">L/min</default_value>
<help_tooltip xml:lang="en">Power system pump capacit</help_tooltip>
<label xml:lang="en">Power system pump capacity Unit</label>
<sort_order>10005</sort_order>
</Item>
</Relationships>
</Item>
</AML>
but this will need alot of time if i have alot of items in BOM and applying this AML for each item
is there it a way to do it once and How?
Hello,
Is there a particular reason that you're storing this data as an ItemType rather than simply in the Part BOM relationship? Storing this in the Part BOM relationship will be far more efficient than creating an ItemType since a lot of excess data is created in the background when a new ItemType is added.
If there is any data that's not being represented in the current data model, you can add additional properties directly to the Part or Part BOM ItemTypes or, if you are using 11.0 SP12, you can take advantage of the Extended Classification functionality which you can see a demo of here.
Chris
Christopher Gillis
Aras Labs Software Engineer
Hello,
Is there a particular reason that you're storing this data as an ItemType rather than simply in the Part BOM relationship? Storing this in the Part BOM relationship will be far more efficient than creating an ItemType since a lot of excess data is created in the background when a new ItemType is added.
If there is any data that's not being represented in the current data model, you can add additional properties directly to the Part or Part BOM ItemTypes or, if you are using 11.0 SP12, you can take advantage of the Extended Classification functionality which you can see a demo of here.
Chris
Christopher Gillis
Aras Labs Software Engineer