Hello.
Customer require to close operating account to three different retained earning accounts and to identify what account have to be used is year-end closing process by funds:
I did my setup on Main accounts:

I added General ledger parameters:

I created several posting definitions to understand main difference between fund class:

I added Transaction posting definitions for closing and opening transactions by fund class:

I run year end closing process:

During year end closing process it seems that end result is taken based on Balance accounts not based on Profit and Loss accounts. Result is correct, but created transactions is odd:

Both transactions comes from Balance account since in PNL accounts I have just one posting for total amount 1239,67 so this amount makes me confused: will there be correct PNL balance if those values (Balance sheet total and PNL account total) will not match?
Question: How to do proper setup to perform year end closing by funds and what is main difference and usage of each fund class?
I performed my closing and setup based on available instructions and current test is run in MS Demo environment, so there is no development involved:
https://docs.microsoft.com/en-us/dynamics365/finance/public-sector/funds-public-sector
https://docs.microsoft.com/en-us/dynamics365/finance/public-sector/year-end-processing-public-sector
https://docs.microsoft.com/en-us/dynamics365/finance/public-sector/general-ledger-public-sector
https://docs.microsoft.com/en-us/dynamics365/finance/public-sector/advanced-ledger-entries-public-sector
https://docs.microsoft.com/en-us/dynamics365/finance/public-sector/posting-definitions-public-sector#examples-general-ledger-year-end-close