Transcript
Page 1: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Learn to Effectively Script in ACL – The Keys To Getting

Started and Fully Automating Your Testing

Page 2: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

AuditNet and AuditSoftware.Net Collaboration

Brought to you by AuditSoftware.net and AuditNet ® , working together to provide

Practical audit software training

Resource links

Independent analysis

Tools to improve audit software usage

Today focused on providing practical data analysis training

Page 2

Page 3: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

About Jim Kaplan, CIA, CFE

Pre

siden

t an

d F

ou

nde

r of

Au

ditNe

t

®, the

glob

al re

sou

rce for a

udito

rs (now

ava

ilab

le on

App

le a

nd A

ndro

id d

evices)

Au

ditor, Web

Site

Gu

ru,

Intern

et for Au

ditors Pio

nee

r

Re

cipien

t of th

e IIA

’s 20

07 B

radfo

rd C

ad

mu

s Mem

orial A

wa

rd.

Au

tho

r of “The

Aud

itor’s G

uid

e to

Inte

rnet R

eso

urce

s” 2nd

Ed

ition

Page 3

Page 4: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

About AuditNet® LLC

• AuditNet®, the global resource for auditors, is available on the Web, iPad, iPhone and Android devices and features:

• Over 2,000 Reusable Templates, Audit Programs, Questionnaires, and Control Matrices

• Training without Travel Webinars focusing on fraud, audit software (ACL, IDEA, Excel), IT audit, and internal audit

• Audit guides, manuals, and books on audit basics and using audit technology

• LinkedIn Networking Groups

• Monthly Newsletters with Expert Guest Columnists

• Book Reviews

• Surveys on timely topics for internal auditors

Introductions

Page 4

Page 5: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Webinar Housekeeping

Page 5

This webinar and its material are the property of Auditnet LLC Cash Recovery Partners LLC. Unauthorized usage or recording of this webinar or any of its material is strictly forbidden. We are recording the webinar and you will be provided with a link to that recording as detailed below. Downloading or otherwise duplicating the webinar recording is expressly prohibited.

Webinar recording link will be sent via email within 5-7 business days.

NASBA rules require us to ask polling questions during the Webinar and CPE certificates will be sent via email to those who answer ALL the polling questions

The CPE certificates and link to the recording

will be sent to the email address you registered with in GTW. We are not responsible for delivery problems due to spam filters, attachment restrictions or other controls in place for your email client.

Submit questions via the chat box on your screen and we will answer them either during or at the conclusion.

After the Webinar is over you will have an opportunity to provide feedback. Please complete the feedback questionnaire to help us continuously improve our Webinars

If GTW stops working you may need to close and restart. You can always dial in and listen and follow along with the handout.

Page 6: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Disclaimers

6

The views expressed by the presenters do not necessarily represent the views, positions, or opinions of AuditNet® or the presenters’ respective organizations. These materials, and the oral presentation accompanying them, are for educational purposes only and do not constitute accounting or legal advice or create an accountant-client relationship. While AuditNet® makes every effort to ensure information is accurate and complete, AuditNet® makes no representations, guarantees, or warranties as to the accuracy or completeness of the information provided via this presentation. AuditNet® specifically disclaims all liability for any claims or damages that may result from the information contained in this presentation, including any websites maintained by third parties and linked to the AuditNet® websiteAny mention of commercial products is for information only; it does not imply recommendation or endorsement by AuditNet®

Page 7: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Richard B. Lanza, CPA, CFE, CGMA

• Over two decades of ACL and Excel software usage• Wrote the first practical ACL publication on how to use the

product in 101 ways (101 ACL Applications)• Has written and spoken on the use of audit data analytics for

over 20 years.• Received the Outstanding Achievement in Business Award by

the Association of Certified Fraud Examiners for developing the publication Proactively Detecting Fraud Using Computer Audit Reports as a research project for the IIA

