File size: 3,053 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
105
106
107
108
109
110
111
112
113
114
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-AR-004
title: AutoInvoice rejects invalid lines and imports valid ones
module: O2C
process: Billing
priority: P2
priority_rationale: "Interface errors leave revenue unbilled. I4 x C4 x U3 = 48 -> P2 (map row BIL-01 is P1, score 100). Usage placeholder drove\

  \ tier: usage 2 would give P3."
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: 4
  change_likelihood: 4
  usage: 3
  usage_basis: ASSUMED (placeholder until Scout usage counts)
  risk: 16
  score: 48
  tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
  usage_sensitive: true
map_ids:
- BIL-01
- "O2C:INT-02"
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q08
- X-Q08
- X-Q09
type: negative
tags:
- ar
- autoinvoice
- fbdi
- negative
- o2c
- p2
roles:
- billing_specialist
preconditions:
- None beyond referenced data recipes.
data_recipes:
- DR-O2C-USR-001
- DR-O2C-AR-002
- DR-O2C-INT-002
test_values:
  valid: 540.0
  invalid: 432.0
  imported: 1
  rejected: 1
steps:
- n: 1
  action: seed_file
  target:
    template: DR-O2C-INT-002.autoinvoice_fbdi
  expected: "Interface rows: L1 bill-to {{data.customer_name}} 540.00 valid; L2 bill-to ZZ-NOCUST 432.00 invalid."
- n: 2
  action: navigate
  value: "{{nav.scheduled_processes}}"
  expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map).
- n: 3
  action: click
  target:
    role: button
    name: Schedule New Process
  expected: Schedule New Process dialog opens.
- n: 4
  action: fill
  target:
    role: combobox
    name: Name
  value: Import AutoInvoice
  expected: Process 'Import AutoInvoice' is selectable.
- n: 5
  action: click
  target:
    role: button
    name: OK
  expected: Process Details dialog opens.
- n: 6
  action: fill
  target:
    role: textbox
    name: Business Unit
  value: "{{org.o2c_bu}}"
  expected: Value accepted; no field-level error.
- n: 7
  action: fill
  target:
    role: textbox
    name: Transaction Source
  value: "{{data.ar_source_import}}"
  expected: Value accepted; no field-level error.
- n: 8
  action: click
  target:
    role: button
    name: Submit
  expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}."
- n: 9
  action: wait_for
  target:
    role: cell
    name: Status
  value: "{{run.process_id}}"
  expected: "Execution report: 1 imported (540.00), 1 rejected (432.00) with error 'invalid bill-to customer'."
- n: 10
  action: verify_api
  target:
    method: GET
    path: "{{env.rest_base}}/receivablesInvoices?q=PurchaseOrder='ZZ-AI-{{run.suffix}}'"
  expected: Exactly 1 invoice, 540.00 + tax.
expected_result: Exactly 1 invoice, 540.00 + tax.
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.