brotherton-erpnext/erpnext/docs/current/models/hr/attendance.md

7.6 KiB

Version 6.x.x
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/attendance"
	target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
<p><b>Table Name:</b> <code>tabAttendance</code></p>

Fields

    <tr class="info">
        <td>1</td>
        <td ><code>attendance_details</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td>
            <pre>Simple</pre>
        </td>
    </tr>
    
    <tr >
        <td>2</td>
        <td class="danger" title="Mandatory"><code>naming_series</code></td>
        <td >
            Select</td>
        <td >
            Series
            
        </td>
        <td>
            <pre>ATT-</pre>
        </td>
    </tr>
    
    <tr >
        <td>3</td>
        <td class="danger" title="Mandatory"><code>employee</code></td>
        <td >
            Link</td>
        <td >
            Employee
            
        </td>
        <td>

Employee

        </td>
    </tr>
    
    <tr >
        <td>4</td>
        <td ><code>employee_name</code></td>
        <td >
            Data</td>
        <td >
            Employee Name
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>5</td>
        <td class="danger" title="Mandatory"><code>status</code></td>
        <td >
            Select</td>
        <td >
            Status
            
        </td>
        <td>
            <pre>

Present Absent Half Day

    <tr >
        <td>6</td>
        <td ><code>leave_type</code></td>
        <td >
            Link</td>
        <td class="text-muted" title="Hidden">
            Leave Type
            
        </td>
        <td>

Leave Type

        </td>
    </tr>
    
    <tr >
        <td>7</td>
        <td ><code>column_break0</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>8</td>
        <td class="danger" title="Mandatory"><code>att_date</code></td>
        <td >
            Date</td>
        <td >
            Attendance Date
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>9</td>
        <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
        <td >
            Link</td>
        <td >
            Fiscal Year
            
        </td>
        <td>

Fiscal Year

        </td>
    </tr>
    
    <tr >
        <td>10</td>
        <td class="danger" title="Mandatory"><code>company</code></td>
        <td >
            Link</td>
        <td >
            Company
            
        </td>
        <td>

Company

        </td>
    </tr>
    
    <tr >
        <td>11</td>
        <td ><code>amended_from</code></td>
        <td >
            Link</td>
        <td >
            Amended From
            
        </td>
        <td>

Attendance

        </td>
    </tr>
    
</tbody>
Sr Fieldname Type Label Options
<hr>
<h3>Controller</h3>
<h4>erpnext.hr.doctype.attendance.attendance</h4>






    
<h3 style="font-weight: normal;">Class <b>Attendance</b></h3>

<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>

<div class="docs-attr-desc"><p></p>
<p class="docs-attr-name">
    <a name="check_leave_record" href="#check_leave_record" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>check_leave_record</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="on_update" href="#on_update" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>on_update</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<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>

<p class="docs-attr-name">
    <a name="validate_att_date" href="#validate_att_date" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_att_date</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate_duplicate_record" href="#validate_duplicate_record" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_duplicate_record</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate_employee" href="#validate_employee" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_employee</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

</div>
<hr>






    <h4>Linked In:</h4>
    <ul>
    
		
        <li>

Attendance

    </ul>