Systems Analysis and Design
Topic 7: Process Specifications

DEFINITION:


WHY?


GOALS:


SCOPE:


APPROACHES:


STRUCTURED ENGLISH:

Includes:

 

Sequence Structure:

Decision Structure:


Case Structure:


Repetition Structure:


Combining Constructs:

Problem Description:

First, if the amount of the invoice is over $1,000, it can't be paid until authorization is received from management, so the invoice appears on the cash requirements report. If the amount is less than $100, payment is authorized immediately, since it is costly to delay payment, only to process the invoice again in a few days. If the invoice amount is between $100 and $1,000, inclusive, payment is authorized unless it is 10 days old or less and there is no early payment discount. For the latter cases, payment is delayed since it will tie up capital without giving a return. Such invoices are set aside until the next time authorization is checked.

Structured English Description:

Notes:


DECISION TREES:

Step 1: Identify Conditions        
ConditionCondition Values
1. Total Invoice Amounta. Less than $100

b. From $100 to $1,000, inclusive

c. Greater than $1,000

2. Invoice Agea. Less than or equal to 10 days

b. Greater than 10 days

3. Early Payment Discounta. Yes

b. No

Step 2: Apply First Condition

Step 3: Apply Second Condition

Step 4: Evaluate Remaining Conditions

Step 5: Enter Actions

Step 6: Create Key and Titles

Using a Decision Tree




DECISION TABLES:

Step 1: Create the Empty Matrix

Table 2
12 3456 789 101112
Invoice Amount.. ... .... ...
Invoice Age.. ... .... ...
Payment Discount.. ... .... ...


Step 2: Enter First Row

Table 3
1 23 45 67 89 1011 12
Invoice Amount<100 <100<100 <100100-1000 100-1000100-1000 100-1000>1000 >1000>1000 >1000
Invoice Age. ... .... ... .
Payment Discount. ... .... ... .

Key
<100 less than $100
100-1000 $100 to $1000, inclusive
>1000 greater than $1000

Step 3: Entering Remaining Rows

Table 4
1 23 45 67 89 1011 12
Invoice Amount<100 <100<100 <100100-1000 100-1000100-1000 100-1000>1000 >1000>1000 >1000
Invoice Age10 or
less
10 or
less
>10 >1010 or
less
10 or
less
>10 >1010 or
less
10 or
less
>10 >10
Payment DiscountY NY NY NY NY NY N

Key
<100 less than $100
100-1000 $100 to $1000, inclusive
>1000 greater than $1000

Step 4: Identify Actions

Table 5
1 23 45 67 89 1011 12
Invoice Amount<100 <100<100 <100100-1000 100-1000100-1000 100-1000>1000 >1000>1000 >1000
Invoice Age10 or
less
10 or
less
>10 >1010 or
less
10 or
less
>10 >1010 or
less
10 or
less
>10 >10
Payment DiscountY NY NY NY NY NY N
Authorize PaymentX XX XX .X X.. ..
Set Invoice Aside. ... .X. ... ..
Put Invoice on CRR .... ... .XX XX

Key
<100 less than $100
100-1000 $100 to $1000, inclusive
>1000 greater than $1000

Table 6
1 23 45 67 89 1011 12
Invoice Amount<100 <100<100 <100100-1000 100-1000100-1000 100-1000>1000 >1000>1000 >1000
Invoice Age10 or
less
10 or
less
>10 >1010 or
less
10 or
less
>10 >1010 or
less
10 or
less
>10 >10
Payment DiscountY NY NY NY NY NY N
ActionA AA AA SA AP PP P

Key
<100 less than $100
100-1000 $100 to $1000, inclusive
>1000 greater than $1000
A Authorize payment
S Set invoice aside
P Put invoices on cash requirements report

Step 5: Create a Key

Step 6: Condense the Decision Table

Table 7

1-4 56 7-89-12
Invoice Amount<100 100-1000100-1000 100-1000>1000
Invoice Age____
10 or
less
10 or
less
>10____
Payment Discount____
YN ____
____
ActionA AS AP

Key

<100 less than $100
100-1000 $100 to $1000, inclusive
>1000 greater than $1000
A Authorize payment
S Set invoice aside
P Put invoices on cash requirements report