Khanal Group

K-Stock

Load your opening stock into K-Stock

Opening stock is what you hold in each godown on the day you start with K-Stock. You load it from one CSV file. K-Stock shows a preview before anything is posted.

Last updated

Open K-StockAll K-Stock guides

What you need

  • The Stock manager or Organisation admin role
  • Your items and warehouses (and bins) already set up
  • A physical count per item, warehouse, bin and lot
  • The value of each line in rupees, for stock valuation

Prepare the file

  1. Open stock.khanals.in/stock/opening.
  2. Click Download the template.
  3. Fill one line per item, warehouse, bin and lot. The columns are sku, warehouse, bin, lot, mfg_date, expiry_date, qty, unit, status, date and value.
  4. Give the warehouse and bin by their codes. The status is on_hand or quarantine. Write dates as YYYY-MM-DD.
  5. Type the value of the whole line in rupees, for example 54000.00 for 120 boxes.
  6. Save the file as "CSV UTF-8".

Preview and post

  1. Choose the file, or paste the rows, and click Preview.
  2. Read the preview. Each line says To post, Already posted or the error. Nothing is posted yet.
  3. Click Post ... lines.
  4. Lines with errors are left out. Correct them in the file and import it again.

Check the result

  1. Open Stock on hand and filter by warehouse.
  2. Open an item to see its stock card. Each line of the file is one movement of the kind Opening stock.

Good to know

  • Importing the same file again posts nothing. Two identical lines in one file are two separate lots of stock, for example two pallets.
  • An item tracked by lot needs its lot number; an item tracked by expiry needs the expiry_date.
  • The file can be up to 2 MB. Split a larger file.
  • There is no menu entry for opening stock yet. Use the address above or bookmark it.
  • A date in a month that is already closed is refused. Load opening stock before you close your first month.

Common errors

"The first row names the columns; "sku", "warehouse" and "qty" are needed. Download the template to see them all."

Keep the header row of the template. Its column names must stay as they are.

"The file is not UTF-8 text: save it as "CSV UTF-8" and try again."

In Excel, use Save As and choose CSV UTF-8 (Comma delimited).

"The file is larger than 2 MB: split it."

Split the file, for example one file per warehouse, and import each.

"The status is on_hand or quarantine."

Leave the status empty or type on_hand. Type quarantine only for goods waiting for QC.

"The previewed file did not come back intact: preview it again."

Click Start again, choose the file and click Preview once more.

Still stuck?

Email hello@khanals.in with the app name, what you clicked and the exact message you saw. Do not send passwords, PINs or authenticator codes. You can also use the contact page.