The fiscal posting period for each transaction entry will correspond to the Date entered for the transaction.
Although you can override it, these periods should correspond correctly.
A single batch can contain entries with different fiscal periods.