Is Accruals Possible in Dolibarr?

We have two important accounting requirements :

Accounting Requirement 1: Accruals = Suppose if we bought goods from a supplier and they will give us an invoice only after 3 months. Then we need to record the money to pay as Accruals. How do we do that in Dolibarr ?

Accounting Requirement 2: How can we store the Total stocks value of all Finished Goods and all Raw Materials separately as Assets for the company ?

There is Accounting codes defined for the sale and purchase of a product. After the sale or purchase of a product, we bind the invoices and we see the value in respective accounting codes on Account balance/Ledger. Similarly, We need to add an accounting code for asset ? Because Dolibarr does not store the stock value of a product in an accounting code. In this way, the accountant could evaluate the total asset of the company.

Thank You so much in Advance