<@U4KT823RU> go to SuiteAnswers and search "Sample...
# suitescript
n
@lukasz go to SuiteAnswers and search "Sample script to prevent a transaction to post on a Locked Period and set it to the next Open Period" Maybe that will shed some light on the situation