Let us test the result.
- Update the infobase by pressing F7 and start 1C:Enterprise as Turner.
- In the Payroll section, open the list of Employee accruals documents.
As you remember, document #2 includes rows both with the Bonus calculation type and with the Salary calculation type. Until now you could open the document.
- Try to open the document #2.
The platform displays an access violation message, which is exactly what we expect (see fig. 22.20).