Skip to content

Instantly share code, notes, and snippets.

@daviddpark
Last active December 7, 2023 06:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviddpark/5295926 to your computer and use it in GitHub Desktop.
Save daviddpark/5295926 to your computer and use it in GitHub Desktop.
Greasemonkey/Tampermonkey script to pre-populate Netsuite Time Entry
// ==UserScript==
// @name Netsuite Daily Time Entry
// @namespace https://system.netsuite.com/app/accounting/transactions/timebill.nl
// @version 0.1
// @description Prepopulate with sensible values
// @match https://system.netsuite.com/app/accounting/transactions/timebill.nl*
// @copyright 2013, David Park
// ==/UserScript==
var t = setTimeout(function(){
document.getElementById("hours_fs").children[0].value = 8;
document.getElementById("customer_display").value = "The Most Frequent Project";
document.getElementById("inpt_item2").value = "Senior Consultant : David Park";
document.getElementById("isbillable_fs").click();
document.getElementById("inpt_payrollitem3").value = "Salary - Billable";
document.getElementById("memo").focus();}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment