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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Error while add Vendor.

(0) ShareShare
ReportReport
Posted on by 2,611

Hello,

i got below error while trying to add  vendor on one company and the error showing security access for other company.

i am on company ZZZ and system give security error for company XXX

[Microsoft][SQL Server Native Client 11.0][SQL Server]The server principal "M.Ramadan" is not able to access the database "XXX" under the current security context.

Categories:
I have the same question (0)
  • Hossam Fathy Profile Picture
    2,611 on at
    RE: Error while add Vendor.

    hello

    thx for your answer but i didn't get you

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: Error while add Vendor.

    It seems that on creating new vendor in company zzz , some custom code, trigger is trying to create same vendor in another company xxx, the use who is creating vendor may not have database access and so while trying to access database resources you are getting this message.

    Check triggers on Vendor master table for trigger on db side.

  • Hossam Fathy Profile Picture
    2,611 on at
    RE: Error while add Vendor.

    Hello,

    There is no customization at all.

    let me check the triggers

    Thx

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Error while add Vendor.

    Under PSTL go to Purchasing Options and unclick PM Master Triggers. That will remove the trigger that attempts to copy new vendors to other companies.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,100

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 633 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans