brotherton-erpnext/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.html
2015-12-03 18:28:19 +05:30

500 lines
16 KiB
HTML

<!-- title: erpnext.stock.get_item_details --><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/blob/develop/erpnext/stock/get_item_details.py"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.apply_price_list</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.apply_price_list" href="#erpnext.stock.get_item_details.apply_price_list" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>apply_price_list</b>
<i class="text-muted">(args)</i>
</p>
<div class="docs-attr-desc"><p>args = {
"item<em>list": [{"doctype": "", "name": "", "item</em>code": "", "brand": "", "item<em>group": ""}, ...],
"conversion</em>rate": 1.0,
"selling<em>price</em>list": None,
"price<em>list</em>currency": None,
"plc<em>conversion</em>rate": 1.0,
"parenttype": "",
"parent": "",
"supplier": None,
"transaction<em>date": None,
"conversion</em>rate": 1.0,
"buying<em>price</em>list": None,
"transaction<em>type": "selling",
"ignore</em>pricing_rule": 0/1
}</p>
</div>
<br>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.apply_price_list_on_item" href="#erpnext.stock.get_item_details.apply_price_list_on_item" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>apply_price_list_on_item</b>
<i class="text-muted">(args)</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="erpnext.stock.get_item_details.get_actual_batch_qty" href="#erpnext.stock.get_item_details.get_actual_batch_qty" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_actual_batch_qty</b>
<i class="text-muted">(batch_no, warehouse, item_code)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_available_qty</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_available_qty" href="#erpnext.stock.get_item_details.get_available_qty" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_available_qty</b>
<i class="text-muted">(item_code, warehouse)</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="erpnext.stock.get_item_details.get_basic_details" href="#erpnext.stock.get_item_details.get_basic_details" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_basic_details</b>
<i class="text-muted">(args, item)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_batch_qty</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_batch_qty" href="#erpnext.stock.get_item_details.get_batch_qty" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_batch_qty</b>
<i class="text-muted">(batch_no, warehouse, item_code)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_conversion_factor</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_conversion_factor" href="#erpnext.stock.get_item_details.get_conversion_factor" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_conversion_factor</b>
<i class="text-muted">(item_code, uom)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_default_bom</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_default_bom" href="#erpnext.stock.get_item_details.get_default_bom" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_default_bom</b>
<i class="text-muted">(item_code=None)</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="erpnext.stock.get_item_details.get_default_cost_center" href="#erpnext.stock.get_item_details.get_default_cost_center" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_default_cost_center</b>
<i class="text-muted">(args, item)</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="erpnext.stock.get_item_details.get_default_expense_account" href="#erpnext.stock.get_item_details.get_default_expense_account" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_default_expense_account</b>
<i class="text-muted">(args, item)</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="erpnext.stock.get_item_details.get_default_income_account" href="#erpnext.stock.get_item_details.get_default_income_account" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_default_income_account</b>
<i class="text-muted">(args, item)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_item_code</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_item_code" href="#erpnext.stock.get_item_details.get_item_code" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_item_code</b>
<i class="text-muted">(barcode=None, serial_no=None)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_item_details</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_item_details" href="#erpnext.stock.get_item_details.get_item_details" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_item_details</b>
<i class="text-muted">(args)</i>
</p>
<div class="docs-attr-desc"><p>args = {
"item<em>code": "",
"warehouse": None,
"customer": "",
"conversion</em>rate": 1.0,
"selling<em>price</em>list": None,
"price<em>list</em>currency": None,
"plc<em>conversion</em>rate": 1.0,
"parenttype": "",
"parent": "",
"supplier": None,
"transaction<em>date": None,
"conversion</em>rate": 1.0,
"buying<em>price</em>list": None,
"is<em>subcontracted": "Yes" / "No",
"transaction</em>type": "selling",
"ignore<em>pricing</em>rule": 0/1
"project_name": ""
}</p>
</div>
<br>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_party_item_code" href="#erpnext.stock.get_item_details.get_party_item_code" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_party_item_code</b>
<i class="text-muted">(args, item_doc, out)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_pos_profile</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_pos_profile" href="#erpnext.stock.get_item_details.get_pos_profile" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_pos_profile</b>
<i class="text-muted">(company)</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="erpnext.stock.get_item_details.get_pos_profile_item_details" href="#erpnext.stock.get_item_details.get_pos_profile_item_details" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_pos_profile_item_details</b>
<i class="text-muted">(company, args, pos_profile=None)</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="erpnext.stock.get_item_details.get_price_list_currency" href="#erpnext.stock.get_item_details.get_price_list_currency" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_price_list_currency</b>
<i class="text-muted">(price_list)</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="erpnext.stock.get_item_details.get_price_list_currency_and_exchange_rate" href="#erpnext.stock.get_item_details.get_price_list_currency_and_exchange_rate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_price_list_currency_and_exchange_rate</b>
<i class="text-muted">(args)</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="erpnext.stock.get_item_details.get_price_list_rate" href="#erpnext.stock.get_item_details.get_price_list_rate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_price_list_rate</b>
<i class="text-muted">(args, item_doc, out)</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="erpnext.stock.get_item_details.get_price_list_rate_for" href="#erpnext.stock.get_item_details.get_price_list_rate_for" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_price_list_rate_for</b>
<i class="text-muted">(args, item_code)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.stock.get_item_details.get_projected_qty</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.get_projected_qty" href="#erpnext.stock.get_item_details.get_projected_qty" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_projected_qty</b>
<i class="text-muted">(item_code, warehouse)</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="erpnext.stock.get_item_details.get_serial_nos_by_fifo" href="#erpnext.stock.get_item_details.get_serial_nos_by_fifo" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>get_serial_nos_by_fifo</b>
<i class="text-muted">(args, item_doc)</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="erpnext.stock.get_item_details.insert_item_price" href="#erpnext.stock.get_item_details.insert_item_price" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>insert_item_price</b>
<i class="text-muted">(args)</i>
</p>
<div class="docs-attr-desc"><p>Insert Item Price if Price List and Price List Rate are specified and currency is the same</p>
</div>
<br>
<p class="docs-attr-name">
<a name="erpnext.stock.get_item_details.process_args" href="#erpnext.stock.get_item_details.process_args" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>process_args</b>
<i class="text-muted">(args)</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="erpnext.stock.get_item_details.validate_conversion_rate" href="#erpnext.stock.get_item_details.validate_conversion_rate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>validate_conversion_rate</b>
<i class="text-muted">(args, meta)</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="erpnext.stock.get_item_details.validate_item_details" href="#erpnext.stock.get_item_details.validate_item_details" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>validate_item_details</b>
<i class="text-muted">(args, item)</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="erpnext.stock.get_item_details.validate_price_list" href="#erpnext.stock.get_item_details.validate_price_list" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.get_item_details.<b>validate_price_list</b>
<i class="text-muted">(args)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<!-- autodoc -->