Neriyam
Open App

Production Entry

Record inputs consumed and outputs produced in a single production run, organised into Inputs, Outputs, Consumables, and By-products.

Production Entry#

A Production Entry (transaction type MFG) records a manufacturing run — what you consumed, what you produced, what shop-floor consumables you used, and any secondary by-products — in a single document. It is Neriyam's link between your input stock and your output stock; every gram and every unit that changes form in the factory should be on a Production Entry.

The mental model#

A Production Entry has four sections, each with its own role:

SectionDirectionOwnershipTypical use
InputsOutward (stock leaves)Follows headerRaw materials and components consumed for the primary product
OutputsInward (stock arrives)Follows headerThe primary finished goods produced
ConsumablesOutward (stock leaves)Always ownWelding wire, lubricants, abrasives — your shop-floor consumables, even on a customer run
By-productsInward (stock arrives)Always ownRecoverable scrap, off-cuts, secondary outputs you keep

You enter every quantity as a positive number. Neriyam applies the direction (inward/outward) automatically based on the section. There are no negative numbers in the form.

When you submit the entry, Neriyam posts one stock-ledger entry per line — outward postings for Inputs and Consumables, inward postings for Outputs and By-products. Cost flows from Inputs to Outputs at a weighted average; Consumables and By-products are valued separately at moving-average cost.

Every production entry is manual — you type each line into the relevant section. There are no Bill of Materials (BOM) templates in Neriyam.

The four sections explained#

Inputs#

Items being consumed in this production run. Their direction is outward; the system marks them as such when you submit.

Ownership matches the header — if you set "Manufacturing for: Customer X", every Input line is treated as that customer's stock; if you keep "Manufacturing for: Own", Inputs are your own stock.

Outputs#

Primary products produced. Direction is inward; ownership matches the header.

If you set "Manufacturing for: Customer X", every Output is recorded as that customer's stock — reflecting that the finished goods still belong to them on a job-work run.

Consumables#

Own stock used in this run that you do not want to track as a primary input — typically welding wire, lubricants, abrasives, gloves. Always own stock, even when the rest of the entry is for a customer.

If you want to use customer-supplied material as a real input, place it in the Inputs section, not here.

By-products#

Secondary outputs that you keep — recoverable scrap, off-cuts, sawdust that you re-sell. Always own stock, even when the rest of the entry is for a customer.

If you want a by-product to go back to the customer (rather than stay with you), place it in the Outputs section.

All four sections always render on the form, even when empty. You only fill the ones you need. A typical own-stock production might use Inputs + Outputs only; a customer job-work run with shop-floor lubricants might use all four.

Typical workflow#

  1. Run production physically.
  2. Note down: what was consumed (Inputs), what was produced (Outputs), any shop-floor consumables (Consumables), any recoverable by-products (By-products).
  3. Open Manufacturing › Production Entry, click + New Production Entry.
  4. Set the header — posting date, "Manufacturing for" (Own or Customer X), optional Reference / Work Order ID, optional remarks.
  5. Add lines section by section. Each section has its own + Add Line button.
  6. Click Save as Draft to save the entry — you land on the detail page.
  7. On the detail page, review, edit if needed, then click Submit for Approval to post it to the stock ledger.

The create page only has Cancel and Save as Draft buttons; the Submit for Approval action lives on the detail page once the draft exists. This two-step flow lets you save partial drafts and come back to them later.

Header fields#

FieldRequiredNotes
Posting DateYesDefaults to today
Manufacturing forYes (radio)Own or Customer X — sets ownership of Inputs and Outputs. Consumables and By-products stay own regardless.
Reference / Work Order IDNoFree text — your work order, run number, or product code
RemarksRequiredFree text. The standard place to capture Work Order ID, run number, or product code.

When Manufacturing for: Customer X is selected, every line you add to Inputs and Outputs is automatically tagged with that customer as owner — there is no per-line override. If you have a mixed run, do not try to fit it into a single entry; split into separate Production Entries.

Line fields (per section)#

FieldRequiredNotes
ItemYesStockable items only. The picker is filtered to stockable items upfront.
WarehouseYesWhere the movement happens. Each line picks its own warehouse — Inputs and Outputs do not have to be at the same warehouse.
QuantityYesPositive number. The system applies inward/outward direction automatically based on the section.

Rate and amount are computed by Neriyam on submit (see below) and remain blank in Draft.

How rates are computed#

Input and Consumable rates#

Each Input or Consumable line gets the current moving-average cost of that item in that warehouse at the posting date. You cannot override the rate — the system uses the cost it already knows. If the item has no stock (zero balance), the rate is zero.

Output rates#

Outputs are valued at a weighted average derived from the value of consumed Inputs:

outputRate  =  (sum of all Input qty × Input rate)  /  (sum of all Output qty)

Example: you consume 10 kg of steel at ₹100/kg (₹1,000 total) and produce 5 finished parts. Each finished part is valued at ₹200.

Consumables are not folded into the Output rate — they are accounted as their own outward postings at their own moving-average cost. This keeps the Output cost focused on direct material.

By-product rates#

By-products come in at the moving-average cost of that item, just like an inward stock movement. They do not borrow value from the production run.

