Is it possible to schedule the closing of a period...
# accounting
p
Is it possible to schedule the closing of a period on a monthly basis using a script or a workflow ? The issue we're encountering is website orders directly get created in NetSuite so we have to wait to close the periods exactly at Midnight on the end of the month. Will it be possible to do this on a schedule ?
s
Do you have OneWorld, or intercompany transactions?
p
Yes OneWorld
s
I haven't done this with a script before, but the fields appear to be scriptable.. https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2019_2/script/record/accountingperiod.html
I would be concerned about auto-closing periods if there are any other transactions which require people-interaction prior to close.. things like creating elimination entries, which is a process I've only ever initiated via the UI.
What bad thing is happening when you don't close the period at midnight?
I would create a scheduled process in sandbox and test a script to close periods and see if you get the desired result.
p
well the problem is someone has to stay up & close the periods, works when it is still a working day the problem really is when the last day falls on weekends.
Thanks a lot shayes i'll give it a shot on SB
s
If the transactions entered after the close period are not hard-set to a prior date, what is the harm in the period remaining open until the next day?
(are people entering prior period transactions after the period is closed?)
p
The problem is transactions get synced over to RevPro on a set Schedule & people tend to enter transactions after the closing date if the period has not been closed.
Well on the records browser it says nlapiSubmitField & "False" for all of them, wouldn't this be something that stops the execution
s
Since 'submitField' isn't an option, You would want to test by loading the Accounting Period, changing the field values, and then saving the record.
👍 1