500 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			500 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- title: Appraisal -->
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <div class="dev-header">
 | |
| 
 | |
| <a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
 | |
| 	Version 6.x.x</a>
 | |
| 
 | |
| 
 | |
| 	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/appraisal"
 | |
| 		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
 | |
| 
 | |
| </div>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|     <p><b>Table Name:</b> <code>tabAppraisal</code></p>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <h3>Fields</h3>
 | |
| 
 | |
| <table class="table table-bordered">
 | |
|     <thead>
 | |
|         <tr>
 | |
|             <th style="width: 5%">Sr</th>
 | |
|             <th style="width: 25%">Fieldname</th>
 | |
|             <th style="width: 20%">Type</th>
 | |
|             <th style="width: 25%">Label</th>
 | |
|             <th style="width: 25%">Options</th>
 | |
|         </tr>
 | |
|     </thead>
 | |
|     <tbody>
 | |
|         
 | |
|         <tr class="info">
 | |
|             <td>1</td>
 | |
|             <td ><code>employee_details</code></td>
 | |
|             <td >
 | |
|                 Section Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>2</td>
 | |
|             <td class="danger" title="Mandatory"><code>kra_template</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 Appraisal Template
 | |
|                 <p class="text-muted small">
 | |
|                     Select template from which you want to get the Goals</p>
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/hr/appraisal_template">Appraisal Template</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>3</td>
 | |
|             <td class="danger" title="Mandatory"><code>employee</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 For Employee
 | |
|                 <p class="text-muted small">
 | |
|                     Select the Employee for whom you are creating the Appraisal.</p>
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>4</td>
 | |
|             <td ><code>employee_name</code></td>
 | |
|             <td >
 | |
|                 Data</td>
 | |
|             <td >
 | |
|                 For Employee Name
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>5</td>
 | |
|             <td ><code>column_break0</code></td>
 | |
|             <td class="info">
 | |
|                 Column Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>6</td>
 | |
|             <td class="danger" title="Mandatory"><code>status</code></td>
 | |
|             <td >
 | |
|                 Select</td>
 | |
|             <td >
 | |
|                 Status
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 <pre>
 | |
| Draft
 | |
| Submitted
 | |
| Completed
 | |
| Cancelled</pre>
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>7</td>
 | |
|             <td class="danger" title="Mandatory"><code>start_date</code></td>
 | |
|             <td >
 | |
|                 Date</td>
 | |
|             <td >
 | |
|                 Start Date
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>8</td>
 | |
|             <td class="danger" title="Mandatory"><code>end_date</code></td>
 | |
|             <td >
 | |
|                 Date</td>
 | |
|             <td >
 | |
|                 End Date
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr class="info">
 | |
|             <td>9</td>
 | |
|             <td ><code>section_break0</code></td>
 | |
|             <td >
 | |
|                 Section Break</td>
 | |
|             <td >
 | |
|                 Goals
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 <pre>Simple</pre>
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>10</td>
 | |
|             <td ><code>goals</code></td>
 | |
|             <td >
 | |
|                 Table</td>
 | |
|             <td >
 | |
|                 Goals
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/hr/appraisal_goal">Appraisal Goal</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>11</td>
 | |
|             <td ><code>calculate_total_score</code></td>
 | |
|             <td >
 | |
|                 Button</td>
 | |
|             <td >
 | |
|                 Calculate Total Score
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 <pre>calculate_total</pre>
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>12</td>
 | |
|             <td ><code>total_score</code></td>
 | |
|             <td >
 | |
|                 Float</td>
 | |
|             <td >
 | |
|                 Total Score (Out of 5)
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr class="info">
 | |
|             <td>13</td>
 | |
|             <td ><code>section_break1</code></td>
 | |
|             <td >
 | |
|                 Section Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>14</td>
 | |
|             <td ><code>remarks</code></td>
 | |
|             <td >
 | |
|                 Text</td>
 | |
|             <td >
 | |
|                 Remarks
 | |
|                 <p class="text-muted small">
 | |
|                     Any other remarks, noteworthy effort that should go in the records.</p>
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr class="info">
 | |
|             <td>15</td>
 | |
|             <td ><code>other_details</code></td>
 | |
|             <td >
 | |
|                 Section Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>16</td>
 | |
|             <td class="danger" title="Mandatory"><code>company</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 Company
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>17</td>
 | |
|             <td ><code>column_break_17</code></td>
 | |
|             <td class="info">
 | |
|                 Column Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>18</td>
 | |
|             <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 Fiscal Year
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>19</td>
 | |
|             <td ><code>amended_from</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td class="text-muted" title="Hidden">
 | |
|                 Amended From
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|     </tbody>
 | |
| </table>
 | |
| 
 | |
| 
 | |
|     <hr>
 | |
|     <h3>Controller</h3>
 | |
|     <h4>erpnext.hr.doctype.appraisal.appraisal</h4>
 | |
| 
 | |
|     
 | |
| 
 | |
| 
 | |
| 
 | |
| 	
 | |
|         
 | |
| 	<h3 style="font-weight: normal;">Class <b>Appraisal</b></h3>
 | |
|     
 | |
|     <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
 | |
|     
 | |
|     <div class="docs-attr-desc"><p></p>
 | |
| </div>
 | |
|     <div style="padding-left: 30px;">
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="calculate_total" href="#calculate_total" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>calculate_total</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="get_employee_name" href="#get_employee_name" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>get_employee_name</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="on_cancel" href="#on_cancel" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>on_cancel</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="on_submit" href="#on_submit" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>on_submit</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="validate" href="#validate" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>validate</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="validate_dates" href="#validate_dates" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>validate_dates</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="validate_existing_appraisal" href="#validate_existing_appraisal" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>validate_existing_appraisal</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|     </div>
 | |
|     <hr>
 | |
| 
 | |
| 	
 | |
| 
 | |
| 	
 | |
|         
 | |
|     
 | |
|     <p><span class="label label-info">Public API</span>
 | |
|         <br><code>/api/method/erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template</code>
 | |
|     </p>
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template" href="#erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		erpnext.hr.doctype.appraisal.appraisal.<b>fetch_appraisal_template</b>
 | |
|         <i class="text-muted">(source_name, target_doc=None)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
| 	
 | |
| 
 | |
| 
 | |
|     
 | |
|     
 | |
|         <h4>Linked In:</h4>
 | |
|         <ul>
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
|         </ul>
 | |
|     
 | |
| 
 | |
| 
 | |
| <!-- autodoc -->
 | |
| <!-- jinja -->
 | |
| <!-- static --> |