Home > Uncategorized > Aras Innovator edit an Item using AML with where condition

Aras Innovator edit an Item using AML with where condition


Download AML Studio from : https://amlstudio.codeplex.com

Install and Connect to Aras Innovator.

You will see one drop down with some value, since we are executing AML script.

Select “ApplyAML”

Now use below script to edit an item in Aras Innovator.

<AML>

<Item type=”Part” action=”edit” where=”[PART].item_number=’P0001′”>

<description>New description</description>

</Item>

</AML>

or

<AML>
<Item type=”Part” action=”edit” where=”[PART].item_number=’P0001′ and [PART].is_current=’1′ and [PART].state=’preliminary'”>

<description>New description</description>

<state>My State</state>
</Item>
</AML>

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: