Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Troubles with common SQL scripts

Posted on by 65

Dear All

I have a problem when i using common script coding in SQL Server to clear all the activity stuck record in inventory module

by using that common following scripts:

  1. DELETE DYNAMICS..ACTIVITY
  2. DELETE DYNAMICS..SY00800
  3. DELETE DYNAMICS..SY00801
  4. DELETE TEMPDB..DEX_LOCK
  5. DELETE TEMPDB..DEX_SESSION

after using the above script we was surprised by a change in the assgined form or layout  to one of our USER who

Responsible for printing monthly bills and sales invoices.
Although, we haven't encountered any problem before when using that SQL Script

really i don't know where's the problem ,, may be there's something regarding to sales and reporting setup
so please how to solve this problem &...

Is that script has any impact and maybe delete the assigned layout for printing sales invoicing????

and how to run that script without do any troubles with others modules

we using GP 2010

thanks in advance

 

 

 

Categories:
  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Troubles with common SQL scripts

    I would say your problem lies somewhere else. These command have absolutely noting to do with any setups in any module. What kind of problems are you experiencing? Are you having record locked issues? Try stopping and starting SQL with no one in GP.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans