Hi everyone! Using SuiteScript, how can I get if ...
# suitescript
e
Hi everyone! Using SuiteScript, how can I get if a given transaction is in a closed accounting period? I know about the field
postingperiod
, but it doesn't indicate if it is open or closed. The xml view of the transaction shows
periodclosed
in the fields, not nothing about
true
or
false
or something. Do I need to join the Accounting Periods record?
r
You need to do an accounting period search
1
👍 1
e
Thanks @rustyshackles!