Edgar Valdes
01/16/2024, 9:07 PMdate
objects?
Each date
is a standalone javascript date object, not a trandate
in a transaction.
So, I have a date
object as input, and I want the corresponding accounting period (the internal ID is fine) as an output.
My approach so far: Get all the open periods in a single search and create a new object openPeriods
. For every date
object, search the openPeriods
to match the dates.alien4u
01/16/2024, 9:17 PM