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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Purchase Requisition Workflow Error: On-premise

(1) ShareShare
ReportReport
Posted on by 2
Our purchase requisition workflow is failing with a "Stopped (error)" status. The workflow cannot complete due to SQL database permission errors when trying to access the model security policy runtime view. We haven't customized the workflow it is the standard workflow.

Full Error Stack Trace:

Stopped (error): Stack trace: Call to TTSCOMMIT without first calling TTSBEGIN. session 27657 (Admin) SELECT T1.ELEMENTHANDLE,T1.LAYERID,T1.NAME,T1.PRIMARYTABLEAOTNAME,T1.QUERYOBJECTAOTNAME,T1.CONSTRAINEDTABLE,T1.CONTEXTTYPE,T1.CONTEXTSTRING,T1.ISMODELED,T1.MODELEDQUERYDEBUGINFO,T1.ISDIRTY,T1.OPERATION,T1.RECVERSION,T1.RECID,T1.MODELEDQUERYPACKDATA FROM [CompanyDynamicsAX_model].[dbo].MODELSECPOLRUNTIMEVIEW T1 WHERE (CONSTRAINEDTABLE=?) [Microsoft][SQL Server Native Client 10.0][SQL Server]The SELECT permission was denied on the object 'MODELSECPOLRUNTIMEVIEW', database 'CompanyDynamicsAX_model', schema 'dbo'.

Any guidance on resolving this SQL permission issue would be greatly appreciated. Thank you in advance for your assistance!
I have the same question (0)

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 > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans