Scripts Can Talk!

Scripts Can Talk!

Have you ever been frustrated by a script issue that you couldn’t figure out? If so, you need your scripts to talk to you!

One of the best ways to get useful information about scripts’ actions is to create useful execution logs.

Script Edit Back | Deploy Script | Actions TYPE User Event NAME Auto Invoice UE ID customscript_autoinvoice_ue

Consider the example above in which an error was thrown from a script that auto-generates customer invoices. Because debugging statements were placed in strategic places, a quick review of the execution log shows that a journal entry record was expected but not found. This gives both the end user and the developer useful information. Did an employee not follow correct processes? Can this error be ignored? If so, how might the developer suppress it?

Following are a few other ideas on how you can get your scripts to talk to you:
  • Create auto generated emails in the event of an error and include custom logging statements in the email so the offending transaction can be quickly found
  • Create custom records that log pertinent data and make that information easily accessible via a search or report
  • Create alerts that inform users in real-time if they have made an unacceptable entry

For more information contact us directly at

Andrew is a Developer Analyst for Keystone Business Services. His background in Accounting greatly helps him understand the business needs of customers. Andrew loves to automate business processes in order to make customers’ jobs easier and more efficient.