Guys, I want to take your opinion about a solution...
# suitescript
m
Guys, I want to take your opinion about a solution I am about to write. The finance team will import journals into NS, say 12K record, I am required to send these records to the client system to update it too. So I don't want to overload their system. I don't want to make a for loop, and send 12K requests (assuming NS will allow that). So what normally happens in that case? NS also doesn't have a queue for data, you can but push a script into a queue as a task, but you can't push data, and let a script take the data and handle them. I am thinking about taking these journals, saving them into an temporary record, and have a scheduled script that fetch like 100 records, and send them, then delete them. What do you think?
m
I would just add a custom transaction checkbox field to mark journals that were published to downstream system. The script can search for unpublished transactions and update the checkbox as it it sends them.
m
Hmm, got it. What I said about the queues is correct, right? is there a data queue in NS?
m
Correct, you would have to implement the queue yourself
m
Got it, thanks ❤️