Version 6.x.x Source

### Class StockController

Inherits from erpnext.controllers.accounts_controller.AccountsController

check_expense_account (self, item)

No docs

get_gl_entries (self, warehouse_account=None, default_expense_account=None, default_cost_center=None)

No docs

get_incoming_rate_for_sales_return (self, item_code, warehouse, against_document)

No docs

get_items_and_warehouses (self)

No docs

get_serialized_items (self)

No docs

get_sl_entries (self, d, args)

No docs

get_stock_ledger_details (self)

No docs

get_voucher_details (self, default_expense_account, default_cost_center, sle_map)

No docs

make_adjustment_entry (self, expected_gle, voucher_obj)

No docs

make_gl_entries (self, repost_future_gle=True)

No docs

make_gl_entries_on_cancel (self)

No docs

make_sl_entries (self, sl_entries, is_amended=None, allow_negative_stock=False, via_landed_cost_voucher=False)

No docs

update_reserved_qty (self)

No docs

update_stock_ledger (self)

No docs

validate_warehouse (self)

No docs

erpnext.controllers.stock_controller.compare_existing_and_expected_gle (existing_gle, expected_gle)

No docs

erpnext.controllers.stock_controller.get_future_stock_vouchers (posting_date, posting_time, for_warehouses=None, for_items=None)

No docs

erpnext.controllers.stock_controller.get_voucherwise_gl_entries (future_stock_vouchers, posting_date)

No docs

erpnext.controllers.stock_controller.get_warehouse_account ()

No docs

erpnext.controllers.stock_controller.update_gl_entries_after (posting_date, posting_time, for_warehouses=None, for_items=None, warehouse_account=None)

No docs