Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

What are the tables that storing Canadian payroll transactions

Posted on by 4,084

Hi,

I am trying to figure out which tables in GP 2013 storing Canadian payroll transactions(both work & history), they all start with CPYxxxxx

all what I need is the count of transactions in those tables :)

 Any help greatly appreciated

AR

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: What are the tables that storing Canadian payroll transactions

    CPY30100 is the transaction entry table. This is the pre-batch calculation date (from time entry). If you use the import utility for importing timesheets it populates this table. I have used stored procedures to populate this table also. (e-Connect does not have a node to populate this table)

  • Alaa Ramadan Profile Picture
    Alaa Ramadan 4,084 on at
    RE: What are the tables that storing Canadian payroll transactions

    Perfect! thank you!

    Is there any other working table holding this information before posting similar to the other modules?

    many thanks!

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: What are the tables that storing Canadian payroll transactions

    CPY30260 is the current payroll year transaction table for posted payroll transactions (the master have been updated on a payroll run).

    Key Fields are:

    BACHNUMB

    PEmployeeID

    PDate

    Punits (Divide by 100)

    PLineTotal

    PIncomeCode (even though it is called IncomeCode it is all pay code types -- deductions, benefits, etc)

    When a payroll year is closed, the data is pushed to CPY50260. It has PYear column added to the table structure but otherwise is identical to the CPY30260 table.

    Hope this helps.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: What are the tables that storing Canadian payroll transactions

    Have you checked this Extracting payroll data from GP

  • Alaa Ramadan Profile Picture
    Alaa Ramadan 4,084 on at
    RE: What are the tables that storing Canadian payroll transactions

    Thanks Soma, but The Canadian payroll has a different naming structure

    there is no such tables in the DB with those names below :

    CPY10200 -- Work Master

    CPY10302 -- Transaction

    CPY30300 -- Transaction History

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: What are the tables that storing Canadian payroll transactions

    Please have a look on the Payroll Tables from Victoria Yudin-MVP in below link and add the prefix code CPY(Canadian Payroll) instead of UPR for the US payroll tables.

    victoriayudin.com/.../payroll-tables

    And try the below query for counting transactions from your Canadian Payroll tables.

    Select count(*) from CPY10200 -- Work Master

    Select count(*) from CPY10302 -- Transaction 

    Select count(*) from CPY30300 -- Transaction History

    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

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans