Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Not Posted Check Batch Review

Posted on by 750

Our AP Team would like to review all Vendor Names and Check Names.  They have created a smart list to run for un-posted invoices , but we are unable to do the same for un-posted Checks.  Is there a way to review this before it is posted?

Document1.png

*This post is locked for comments

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Not Posted Check Batch Review

    Good to hear back from you Nicole, it is definitely my pleasure

    Never hesitate to share any further inquiries,

  • Napolo Profile Picture
    Napolo 750 on at
    RE: Not Posted Check Batch Review

    HI Mahmoud!

    I was able to get back to this task.  I was able to start fresh and use the SQL code, added the vendor Master File and my output is working. Thank you!!   I am learning as we go..enough to be dangerous:)

  • Suggested answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: Not Posted Check Batch Review

    Hi Nicole,

    You probably didn't change the database name. It defaults to the 'master' database, it won't find any GP tables in there. The screenshot below is where you would select your company database.

    where-you-change-the-database-in-sql.png

    Be very careful working in SQL, I've seen some horrors from folks accidentally deleting gobs of data by mistake.

    Kind regards,

    Leslie

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Not Posted Check Batch Review

    Make sure to run the script on the company database.

    Your feedback is highly appreciated,

  • Napolo Profile Picture
    Napolo 750 on at
    RE: Not Posted Check Batch Review

    Hi Mohmoud-

    I think I may have made things more complicated.  Is there a way to delete these below views(screen shot). I had created two by mistake.  I would like to start fresh.

    Now, when I try to paste your code into SQL it tells me that "Invalid object name 'PM10300' cannot find the object 'vW_UnpostedPayments', because it does not exist or you do not have permission.  yesterday when I clicked execute, it did run successfully.

    Hoping there is a way to wipe everything clean and start fresh..

    view.png

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Not Posted Check Batch Review

    Hello Nicole,

    Just to make sure of one single point, does the view retrieve data on the SQL level ? If you run the following select statement on the SQL management studio, would it retrieve any data using the company database

    SELECT * FROM vW_UnpostedPayments

    Your feedback is highly appreciated,

  • Napolo Profile Picture
    Napolo 750 on at
    RE: Not Posted Check Batch Review

    Hi Mahmoud!  Glad I'm not considered a pest yet:)

    I have never worked in SQL before, so this is very new to me.  Just received access a few weeks ago.  Your code and instructions were very helpful!  I have made a great attempt and believe I have followed all of the appropriate steps, but the test check batch is not populating.  

    Here is a screenshot of what I changed.  How off am I?

    p.s. Thank you both so much for your assistance - truly grateful.

    1222.Document1.png

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: Not Posted Check Batch Review

    Hi Nicole,

    I think, due to link ids problem it wont work. You need to combine/union Payment work and Manual payment work table then need to join with Vendor master table.

    So, execute the View mention by Mr. Mahmoud against your company database and then create a new Smartlist with using this view.

    Hope this helps!!!

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Not Posted Check Batch Review

    Hello Nicole

    It is good to hear from you, create a view as per the code below and then simply create a customized smart list on the smart list builder by choosing the view. To create the view and get it published to smartlist builder, consider the steps mentioned on How to use a SQL view in SmartList Builder

    Here is the code

    CREATE VIEW vW_UnpostedPayments
    AS
        SELECT  'Unposted Payment' AS Type ,
                BACHNUMB AS 'Bach Number' ,
                BCHSOURC AS 'Bach Source' ,
                PMNTNMBR AS 'Payment Number' ,
                VENDORID AS 'Vendor ID' ,
                VENDNAME AS 'Vendor Name' ,
                CHEKBKID AS 'CheckBook ID' ,
                DOCDATE AS DocumentDate ,
                APPLDAMT AS 'Applied Amount' ,
                CURTRXAM AS 'Current Transaction Amount' ,
                CHEKTOTL AS 'Document Amount' ,
                CURNCYID AS 'Currency ID' ,
                CASE VOIDED
                  WHEN 1 THEN 'Yes'
                  WHEN 0 THEN 'No'
                  ELSE ''
                END AS 'Voided'
        FROM    PM10300
        UNION ALL
        SELECT  'Unposted Manual Payment' ,
                BACHNUMB ,
                BCHSOURC ,
                PMNTNMBR ,
                A.VENDORID ,
                B.VENDNAME ,
                A.CHEKBKID ,
                DOCDATE ,
                APPLDAMT ,
                CURTRXAM ,
                DOCAMNT ,
                A.CURNCYID ,
                'No'
        FROM    PM10400 AS A
                LEFT OUTER JOIN dbo.PM00200 AS B ON A.VENDORID = B.VENDORID
    GO 
    GRANT SELECT ON vW_UnpostedPayments TO DYNGRP
    


    Your feedback is highly appreciated,

  • Napolo Profile Picture
    Napolo 750 on at
    RE: Not Posted Check Batch Review

    Hi Soma - 

    Here is an image of my smartlist builder.  I am still getting zero data. Can you tell from this image, what pieces I might be missing?

    6765.Document1.png

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans