# Searching for subaccounts and browsing it's related lines

**URL:** https://discuss.tryton.org/t/searching-for-subaccounts-and-browsing-its-related-lines/1762
**Category:** User
**Created:** [September 24, 2019, 9:02am UTC](https://discuss.tryton.org/t/searching-for-subaccounts-and-browsing-its-related-lines/1762 "2019-09-24T09:02:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [September 24, 2019, 9:02am UTC](https://discuss.tryton.org/t/searching-for-subaccounts-and-browsing-its-related-lines/1762/1 "2019-09-24T09:02:31Z")

</div>

Continuing the discussion from [Any possibility to order results in search filters](https://discuss.tryton.org/t/any-possibility-to-order-results-in-search-filters/1761/5):

In order to get all the subaccounts listed under ‘411111x’ you shoul open the General Ledger (under the Adeccounting / Reporting menu) and use the following filter: Code: 41111

From there you can browse all the lines of each account by double clicking each account.

Hope it helps!

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [September 24, 2019, 10:24am UTC](https://discuss.tryton.org/t/searching-for-subaccounts-and-browsing-its-related-lines/1762/2 "2019-09-24T10:24:43Z")

</div>

That doesn’t solve the problem, as I mentioned - we would like to see all the accounts lines underneath 41111 and not only the accounts needing to be further looked at separately.  
Also, with reporting, impossible to inspect other than the fiscal year chosen, under account plan either a specific fiscal year is chosen or not all all.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [September 24, 2019, 1:14pm UTC](https://discuss.tryton.org/t/searching-for-subaccounts-and-browsing-its-related-lines/1762/3 "2019-09-24T13:14:22Z")

</div>

@pokoli for you information, the account 4111 is the main receivable account.  
Here the problem is that they use probably one account per party instead of using the `party_required` feature which will bring all the lines under the same account.

Now a good improvement will be to allow the `tree_open` actions to work on many records. As the double click unselect other records, I think we could add under the relate menu the `tree_open` action. This would allow to trigger the action with multiple record. But the `tree_open` actions should be reviewed to ensure to work with many records.

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [September 24, 2019, 2:15pm UTC](https://discuss.tryton.org/t/searching-for-subaccounts-and-browsing-its-related-lines/1762/4 "2019-09-24T14:15:37Z")

</div>

Not at all, we use the party identifier…it’s that there are multiple [sub]accounts used for both clients and suppliers according to the nature of the invoice.  
Check out a brief into to the 40x (supplier) and 41x (client), even 42x for employees here:

> **[Plan comptable général (France)](https://fr.wikipedia.org/wiki/Plan_comptable_g%C3%A9n%C3%A9ral_(France))**
>
> Le plan comptable général, abrégé PCG, est une réglementation de normalisation comptable en France, édicté par l'Autorité des normes comptables (ANC). Le PCG définit les règles comptables applicables aux entreprises domiciliées en France, ainsi que la présentation de leurs comptes financiers, bilans, comptes de résultats, rapports et annexes.
> Le PCG est défini par le règlement no 2014-03 de l'ANC, homologué par le ministre chargé du Budget. Il se présente sous forme d'articles.
> Le premier PCG f...
