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 - Update an existing Item using AML

Vardhan - Wednesday, February 27, 2013 7:45 AM:

Hi,

   I' m trying to Update an existing Part using AML by using the following code. I' m executing this code using AML Studio and trying to edit the 'description' of the Part.

<AML>
<Item type="Part" action="edit" where="[PART].item_number='1-0001' and [PART].is_current='1'" >
   <description>Test</description>
 </Item>
</AML> 

This Code throwing an error: 'Object Reference not set to an instance of an object'

How to solve this error. Please help Me.

Thanks, Vardh.



zahar - Friday, March 1, 2013 4:41 AM:

Check your Server Methods attached to this ItemType.