> 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-and-profit-and-loss-a-c.md).

# Trading and Profit and Loss A/c

Logic ERP has corrected the **Trading and Profit and Loss A/c** for periods that start after the first day of the financial year (for example a single month), and for production work-in-progress (**WIP**).

In this note, "a later period" means a period of more than one day that starts after the first day of the financial year. A one-day period is treated as a report as on that date.

***

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

* Navigate to **Reports/Queries** and select **Balance Sheet**.
* Open the **Trading and Profit and Loss A/c**.

***

### **Step 2: Closing Stock Values**

* When **Closing Stock Value Basis** is a rate (not **User Input**) and **Gross Profit on Basis of** is **Closing Stock Value**, **Create Report** now works out the **Closing Stock Values** for the dates entered. You no longer need to click **Refresh Closing Stock Values** first, and a changed date can no longer leave old values in the grid.
* The value at the start of the period is now worked out at the same rates as the value at the end (**Closing Value on**). The opening stock of a month is therefore the closing stock of the month before.
* A negative stock value is now shown. Earlier it was left blank and taken as zero.
* With **User Input**, a blank value now stops the report with a message instead of being taken as zero:
  * the value at the end, for any period, including a full-year report;
  * the value at the start, for a later period.
  * Enter **0** when there is no stock.
  * This check applies when **Gross Profit on Basis of** is **Closing Stock Value**, **Type of Trading A/c** is the normal trading account and **Gross Profit As** is **Normal**.

***

### **Step 3: Opening WIP**

* The opening WIP applies when **Show Production WIP Values in Trading A/c** is ticked, **Gross Profit on Basis of** is **Closing Stock Value**, **Type of Trading A/c** is the normal trading account and **Gross Profit As** is **Normal**.
* **A later period**: the WIP value as at the day before the start is shown as its own line in the opening stock section and deducted from gross profit. Nothing needs to be set. The line is named "OPENING" followed by **Production WIP Value Title** (for example **OPENING Wip Stock**); when the title is blank it is **OPENING PRODUCTION WIP**. No line appears when the value is zero.
* The opening WIP is taken for the same branches as the closing WIP.
* **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 > Stock Valuation Setting > Deduct Opening Production WIP Value**. It can be ticked only when **Show Production WIP Values in Trading A/c** is ticked.
* **Pass A/c Entry** is not allowed when **Deduct Opening Production WIP Value** is ticked, or when an opening WIP line is shown for a later period, because that line has no account to post to. A message explains this.

***

### **Step 4: Category-wise Trading A/c**

* With **Gross Profit As** set to **Normal**, a category-wise **Type of Trading A/c** can now be run only from the first day of the year. For a later period the report shows a message. Earlier it showed the opening stock as zero.

***

### **Step 5: Profit and loss items**

* **Depreciation** for a later period is now worked out with the correct number of days. Earlier financial years shown side by side now show their depreciation too.
* **Interest on Captial** for a later period is now correct for every partner. Earlier, each partner's interest was reduced by the interest of the partners before them.
* **Salary to Partners** now counts every day of the period. Earlier it was one day short when the report ended before the last day of the year.
* The number of days in a year is now taken from each financial year shown, so a leap year counts 366 days.

***

### **Step 6: Several financial years**

* Each financial year now shows the closing WIP as on its own date. Earlier every year showed the WIP of the current year.
* The calculated **OPENING STOCK** line now appears once, with a value in each year's column.

***

### **Step 7: The earlier part of the year**

For a later period, the report works out the profit of the earlier part of the year (from the first day of the year to the day before the start) to arrive at the opening figures.

* The earlier part is now worked out only for the selected branches, and trading income accounts are included.
* Its closing stock is now included even when nothing was posted in the earlier part.
* An actual opening stock (**Opening Stock Basis**) is now valued at the start of each financial year shown, at the **Closing Stock Value Basis** rate.
* With **Branch+Lot Rates**, the stock value no longer stops with an error, and **M.R.P.** now gives a value in most combinations of **Opening Value on** and **Closing Value on**.

***

### **Good to know**

* Gross profit for a later period can now be lower, by the opening WIP.
* **Salary to Partners** can be slightly higher, by the day that was missing. Depreciation for a later period can be slightly lower. **Interest on Captial** can be higher for every partner after the first.
* Earlier-year columns that fall in a leap year can show slightly different depreciation, interest and salary.
* With **User Input**, a report with blank closing stock values now stops with a message. Enter **0** where there is no stock.
* These changes are 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-and-profit-and-loss-a-c.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.
