Version 6.x.x Source

Table Name: tabSalary Slip

Fields

Sr Fieldname Type Label Options
1 column_break0 Column Break
2 employee Link Employee Employee
3 employee_name Data Employee Name
4 department Link Department Department
5 designation Link Designation Designation
6 branch Link Branch Branch
7 letter_head Link Letter Head Letter Head
8 company Link Company Company
9 column_break1 Column Break
10 month Select Month
01
02
03
04
05
06
07
08
09
10
11
12
11 fiscal_year Link Fiscal Year Fiscal Year
12 total_days_in_month Float Working Days
13 leave_without_pay Float Leave Without Pay
14 payment_days Float Payment Days
15 bank_name Data Bank Name
16 bank_account_no Data Bank Account No.
17 email_check Check Email
18 amended_from Link Amended From Salary Slip
19 earning_deduction Section Break Earning & Deduction
20 earning Column Break Earning
21 html_21 HTML
22 earnings Table Earnings Salary Slip Earning
23 deduction Column Break Deduction
24 html_24 HTML
25 deductions Table Deductions Salary Slip Deduction
26 totals Section Break
27 column_break_25 Column Break
28 column_break_26 Column Break
29 arrear_amount Currency Arrear Amount
Company:company:default_currency
30 leave_encashment_amount Currency Leave Encashment Amount
Company:company:default_currency
31 gross_pay Currency Gross Pay
Company:company:default_currency
32 total_deduction Currency Total Deduction
Company:company:default_currency
33 net_pay Currency Net Pay

Gross Pay + Arrear Amount +Encashment Amount - Total Deduction

Company:company:default_currency
34 rounded_total Currency Rounded Total
Company:company:default_currency
35 total_in_words Data Total in words

Net Pay (in words) will be visible once you save the Salary Slip.


Controller

erpnext.hr.doctype.salary_slip.salary_slip

Class SalarySlip

Inherits from erpnext.utilities.transaction_base.TransactionBase

autoname (self)

No docs


calculate_ded_total (self)

No docs


calculate_earning_total (self)

No docs


calculate_lwp (self, holidays, m)

No docs


calculate_net_pay (self)

No docs


check_existing (self)

No docs


check_sal_struct (self, joining_date, relieving_date)

No docs


get_emp_and_leave_details (self)

No docs


get_holidays_for_employee (self, start_date, end_date)

No docs


get_leave_details (self, joining_date=None, relieving_date=None, lwp=None)

No docs


get_payment_days (self, month, joining_date, relieving_date)

No docs


on_submit (self)

No docs


pull_emp_details (self)

No docs


pull_sal_struct (self, struct)

No docs


send_mail_funct (self)

No docs


validate (self)

No docs



Linked In: