This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Add Classification through AML in NASH tool

donpjt - Monday, April 12, 2010 7:40 AM:

I tried to update the Classification while importing data with AML in the nash too. But I have not got the correct tag yet. So is it possible to add classification through AML? 

I have one more query. I want to choose a classification which is not the end type. I want to choose a classification which has sub classifications under it. Is there any setting which will allow that or is that feature not available?

Thanks in advance!

Paul



RobMcAveney - Friday, April 16, 2010 1:42 AM:

Yes, you can add classification through AML. The syntax is like:

<Item type="Part" action="add">
  <item_number>100</item_number>
  <classification>/Part/Mechanical</classification>
</Item>

I'm not sure why you'd want to use a classification that has sub-classes.  Isn't this ambiguous?  For example, if you had a resistor you could classify it as /Part/Electrical or /Part/Electrical/Resistor.  Wouldn't both be valid choices?  I've found that it's better to have something like /Part/Electrical/Other to classify things that do not fit in other classes.  That way you are forcing the user to choose between Resistor and Other



[email protected] - Thursday, August 4, 2011 5:37 AM:

Dear Rob ,

 

Its Not Working



RobMcAveney - Thursday, August 4, 2011 8:21 AM:

The classification format has been streamlined in 9.3.  The root class has been removed since it is always the same.  Here is the syntax for 9.3:

<Item type="Part" action="add">
  <item_number>100</item_number>
  <classification>/Mechanical</classification>
</Item>

Rob