brotherton-erpnext/erpnext/docs/current/models/setup/currency_exchange.md

3.2 KiB

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

Specify Exchange Rate to convert one currency into another

Fields

    <tr >
        <td>1</td>
        <td class="danger" title="Mandatory"><code>from_currency</code></td>
        <td >
            Link</td>
        <td >
            From Currency
            
        </td>
        <td>

Currency

        </td>
    </tr>
    
    <tr >
        <td>2</td>
        <td class="danger" title="Mandatory"><code>to_currency</code></td>
        <td >
            Link</td>
        <td >
            To Currency
            
        </td>
        <td>

Currency

        </td>
    </tr>
    
    <tr >
        <td>3</td>
        <td class="danger" title="Mandatory"><code>exchange_rate</code></td>
        <td >
            Float</td>
        <td >
            Exchange Rate
            
        </td>
        <td></td>
    </tr>
    
</tbody>
Sr Fieldname Type Label Options
<hr>
<h3>Controller</h3>
<h4>erpnext.setup.doctype.currency_exchange.currency_exchange</h4>






    
<h3 style="font-weight: normal;">Class <b>CurrencyExchange</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="autoname" href="#autoname" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>autoname</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>

</div>
<hr>