# Item price update approval workflow

**URL:** <https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261>\
**Category:** Developer Forum\
**Created:** [March 5, 2013, 6:44am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261 "2013-03-05T06:44:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishakkallil](https://avatars.discourse-cdn.com/v4/letter/i/9de0a6/32.png) [@ishakkallil](https://www.dynamicsuser.net/u/ishakkallil)\
**Post date:** [March 5, 2013, 6:44am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/1 "2013-03-05T06:44:19Z")

</div>

Hi All,

Currently we have one item (creation) approval workflow in AX 2009. Is it possible to develope a workflow for item update approval? I want to activate a workflow when someone update the price and it will go ‘on hold’ until approve it.

Your reply/feedbacks will be highly appreciated.

Regards,

---

<div class="post-metadata">

**Author:** ![AdamRoue](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdamRoue](https://www.dynamicsuser.net/u/AdamRoue)\
**Post date:** [March 5, 2013, 7:49am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/2 "2013-03-05T07:49:18Z")

</div>

You would need to modify it and create your own workflow to achieve this.

---

<div class="post-metadata">

**Author:** ![ishakkallil](https://avatars.discourse-cdn.com/v4/letter/i/9de0a6/32.png) [@ishakkallil](https://www.dynamicsuser.net/u/ishakkallil)\
**Post date:** [March 5, 2013, 8:38am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/3 "2013-03-05T08:38:59Z")

</div>

Thanks Adam for youe reply. I am just looking the area (methods/class/properties) which I can specify the action, update. Current workflow is triggering while we create a new record and I am not getting the area to specify the update action on table(query).

Regards

---

<div class="post-metadata">

**Author:** ![lally](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lally](https://www.dynamicsuser.net/u/lally)\
**Post date:** [March 5, 2013, 9:38am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/4 "2013-03-05T09:38:55Z")

</div>

> [@](#):
>
> Currently we have one item (creation) approval workflow in AX 2009.

Hi ,

Any pioneer can share what is the use of the above functionality and is it available in AX 2012 ?

---

<div class="post-metadata">

**Author:** ![AdamRoue](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdamRoue](https://www.dynamicsuser.net/u/AdamRoue)\
**Post date:** [March 5, 2013, 10:04am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/5 "2013-03-05T10:04:32Z")

</div>

Ishak I cannot help I am afraid, I see now this is in the developers forum and I apologise. Can I suggest you ask the question again with the specific question of which classes etc you need to modify to achieve this.

Lally it is a modification they have undertaken.

---

<div class="post-metadata">

**Author:** ![ishakkallil](https://avatars.discourse-cdn.com/v4/letter/i/9de0a6/32.png) [@ishakkallil](https://www.dynamicsuser.net/u/ishakkallil)\
**Post date:** [March 5, 2013, 12:15pm UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/6 "2013-03-05T12:15:14Z")

</div>

From the form we can overrid the method **canSubmitToWorkflow** to activate workflow and here we can specify the condition also, see the below example;

public boolean canSubmitToWorkflow()  
{  
;  
if( InventTable.inventItemPurchSetup().stopped() &&  
InventTable.inventItemSalesSetup().stopped() &&  
InventTable.ItemApprovalState == ItemApprovalState::NotSubmitted)  
{  
return true;  
}  
return false;  
}

Now my query is related to implement different workflow template on same form. If I have 2 template, one for item (creation) approval and second one is item price (update) approval then how can I call different template?

I hope someone can help me.

Regards,

---

<div class="post-metadata">

**Author:** ![lally](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lally](https://www.dynamicsuser.net/u/lally)\
**Post date:** [March 6, 2013, 6:10am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/7 "2013-03-06T06:10:15Z")

</div>

> [@](#):
>
> Lally it is a modification they have undertaken.

Hi Steven ,

Do you mean standard AX 09 or 12 does not have the item creation approval workflow functionality. ?

Am i right ?

---

<div class="post-metadata">

**Author:** ![AdamRoue](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdamRoue](https://www.dynamicsuser.net/u/AdamRoue)\
**Post date:** [March 6, 2013, 8:04am UTC](https://www.dynamicsuser.net/t/item-price-update-approval-workflow/44261/8 "2013-03-06T08:04:53Z")

</div>

Yes

Look here for standard AX2012 workflows: [http://technet.microsoft.com/en-us/library/dd362043.aspx](http://technet.microsoft.com/en-us/library/dd362043.aspx)
