3.9 KiB
3.9 KiB
Version 6.x.x
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/authorization_control"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
Single
Fields
</tbody>
Sr | Fieldname | Type | Label | Options |
---|
<hr>
<h3>Controller</h3>
<h4>erpnext.setup.doctype.authorization_control.authorization_control</h4>
<h3 style="font-weight: normal;">Class <b>AuthorizationControl</b></h3>
<p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
<div class="docs-attr-desc"><p></p>
<p class="docs-attr-name">
<a name="bifurcate_based_on_type" href="#bifurcate_based_on_type" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>bifurcate_based_on_type</b>
<i class="text-muted">(self, doctype_name, total, av_dis, based_on, doc_obj, val, company)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="get_appr_user_role" href="#get_appr_user_role" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_appr_user_role</b>
<i class="text-muted">(self, det, doctype_name, total, based_on, condition, item, company)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="get_approver_name" href="#get_approver_name" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_approver_name</b>
<i class="text-muted">(self, doctype_name, total, doc_obj=)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="get_value_based_rule" href="#get_value_based_rule" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_value_based_rule</b>
<i class="text-muted">(self, doctype_name, employee, total_claimed_amount, company)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="validate_approving_authority" href="#validate_approving_authority" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_approving_authority</b>
<i class="text-muted">(self, doctype_name, company, total, doc_obj=)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="validate_auth_rule" href="#validate_auth_rule" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_auth_rule</b>
<i class="text-muted">(self, doctype_name, total, based_on, cond, company, item=)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<hr>