RE: Where to Deploy Script for Timesheet

Hello,

I am trying to deploy a fieldChanged client script on a Timesheet that retrieves a custom field value from the project selected in the “Customer : Project” field and sets the value of the ‘class’ field on the time entry to that value. I am having difficulty finding the correct sublist ID of the time entries in the new weekly timesheet UI.

Any suggestions appreciated.

Thank you.

mds_ Rookie Asked on July 25, 2023 in SuiteScript.
Add Comment
1 Answers

Not 100% sure this is the record you’re talking about but you can start here and look around at the other time records:
https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2023_1/script/record/timesheet.html

Beginner Answered on July 26, 2023.

Thanks! I appreciate your response. In case you’re interested, I found this article which provided me with the sublist ID ‘timeitem’ which worked in my script: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1518113345.html#Weekly-Timesheet

The records browser isn’t quite up to date with the new timesheet ui IDs, apparently.

on July 26, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.