In accounting transactions, take into account the accounting period corresponding to the transaction date.
Accounting periods and cost periods are system definitions with different purposes.
Before creating an accounting voucher, check the relevant period information and current transaction conditions.