history
Egyptian Pharaoh
- Local time
- Today, 04:44
- Joined
- Jan 26, 2008
- Messages
- 190
Hello Brothers,,
I've a problem with calculating penalties
I've a calculation report contains :
ID - FullName - EntryDate - ResidenceExpireDate - Procedures - Penalty
*The Procedures are : IssuingResidence - RenewResidence - Exit
The penalty should be in some cases according to procedure :
IssuingResidence: Penalty = 100
if the period is more than 6 months since EntryDate
RenewResidence: Penalty = 100
if the period is more than 6 months since ResidenceExpireDate
Exit:
Case1: Penalty = 100
if the person hasn't Residence and the period is less than 6 months since EntryDate
Case2: Penalty = 100
if the person has Residence and the period is more than 6 months since ResidenceExpireDate
Case4
enalty = 200
if the person hasn't Residence and the period is more than 6 months since EntryDate
Any help about that please ,,,
Thanks in advance
I've a problem with calculating penalties
I've a calculation report contains :
ID - FullName - EntryDate - ResidenceExpireDate - Procedures - Penalty
*The Procedures are : IssuingResidence - RenewResidence - Exit
The penalty should be in some cases according to procedure :
IssuingResidence: Penalty = 100
if the period is more than 6 months since EntryDate
RenewResidence: Penalty = 100
if the period is more than 6 months since ResidenceExpireDate
Exit:
Case1: Penalty = 100
if the person hasn't Residence and the period is less than 6 months since EntryDate
Case2: Penalty = 100
if the person has Residence and the period is more than 6 months since ResidenceExpireDate
Case4
if the person hasn't Residence and the period is more than 6 months since EntryDate
Any help about that please ,,,
Thanks in advance