Salary payment - no accounting code

For double entry purpose, it seems no accounting code setup for salary payment.

Is there accounting code setup for ‘Assets/Stock’ of a company ?
We have an accounting module in Dolibarr. But if the products cannot be linked to an accounting code for Asset/stocks, then How do accountants evaluate total asset/Stocks of a company ?

Is there accounting code setup for ‘Accruals’ -(amount owed by the company to pay in future)?

for product, you can create two products with different accounting code.

But could you please tell me how an accountant could evaluate the total asset of the company or total stocks value saved in an accounting code. There is accounting code for sale , purchase , sale-intra community & sale-export under a product card. But what about the asset or total stocks value of all products ?