๐
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getData() { | |
| var recordType = "customrecord_sc_request"; | |
| var searchId = "customsearch_scm_eng_by_sc_12_mos"; | |
| var results = nlapiSearchRecord(recordType, searchId); | |
| if (!results || results.length === 0) { return None; } | |
| var data_all = []; | |
| function DataEntry(x, y) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name DEMO: Hide OpenAir schedule exception icons (bug workaround; 17 Jul 2020) | |
| // @namespace http://rymo.io/ | |
| // @version 0.1 | |
| // @description DEMO: Hides all schedule exception icons on the timesheet. | |
| // @author @rymoio | |
| // @match https://demo.openair.com/timesheet.pl?* | |
| // @run-at document-idle | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| slice("โโโโโโโโโโ", 0, floor(prop("Progress") * 10)) + slice("โโโโโโโโโโ", 0, ceil((1 - prop("Progress")) * 10)) + " " + format(prop("Progress") * 100) + "%" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (formatDate(prop("Due Date"), "YW") == formatDate(now(), "YW")) ? true : false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if(empty(prop("Due Date")), "N/A", if(dateBetween(prop("Due Date"), now(), "days") + 1 < 0, "Past Due", if(dateBetween(prop("Due Date"), now(), "days") + 1 == 0, "Today", if(dateBetween(prop("Due Date"), now(), "days") + 1 == 1, "Tomorrow", format(dateBetween(prop("Due Date"), now(), "days") + 1) + " days")))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://stackoverflow.com/questions/34146236/restart-heroku-local-on-file-change | |
| nodemon --exec "heroku local" --signal SIGTERM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #1d1d1d,#000000,#0ba8ca,#FFFFFF,#075566,#FFFFFF,#0ba8ca,#EB4D5C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Format a date field in SuiteAnalytics Workbook so that it sorts by month but displays month name | |
| TO_CHAR({date_field}, 'MM') || '-' || TO_CHAR({date_field}, 'MON') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ' | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" /> | |
| <div class="ui card" style="width:600px;"> | |
| <div class="content"> | |
| <div class="right floated meta"><i class="user circle icon"></i> ' || {custentity_atlas_svs_em_pm_list} || '</div> | |
| <div class="header">' || {entityid} || ' ' || {jobname} || '</div> | |
| <div class="meta">' || {customer} || '</div> | |
| </div> | |
| <div class="content"> | |
| <div class="ui three mini statistics"> |