[thelist] Brain Teaser logic
Brian Delaney
brian.delaney at mccmh.net
Fri Oct 14 06:50:08 CDT 2005
yes, thanks.
Erik Mattheis wrote:
> It seems to me it's just a matter of:
>
> 1. looking at your data and separating that which can be user-entered
> and that which is dependent on what has been entered.
> 2. Creating conditional code to calculate the dependent data on that
> which has been entered.
>
> pseudo-code:
>
> if (TransferPromoteDate != null) {
> baseDate = TransferPromoteDate
> MidEvalPeriod = 90
> }
> else {
> baseDate = HireDate
> MidEvalPeriod = 45
> }
> MidEvalDate = baseDate + MidEvalPeriod
>
> Was that helpful at all?
>
>
> On Thursday, October 13, 2005, at 01:40 PM, Brian Delaney wrote:
>
>> The catch -
>> TransferPromoteDate - if a staff is transfered or promoted then their
>> probation starts over and the Mid, Final and Annual dates are
>> calculated from this date - always user entered.
>>
>> Another problem - If you have been promoted or transfered and are a
>> clerical person then your mid = 45 days from transpromote date and
>> final = 90 days and if you are clinical then your mid = 90 days from
>> transpromote date and final 180 days.
>
>
>
>
> --
> - Erik Mattheis
> 612 377 2272
> http://gozz.com/
>
*
*
*
This message, including any attachments, is intended solely for the use of the named recipient(s) and may contain confidential and/or priveleged information. Any unauthorized review, use, disclosure or distribution of this communication(s) is expressly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy any and all copies of the original message.
More information about the thelist
mailing list