If a Production Entry has Inputs but no Outputs (rare — pure consumption), the value is absorbed to zero. If it has Outputs but no Inputs (also rare — "found" stock that is also manufactured), the Outputs come in at zero rate. Use Stock Adjustment to correct either case.

The derived Output rate reflects only the value of consumed Inputs. Labour, energy, and overhead are not added automatically. If you need fully-loaded costs, post a follow-up Stock Adjustment to add overhead.

Stock ledger impact on submit#

For a Production Entry with 2 Input lines, 1 Output line, 1 Consumable line, and 1 By-product line, Neriyam posts five ledger entries — one per line — all sharing the production entry's document code:

SectionDirectionWarehouseItemQtyRate
InputsOutwardInput warehouseInput item 110Input 1's avg cost
InputsOutwardInput warehouseInput item 25Input 2's avg cost
ConsumablesOutwardConsumable warehouseWelding wire0.2 kgWire's avg cost
OutputsInwardOutput warehouseOutput item3Total Input value ÷ 3
By-productsInwardOutput warehouseOff-cut0.5 kgOff-cut's avg cost

In the detail view, all quantities are shown as positive values — the section the row lives in tells you whether it is inward or outward. The stock ledger itself shows signed deltas.

Customer (job work) mode#

Set Manufacturing for: Customer X when you are processing the customer's own material:

  • Inputs are tagged as that customer's stock — you are consuming their material.
  • Outputs are tagged as that customer's stock — the finished goods still belong to them.
  • Consumables stay own — you are still using your own welding wire, lubricants, abrasives.
  • By-products stay own — you keep recoverable scrap.

The stock ledger records the movement; because Inputs and Outputs are customer stock, there is no valuation impact on your books for those lines. Consumables and By-products do post valuation against your own ledger.

Changing Manufacturing for after Inputs or Outputs have been added shows a confirmation prompt, because it changes the ownership of every existing Input and Output line. Consumables and By-products are unaffected.

Statuses#

Same as all stock entries:

CodeLabelBehaviour
DDraftEditable; rates / amounts blank
SSubmittedPosted to ledger; read-only; rates / amounts now computed
CCancelledReversal posted; original kept for audit

Cancelling a Production Entry#

Cancellation posts a reversal — each ledger entry is mirrored in the opposite direction. Inputs and Consumables flow back in; Outputs and By-products are issued out. Both the original and the reversal stay on the ledger.

If a downstream document — for example a Sales Delivery Note that already shipped this entry's Output — references the entry's lines, cancellation is blocked. You will see an error naming the dependent document(s). Cancel those first, then come back to cancel the Production Entry.

Cancellation requires INVENTORY.CANCEL_STOCK_ENTRIES permission and a reason.

List page#

  • Columns: Code/Ref, Posting Date, Customer Material badge (if applicable), Line count, Status
  • Filter by date, status, customer
  • Row actions: View (detail), Submit (if Draft), Cancel (if Submitted)

Permissions#

ActionPermission
View Production EntriesMANUFACTURING.VIEW_PRODUCTION or INVENTORY.VIEW_STOCK_ENTRIES
Create, edit, submit, delete draftMANUFACTURING.MANAGE_PRODUCTION
Cancel submittedINVENTORY.CANCEL_STOCK_ENTRIES

FAQ#

Do I have to add lines to all four sections? No. You only fill the sections you need. A typical own-stock production might use Inputs + Outputs only. The empty sections are visible on the form so you know they exist, but they do not block submit.

Can I have a Production Entry with only Inputs (and no Outputs)? Technically yes — Neriyam lets you submit it — but it effectively writes off the Inputs' value to zero. In practice, use a Scrap Entry for that. Use Production only when you actually produce something.

Can I have a Production Entry with only Outputs? Also technically possible — Outputs come in at zero cost. Almost never what you want; use an Opening Stock for initial balances or a Stock Adjustment to add stock with a rate.

Can I edit Input or Output rates? No — rates are derived by Neriyam on submit. If the derivation gives the wrong answer for your scenario, post a follow-up Stock Adjustment to correct the cost.

What if Inputs span multiple warehouses? Each line picks its own warehouse. A single Production Entry can consume from several warehouses and produce into another.

How do I record scrap that is not a recoverable by-product? Use a separate Scrap Entry. Use the By-products section here only when the scrap has value and you want to track it as own stock.

Validation rules#

A Production entry (MFG) can only be submitted when these rules are met:

Item requirements

  • All items (in any section) must be stockable (is_stockable = true). The line item picker filters to stockable items upfront, and the API rejects mismatches at line save and at submit.

Header

  • Posting date is required.
  • "Manufacturing for" is required (Own or Customer). When Customer is selected, the customer is required and applies to ALL Input and Output lines — at most one customer per Production Entry.

Ownership

  • Inputs and Outputs follow the header (Own or single Customer).
  • Consumables and By-products are always own, even on a customer run.

Quantity

  • Always positive in the form. The system applies signs by section role on submit (Inputs and Consumables become outward; Outputs and By-products become inward).

Approval state

  • The customer (when set) and all items must be Approved to be selectable in the picker.

Last updated