web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

purchase order workflow

(0) ShareShare
ReportReport
Posted on by

Hi

I want to know how to exclude some purchase orders so as not to enter the workflow I do not need to press a submit button.

Only when the condition is wrong doesn't the workflow work.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    fatihgork Profile Picture
    3,817 on at

    Hi hawraa,

    The activation settings in workflow designer helps you define which workflow to run. It does not control the submit button, this button is controlled by a field in Purchase Order instead. Which is can be found on form as "Activate change management", or PurchTable.ChangeRequestRequired as a table field.

    There are a total of 5 parameters in the application which interact with each other to control this submit button.

    2 of them are on Procurement and Sourcing parameters:  Procurement and sourcing parameters (form) [AX 2012]

    Activate change management

    Select this check box to enable change management for purchase orders.

    Allow override of settings per vendor

    Select this check box to allow users to override change management settings on a per vendor basis.

    When you activate  "Allow override of settings per vendor" parameter, 3 fields on Vendor details form become active: Vendors (form) [AX 2012]

    Override settings

    Select this check box if you want to override the change management settings for purchase orders that are created for the vendor.

    To use the change order process for purchase orders, you must enable Change management for purchase orders in the Procurement and sourcing parameters form.

    Activate change management

    Select this check box if you want to enable the change order process for the selected vendor. You can only select this check box if you first select the Override settings check box.

    Allow override of settings per purchase order

    Select this check box if you want to enable the change order process per purchase order for the selected vendor. You can only select this check box if you first select the Override settings check box.

    When Override settings and Allow override of settings per vendor are both activated, application decides whether to run workflows or not based on Vendor's details. 

    If you activate these two, but do not activate  Activate change management, that means you do not want to use workflows for purchase orders from this vendor. So, there won't be a submit button on this vendor's purchase orders. (Only applies to Purchase orders that is created after this setting change)

    If you activate "Activate change management" parameter on Vendor details as well, that means you want to use workflows for this vendor.

    So if you had 2 vendors which have each of these settings, one of them would have submit button, the other one would not.

    The last one, Allow override of settings per purchase order, lets you decide whether run workflow or not for each purchase order. 

    There is a checkbox on purchase order creation dialog box that is named "Activate change management". When you activate Allow override of settings per purchase order setting, this field becomes editable. So you can decide if workflow will be required or not.

    An example: If you want vendor1 to be subject to workflow, while vendor2 is not then your settings should be as below:

    • Vendor 1
      • Override settings=Yes
      • Activate change management=Yes
    • Vendor 2
      • Override settings=Yes
      • Activate change management=No
    • Parameters
      • You should set "Allow override of settings per vendor" to Yes. 
      • Decision on "Activate change management" parameter depends on what percentage of vendors in your implementation will use workflows.
        • If majority will use it, then set this parameter to Yes as well. So by default, workflow will be active. Then go turn workflow off for the ones that will not be subject to workflows.
        • If majority won't be subject to workflow then, set this parameter as No. Then go activate workflow setting for the vendors that will be subject to workflow, by using "Activate change management" parameter on vendor details.

    I hope I helped :)

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello hawraa,

    Do I get you right when I say that you only want to sent specific purchase orders into the workflow but not all of your purchase orders?

    Can you clarify your requirement?

    Many thanks and best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Yes exactly .. 

  • Community Member Profile Picture
    on at

    thank you for replay but it's same

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello hawraa,

    Excluding specific kinds of orders from the workflow would require a system modification that checks specific conditions before the submit button is pressed.

    The standard application allows you an automatic ending of a workflow for specific orders based on conditions that you define.

    However, you would still have to press the submit button to get this condition checked and the workflow process ended.

    Best regards,

    Ludwig

  • Suggested answer
    fatihgork Profile Picture
    3,817 on at

    Hawra,

    If you do not have any customizations, it is impossible for my explanation not to work. Double check and compare your setups please

  • Community Member Profile Picture
    on at

    Hi Fatih

    Thank you for your efforts, it's working after restart ERP 

    Thank you again

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans