Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Dear Sir,
 
I made an application on vb.net named payroll for my own company, were
i create Advance form for employees who want to take advance.....below is the despcription :-
 
1. Emp No........
2. Emp Name .......
3. Advance Date/Month .........
4. Deduction from Month .........
5. Installment Amount ..........
 
I want to issue advance to employee and this advance will be deducted from his salary by the MONTH he want to refund his advance for example :-
 
If the employee X has taken advance in the month of January 2012 and he wants to return his advance in installments by the month of MARCH (NOT FROM THE MONTH OF JANUARY OR FEBRUARY) 2012. What I wanted to do that when the salary of the Mr. X is being generated for the month of MARCH 2012 the software should start deducting installment amount from his salary from the month of MARCH 2012 till his advance becomes 0.
 
Please help me on the above problem, i need codes to implement on my application.
I am waiting for positive reply.
 
Rgds,
Indranil
Posted 11-Jan-13 21:48pm
hspl239
Edited 14-Jan-13 1:13am
v2
Comments
OriginalGriff at 12-Jan-13 3:53am
   
What have you tried?
Where are you stuck?
onurag19 at 12-Jan-13 4:33am
   
you will have to make the logic for this or please show what have you tried so that i can help
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

txt_advance.text=x;
txt_paid.text=y;
txt_total.text=x-y;
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

In the database, Add one extra column which signals if any advance is due to be paid or not.
 
At the time of issuing the payment, UPDATE SIGNAL - 1.
 
Each time when you prepare salary report, Check whether SIGNAL=1, If yes then fetch the remaining salary and show.
  Permalink  
Comments
hspl at 15-Jan-13 6:10am
   
Dear Sir,
 
I could not understand the said solution2.Can you please provide me sample application if possible......

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 420
1 Sergey Alexandrovich Kryukov 310
2 George Jonsson 269
3 Gihan Liyanage 255
4 OriginalGriff 245
0 OriginalGriff 4,903
1 CPallini 3,960
2 Sergey Alexandrovich Kryukov 3,474
3 George Jonsson 2,786
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web04 | 2.8.140905.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100