> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-version-release-notes/october-2026/reports-queries/balance-sheet/trading-account-balance-sheet-groups/trading-account-balance-sheet-groups-opening-wip-and-mid-year-periods.md).

# Trading Account - Balance Sheet Groups - Opening WIP and Mid-Year Periods

Logic ERP has corrected the **Trading Account - Balance Sheet Groups** for production work-in-progress (**WIP**) and for periods that start after the first day of the financial year. The report now deducts the **opening WIP** from gross profit, so the profit of a month or a quarter is no longer overstated by the WIP brought forward.

***

### **Step 1: Open the Report**

* Navigate to **Reports/Queries** and select **Balance Sheet**.
* Open the **Trading Account - Balance Sheet Groups**.

***

### **Step 2: Opening WIP**

* The opening WIP applies when **Include Production WIP Stock Value** is ticked and **Gross Profit On** is set to **Closing Stock Value** (**Configuration > Report Options-2**).
* **A period that starts after the first day of the year** (for example 01/05/2026 to 31/05/2026): the WIP value as at the day before the start is shown on the expense side and deducted from gross profit. Nothing needs to be set.
* **A period that starts on the first day of the year**: the opening WIP is normally part of your opening balances. If it is not booked in your accounts, tick **Configuration > Report Options-2 > Deduct Opening Production WIP Stock Value**. This option can be ticked only when **Include Production WIP Stock Value** is ticked.
* The line is named after **Production WIP Stock Value Title**, with "Opening" in front, for example **To Opening Wip Stock**. When the title is blank, it is **To Opening WIP Stock Value**.
* With branch-wise amount columns, each branch shows its own opening WIP.
* When you open this report by double-clicking the profit row of a Balance Sheet, the opening WIP is not deducted; the report then uses the Balance Sheet's own figures.

> **Example — April with opening WIP**
>
> With **Deduct Opening Production WIP Stock Value** ticked: at the start of April the WIP is ₹36,26,443 and at the end ₹39,35,005. The report now shows **To Opening Wip Stock** ₹36,26,443 on the expense side and **By Wip Stock** ₹39,35,005 on the income side, so only the WIP added during April (₹3,08,562) counts towards gross profit. Gross profit falls from ₹1,99,39,382 to ₹1,63,12,939.

***

### **Step 3: Months now add up**

* The gross profit of April plus the gross profit of May now equals the gross profit of April to May run together. The opening stock and the opening WIP of May are exactly the closing stock and the closing WIP of April.

***

### **Step 4: Closing Stock Value As - User Input**

* When **Closing Stock Value As** is **User Input**, the report cannot work out the opening stock. A period that starts after the first day of the year (or any period when **Always Pick Opening Stock Value from Stock Transactions** is ticked) now stops with this message instead of taking the opening stock as zero:
  * *Closing Stock Value As is set to User Input, so the opening stock for a period starting after … cannot be calculated. Run the report from the start of the financial year, or change Closing Stock Value As.*
  * The dots stand for the first day of the financial year.
* This check does not apply when **Gross Profit On** is **Gross Profit Ratio**, or when **Pick CS Value through Branch + Date wise Closing Stock Values input** is ticked.

***

### **Step 5: Gross Profit On - Gross Profit Ratio**

* For a period that starts after the first day of the year, the gross profit ratio is now applied to the sales of that period only. Earlier it was applied to the sales from the start of the year.
* The closing stock worked out from the ratio now includes the opening stock when the opening stock is taken from stock transactions.
* The WIP value is no longer added to the gross profit ratio.

***

### **Step 6: Add Opening Balance of Opening Stock A/c(s)**

* With **Add Opening Balance of Opening Stock A/c(s) in Opening Stock Value…** ticked, the opening stock account balance is now taken only for the branches the report covers (the selected branches, the current branch, or your branches).
* It is now included in each branch column as well, so the branch columns add up to the company total (except when **Pick CS Value through Branch + Date wise Closing Stock Values input** is ticked).
* The help text now explains that the option adds the balance to both the opening and the closing stock, and that it is meant only for stock transactions that hold no opening stock entries.

***

### **Good to know**

* Gross profit for a period that starts after the first day of the year is now lower by the opening WIP. This is intended.

**Available on:** Desktop · Web


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-version-release-notes/october-2026/reports-queries/balance-sheet/trading-account-balance-sheet-groups/trading-account-balance-sheet-groups-opening-wip-and-mid-year-periods.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
