Hi all! Has anyone had to get all open posting per...
# suitescript
d
Hi all! Has anyone had to get all open posting periods? I tried using the getField() and getSelectOptions() functions but it didn't return anything. Also because they have multibook, an accounting period saved search isn't returning the right data. Any thoughts/suggestions greatly appreciated!!
s
I think an accounting period search is your best bet, though I'm not sure exactly how multibook means you're getting 'wrong' data.
d
@stalbert sorry, I shouldn't say "wrong" but we only want primary book open accounting periods but there's no filter for just primary book, so posting periods that are open in the secondary book come up in the search but not actually a valid option for the primary book JE I'm creating