Payment Journal Workflow Approval Not Working

Question Status

Suggested Answer
KyleE asked a question on 22 Jul 2016 12:32 PM

Hello -

We are receiving the error below when we try to submit a payment journal through workflow.  User with sys admin access are able to submit successfully.

Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user KEVERHA.

 at SysWorkflowWorkItem-create

SysWorkflowWorkItem-createWorkItems

SysWorkflow-save

SysWorkflowQueue-resume

Any help would greatly be appreciated. 

Reply
Suggested Answer
Ludwig Reinhard responded on 22 Jul 2016 12:50 PM

Hello KyleE,

Can you check what role and user rights "KEVERHA" has?

He or she probably need an accounts payable manager or a similar role that allows approving vendor payments

Please see the duties associated to the accounts payable manager role technet.microsoft.com/.../hh527072.aspx

Note: If you are in AX, open the system admin module and then select the security privileges form. There you can search for the roles that have the privilege to approve vendor payment Transactions.

Hope this helps,

Ludwig

Reply
KyleE responded on 22 Jul 2016 1:06 PM

Hi Ludwig, 

We've created our own unique roles within AX for our AP folks. I've screen-shotted the current contents of the role for your review, but I think we just need the specific privilege that allows the user to submit the workflow, submit only, the user does not have the rights to approve.

  

Reply
Suggested Answer
Ludwig Reinhard responded on 22 Jul 2016 1:15 PM

Hello KyleE,

Can you try adding the priveleges included in the duty "Approve vendor payment Transactions". That is, please add the priviliges: Approve vendor disbursement Journal, Delegate vendor disbursement Journal, Reject vendor disbursement Journal, Request change to vendor disbursement Journal.

This should overcome your issue.

Would be great if you could check & test and keep us updated.

Many thanks and best regards,

Ludwig

Reply
KyleE responded on 22 Jul 2016 1:22 PM

We've added those permissions to the individual's role already. Once those permissions were applied we ran into the "submitter can not be the approver" error, which we assume is being caused by the "Approver - Disallow approval by submitter"  flag being activated in the Workflow parameters section....which to us defeats the whole purpose of a workflow if the individual submitting can approve their own payment journal.

Reply
Ludwig Reinhard responded on 22 Jul 2016 1:33 PM

Hello KyleE,

Does not seem to be that easy :-)

How many people do you have working in your AP and payment department? Do you have sufficient people available and working with AX to get those tasks/roles separated?

If so, then there seems nothing wrong with AX or your workflow but with your business process and you need to double check whether the one who submits a workflow for approval is different from the one who approves the payments. Otherwise, you would not need a workflow ;-)

Can you possibly provide some additional details on the process steps that occured before the error was triggered and who initiated those steps?

Ludwig

Reply
Ludwig Reinhard responded on 22 Jul 2016 1:39 PM

Hello KyleE,

Another question, where did you find and activate the "Approver - Disallow approval by submitter"  flag in the workflow Parameters? Is this a Standard Feature or something that has been modified?

Ludwig

Reply
KyleE responded on 22 Jul 2016 1:45 PM

Yes, this flag can be found in the workflow parameters section on the system admin page. I've included the screen shot below.

Reply
Suggested Answer
Ludwig Reinhard responded on 22 Jul 2016 2:09 PM

Hello KyleE,

Thank you for the feedback. But given that setup there must be something wrong in the process handling that can and should not be fixed by changing the security Setup but probably by changing the way how your colleagues processes the invoice and payment.

Best regards,

Ludwig

Reply
Suggested Answer
Ludwig Reinhard responded on 22 Jul 2016 12:50 PM

Hello KyleE,

Can you check what role and user rights "KEVERHA" has?

He or she probably need an accounts payable manager or a similar role that allows approving vendor payments

Please see the duties associated to the accounts payable manager role technet.microsoft.com/.../hh527072.aspx

Note: If you are in AX, open the system admin module and then select the security privileges form. There you can search for the roles that have the privilege to approve vendor payment Transactions.

Hope this helps,

Ludwig

Reply
Suggested Answer
Ludwig Reinhard responded on 22 Jul 2016 1:15 PM

Hello KyleE,

Can you try adding the priveleges included in the duty "Approve vendor payment Transactions". That is, please add the priviliges: Approve vendor disbursement Journal, Delegate vendor disbursement Journal, Reject vendor disbursement Journal, Request change to vendor disbursement Journal.

This should overcome your issue.

Would be great if you could check & test and keep us updated.

Many thanks and best regards,

Ludwig

Reply
Suggested Answer
Ludwig Reinhard responded on 22 Jul 2016 2:09 PM

Hello KyleE,

Thank you for the feedback. But given that setup there must be something wrong in the process handling that can and should not be fixed by changing the security Setup but probably by changing the way how your colleagues processes the invoice and payment.

Best regards,

Ludwig

Reply