BusinessEvent_DateOccurred_InLockPeriod This means the transaction date is within a locked period in MYOB, To fix this, you’ll need to unlock or adjust the lock date in MYOB.
https://www.myob.com/au/support/myob-business/end-of-period/month-end-procedures/lock-a-period?productview=Browser