Tasks and Reminders

07 Feb
February 7, 2013

fingerWe all have those things that we need to do every day. They’re just a part of our daily routine that we’ve gotten used to doing day in and day out. But if there’s ever a day when we don’t do them, all kinds of things can happen.

We may be holding up another department’s process or reporting and dashboard data may be out of sync from reality. I recently ran across a routine task that prevents newly shipped cameras from connecting if this task is not performed daily.

Fortunately, NetSuite has some tools to help us remember to do the things that have become routine, tedious and boring. These are Tasks and Reminders.

Read more →

Return JSON with CodeIgniter

24 Jan
January 24, 2013

codeigniterWith the ever-increasing use of Javascript and AJAX related calls, it’s would be nice to be able to quickly build endpoints that returned JSON data for our web site. Whether your rolling your own code, using jQuery or using third-party tools like KendoUI, it’s very easy to return structured data in JSON format using CodeIgniter, a PHP framework from the fine folks at EllisLab.

CodeIgniter uses a simplified Model-View-Controller pattern to help you build websites quickly without worrying about the plumbing code that seems to go into every web site you build. In a typical CI web site, each page request, calls a controller which is responsible for determining what data gets loaded and which view of the data will be presented to the requester. When loaded, the model is responsible for determining how the data is retrieved. This data is then returned to the controller which passes it on to a View. Views are responsible for taking the structured data and formatting it for presentation to the user (typically in HTML).

Read more →

Expense Reports Part 4 – Deploying Scripts

20 Jan
January 20, 2013

Up to this point, we’ve defined the custom fields we’ll need to meet our requirements and we’ve created our JavaScript functions to provide the necessary functionality. Now we’re now ready to upload our script to NetSuite and create the script and deployment records.

Read more →

Expense Reports Part 3 – Scripting

19 Jan
January 19, 2013

As part of our Expense Report Customization project, there are three main features that will need to be scripted:

  • Ensuring that the expense amount for personal auto mileage is calculated properly.
  • Verifying that the employee entered a value in the attendees field when selecting Meals and Entertainment.
  • Displaying an alert when line item thresholds have been reached.

We’ll look at each of these in detail and discuss the code and the reasoning behind our choices.

Read more →

Be at war with your vices, at peace with your neighbors, and let every new year find you a better man.

– Benjamin Franklin

© Copyright - Rogue Systems, LLC