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 :
Microsoft Dynamics GP (Archived)

SQL BANK RECONCILIATION

(0) ShareShare
ReportReport
Posted on by

I would like to practice the SQL in MS Great Plains, How can I get into the SQL DB, I know how to look the tables but where I can write the instructions

*This post is locked for comments

I have the same question (0)
  • Heather Roggeveen Profile Picture
    9,146 on at

    Hi Pat

    Not sure what you are asking for here - you will need to be a bit more specific on what you are trying to do to get adequate support from the forum.  Maybe if you could describe the task you are trying to achieve - are you doing development or looking for some database queries?  

    Cheers

    Heather

  • Community Member Profile Picture
    on at

    Hi Heather

    I wan to practice development, any help will be really appreciated. Maybe I'm in the wrong Forum

    Thanks

  • Suggested answer
    sueconrod Profile Picture
    337 on at

    I am assuming that you are going into Sql Server Management Studio (SSMS) and creating a connection.  Then you need to go to "New Query".  

    I also am assuming that this is a test db that you are going after to practice SQL, such as the TWO db and if you are looking at the bank reconciliation you would be looking at the CM tables.  

    And there are a whole lot of people who have blogs that are devoted to developing for GP that you might want to go look at:  

  • Mahmoud Saadi Profile Picture
    32,738 on at

    Well, this is absolutely a broad question. But the essence is clear, 

    In case you have the development basics, you may get encountered to real case studies. You may be interested in reviewing the famous blog Developing for Dynamics GP

    Please never hesitate to share any further inquiries on the community

  • Mahmoud Saadi Profile Picture
    32,738 on at

    Just a bit curious, why did you pick a title like SQL Bank Reconciliation .. Have you got any special case that you are working on at the mean time which is related to Bank Reconciliation ?

  • Community Member Profile Picture
    on at

    Yes I want to undo the Bank Rec, but I am working in test company, here is where I am  practicing all the new stuff, since I am leaning GP by myself.

    Thank you!

  • Suggested answer
    sueconrod Profile Picture
    337 on at

    Hope you saw the article by Doug:  

    (thanks to Mark Polino for the link)

    gp.rosebizincblogs.com/.../undoing-a-bank-reconciliation-after-its-already-been-posted-for-dynamics-gp.html

    I've used this in the past.  It works.

    Sue

  • Suggested answer
    soma Profile Picture
    24,410 on at

    I am also tried the query from above link for undoing a Bank Reconciliation and it was worked for me. Before starting the undo process, make sure you have latest backup for company database.

    Note: Before running the every update query mentioned from the blog, run the select query to verify the records.

    For Example:

    SELECT Recond,* CM20200 where RECONUM = ‘##.#####’

    update CM20200 set Recond = 0 where RECONUM = ‘##.#####’

    SELECT ClrdAmt,* CM20200  where RECONUM = ‘##.#####’

    update CM20200 set ClrdAmt = 0 where RECONUM = ‘##.#####’

    SELECT clearedate,* CM20200  where RECONUM = ‘##.#####’

    update CM20200 set clearedate = 0000-00-00 where RECONUM = ‘##.#####’

    SELECT RECONUM,* CM20200  where RECONUM = ‘##.#####’

    update CM20200 set RECONUM = 0 where RECONUM = ‘##.#####’

    Hope this helps!!!

  • Community Member Profile Picture
    on at

    It is great but my problem is how to get where to write this code....      :(

  • Suggested answer
    soma Profile Picture
    24,410 on at

    If you familiar with SQL server, follow below steps to update the GP tables to undo Bank Reconciliation.

    1. Open SQL Server Management Studio(SSMS).

    2. Connect to your GP instance and click new query window.

    3. Then choose your company database or type " use [companydatabasename]" and press F5.

    4. Now follow the queries derived from the link.

    Note: Better try this on test company database and then go to live.

    Before executing the queries in live database, make sure you have latest backup for company database.

    Hope this helps!!!

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 > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans