Download tests/cases/o2c/O2C-ACC-003.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 3.25 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-ACC-003.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/o2c/O2C-ACC-003.yaml
-
curl -L -o O2C-ACC-003.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-ACC-003.yaml
3.25 kB
| # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: O2C-ACC-003 | |
| title: Accounting for credit memo and adjustment | |
| module: O2C | |
| process: Accounting | |
| priority: P2 | |
| priority_rationale: "Non-invoice AR events account differently. I4 x C3 x U4 = 48 -> P2 (map row ACC-01 is P1, score 75). Usage placeholder drove\ | |
| \ tier: usage 3 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: 3 | |
| usage: 4 | |
| usage_basis: ASSUMED (placeholder until Scout usage counts) | |
| risk: 12 | |
| score: 48 | |
| tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 | |
| usage_sensitive: true | |
| map_ids: | |
| - ACC-01 | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| type: happy | |
| tags: | |
| - accounting | |
| - o2c | |
| - p2 | |
| - sla | |
| roles: | |
| - ar_manager | |
| preconditions: | |
| - None beyond referenced data recipes. | |
| data_recipes: | |
| - DR-O2C-USR-001 | |
| - DR-O2C-AR-007 | |
| - DR-O2C-PER-001 | |
| test_values: | |
| cm_rev: 108.0 | |
| cm_tax: 8.64 | |
| cm_rec: 116.64 | |
| adj: 30.0 | |
| steps: | |
| - n: 1 | |
| action: navigate | |
| value: "{{nav.scheduled_processes}}" | |
| expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map). | |
| - n: 2 | |
| action: click | |
| target: | |
| role: button | |
| name: Schedule New Process | |
| expected: Schedule New Process dialog opens. | |
| - n: 3 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Name | |
| value: Create Receivables Accounting | |
| expected: Process 'Create Receivables Accounting' is selectable. | |
| - n: 4 | |
| action: click | |
| target: | |
| role: button | |
| name: OK | |
| expected: Process Details dialog opens. | |
| - n: 5 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Ledger | |
| value: "{{org.ledger}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 6 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Mode | |
| value: Final | |
| expected: Value accepted; no field-level error. | |
| - n: 7 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Transfer to General Ledger | |
| value: 'Yes' | |
| 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: Succeeds; events for credit memo and adjustment accounted. | |
| - n: 10 | |
| action: verify_api | |
| target: | |
| method: GET | |
| path: "{{env.rest_base}}/receivablesCreditMemos?q=TransactionNumber='{{data.credit_memo_number}}'" | |
| expected: "Lines: Dr Revenue 108.00, Dr Tax 8.64, Cr Receivable 116.64." | |
| - n: 11 | |
| action: verify_api | |
| target: | |
| method: GET | |
| path: "{{env.rest_base}}/receivablesAdjustments?q=AdjustmentNumber='{{data.adjustment_number}}'" | |
| expected: Dr Adjustment activity 30.00, Cr Receivable 30.00; transferred to GL. | |
| expected_result: Dr Adjustment activity 30.00, Cr Receivable 30.00; transferred to GL. | |
| notes: | |
| - Stops at transfer/post to GL. AR-to-GL reconciliation is R2R (steering 9 Oct). | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |