File size: 2,859 Bytes
af1bee9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-OM-002
title: "Order validation: inactive customer and zero quantity are rejected"
module: O2C
process: Order capture
priority: P3
priority_rationale: "Required-field and LOV validations; low financial impact. I3 x C4 x U3 = 36 -> P3 (map row ORD-01 is P1, score 100). Usage\

  \ placeholder drove tier: usage 4 would give P2."
priority_source: case-level risk x usage (analysis/o2c-coverage-map.md §4 method) scored on what this case tests; not the row tier
priority_score:
  impact: 3
  change_likelihood: 4
  usage: 3
  usage_basis: ASSUMED (placeholder until Scout usage counts)
  risk: 12
  score: 36
  tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
  usage_sensitive: true
map_ids:
- ORD-01
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q01
- O2C-Q04
type: negative
tags:
- negative
- o2c
- order-management
- p3
- validation
roles:
- order_entry
preconditions:
- An inactive ZZ customer exists (DR-O2C-CUS-003).
data_recipes:
- DR-O2C-USR-001
- DR-O2C-CUS-001
- DR-O2C-ITM-001
- DR-O2C-PRC-001
- DR-O2C-CUS-003
test_values:
  qty: 0
steps:
- n: 1
  action: login_as
  value: "{{users.order_entry}}"
  expected: Home page loads for the order_entry test user; no error banner.
- n: 2
  action: navigate
  value: "{{nav.order_management}}"
  expected: Work area 'order_management' opens (path resolved from ui-glossary nav map).
- n: 3
  action: click
  target:
    role: link
    name: Create Order
  note: Tasks panel link
  expected: "'Create Order' page opens."
- n: 4
  action: fill
  target:
    role: combobox
    name: Customer
  value: "{{data.inactive_customer_name}}"
  expected: Inactive customer is not returned in the Customer list of values.
- n: 5
  action: fill
  target:
    role: combobox
    name: Customer
  value: "{{data.customer_name}}"
  expected: Value accepted; no field-level error.
- n: 6
  action: fill
  target:
    role: searchbox
    name: Search Item
  value: "{{data.o2c_item}}"
  expected: Value accepted; no field-level error.
- n: 7
  action: fill
  target:
    role: spinbutton
    name: Quantity
  value: '0'
  expected: Value accepted; no field-level error.
- n: 8
  action: click
  target:
    role: button
    name: Add
  expected: "Validation error: quantity must be greater than 0; no line added."
- n: 9
  action: click
  target:
    role: button
    name: Submit
  expected: "Submit blocked: order has no lines / required fields missing; order stays Draft."
expected_result: "Submit blocked: order has no lines / required fields missing; order stays Draft."
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.