System Documentation
Techniques
“We're entering a new world in which
data may be more important than
software.”
-Tim O'Reilly
2
1
Introduction
3
Documentation
✔ Documentation consists of narratives, flowcharts, diagrams, and
other written materials that explain how a system works.
✔ Narrative description is the written, step-by-step explanation of
system components and how they interact.
4
Human-Readable Documentation Tools
1. Business Process Diagrams
(BPD)
2. Flowchart
3. Data Flow Diagram
(DFD)
5
Documentation & Auditing
✔ Auditing standards require that independent auditors understand
the automated and manual internal control procedures an entity
uses.
✔ One good way to gain this understanding is to use business process
models or flowcharts to document a system because such graphic
portrayals more readily reveal internal control weaknesses and
strengths.
6
2
Business Process Diagrams (BPDs)
7
Business Process Diagrams
✔ A business process diagram (BPD) is a visual way to describe the
different steps or activities in a business process.
✔ For example: BPDs for revenue cycle, expenditure cycle, payroll
cycle etc.
✔ The Business Process Modeling Initiative Notation Working Group
established standards for drawing BPDs.
8
BPD
Symbols
9
Example of Activities in Payroll Processing
10
11
Example of BPD in Payroll Processing
Guidelines for Preparing BPDs
1.
Identify and understand the business processes
2.
Ignore certain items
3.
Decide how much detail to include
4.
Organize diagram
5.
Enter each business process on the diagram
6.
Draw a rough sketch of the BPD
7.
Draw a final copy of the BPD
12
3
Flowcharts
13
Flowcharts
✔ Flowchart is an analytical technique that uses a standard set of
symbols to describe pictorially some aspect of an IS in a clear,
concise, and logical manner.
✔ Flowcharts record how business processes are performed and how
documents flow through the organization.
✔ They are also used to analyze how to improve business processes
and document flows.
14
15
Flowchart Symbols: Input/Output
16
Flowchart Symbols: Processing
17
Flowchart Symbols: Storage
Flowchart Symbols: Flow & Miscellaneous
18
Guidelines for Preparing Flowcharts
1.
Understand the system
2.
Identify the entities to be flowcharted
3.
Organize flowchart
4.
Clearly label all symbols
5.
Page connectors
6.
Draw a rough sketch of the flowchart
7.
Draw a final copy of the flowchart
19
Types of Flowcharts
✔ Document Flowcharts: Illustrate the flow of documents and data
among areas of responsibility within an organization.
✔ Internal Control Flowchart: Used to describe, analyze, and
evaluate internal controls, including identifying system strengths,
weaknesses, and inefficiencies.
✔ System Flowchart: Depicts the relationships among system input,
processing, storage, and output.
✔ Program Flowchart: Illustrates the sequence of logical operations
performed by a computer in executing a program.
20
21
Document Flowchart of a Payroll Processing
22
Document Flowchart of a Payroll Processing
System Flowchart of a Sales Processing
23
Relationship between System
and Program Flowchart
24
4
Data Flow Diagrams (DFDs)
25
Data Flow Diagram (DFD)
✔ A Data Flow Diagram (DFD) is a graphical description of the flow of data
within an organization, including data sources/ destinations, data flows,
transformation processes, and data storage.
26
Data Flow Diagram Symbols
27
28
29
30
31
Basic DFD Elements
32
DFD of Customer Payment Process
33
If the data flow separately, two lines are used.
34
Subdividing the DFD
✔ DFDs are subdivided into successively lower levels to provide
ever-increasing amounts of detail because few systems can be fully
diagrammed on one sheet of paper.
✔ Also, users have differing needs, and a variety of levels can better satisfy
differing requirements.
35
Subdividing the DFD
✔ Context Diagram: Highest-level DFD; a summary-level view of a system,
showing the data processing system, its input(s) and output(s), and their
sources and destinations.
✔ Context diagram can be broken down and extended into further detailed
levels like Level 1, Level 2 etc.
36
37
Context Diagram for Payroll Processing
38
Level 0 DFD for Payroll Processing
39
Level 1 DFD for Process 2.0 in Payroll Processing
Guidelines for Preparing DFDs
1.
Understand the system
2.
Ignore certain aspects of the system
3.
Determine system boundaries
4.
Develop a context diagram
5.
Identify data flows
6.
Group data flows
7.
Identify transformation processes
8.
Group transformation processes
40
Guidelines for Preparing DFDs
9.
Identify all files or data stores
10.
Identify all data sources and destinations
11.
Name all DFD elements
12.
Subdivide the DFD
13.
Give each process a sequential number
14.
Refine the DFD
15.
Prepare a final copy.
41
You are the systems analyst for the Wee Willie Williams Widget Works
(also known as Dub 5, which is a shortened version of 5 Ws). Dub 5
produces computer keyboard components. It has been producing
keyboards for more than 20 years and has recently signed an
exclusive 10-year contract to provide the keyboards for all Dell
personal computers. As the systems analyst, you have been assigned
the task of developing a level 0 DFD for Dub 5’s order processing
system. You have finished gathering all the information you need to
develop the first-pass DFD and now want to complete the diagram.
42
Ashton Fleming has asked you to document the cash receipts system at S&S. Ashton’s narrative of
the system follows:
Customer payments include cash received at the time of purchase and payments received in the
mail. At day’s end, the treasurer endorses all checks and prepares a deposit slip for the checks
and the cash. A clerk deposits the checks, cash, and deposit slip at the local bank each day.
When checks are received as payment for accounts due, a remittance slip is included with the
payment. The Treasurer sends this to accounts receivable. The remittance slips are used to
update the accounts receivable file at the end of the day. The remittance slips are stored in a
file drawer by date.
Every week, accounts receivable generates a cash receipts report and an aged trial balance using
the accounts receivable ledger. The cash receipts report is sent to Scott and Susan and one of
them reviews it. A copy of the aged trial balance is sent to the credit and collections
department where it is reviewed.
Required:
a. Develop a context diagram and a Level 0 DFD for the cash receipts system at S&S.
b. Prepare a document flowchart for the cash receipts system at S&S.
c. Prepare a business process diagram for the cash receipts system at S&S.
43
That’s All for Today!
44