• Recently was a contributing author of:• Global Technology Audit Guide (GTAG #13) Fraud in an

Automated World – Institute of Internal Auditors.• Data Analytics – A Practical Approach - research whitepaper

for the Information System Accountability Control Association.

• Cost Recovery – Turning Your Accounts Payable Department into a Profit Center – Wiley and Sons.

Please see full bio at www.richlanza.com

Page 8: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Learning Objectives

Understand the value of automating data work and how ACL scripts can be your link to continuous monitoring.

See how to build an ACL script in two minutes (with no prior experience) and the various approaches to writing scripts.

Walkthrough a variety of different built scripts (provided to attendees) to understand the range of ACL in pre-developed applications.

Learn how to maximize the new ACL script editor (version 9.3 and forward) to make script writing that much easier.

Understand how to create all types of ACL dialogs and menus for rolling out interactive scripts.

Learn how to manage and move scripts across various ACL documents, as well as, making desktop icons to run entire ACL programs with one click on your desktop. This includes working with ACL folders within the ACL document and scripts.

Walkthrough intermediate techniques including a Monthly Stratification script, using Loops and Groups, as well as, the difference between Sorting and Pre-Sorting data.

See how to complete a key word search using a subroutine script.

Learn and document best practices for script development to ensure knowledge transfer to others within the organization.

Page 8

Page 9: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Making an ACL Script in Two Minutes

Page 9

Page 10: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Value of ACL Scripting

Useful for routine tasks Can be for periodic audit steps

Also can assist in importing similar data• For example, OPEN FILE 1, EXTRACT RECORD,

OPEN FILE 2, EXTRACT RECORD, etc.

Build the quality in once

“Set it and forget it”

Learn how ACL works behind the scenes

Value of learning ACL for DOS

Page 10

Page 11: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Quick Process to Running Data

1. Know your audit objectives

2. Align reports to the objectives

3. Use past reports to model /refine reports

4. Set data requirements based on reports

5. Obtain, validate, and normalize data

6. Edit scripts for data needs

7. Run reports and document results

Page 11

Page 12: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Two Top Methods to Script

Add a new session to the ACL log file Save work to a script

Use the Script Recorder

Turn it on (Tools menu)

Turn it on again to save work

Page 12

Page 13: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Making a Script In Two Minutes

Open payables table

Statistics on all values

Stratify check amount value

Extract invoices above average (AVERAGE1)

Safety, Delete All, Pause, and Comments

Page 13

Page 14: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Polling Question #1

What comes first – identifying data sources, requesting data, building scripts, or listing report ideas?

Getting data sources

Listing report ideas

Requesting data

Building scripts

Page 14

Page 15: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Hardcoded and Introducing Dialogs

Page 15

Page 16: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

101 ACL Applications

Over 100 reports including all scripts, audit objectives, comments to scripts and suggested audit steps to take with the results

Page 16

Page 17: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

101 ACL ApplicationsSample Script Review

GL #6 – Entries Not Equal to Zero

GL #2 – Flattening Journal Entries

VEN_INTR_101 - Weighted DPO Calculation

Page 17

Page 18: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

101 ACL ApplicationsApproach of Scripts

Rename file names to equal script tables

Rename field names to equal script fields

Adjust all variables in the script

Page 18

Page 19: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

VEN_INTR_PTSPayables Test Version

Same functionality

Can be universally applied

Uses dialog boxes to:

Select a data

Select fields

Set an interest rate

Page 19

Page 20: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Polling Question #2

What is put at the beginning of a script to have it overwrite existing tables?

Set Overwrite On

Set Overwrite OK

Set Safety Off

Set Safety On

Page 20

Page 21: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Developing Each Dialog Box

Page 21

Page 22: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Project Item DropdownMost Versatile

Project Item

Tables

Fields – Can set type

Variables

Scripts

Page 22

Page 23: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Other Dialogs

Dropdown Numbers and Characters

Radio IF RADIO1=1

Checkbox IF PAYABLEREP=T DO SCRIPT ABC

Text Entry Numbers and Characters

Page 23

Page 24: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Script Editor Changes in One Picture

Page 24

Page 25: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Setting Folders

ACL folders can be established to manage script work.

Script command to set folder:SET FOLDER /_CRP_SCRIPTS_AND_FILES/Report_Output_Final_Files

Page 25

Page 26: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Polling Question #3

What is one feature not available in the script editors enhancements in ACL 9.3 & 10?

Word wrap

Line numbering

Spell check

Font style customizations

Page 26

Page 27: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Monthly Stratification Script & Working With Variables / Defined Fields

Page 27

Page 28: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Monthly Stratification ScriptLearning Objectives

Building Complex Conditional Fields

Ensuring Date Variables are Used Properly

Using Variables in Dialog Boxes

Using Variables in File Names

Adjusting Variables in Field Names

Export fields AS Another Field Name

Maximizing the Stratify Command Using KEY and the Crosstab function

Page 28

Page 29: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Polling Question #4

What word is used in the STRATIFY command to break at a key field?

BREAK

PARSE

KEY

PRIMARY KEY

Page 29

Page 30: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Group and Else

Page 30

Page 31: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Simple Yet Effective Group/Else

Reduces Processing Time / Passes Through Table Once

Allows Multiple IF Statements

GROUP IF

GROUP ELSE / ELSE IF / ELSE / END

Page 31

Page 32: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Key Words Search and Vendor to Employee Name Search

Page 32

Page 33: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

The Main Statement

Page 33

JOIN PKEY Blank_Field_ON FIELDS RECORD_NUMBER_ON

Search_ON_Field_CONV SKEY Blank_Field_Through WITH

RECORD_NUMBER_THROUGH Search_THROUGH_Field_CONV IF

FIND(ALLTRIM(Search_ON_Field_CONV),Input_Search_Through_EXT.Search_THROUGH_Field_CONV) TO "SEARCH_FILE_1"

OPEN MANY

Page 34: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Script Best Practices

Page 34

Page 35: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Script Best Practices

Set Safety On / Off

Set field/file variables up front in the script

Code in a text editor (i.e., Edit Pad Pro)

Comment throughout the code (you will forget what you did otherwise)

Page 35

Page 36: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Script Best Practices

PAUSE statements

Delete All OK

Delete temporary files at the end:

Delete sorted.fil OK

Delete format sorted OK

Master script to DO SCRIPTS

Page 36

Page 37: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Script Best Practices

Number Your Scripts A01, A02, etc.

SORT vs. PRESORT

Dialog Titles & Set Sizing of Dialog Boxes

SET FOLDER to Include Tables in Folders of Choice

Page 37

Page 38: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Polling Question #5

What function allows you to search THROUGH a certain field in ACL?

FIND ()

LOOK()

RIGHT()

MID()

Page 38

Page 39: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Questions?

Any Q

uestions?D

on’t be Shy!

Page 39

Page 40: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

In the Queue

Excel Pivot Tables and Graphing for Auditors – June 25

Building Simple Continuous Monitoring in ACL – July 2

Page 41: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

AuditSoftwareVideos.comV

ideos accessible for F

RE

E

subscriptions

Repeat

video and text instruction as m

uch as you need

Sam

ple files, scripts, and m

acros in A

CL

™, E

xcel

™, etc. available for purchase

Bite-size

video form

at (3 to 20 m

inutes)

Page 41

>> Professionally produced videos by instructors with over 20 years experience in ACL™, Excel™ , and more

Page 42: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Free Files for TodayAuditSoftwareVideos.com

June 7, 2012 – Introduction to S

cripting

June 19, 2012 – Interm

ediate S

cripting

October

9, 2012 – A

dvanced S

cripting

Page 42

Page 43: Learn to Effectively Script in ACL – The Keys To Getting Started and Fully Automating Your Testing

Thank You!

Jim KaplanAuditNet LLC®1-800-385-1625Email:[email protected]://www.auditnet.org

Richard B. Lanza, CPA, CFE, CGMACash Recovery Partners, LLCPhone: 973-729-3944Cell: 201-650-4150Fax: 973-270-2428Email: [email protected]://www.richlanza.com

Page 43


Recommended