I have a problem with purchase order and purchase requisition workflow which has been already canceled (Recall) but still, it shows action button and unable to submit it again. Please help me what is going wrong here. Please see the below screenshots for further reference.
And also I have certain workflow instances in which I want to find which company they belong too. I checked in workflowtrackingsttausTable the contextCompanyId is empty. Hence with the help of configuration number, I checked in WorkflowTable dataareaID was also empty. Is there any other way to find which company the workflow belongs to.
I created a new PurcReqLine and tried to submit it and I got the following error,
One or more accounting distributions is missing a ledger account. Use the Accounting distribution form or the Posting profile to update the ledger account.
I solved the previous error. But Still I couldn able to submit. On creating a new PurchReq and when i try to submit, the workflow throws the following error,
Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics.
Thanks for your reply…The problem is value of the field LedgerJournalTable.WorkflowApprovalStatus is not ‘NotSubmitted(Draft)’ and i had upadted the value to NotSubmitted. Now I can able to submit the workflow.