Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Unidentified tables in GP company database

Posted on by 285

I was using the PSTL vendor combine tool last week and it was unable to perform the expected task because of a Violation of Duplicate Key issue.  Turns out there were four tables in this series that had 'both' of the vendors I wanted to combine and the PSTL tool could not do that.

But, after asking Leslie and Richard, and doing a reasonable amount of searching on Google and PartnerSource I had to give up on finding out what application was utilizing those tables.

So I'm reaching out to the community to see if anyone knows about the AMS tables in these queries.

select * from AMS00100 where vendorid in ('18153','10637')                        17 rwos – only vendor 18153

select * from AMS00200 where vendorid in ('18153','10637')                      45 rows mix of both vendors

select * from AMS10100 where vendorid in ('18153','10637')                   2 distince rows - Nothing in them only NoteINDX

select * from AMS10200 where vendorid in ('18153','10637')                  138 rows mix of both vendors

select * from AMS20100 where vendorid in ('18153','10637')            92 records but NO VendorID records

select * from AMS20200 where vendorid in ('18153','10637')            1275 records but NO VendorID records

select * from AMS20200 where vendorid in ('18153','10637') 1275 records but NO VendorID records

select * from AMS30100 where vendorid in ('18153','10637')                          2341 records but NO VendorID records

select * from AMS30200 where vendorid in ('18153','10637')                    0 records but NO VendorID records

select * from AMS70100 where vendorid in ('18153','10637')                  0 records but NO VendorID records

select * from AMS70100 where vendorid in ('18153','10637')       0 records but NO VendorID records

select * from AMS70200 where vendorid in ('18153','10637') 0 records but NO VendorID records

Thank you,

Mike Lupro

*This post is locked for comments

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Unidentified tables in GP company database

    Is it possible that these are custom created tables? The numbering scheme seem to follow taht of the payables tables(PM). I am surprised the the PSTL tool cares about them. Perhaps there are triggers on the PM tables that goes after them. Run SQL Profiler while running the PSTL tool and see if anything shows up.

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    RE: Unidentified tables in GP company database

    Several times I have combined vednors,customers and Items. I have not faced any issue. I don't found 'AMS00200' table in my GP production database. Is it third party application blocking you?

    Thanks

    Sandip

  • MikeLupro Profile Picture
    MikeLupro 285 on at
    RE: Unidentified tables in GP company database

    For the sake of others who find this problem here is what I did (brute force) to get the PSTL Vendor Combine process to work.

    These were the two vendor ID's

    18153 remains

    10637 goes away

    select * from AMS10100 where vendorid in ('18153','10637') 2 distince rows - Nothing in them only NoteINDX

    delete AMS10100 where vendorid = '10637'

    select * from AMS10100 where vendorid in ('18153','10637') 2 distinct rows - Nothing in them only NoteINDX

    delete AMS10100 where vendorid = '10637'

    select * from AMS00200 where vendorid in ('10637') 45 rows Mixed

    update AMS00200 set vendorid = '18153' where vendorid = '10637' 39 rows updated

    select * from AMS10200 where vendorid in ('18153','10637') 138 rows Mixed

    delete AMS10200 where vendorid = '10637' 67 rows deleted

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

Featured topics

Product updates

Dynamics 365 release plans