Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating timecards 1

Status
Not open for further replies.

JoeAtWork

Programmer
Jul 31, 2005
2,285
CA
I need to transfer timesheet information to AccPac timecards (Canadian Payroll). I plan on using the COMAPI for this.

There's a couple of concepts regarding timecards that I'm not clear on from reading the documentation.

First of all, when I create a new timecard, is it always up to me to invent a unique timecard number, or can AccPac auto-create this for me?

Also, should I "reuse" the same timecards each week, or create new ones (this is where I need to supply a timecard number)? It's not clear to me under what circumstances a timecard should be "reused". If I reuse timesheets, do the existing entries get cleared when the Calculate Payroll function is run?

My version info:
5.3A Enterprise Edition
SP 3
Canadian Payroll 5.3A
 
1. Don't reuse timecards, they get deleted after posting.
2. Have you recorded a macro yet? It's pretty simple.
3. You may be better off creating an importable CSV file with your code, that's what I do.

Jay Converse
IT Director
Systemlink, Inc.
 
Thanks for the reply, Jay.

I was able to talk to the person who gave me this assignment (he's not always easy to get hold of, so I turned to the forum instead) and he cleared up most of the issues I was having.

I seem to have to do a little bit with AccPac every six months or so, just long enough apart that I forget everything I learned about the COMAPI the last time around. I'm in the process of cleaning up the macro I recorded, then I will translate the VB code to C#.

It's a web entry system for timesheets, and I'm supposed to send the data directly to AccPac when the timesheet gets "approved". So I can't use import files (well, I guess I could create the CSV files and then use the API to import them, but that seems like more work).

Thanks for your input.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top