Version 6.x.x Source

Table Name: tabSalary Structure

Fields

Sr Fieldname Type Label Options
1 column_break0 Column Break
2 employee Link Employee Employee
3 employee_name Data Employee Name
4 branch Link Branch Branch
5 designation Link Designation Designation
6 department Link Department Department
7 column_break1 Column Break
8 is_active Select Is Active
Yes
No
9 from_date Date From Date
10 to_date Date To Date
11 company Link Company Company
12 earning_deduction Section Break Monthly Earning & Deduction

Salary breakup based on Earning and Deduction.

13 earning Column Break Earning
14 earnings Table Earnings Salary Structure Earning
15 deduction Column Break Deduction
16 deductions Table Deductions Salary Structure Deduction
17 section_break0 Section Break
Simple
18 column_break2 Column Break
19 total_earning Currency Total Earning
Company:company:default_currency
20 total_deduction Currency Total Deduction
Company:company:default_currency
21 column_break3 Column Break
22 net_pay Currency Net Pay
Company:company:default_currency

Controller

erpnext.hr.doctype.salary_structure.salary_structure

Class SalaryStructure

Inherits from frappe.model.document.Document

autoname (self)

No docs


before_test_insert (self)

Make any existing salary structure for employee inactive.


check_existing (self)

No docs


get_employee_details (self)

No docs


get_other_active_salary_structure (self)

No docs


get_ss_values (self, employee)

No docs


make_earn_ded_table (self)

No docs


make_table (self, doct_name, tab_fname, tab_name)

No docs


validate (self)

No docs


validate_amount (self)

No docs


validate_employee (self)

No docs


validate_joining_date (self)

No docs



Public API
/api/method/erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip

erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip (source_name, target_doc=None)

No docs