This topic contains 4 replies, has 0 voices, and was last updated by Olivier Gagnon NC 8 years, 3 months ago.
-
AuthorPosts
-
July 26, 2016 at 7:25 am #6296
OB_TracyI am creating a RESTlet that accepts Time Entry data and creates/deletes records accordingly. It looks like it isn’t going to work because creating a Time Entry consistently takes around 10 seconds to process via scripts, UI and CSV import. I am expecting hundreds of entries to be passed through on a normal day, so this can easily take hours, making it difficult to get up-to-date information.
I just want to check with other users: how long does it take to save a Time Entry for you? Does 10+ seconds sound about right? I might just have to go back to the drawing board…
SOLVED. So it turns out that with the Project Management module, time totals were being recalculated every time a time bill was created/deleted. I found an option to make these recalculations asynchronous: Setup > Company > General Preferences > Asynchronous Project Plan Recalculation. Each time entry now takes ~0.12s.
This is a cached copy. Click here to see the original post. -
July 26, 2016 at 9:22 am #6297
Olivier Gagnon NC10 seconds per entry seems rather long. Do you have scripts or workflows running against time entries? Do you have a bunch of custom fields on them? That can all significantly affect performance.
-
July 26, 2016 at 12:15 pm #6298
egrubaughAs a user, I typically use the Weekly Timesheet view to enter my time, and I’m typically saving about 4-6 entries all at once; even saving multiple entries at a time never takes 10 seconds for me. Sandbox versus Production and internet connection speeds will also have significant impacts as well.
As far as the scripting goes, absolutely check for other scripts/workflows as Olivier Gagnon NC indicated. If you’d like to share your RESTlet code as well, perhaps there is some optimization we can help with..
-
July 27, 2016 at 1:25 am #6299
OB_TracyOlivier Gagnon NC I have tried deactivating the scripts and workflows that work with time entries and I still get 10 secs/entry. There are a few custom fields though, so I think I’ll try again with those deactivated.
@ergubaugh oddly I also get much better performance from the weekly timesheet; I haven’t yet found a way to leverage this in my SuiteScripts. I don’t think the RESTlet is the problem since saving time through the UI is also slow. I’ve attached the RESTlet anyway for interest’s sake: BasicRestlet.txt
Thanks for the feedback; at least I know now that 10 seconds is not normal. I will try disabling all SuiteScript-related features and debug from there.
-
July 27, 2016 at 5:25 am #6300
Olivier Gagnon NCYou can also try contacting NS Support. They have a whole Performance division that can help you figure things out.
-
AuthorPosts
You must be logged in to reply to this topic.