PC Review


Reply
Thread Tools Rate Thread

After Update: Pay Period Date

 
 
Michael
Guest
Posts: n/a
 
      13th Oct 2011
I have a table called "PayPeriod" where our pay period end dates are
stored.

I have a table called "Accounting" where employee work dates/times are
stored.

The pay period end date table lists the last date of each pay period.
Example pay periods are: 10/1/2011, 10/15/2011, 10/29/2011, etc. Any
work day which occured after 10/1 and up to 10/15 would be identified
as the 10/15 pay period. If the employee entered a work date of
10/16, it would be assigned to pay period 10/29. If the employee
entered a work date of 10/29, it would also be assigned to pay period
10/29. If the employee entered a work date of 10/14, it would be
assigned to pay period 10/15.

When we use our time entry form, I would like to have an after update
that would fire when they enter the work date to look at the pay
period end date and determine which pay period it belongs to and enter
that pay period end date into the field in the timesheet form field
"pay period end date".

Can someone help me determine the after update code that would be
needed to make this happen?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:29 AM.