I am attempting to update all part usage lines on a Task when task.user_def4 is set to a particular value.
I have setup a Custom Process XML business rule with TASK as the Primary Table and this is firing when task.user4 is set. The Custom Process is shown below.
I want to update part_usage.part_line_code on all part usage lines on the task. The Business Rule is shown below.
The error I get when my BR fires is “Attempt to update a record without providing all Primary Key information”.
My XML is as follows.
<update_part_usage>
<part_usage>
<part_usage>@task_id</part_usage>
<part_line_code>MIS</part_line_code>
<update/>
</part_usage>
</update_part_usage>
Any guidance on where i have gone wrong would be appreciated.
Thanks,
Barry