Hello,
I am in the process of creating an application (c#) that will display all / specific properties of a part number in the system.
I have done a lot of searching but nothing seems to work. I'm a noobie to c# so might be doing it completely wrong.
I essentially want to find the property "major_rev" of part 1000-00-0001
AML code that shows all properties
<AML>
<Item type="Part" action="get">
<item_number>1000-00-0001</item_number>
</Item>
</AML>
Current c# code
Innovator inn = IomFactory.CreateInnovator(conn);
Item item = inn.newItem("Part", "get");
string mrev = item.getProperty("major_rev");
MessageBox.Show(mrev); - this is blank