Inherits from frappe.exceptions.ValidationError
erpnext.stock.utils.get_avg_purchase_rate (serial_nos)
get average value of serial numbers
erpnext.stock.utils.get_bin (item_code, warehouse)
No docs
erpnext.stock.utils.get_fifo_rate (previous_stock_queue, qty)
get FIFO (average) Rate from Queue
Public API
/api/method/erpnext.stock.utils.get_incoming_rate
erpnext.stock.utils.get_incoming_rate (args)
Get Incoming Rate based on valuation method
erpnext.stock.utils.get_latest_stock_balance ()
No docs
erpnext.stock.utils.get_stock_balance (item_code, warehouse, posting_date=None, posting_time=None, with_valuation_rate=False)
Returns stock balance quantity at given warehouse on given posting date or current date.
If with_valuation_rate
is True, will return tuple (qty, rate)
erpnext.stock.utils.get_stock_value_on (warehouse=None, posting_date=None, item_code=None)
No docs
erpnext.stock.utils.get_valid_serial_nos (sr_nos, qty=0, item_code=)
split serial nos, validate and return list of valid serial nos
erpnext.stock.utils.get_valuation_method (item_code)
get valuation method from item or default
erpnext.stock.utils.update_bin (args, allow_negative_stock=False, via_landed_cost_voucher=False)
No docs
erpnext.stock.utils.validate_warehouse_company (warehouse, company)
No docs