I agree but my issue is more than that. At the end of the month and the beginning of the month, we are uploading thousands of journal entries, really thousands and for some reason, too long to explain, I have to find the current period.
So, in the before submit, i have to find the current period. By using SuiteQL, I will have to do thousands of database calls.
I would prefer to look in the 'context' and get the period. hence my question, is period store anywhere (else than in the database)