Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Editing records with NASH

$
0
0

Hello Gurus and Gur-ettes,

    I am trying to get my feet wet with version 10, I have had some success with using the NASH interface to import around 2500 Mfg Parts, and around the same number of related Parts. Unfortunately, I missed the 'name' field on the majority of the Part records. Now I am trying to find some variation of using the <Item type="Part" action="get" xml syntax to add missing information to previously imported records:

<AML>

<Item type="Part" action="edit" where="Part.item_number='existing_record'"/><name>missing_name</name>

</AML>

results in malformed XML errors.

<AML>

<Item type="Part.name" action="add" where="Part.item_number='existing_record'"/><name>missing_name</name>

</AML>

results in "Failed to get the Part.name ItemType" errors

but:

<AML>

<Item type="Part" action="get" where="Part.name='part_name'"/>

</AML>

returns a valid record.

So, I tried:

<AML>

<Field type="Part.name" action="get" where="Part.item_number='existing_record'"/>

</AML>

Which leaves me back at malformed XML (<Relationship and <Related don't work either)

Does anyone know the correct callouts/syntax for this type of operation? I would imagine someone has had to resolve a similar situation in the past, any help is appreciated!


Viewing all articles
Browse latest Browse all 1103

Trending Articles