brotherton-erpnext/erpnext/docs/current/models/accounts/mode_of_payment.md

3.8 KiB

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

Fields

    <tr >
        <td>1</td>
        <td class="danger" title="Mandatory"><code>mode_of_payment</code></td>
        <td >
            Data</td>
        <td >
            Mode of Payment
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>2</td>
        <td ><code>accounts</code></td>
        <td >
            Table</td>
        <td >
            Accounts
            
        </td>
        <td>

Mode of Payment Account

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






    
<h3 style="font-weight: normal;">Class <b>ModeofPayment</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="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_accounts" href="#validate_accounts" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_accounts</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_repeating_companies" href="#validate_repeating_companies" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_repeating_companies</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Error when Same Company is entered multiple times in accounts</p>

</div>
<hr>






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

Payment Tool

        <li>

POS Profile

        <li>

Purchase Invoice

        <li>

Sales Invoice

    </ul>