Skip to content

W-POST-TAIL-2: Cash/Inventory close ∅-by-data-state + ERPUserGuide core S&D chapter#47

Merged
red1oon merged 1 commit into
masterfrom
erp/post-tail-userguide
Jul 17, 2026
Merged

W-POST-TAIL-2: Cash/Inventory close ∅-by-data-state + ERPUserGuide core S&D chapter#47
red1oon merged 1 commit into
masterfrom
erp/post-tail-userguide

Conversation

@red1oon

@red1oon red1oon commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Drove the REAL compiled posters on a fresh scratch clone (idempiere_tail) over the 2 real CO cash journals + 3 real inventory drafts — zero seed authoring. Both classes turn out to be blocked by real engine-level data-state gates (not "never attempted"): C_Cash's 2 docs are IsActive='N' (CannotPostInactiveDocument); M_Inventory's 2 drafts have zero lines (@NoLines@) and the 1 completable draft has no cost data anywhere ("No Costs for TShirt - Red Large"). Neither blocker is worked around — that would be data mutation on an existing document, out of the seed-prep ruling's scope.
  • doc_poster.js gained deriveCash/deriveInventory (source-cited, reusable for future live documents), proven live via falsifier since no compiled-poster oracle exists to diff against for these specific documents.
  • Ledger stays 52 oracle-equivalent / 17-of-20 posters — Cash and Inventory join Production as named ⛔, each precisely cited (was 49→52 before this session; the card's optimistic "54" headline is corrected by evidence, not assumed).
  • docs/ERPUserGuide.md gains "The lay of the land" (navigation map, mermaid diagram) and "The standard flow — order to cash, procure to pay, books to reports" (the core S&D chapter, 8 steps, each citing its real proving witness). Addon lenses (POS/Kitchen/WH/Tenancy/4D-5D/Ninja) untouched.

Test plan

  • bash scripts/generate_post_tail_oracle.sh — real engine run on scratch clone, exit 0, log read
  • bash build/erp/run_witness.sh scripts/poc_post_tail.js — 🟢 PASS, all falsifiers load-bearing
  • Regression bundle re-run green: poc_post_b3 · poc_post_harden · poc_factacct_doc · poc_doc_poster · poc_morder_post · poc_alloc_fx · poc_money_post · poc_matchinv_fx · poc_gljournal · test_report_fin (TB 46574.97/300 intact)
  • mkdocs build --strict clean (no new broken anchors)
  • Foreign ~/idempiere-dev-setup/idempiere checkout left clean (oracle test file rsynced in per-run, removed after)

🤖 Generated with Claude Code

…rically driven) + ERPUserGuide core S&D chapter

Drove the REAL compiled posters on a fresh scratch clone (idempiere_tail) over the 2 real CO cash
journals + 3 real inventory drafts, zero seed authoring. Both classes turn out blocked by real
engine-level data-state gates, not "never attempted": C_Cash's 2 docs are IsActive=N
(CannotPostInactiveDocument, Doc.java:591-605); M_Inventory's 2 drafts have zero lines (@nolines@),
and the 1 completable draft has no cost data anywhere (No Costs for TShirt - Red Large,
Doc_Inventory.java:319-336). Neither worked around — mutating IsActive or seeding costs onto an
existing document is out of the seed-prep ruling's scope, same boundary the card drew for the
@nolines@ docs. doc_poster.js gained deriveCash/deriveInventory (source-cited, reusable) proven live
via falsifier since no oracle-diff exists to claim. Ledger stays 52/17-of-20 posters — Cash and
Inventory join Production as named ⛔, each precisely cited.

Also adds ERPUserGuide.md's "lay of the land" navigation map and the core S&D standard-flow chapter
(Sales Order → Shipment → AR → Allocation → Replenishment → PO/Receipt/Match → GL/Bank → Trial
Balance → Financial Reports), each step citing its real proving witness. Addon lenses untouched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@red1oon
red1oon merged commit 102f0eb into master Jul 17, 2026
1 check failed
red1oon added a commit that referenced this pull request Jul 17, 2026
…he OPEN item (#48)

Both halves of RESUME_ERP_POST_TAIL_AND_USERGUIDE.md are done and merged (#47); folds the two
posting-tail archive bullets into one, adds the ERPUserGuide line, and drops the now-stale OPEN
pointer. Net line count goes down, keeping PROGRESS.md closer to its 80-line budget.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@red1oon
red1oon deleted the erp/post-tail-userguide branch July 18, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant