PROP-023 · BOOKS, STATEMENTS & REPORTING Rev 1.0 · 22 Jul 2026

Cane Agency · Change proposal PROP-023 · spun out of the PROP-019 Q1 gate, Section F (Q-24…Q-28)สถาบันอ้อย · ข้อเสนอการเปลี่ยนแปลง PROP-023 · แยกออกจากด่านตรวจ Q1 ของ PROP-019 หมวด F (Q-24…Q-28)

Mill books, financial statements & reporting — the normative chart of accounts, the auto-posting map, the period lifecycle, statement construction, and the report dataset contractsบัญชีโรงงาน งบการเงิน และรายงาน — ผังบัญชีเชิงบรรทัดฐาน auto-posting map วงจรงวดบัญชี การประกอบงบการเงิน และสัญญาชุดข้อมูลรายงาน

Documentเอกสาร
PROP-023
Statusสถานะ
ACCEPTED & APPLIED — spec v0.16.0, 22 Jul 2026รับและปรับใช้แล้ว — spec v0.16.0, 22 ก.ค. 2569
Originที่มา
PROP-019 Q1 gate, Section F pass-2 review (client, 15 Jul 2026): Q-24…Q-28 were judged too compressed for verdict-by-verdict answers — books, statements and reporting is a domain of its own (an accounting subsystem with statutory context), so the five questions relocate here for depth-first exploration and one coherent set of decisions.การทบทวนรอบที่ 2 หมวด F ของด่านตรวจ Q1 ของ PROP-019 (ลูกค้า, 15 ก.ค. 2569): Q-24…Q-28 ถูกวินิจฉัยว่าบีบอัดเกินกว่าจะตอบทีละข้อ — บัญชี งบการเงิน และรายงานเป็น domain ของตัวเอง (ระบบบัญชีที่มีบริบทตามกฎหมาย) ห้าคำถามจึงย้ายมาที่นี่เพื่อสำรวจเชิงลึกและตัดสินเป็นชุดเดียวที่สอดคล้องกัน
Depends onพึ่งพา
PROP-010 (books/receivables/cash_management, auto-posting map earmark), PROP-011 (basis per party, cash book, books editions), PROP-012 (two-installment schedule, final-price true-up), PROP-013 (fund compensation postings), and the Q1 gate verdicts A-13 (rounding residual), A-14 (failed items), A-15/A-16 (credit interest model, offset order), A-17 (two-act approval pattern), A-20 (split statutory/strategic payments, permission-gated redaction — via PROP-022 OQ-8…OQ-14).PROP-010 (books/receivables/cash_management และ earmark ของ auto-posting map), PROP-011 (basis ราย party, cash book, รุ่น books), PROP-012 (ตารางสองงวด, true-up ราคาขั้นสุดท้าย), PROP-013 (การลงบัญชีเงินชดเชยกองทุน) และคำวินิจฉัยด่าน Q1: A-13 (เศษปัดเศษ), A-14 (item ล้มเหลว), A-15/A-16 (model ดอกเบี้ยสินเชื่อ, ลำดับ offset), A-17 (แบบแผนอนุมัติสอง act), A-20 (แยกการจ่ายตามกฎหมาย/กลยุทธ์, redact ตาม permission — ผ่าน OQ-8…OQ-14 ของ PROP-022)
Dateวันที่
15 Jul 202615 ก.ค. 2569

1. Why1. เหตุผล

PROP-010/011 gave the platform a real double-entry spine — contexts, entities, workflows, editions — but left four normative artifacts unauthored: the chart of accounts the seed promises (FR-87), the auto-posting map every money-event resolves through (FR-88), the rule that finishes the period lifecycle (FR-91's closed → locked), and the construction rules for the four statements (FR-92). The Q1 gate surfaced all four (Q-24…Q-27) plus the missing screen/dataset specs behind them (Q-28). These are not five independent gaps: the chart feeds the map, the map feeds the period, the period feeds the statements, and the statements feed the viewer — answering them one-by-one inside the gate record would fix symptoms while leaving the accounting subsystem undesigned. This proposal designs it once: a normative, versioned chart per capacity; a declarative posting map that is spec, not code; an explicit lock actor with governance; deterministic statement construction against Thai practice (TFRS for NPAEs is the reference frame for every party the platform serves); and dataset contracts for the report and statement surfaces. Unlike PROP-020/021/022 this is not a paid feature — it is spec-depth completion of already-accepted scope, and its Q1-critical minimums ride the PROP-019 amendment pass on acceptance.

PROP-010/011 ให้กระดูกสันหลังบัญชีคู่จริงแก่ platform — context, entity, workflow, รุ่น — แต่ทิ้งชิ้นงานเชิงบรรทัดฐานสี่ชิ้นที่ยังไม่ถูกเขียน: ผังบัญชีที่การ seed สัญญาไว้ (FR-87), auto-posting map ที่ทุกเหตุการณ์เงิน resolve ผ่าน (FR-88), กฎที่ปิดจบวงจรงวดบัญชี (closed → locked ของ FR-91) และกฎการประกอบงบทั้งสี่ฉบับ (FR-92) ด่าน Q1 พบทั้งสี่ (Q-24…Q-27) บวก spec หน้าจอ/ชุดข้อมูลที่หายไปเบื้องหลัง (Q-28) ทั้งห้าไม่ใช่ช่องว่างอิสระต่อกัน: ผังป้อน map, map ป้อนงวด, งวดป้อนงบ และงบป้อนตัวดู — การตอบทีละข้อในบันทึกด่านจะแก้อาการแต่ทิ้งระบบบัญชีที่ยังไม่ถูกออกแบบ ข้อเสนอนี้ออกแบบครั้งเดียว: ผังเชิงบรรทัดฐานมีรุ่นต่อ capacity; posting map แบบ declarative ที่เป็น spec ไม่ใช่ code; actor การ lock ชัดเจนพร้อมการกำกับ; การประกอบงบแบบ deterministic ตามแนวปฏิบัติไทย (TFRS for NPAEs คือกรอบอ้างอิงของทุกฝ่ายที่ platform ให้บริการ); และสัญญาชุดข้อมูลของ surface รายงานและงบ ต่างจาก PROP-020/021/022 นี่ไม่ใช่ฟีเจอร์จ่ายเพิ่ม — เป็นการเติมความลึกของ scope ที่ยอมรับแล้ว และขั้นต่ำที่วิกฤตต่อ Q1 ไปกับรอบแก้ไขของ PROP-019 เมื่อได้รับการยอมรับ

2. Principles2. หลักการ

P-1 · The chart is a normative artifact, not metadataผังบัญชีคือชิ้นงานเชิงบรรทัดฐาน ไม่ใช่ metadata Every account WF-36 seeds — code, bilingual name, hierarchy, statement line, lock class — is authored in the spec (graph-first) and versioned. ChartTemplate stops being four attributes of metadata and becomes the carrier of the actual account rows, one template per capacity. ทุกบัญชีที่ WF-36 seed — รหัส ชื่อสองภาษา ลำดับชั้น บรรทัดงบ ชั้นการล็อก — ถูกเขียนใน spec (graph-first) และมีรุ่น ChartTemplate เลิกเป็น metadata สี่ attribute และกลายเป็นผู้ถือแถวบัญชีจริง หนึ่ง template ต่อ capacity
P-2 · The posting map is spec, not codeposting map เป็น spec ไม่ใช่ code One declarative row per money-event × affected capacity: which accounts debit, which credit, from which source amount. An event without a map row must fail loudly at posting time — a silent default posting is an accountant's assumption made permanent (Q-25's exact complaint). หนึ่งแถว declarative ต่อเหตุการณ์เงิน × capacity ที่ได้รับผล: บัญชีใด debit บัญชีใด credit จากยอดต้นทางใด event ที่ไม่มีแถวใน map ต้องล้มเหลวแบบดังตอน post — การ post ด้วยค่า default เงียบ ๆ คือสมมติฐานของนักบัญชีที่ถูกทำให้ถาวร (ข้อร้องเรียนของ Q-25 ตรง ๆ)
P-3 · Periods lock by rule, not by hopeงวดบัญชี lock ด้วยกฎ ไม่ใช่ความหวัง closed → locked gets an explicit actor, an action on mill-period, an event, and a governance default (with an optional auto-lock timer). "Locked is final" is only true if something can lock. closed → locked ได้ actor ชัดเจน, action บน mill-period, event และค่าเริ่มต้นการกำกับ (พร้อม timer ล็อกอัตโนมัติแบบเลือกได้) "locked เป็นที่สุด" จะจริงก็ต่อเมื่อมีสิ่งที่ lock ได้
P-4 · Statements are deterministicงบการเงินเป็น deterministic Frozen snapshot + declared account→line mapping + declared cash-flow method = the same statement from any implementation, byte-for-byte. Reproducibility is written as an NFR and tested against the snapshot. snapshot ที่แช่แข็ง + mapping บัญชี→บรรทัดงบที่ประกาศ + วิธีงบกระแสเงินสดที่ประกาศ = งบเดียวกันจากทุก implementation แบบ byte ต่อ byte ความทำซ้ำได้ถูกเขียนเป็น NFR และทดสอบกับ snapshot
P-5 · Reports are contractsรายงานคือสัญญา FR-10 promises "exactly the on-screen dataset" — so each report tile and each statement surface carries a dataset contract: columns, filters, groupings, sort, export parity, and its redaction rule (FR-94 / A-20). No contract, no tile. FR-10 สัญญา "ชุดข้อมูลตรงตามบนหน้าจอเป๊ะ" — ดังนั้นทุก tile รายงานและทุก surface งบถือสัญญาชุดข้อมูล: คอลัมน์ ตัวกรอง การจัดกลุ่ม การเรียง ความเท่าเทียมของ export และกฎ redact ของมัน (FR-94 / A-20) ไม่มีสัญญา ไม่มี tile

3. The seeded chart of accounts (from Q-24)3. ผังบัญชีที่จะ seed (จาก Q-24)

The proposal authors one normative ChartTemplate per capacity — mill (accrual, split books), quota (accrual, unified→split), grower (cash basis, cash-book view), contractor (unified) — as graph data, Thai five-class numbering rendered as 5-digit codes by default (decided, client 21 Jul 2026): 1xxxx assets · 2xxxx liabilities · 3xxxx equity · 4xxxx revenue · 5xxxx costs/expenses. The graph authors each account once as a canonical 4-significant-digit skeleton (class → group → account, e.g. 5300); the WF-36 seed renders a party's LedgerAccount.code at its configured length by right-padding zeros. A sugar factory sets that length — new BooksProfile.coa_code_digits, 4…8, default 5 — in Factory Settings (the FR-112 family) before the seed runs; the length is immutable after the first journal posting, and mill-added custom accounts are exactly the configured length under a seeded prefix (every canonical code pads collision-free at any configured length). The mill template is the deep one; a sketch of its platform-relevant spine, codes shown at the default 5-digit rendering (the full list is the acceptance deliverable, Exhibit A):

ข้อเสนอนี้เขียน ChartTemplate เชิงบรรทัดฐานหนึ่งฉบับต่อ capacity — โรงงาน (เกณฑ์คงค้าง, books แยก), โควตา (คงค้าง, unified→split), ชาวไร่ (เกณฑ์เงินสด, มุมมอง cash book), ผู้รับเหมา (unified) — เป็นข้อมูลใน graph ใช้เลขห้าหมวดแบบไทย render เป็นรหัส 5 หลักโดย default (ตัดสินแล้ว, ลูกค้า 21 ก.ค. 2569): 1xxxx สินทรัพย์ · 2xxxx หนี้สิน · 3xxxx ส่วนของเจ้าของ · 4xxxx รายได้ · 5xxxx ต้นทุน/ค่าใช้จ่าย graph เขียนแต่ละบัญชีครั้งเดียวเป็นโครง canonical 4 หลักนัยสำคัญ (หมวด → กลุ่ม → บัญชี เช่น 5300); การ seed ของ WF-36 render LedgerAccount.code ของ party ตามความยาวที่ตั้งค่าด้วยการเติมศูนย์ท้าย โรงงานน้ำตาลตั้งความยาวนี้ — attribute ใหม่ BooksProfile.coa_code_digits, 4…8, default 5 — ใน Factory Settings (ตระกูล FR-112) ก่อนการ seed; ความยาวเปลี่ยนไม่ได้หลัง post รายการแรก และบัญชีที่โรงงานเพิ่มเองต้องยาวเท่าที่ตั้งค่าใต้ prefix ที่ seed ไว้ (ทุกรหัส canonical เติมศูนย์ได้โดยไม่ชนกันที่ทุกความยาว) template โรงงานคือฉบับลึก; โครงกระดูกส่วนที่เกี่ยวกับ platform แสดงรหัสตามการ render 5 หลักแบบ default (รายการเต็มคือ deliverable ตอนยอมรับ, Exhibit A):

CodeรหัสAccount (EN · ไทย)บัญชี (EN · ไทย)Mandated byบังคับโดย
11100Cash & bank · เงินสดและเงินฝากธนาคารเงินสดและเงินฝากธนาคาร · Cash & bankPROP-010 cash_management
12100Credit principal receivable (เงินเกี๊ยว) · ลูกหนี้เงินต้นสินเชื่อลูกหนี้เงินต้นสินเชื่อ (เงินเกี๊ยว) · Credit principal receivableA-15
12200Accrued interest receivable · ดอกเบี้ยค้างรับดอกเบี้ยค้างรับ · Accrued interest receivableA-15
13100Fund compensation receivable · ลูกหนี้เงินชดเชยกองทุนลูกหนี้เงินชดเชยกองทุน · Fund compensation receivablePROP-013
21100Cane payables — installments · เจ้าหนี้ค่าอ้อยตามงวดเจ้าหนี้ค่าอ้อยตามงวด · Cane payables — installmentsPROP-012
21200Post-dated cheques payable · เช็คลงวันที่ล่วงหน้าค้างจ่ายเช็คลงวันที่ล่วงหน้าค้างจ่าย · Post-dated cheques payableA-15
42100Interest income · รายได้ดอกเบี้ยรายได้ดอกเบี้ย · Interest incomeA-15
49100Rounding residual · เศษจากการปัดเศษเศษจากการปัดเศษ · Rounding residualA-13
51000Sugarcane statutory cost · ต้นทุนอ้อยต้นทุนอ้อย · Sugarcane statutory costPROP-012
52000Sugarcane strategic cost · ต้นทุนอ้อยกลยุทธ์ (own name at every permission grade — sub-level detail gated, OQ-4)ต้นทุนอ้อยกลยุทธ์ (แสดงชื่อจริงทุกระดับ permission — รายละเอียดระดับย่อยถูกจำกัดสิทธิ์ ตาม OQ-4)PROP-009 · A-20

This re-homes SPEC-PRD-MILL's orphan "strategic 5300 postings" reference to the renamed group (now 52000 — re-coded from the old 5300 group by client decision, 21 Jul 2026) and settles FR-94's display treatment: the account keeps its own name, collapsing to the consolidated account level for viewers without strategic permission (OQ-4 — the neutral display name is retired); SPEC-PRD-MILL's wording updates to 52000 when this proposal applies. Each row carries a lock class: system (posting-map targets — rename forbidden, deactivate forbidden) vs extensible (the mill may add child accounts under it). The grower template is a ~15-account cash chart whose cash_book view (PROP-011) reads directly off it.

สิ่งนี้ย้ายการอ้าง "การ post เชิงกลยุทธ์บัญชี 5300" ที่ลอยอยู่ใน SPEC-PRD-MILL มายังกลุ่มที่เปลี่ยนชื่อแล้ว (ตอนนี้คือ 52000 — เปลี่ยนรหัสจากกลุ่ม 5300 เดิมตามคำตัดสินลูกค้า 21 ก.ค. 2569) และข้อสรุปวิธีแสดงผลของ FR-94: บัญชีคงชื่อจริง โดยยุบรวมที่ระดับบัญชีสำหรับผู้ดูที่ไม่มี permission กลยุทธ์ (OQ-4 — เลิกใช้ชื่อแสดงผลกลาง) และถ้อยคำใน SPEC-PRD-MILL ปรับเป็น 52000 เมื่อข้อเสนอนี้ถูกนำไปใช้ และให้ชื่อกลางที่ FR-94 ต้องการ ทุกแถวถือชั้นการล็อก: system (เป้าหมายของ posting map — ห้ามเปลี่ยนชื่อ ห้ามปิดใช้) กับ extensible (โรงงานเพิ่มบัญชีลูกใต้มันได้) template ชาวไร่เป็นผังเงินสด ~15 บัญชีที่มุมมอง cash_book (PROP-011) อ่านจากมันตรง ๆ

4. The auto-posting map (from Q-25)4. auto-posting map (จาก Q-25)

A new graph block books.postingMap: one row per (money-event, affected capacity) → debit/credit legs referencing chart codes at the default 5-digit rendering (resolved per party at its configured length, Section 3), source-amount expression, idempotency key, and reversal convention. The row inventory this proposal must author — every money-event now known:

block ใหม่ใน graph books.postingMap: หนึ่งแถวต่อ (เหตุการณ์เงิน, capacity ที่ได้รับผล) → ขา debit/credit อ้างรหัสผังตามการ render 5 หลักแบบ default (resolve ตามความยาวที่แต่ละ party ตั้งค่า, ข้อ 3), นิพจน์ยอดต้นทาง, idempotency key และธรรมเนียมการกลับรายการ บัญชีรายการแถวที่ข้อเสนอนี้ต้องเขียน — ทุกเหตุการณ์เงินที่รู้จักแล้ว:

Money-eventเหตุการณ์เงินMill legs (sketch)ขาฝั่งโรงงาน (ร่าง)Counterparty booksบัญชีคู่สัญญา
Installment 1/2 postedงวดที่ 1/2 postDr 51000 / Cr 21100 → Cr 21200|11100Grower/quota: Dr cash / Cr cane revenueชาวไร่/โควตา: Dr เงินสด / Cr รายได้อ้อย
Rounding residual (A-13)เศษปัดเศษ (A-13)Cr 49100 (odd satang)— (platform-kept)— (แพลตฟอร์มเก็บ)
Failed item (A-14)item ล้มเหลว (A-14)non-posting of the failed leg + reschedule row next cycleไม่ post ขาที่ล้มเหลว + แถวจัดตารางใหม่รอบถัดไปmirroredสะท้อนกัน
เงินเกี๊ยว disbursement / cheque issued (A-15)เบิกเงินเกี๊ยว / ออกเช็ค (A-15)Dr 12100 / Cr 21200Grower: Dr cash / Cr loan payableชาวไร่: Dr เงินสด / Cr เจ้าหนี้เงินกู้
Interest accrual (A-15)ดอกเบี้ยค้างรับ (A-15)Dr 12200 / Cr 42100Grower: expense accrual (basis-dependent)ชาวไร่: ค่าใช้จ่ายค้างจ่าย (ตาม basis)
Offset at settlement (A-16: interest before principal)offset ตอนชำระ (A-16: ดอกเบี้ยก่อนเงินต้น)Dr 21100 / Cr 12200 → Cr 12100mirrored, two legsสะท้อนกัน สองขา
Final-price true-up (A-17)true-up ราคาขั้นสุดท้าย (A-17)± Dr 51000 / Cr 21100 · Dr 13100 (fund branch)grower/quota + fund (PROP-013)ชาวไร่/โควตา + กองทุน (PROP-013)
Strategic release (A-20)ปล่อย premium กลยุทธ์ (A-20)Dr 52000 / Cr 11100counterparty premium income; redaction per PROP-022 OQ-8รายได้ premium ฝั่งคู่สัญญา; redact ตาม OQ-8 ของ PROP-022

Conventions carried by the block, not per-row: postings are idempotent on (event id, party); corrections are reversal + repost (never edit — the append-only PROP-010 invariant); an unmapped event raises books.err.unmapped and blocks the batch item (A-14's failed path), never posts a guess. Per OQ-6 (decided 21 Jul 2026): a multi-party event is authored as one row per (event, capacity), joined by the shared event id, and the graph validator carries an automated balancing check — every event id's legs across all parties' rows must mirror (run at acceptance and on every graph change). The sketch above is not the deliverable: the acceptance deliverable is the full inventory, adding rows for fund levy contributions, contractor service payments (PROP-004), the onward premium relay, platform fees and the PROP-027 fuel-credit events (pump fill · offset vs installment 1 · void; mill and fuel-station books), plus a research pass for any money-event still unlisted.

ธรรมเนียมที่ block ถือ (ไม่ใช่รายแถว): การ post เป็น idempotent บน (event id, party); การแก้ไขคือกลับรายการ + post ใหม่ (ไม่แก้ไขเด็ดขาด — invariant แบบ append-only ของ PROP-010); event ที่ไม่มี map ยก books.err.unmapped และ block item ของ batch (เส้นทางล้มเหลวของ A-14) ไม่ post การเดาเด็ดขาด ตาม OQ-6 (ตัดสิน 21 ก.ค. 2569): event ที่แตะหลายฝ่ายเขียนเป็นหนึ่งแถวต่อ (event, capacity) เชื่อมด้วย event id ร่วม และ validator ของ graph มีการตรวจสมดุลอัตโนมัติ — ขาของทุก event id ข้ามแถวของทุกฝ่ายต้องสะท้อนกัน (รันตอนยอมรับและทุกครั้งที่ graph เปลี่ยน) ร่างข้างบนไม่ใช่ deliverable: deliverable ของการยอมรับคือบัญชีรายการฉบับเต็ม เพิ่มแถวเงินสมทบ levy กองทุน, ค่าบริการผู้รับเหมา (PROP-004), การส่งต่อ premium, ค่าธรรมเนียม platform และเหตุการณ์เครดิตน้ำมันของ PROP-027 (เติมที่ปั๊ม · หักกลบกับงวดที่ 1 · void; สมุดโรงงานและสถานีน้ำมัน) พร้อมรอบวิจัยค้นหาเหตุการณ์เงินที่ยังไม่อยู่ในรายการ

5. Period lifecycle & the lock (from Q-26)5. วงจรงวดบัญชีและการ lock (จาก Q-26)

Proposed completion of FR-91's walk: closing → closed stays WF-40 (finance_officer). closed → locked becomes a two-act action mirroring A-17 — finance_officer requests, mill_manager (or the configured approver chain) locks — surfaced on mill-period, firing PeriodLocked. An optional per-party auto-lock timer (default off; e.g. 60 days after close, or on next season open) locks unattended periods so "locked is final" cannot be indefinitely deferred. Reopen stays legal only from closed; a reopen voids the period's frozen statements (regenerated on re-close) and is itself an audited two-act action.

การเติมเต็มเส้นทางของ FR-91 ที่เสนอ: closing → closed คงเป็น WF-40 (finance_officer) ส่วน closed → locked เป็น action สอง act ตามแบบ A-17 — finance_officer ร้องขอ, mill_manager (หรือสายผู้อนุมัติที่ตั้งค่า) lock — แสดงบน mill-period และยิง PeriodLocked เพิ่ม timer ล็อกอัตโนมัติราย party แบบเลือกได้ (ค่าเริ่มต้นปิด; เช่น 60 วันหลังปิดงวด หรือเมื่อเปิดฤดูถัดไป) เพื่อ lock งวดที่ถูกทิ้ง ให้ "locked เป็นที่สุด" ไม่ถูกเลื่อนไปเรื่อย ๆ reopen ยังทำได้เฉพาะจาก closed; การ reopen ทำให้งบที่แช่แข็งของงวดเป็นโมฆะ (สร้างใหม่เมื่อปิดซ้ำ) และเป็น action สอง act ที่ถูก audit เช่นกัน

6. Statement construction (from Q-27)6. การประกอบงบการเงิน (จาก Q-27)

Each ChartTemplate row carries a statement_line binding (P&L line, balance-sheet line, or cash-flow classification operating/investing/financing), so the account→line mapping ships inside the chart — one artifact, one version. Cash-flow method: indirect for accrual parties (mill, quota — the TFRS-for-NPAEs norm their auditors expect) and direct for cash-basis growers (their statement is the categorized cash book — PROP-011's single-column view rolls up into it). The trial balance is method-free; the P&L and balance sheet are pure line-map rollups. NFR: regenerating any statement from its frozen FiscalPeriod snapshot is byte-identical across builds; presentation is bilingual with Buddhist-era dates farmer-side per platform convention.

ทุกแถวของ ChartTemplate ถือ binding statement_line (บรรทัดงบกำไรขาดทุน บรรทัดงบดุล หรือหมวดงบกระแสเงินสด ดำเนินงาน/ลงทุน/จัดหาเงิน) mapping บัญชี→บรรทัดงบจึงอยู่ในผัง — หนึ่งชิ้นงาน หนึ่งรุ่น วิธีงบกระแสเงินสด: ทางอ้อมสำหรับฝ่ายเกณฑ์คงค้าง (โรงงาน โควตา — บรรทัดฐาน TFRS for NPAEs ที่ผู้สอบบัญชีคาดหวัง) และทางตรงสำหรับชาวไร่เกณฑ์เงินสด (งบของพวกเขาคือสมุดเงินสดที่จัดหมวดแล้ว — มุมมองคอลัมน์เดียวของ PROP-011 ม้วนขึ้นเป็นงบ) งบทดลองไม่ขึ้นกับวิธี; งบกำไรขาดทุนและงบดุลเป็นการ rollup ตาม line map ล้วน NFR: การสร้างงบใหม่จาก snapshot ที่แช่แข็งของ FiscalPeriod ต้องเหมือนเดิมแบบ byte ต่อ byte ข้ามการ build; การนำเสนอเป็นสองภาษา ใช้ปีพุทธศักราชฝั่งชาวไร่ตามธรรมเนียม platform

7. Statement & report surfaces (from Q-28)7. surface งบและรายงาน (จาก Q-28)

Three homes, all with dataset contracts (P-5): (a) mill-stmt — a real screen (not a dialog): period picker, statement tabs (trial balance · P&L · balance sheet · cash flow), frozen-badge, export PDF/CSV regenerated against the redaction gate at render time (FR-94 neutral collapse; A-20 permission grades via PROP-022 OQ-8). (b) Agreement statements (FR-85) — a printable dialog of mill-str, inside the strategic gate, its dataset defined here but its permission key owned by PROP-022. (c) The five mill-reports tiles — intake, quality, quota fulfilment, payments, credit book — each specified as a dataset contract: columns (with chart/graph bindings), filters, groupings, default sort, and FR-10 export parity. The copy catalogue gains the statement-body and report-column strings the gate found missing.

สามบ้าน ทุกบ้านมีสัญญาชุดข้อมูล (P-5): (a) mill-stmt — หน้าจอจริง (ไม่ใช่ dialog): ตัวเลือกงวด แท็บงบ (งบทดลอง · กำไรขาดทุน · งบดุล · กระแสเงินสด) badge แช่แข็ง export PDF/CSV ที่สร้างใหม่ผ่าน gate การ redact ทุกครั้งที่ render (การยุบชื่อกลางของ FR-94; ระดับ permission ของ A-20 ผ่าน OQ-8 ของ PROP-022) (b) statement ของข้อตกลง (FR-85) — dialog พิมพ์ได้ของ mill-str อยู่ในกำแพงกลยุทธ์ ชุดข้อมูลนิยามที่นี่แต่ key permission เป็นของ PROP-022 (c) tile ทั้งห้าของ mill-reports — การรับอ้อย คุณภาพ ความสำเร็จโควตา การจ่ายเงิน สมุดสินเชื่อ — แต่ละอันถูกระบุเป็นสัญญาชุดข้อมูล: คอลัมน์ (พร้อม binding ผัง/graph) ตัวกรอง การจัดกลุ่ม การเรียงเริ่มต้น และความเท่าเทียม export ตาม FR-10 catalogue สำเนาข้อความได้ string เนื้องบและคอลัมน์รายงานที่ด่านพบว่าหาย

8. Model impact sketch8. ร่างผลกระทบต่อ model

Layerชั้นAdditions (extending books)สิ่งที่เพิ่ม (ขยาย books)
Graph blocksblock ใน graphbooks.chartTemplates (normative account rows per capacity, versioned, lock classes, statement_line bindings)(แถวบัญชีเชิงบรรทัดฐานต่อ capacity มีรุ่น ชั้นล็อก binding statement_line) · books.postingMap (event × capacity rows + conventions)(แถว event × capacity + ธรรมเนียม)
EntitiesentityChartTemplate gains the row payload + version; FiscalPeriod gains lock actor/timestamp + auto-lock config; BooksProfile gains coa_code_digits (4…8, default 5 — decided 21 Jul 2026); no new entities.ChartTemplate ได้ payload แถว + รุ่น; FiscalPeriod ได้ actor/เวลา lock + config ล็อกอัตโนมัติ; BooksProfile ได้ coa_code_digits (4…8, default 5 — ตัดสินแล้ว 21 ก.ค. 2569); ไม่มี entity ใหม่
EventseventPeriodLocked · PeriodReopened · PostingUnmapped
WorkflowsworkflowWF-57 period lock & reopen (two-act + timer; extends WF-40) · WF-37 amended to resolve through books.postingMap with the unmapped-fail guardWF-57 lock และ reopen งวด (สอง act + timer; ต่อจาก WF-40) · แก้ WF-37 ให้ resolve ผ่าน books.postingMap พร้อม guard ล้มเหลวเมื่อไม่มี map
RequirementsrequirementFR-131 normative chart seed (amends FR-87) · FR-132 posting-map resolution (amends FR-88) · FR-133 period lock/reopen (amends FR-91) · FR-134 statement construction rules (amends FR-92) · FR-135 report & statement dataset contracts (amends FR-10 scope)FR-131 seed ผังเชิงบรรทัดฐาน (แก้ FR-87) · FR-132 การ resolve posting map (แก้ FR-88) · FR-133 lock/reopen งวด (แก้ FR-91) · FR-134 กฎประกอบงบ (แก้ FR-92) · FR-135 สัญญาชุดข้อมูลรายงานและงบ (ขยาย FR-10)
NFRNFR-41 statement reproducibility (byte-identical from the frozen snapshot) · NFR-42 posting completeness (no unmapped event ever posts; fail-loud)NFR-41 ความทำซ้ำได้ของงบ (byte เหมือนเดิมจาก snapshot) · NFR-42 ความครบของการ post (event ไม่มี map ไม่ post เด็ดขาด; ล้มเหลวแบบดัง)
Screensหน้าจอmill-stmt (+ mill-period exit resolved) · FR-85 agreement-statement dialog spec on mill-str · five mill-reports dataset contracts + copy-catalogue strings(+ แก้ exit ของ mill-period) · spec dialog statement ข้อตกลงของ FR-85 บน mill-str · สัญญาชุดข้อมูล 5 รายงาน + string ใน catalogue สำเนาข้อความ

Nothing binds docs/graph/spec-graph.json until acceptance. The Q1-critical minimum riding the PROP-019 pass on acceptance: the mill chart rows + posting-map rows the 37 mill FRs already write cheques against, the lock rule, and the mill-stmt / report dataset contracts (the zero-assumption bar for the three Q-28 areas).

ไม่มีสิ่งใดผูกพัน docs/graph/spec-graph.json จนกว่าจะได้รับการยอมรับ ขั้นต่ำที่วิกฤตต่อ Q1 ที่ไปกับรอบของ PROP-019 เมื่อยอมรับ: แถวผังโรงงาน + แถว posting map ที่ FR ทั้ง 37 ของโรงงานเขียนเช็คไว้แล้ว, กฎ lock และสัญญาชุดข้อมูลของ mill-stmt / รายงาน (มาตรฐานห้ามตั้งสมมติฐานของสามพื้นที่ใน Q-28)

APPLIED — spec v0.16.0 (22 Jul 2026)ปรับใช้แล้ว — spec v0.16.0 (22 ก.ค. 2569) Draft ids renumbered at application: FR-131…135 → FR-155…159, NFR-41/42 → NFR-51/52, WF-57 → WF-64. The full chart templates (Exhibit A: 27 mill + 30 shared-SME rows) and the FULL 22-event posting map (incl. the OQ-6 research pass: fund levy, service payments, premium relay, platform fees, fuel credit, bank lending) are authored in the graph blocks books.chartTemplates / books.postingMap. Mirrored: SPEC-PRD/PWF-MILL 0.9.0, SPEC-ERD/DDD/UIX-MILL 0.8.0, SPEC-PRD-CFQ 0.6.1 / -CFC 0.4.1 / -CEC 0.1.1, SPEC-INDEX 0.2.3; FR-94 amended to same-name consolidation. เปลี่ยนเลข id ตอนปรับใช้: FR-131…135 → FR-155…159, NFR-41/42 → NFR-51/52, WF-57 → WF-64 template ผังฉบับเต็ม (Exhibit A: โรงงาน 27 + SME ร่วม 30 แถว) และ posting map ฉบับเต็ม 22 event (รวมรอบวิจัย OQ-6: levy กองทุน ค่าบริการ ส่งต่อ premium ค่าธรรมเนียม platform เครดิตน้ำมัน สินเชื่อธนาคาร) ถูกเขียนใน block books.chartTemplates / books.postingMap ของ graph เอกสารที่ mirror: SPEC-PRD/PWF-MILL 0.9.0, SPEC-ERD/DDD/UIX-MILL 0.8.0, SPEC-PRD-CFQ 0.6.1 / -CFC 0.4.1 / -CEC 0.1.1, SPEC-INDEX 0.2.3; FR-94 แก้เป็นการยุบรวมชื่อเดิม

9. Open questions9. คำถามที่ยังเปิด

The chart of accounts (relocated from PROP-019 Q-24)ผังบัญชี (ย้ายมาจาก Q-24 ของ PROP-019)

OQ-1 Numbering convention & hierarchy depthแบบแผนเลขบัญชีและความลึกลำดับชั้น

Adopt the Thai five-class convention sketched in Section 3 (CONFIRMED below — 5-digit default rendering), or mirror a specific published chart (e.g. the Revenue Department / DBD SME reference charts) for auditor familiarity? How many hierarchy levels are normative — class → group → account (3), or allow a 4th posting-sublevel? Sub-accounts per counterparty (one payable per farmer) as ledger dimensions or real child accounts?

ใช้แบบห้าหมวดแบบไทยตามร่างข้อ 3 (ยืนยันแล้วด้านล่าง — render 5 หลักโดย default) หรืออิงผังที่เผยแพร่จริง (เช่น ผังอ้างอิง SME ของกรมสรรพากร / กรมพัฒนาธุรกิจการค้า) เพื่อความคุ้นของผู้สอบบัญชี? ลำดับชั้นเชิงบรรทัดฐานกี่ระดับ — หมวด → กลุ่ม → บัญชี (3) หรือยอมให้มีระดับ post ที่ 4? บัญชีย่อยรายคู่สัญญา (เจ้าหนี้รายชาวไร่) เป็น dimension ของ ledger หรือบัญชีลูกจริง?

Recommendation:ข้อเสนอแนะ: five-class (code length decided — see below), 3 normative levels, counterparties as dimensions (party_id on the entry line) — real per-farmer accounts would explode the chart.ห้าหมวด (ความยาวรหัสตัดสินแล้ว — ดูด้านล่าง), 3 ระดับเชิงบรรทัดฐาน, คู่สัญญาเป็น dimension (party_id บนบรรทัด entry) — บัญชีจริงรายชาวไร่จะทำให้ผังระเบิด

Part-decided (client, 21 Jul 2026):ตัดสินบางส่วน (ลูกค้า, 21 ก.ค. 2569): the numbering convention — Thai five-class numbering CONFIRMED as the default convention (1 assets · 2 liabilities · 3 equity · 4 revenue · 5 costs/expenses; not a mirrored published chart), rendered at a 5-digit default, and each sugar factory may configure 4–8 digits (new BooksProfile.coa_code_digits, exposed in Factory Settings per the FR-112 family; set before the WF-36 seed, immutable after the first journal posting). The graph keeps the canonical 4-significant-digit skeleton; rendered codes right-pad zeros, so every configured length is collision-free; custom accounts are exactly the configured length under a seeded prefix. Still open: hierarchy depth (3 normative levels vs a 4th posting-sublevel) and counterparties-as-dimensions — the recommendation stands.แบบแผนเลขบัญชี — ยืนยันเลขห้าหมวดแบบไทยเป็นแบบแผน default (1 สินทรัพย์ · 2 หนี้สิน · 3 ส่วนของเจ้าของ · 4 รายได้ · 5 ต้นทุน/ค่าใช้จ่าย; ไม่อิงผังที่เผยแพร่ของหน่วยงานอื่น) render ที่ 5 หลักโดย default และโรงงานน้ำตาลแต่ละแห่งตั้งค่าได้ 4–8 หลัก (attribute ใหม่ BooksProfile.coa_code_digits เปิดให้ตั้งใน Factory Settings ตามตระกูล FR-112; ตั้งก่อนการ seed ของ WF-36 และเปลี่ยนไม่ได้หลัง post รายการแรก) graph เก็บโครง canonical 4 หลักนัยสำคัญ; รหัสที่ render เติมศูนย์ท้าย ทุกความยาวที่ตั้งจึงไม่ชนกัน; บัญชีที่เพิ่มเองยาวเท่าที่ตั้งค่าใต้ prefix ที่ seed ที่ยังเปิดอยู่: ความลึกลำดับชั้น (3 ระดับเชิงบรรทัดฐาน หรือมีระดับ post ที่ 4) และคู่สัญญาเป็น dimension — ข้อเสนอแนะยังคงเดิม

Decided — OQ-1 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-1 ปิด (ลูกค้า, 21 ก.ค. 2569): hierarchy depth — a 4th posting-sublevel is allowed: class → group → account (normative, seeded) → optional factory-added posting sublevels under an extensible account (e.g. 52100 under 52000), room permitting at the configured code length (a 4-digit factory has no 4th level). Counterparty sub-accounts — dimensions, never real child accounts: one account (e.g. 21100 Cane payables) with party_id on the journal line; reports and aging filter by party. Scale is the deciding fact: a factory can carry up to ~80,000 quota farmers — per-farmer accounts would put the chart at five orders of magnitude beyond its design.ความลึกลำดับชั้น — อนุญาตระดับ post ที่ 4: หมวด → กลุ่ม → บัญชี (เชิงบรรทัดฐาน จากการ seed) → ระดับ post ย่อยที่โรงงานเพิ่มเองใต้บัญชี extensible (เช่น 52100 ใต้ 52000) ตามที่ความยาวรหัสที่ตั้งค่าเอื้ออำนวย (โรงงาน 4 หลักไม่มีที่ว่างสำหรับระดับที่ 4) บัญชีย่อยรายคู่สัญญา — เป็น dimension เท่านั้น ไม่ใช่บัญชีลูกจริง: บัญชีเดียว (เช่น 21100 เจ้าหนี้ค่าอ้อย) พร้อม party_id บนบรรทัด entry; รายงานและ aging กรองตาม party ข้อเท็จจริงที่ชี้ขาดคือขนาด: โรงงานหนึ่งแห่งอาจมีหัวหน้าโควต้าถึง ~80,000 ราย — บัญชีจริงรายคนจะทำให้ผังใหญ่เกินกว่าที่ออกแบบไว้หลายเท่าตัว

OQ-2 Lock classes & mill extensionsชั้นการล็อกและการขยายโดยโรงงาน

Which seeded accounts are system-locked (posting-map targets certainly) vs extensible? May a mill deactivate an unused seeded account, or only hide it? When the platform ships a new chart version (a new mandated account, e.g. a future levy), how does an in-season migration run against parties with open periods?

บัญชี seed ใดถูกล็อกระดับ system (เป้าหมายของ posting map แน่นอน) และใดเป็น extensible? โรงงานปิดใช้บัญชี seed ที่ไม่ใช้ได้ไหม หรือได้แค่ซ่อน? เมื่อ platform ออกผังรุ่นใหม่ (บัญชีบังคับใหม่ เช่น levy ในอนาคต) การ migrate กลางฤดูทำอย่างไรกับ party ที่มีงวดเปิดอยู่?

Recommendation:ข้อเสนอแนะ: system accounts hide-only; chart versions apply additively, effective on the next period open.บัญชี system ซ่อนได้เท่านั้น; รุ่นผังใช้แบบเพิ่มเท่านั้น มีผลเมื่อเปิดงวดถัดไป

Part-decided (client, 21 Jul 2026):ตัดสินบางส่วน (ลูกค้า, 21 ก.ค. 2569): deactivation — seeded accounts are hide-only, never deactivated or deleted (confirmed); chart versioning — new chart versions apply additively only (add accounts, never change or remove existing ones), effective on the next period open (recommendation accepted).การปิดใช้ — บัญชีที่ seed ซ่อนได้เท่านั้น ห้ามปิดใช้หรือลบ (ยืนยันแล้ว); รุ่นผัง — รุ่นใหม่ใช้แบบเพิ่มเท่านั้น (เพิ่มบัญชีได้ ห้ามแก้หรือลบของเดิม) มีผลเมื่อเปิดงวดถัดไป (รับข้อเสนอแนะ)

Decided — OQ-2 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-2 ปิด (ลูกค้า, 21 ก.ค. 2569): lock class is derived, never hand-picked — every account referenced by a books.postingMap leg is system (rename/remove forbidden; all ten sketched accounts qualify); other seeded accounts and group parents are extensible; factory-added children are always user-managed. Adding a map row locks its target automatically — the lock set can never drift from the automation.ชั้นการล็อกถูก derive จากกฎ ไม่เลือกทีละบัญชีเด็ดขาด — ทุกบัญชีที่มีขาของ books.postingMap อ้างถึงเป็น system (ห้ามเปลี่ยนชื่อหรือลบ; ทั้งสิบบัญชีในร่างเข้าเกณฑ์); บัญชี seed อื่นและแม่กลุ่มเป็น extensible; บัญชีลูกที่โรงงานเพิ่มเองเป็นของผู้ใช้เสมอ เพิ่มแถว map แล้วเป้าจะล็อกเองโดยอัตโนมัติ — ชุดบัญชีที่ล็อกจึงไม่มีทาง drift ออกจากระบบอัตโนมัติ

OQ-3 Per-capacity variants & the graph homeฉบับราย capacity และบ้านใน graph

Four templates (mill, quota, grower, contractor) — do quota and contractor share one SME chart with flags, or stay distinct? And does the row payload live in books.chartTemplates (this proposal's sketch) or under dataModeling beside the persistence profiles? Whichever home wins must be the single source the seed, the posting map and the statement lines all reference.

สี่ template (โรงงาน โควตา ชาวไร่ ผู้รับเหมา) — โควตากับผู้รับเหมาใช้ผัง SME เดียวพร้อม flag หรือแยกกัน? และ payload แถวอยู่ใน books.chartTemplates (ตามร่างข้อเสนอนี้) หรือใต้ dataModeling ข้าง persistence profile? บ้านที่ชนะต้องเป็นแหล่งเดียวที่การ seed, posting map และบรรทัดงบอ้างร่วมกัน

Recommendation:ข้อเสนอแนะ: books.chartTemplates; quota/contractor share one SME template with capacity flags.books.chartTemplates; โควตา/ผู้รับเหมาใช้ template SME เดียวพร้อม flag ราย capacity

Decided — OQ-3 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-3 ปิด (ลูกค้า, 21 ก.ค. 2569): both recommendations accepted, the first broadened: ONE shared SME template with capacity flags spans the non-mill parties (quota · grower · contractor; the mill keeps its own deep template) — the deciding rationale is capacity fluidity under PROP-005: a grower may add the contractor capacity or upgrade to quota farmer at any time, a contractor may become a grower and/or quota farmer, and vice versa. One shared template means gaining a capacity seeds that capacity's flagged accounts additively into the party's existing books (the OQ-2 additive rule) — never a re-seed, never a second chart. The grower's cash-basis remains a BooksProfile setting (basis / ledger_view, PROP-011), not a separate chart. Row payload home: books.chartTemplates — the single source the seed, the posting map and the statement lines all reference.รับข้อเสนอแนะทั้งสองข้อ โดยขยายข้อแรก: template SME ร่วมหนึ่งเดียวพร้อม flag ราย capacity ครอบคลุม party ที่ไม่ใช่โรงงาน (โควตา · ชาวไร่ · ผู้รับเหมา; โรงงานคง template ฉบับลึกของตนเอง) — เหตุผลชี้ขาดคือความลื่นไหลของ capacity ตาม PROP-005: ชาวไร่อาจเพิ่ม capacity ผู้รับเหมาหรือเลื่อนขึ้นเป็นหัวหน้าโควต้าได้ทุกเมื่อ ผู้รับเหมาอาจกลายเป็นชาวไร่และ/หรือหัวหน้าโควต้า และกลับกัน template ร่วมเดียวหมายความว่า เมื่อได้ capacity ใหม่ บัญชีที่ flag ไว้ของ capacity นั้นจะถูก seed เพิ่มเข้าในสมุดบัญชีเดิมของ party (ตามกติกาเพิ่มเท่านั้นของ OQ-2) — ไม่ seed ซ้ำ ไม่มีผังที่สอง ส่วนเกณฑ์เงินสดของชาวไร่เป็นการตั้งค่าใน BooksProfile (basis / ledger_view, PROP-011) ไม่ใช่ผังแยก บ้านของ payload แถว: books.chartTemplates — แหล่งเดียวที่การ seed, posting map และบรรทัดงบอ้างร่วมกัน

OQ-4 The 52000 strategic group inside the gateกลุ่มกลยุทธ์ 52000 ในกำแพง

The strategic accounts exist in every mill's chart (the map needs targets) — but their visibility follows PROP-022's permission grades: does a viewer without str_view see the neutral FR-94 name, or no 52xxx row at all? Are strategic account balances excluded from statements rendered for consent-shared bank viewers (PROP-011 Q5 gave banks the full statement)?

บัญชีกลยุทธ์มีอยู่ในผังของทุกโรงงาน (map ต้องมีเป้า) — แต่การมองเห็นตามระดับ permission ของ PROP-022: ผู้ดูที่ไม่มี str_view เห็นชื่อกลางตาม FR-94 หรือไม่เห็นแถว 52xxx เลย? ยอดบัญชีกลยุทธ์ถูกตัดออกจากงบที่ render ให้ธนาคารผู้ดูผ่านความยินยอมไหม (Q5 ของ PROP-011 ให้ธนาคารเห็นงบเต็ม)?

Recommendation:ข้อเสนอแนะ: neutral-name collapse everywhere below full permission (amounts stay in totals — statements must still balance); banks see the collapsed form.ยุบเป็นชื่อกลางทุกระดับที่ต่ำกว่า permission เต็ม (จำนวนยังอยู่ในยอดรวม — งบต้องยังสมดุล); ธนาคารเห็นแบบยุบ

Decided — OQ-4 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-4 ปิด (ลูกค้า, 21 ก.ค. 2569): same-name consolidation — no rename. A viewer without strategic permission sees 52000 Sugarcane strategic cost under its own name, consolidated at the account level: no 4th posting-sublevel breakdown, no per-agreement or per-party (dimension) detail; the amount stays inside every total, so statements always balance. This supersedes FR-94's neutral display name ("Other procurement expense") — on application, FR-94 amends from rename-to-neutral to same-name consolidation. Banks viewing consent-shared statements see exactly the same collapsed same-name form; full sub-level and agreement detail remains inside the mill's strategic permission gate (PROP-022).ยุบรวมในชื่อเดิม — ไม่เปลี่ยนชื่อ ผู้ดูที่ไม่มี permission กลยุทธ์เห็น 52000 ต้นทุนอ้อยกลยุทธ์ในชื่อจริงของมัน แบบยุบรวมที่ระดับบัญชี: ไม่แสดงระดับ post ที่ 4 ไม่แสดงรายละเอียดรายข้อตกลงหรือราย party (dimension); จำนวนเงินยังอยู่ในยอดรวมทุกรายการ งบจึงสมดุลเสมอ คำตัดสินนี้แทนที่ชื่อแสดงผลกลางของ FR-94 ("ค่าใช้จ่ายจัดหาอื่น") — เมื่อนำไปใช้ FR-94 จะถูกแก้จากการเปลี่ยนชื่อเป็นการยุบรวมในชื่อเดิม ธนาคารที่ดูงบผ่านความยินยอมเห็นแบบยุบชื่อเดิมเดียวกันทุกประการ; รายละเอียดระดับย่อยและรายข้อตกลงทั้งหมดอยู่ในกำแพง permission กลยุทธ์ของโรงงาน (PROP-022)

The auto-posting map (relocated from PROP-019 Q-25)auto-posting map (ย้ายมาจาก Q-25 ของ PROP-019)

OQ-5 Normative home & formatบ้านเชิงบรรทัดฐานและรูปแบบ

Graph block (machine-readable, implementation variable names bind to it per project rule) vs a spec-document appendix (auditor-readable)? If both, which is canonical? And is the leg amount an expression language (source.net_amount × rate) or a named source-field enum?

block ใน graph (เครื่องอ่านได้ ชื่อตัวแปร implementation ผูกกับมันตามกฎโครงการ) หรือภาคผนวกเอกสาร spec (ผู้สอบบัญชีอ่านได้)? ถ้าทั้งคู่ อันไหน canonical? และยอดของขาเป็นภาษานิพจน์ (source.net_amount × rate) หรือ enum ของ field ต้นทางที่ตั้งชื่อ?

Recommendation:ข้อเสนอแนะ: graph canonical, docs rendered from it (the PROP-018 pattern); named source fields, no expression language.graph เป็น canonical, เอกสาร render จากมัน (แบบแผน PROP-018); ใช้ field ต้นทางตั้งชื่อ ไม่มีภาษานิพจน์

Decided — OQ-5 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-5 ปิด (ลูกค้า, 21 ก.ค. 2569): both recommendations accepted — the posting map is authored in the graph as canonical (books.postingMap; spec documents are rendered from it, the PROP-018 pattern), and each leg's amount is a named source field (e.g. the CreditItem's principal_amount) — no expression language; any arithmetic (rates, splits) must exist as a field on the source record computed by its owning workflow, so every posted number traces to an exact field on an exact record.รับข้อเสนอแนะทั้งสองข้อ — posting map เขียนใน graph เป็น canonical (books.postingMap; เอกสาร spec render จากมัน ตามแบบแผน PROP-018) และยอดของแต่ละขาเป็น field ต้นทางตั้งชื่อ (เช่น principal_amount ของ CreditItem) — ไม่มีภาษานิพจน์; การคำนวณใด ๆ (อัตรา การแบ่ง) ต้องมีอยู่เป็น field บนระเบียนต้นทางที่ workflow เจ้าของคำนวณไว้ ทุกตัวเลขที่ post จึงสืบกลับได้ถึง field และระเบียนที่แน่ชัด

OQ-6 Row completeness & multi-party fan-outความครบของแถวและการกระจายหลายฝ่าย

Is Section 4's inventory complete — or are there money-events still unmapped (fund levy contributions, service payments (PROP-004), onward premium relay, platform fees)? For one event touching three parties (quota farmer relaying to sub-farmers), is the fan-out one map row with three capacity legs, or three rows joined by the event id? Who verifies both sides mirror (a balancing test in the graph validator)?

บัญชีรายการข้อ 4 ครบไหม — หรือยังมีเหตุการณ์เงินไม่มี map (เงินสมทบ levy กองทุน, การจ่ายค่าบริการ (PROP-004), การส่งต่อ premium, ค่าธรรมเนียม platform)? event เดียวแตะสามฝ่าย (หัวหน้าโควต้าส่งต่อให้ลูกไร่) การกระจายเป็นหนึ่งแถวสามขา capacity หรือสามแถวเชื่อมด้วย event id? ใครตรวจว่าสองฝั่งสะท้อนกัน (การทดสอบสมดุลใน validator ของ graph)?

Recommendation:ข้อเสนอแนะ: one row per (event, capacity) joined by event id; add a graph-validator balancing check as part of acceptance.หนึ่งแถวต่อ (event, capacity) เชื่อมด้วย event id; เพิ่มการตรวจสมดุลใน validator ของ graph เป็นส่วนของการยอมรับ

Premise refreshed (17 Jul 2026, OQ pass 2):ปรับข้อตั้ง (17 ก.ค. 2569, ทบทวน OQ รอบ 2): PROP-027 has applied (v0.10.0) since this inventory was written: the fuel-credit money events join the unmapped-row list — pump fill (FuelCredit open), settlement offset against installment 1, and void — with rows needed for BOTH the mill and the fuel station (its own party per PROP-027); money at baht 2-dp per A-43.PROP-027 ใช้เป็น spec แล้ว (v0.10.0) หลังบัญชีรายการนี้ถูกเขียน: เหตุการณ์เงินของเครดิตน้ำมันต้องเข้าบัญชีแถวที่ยังไม่มี map — การเติมที่ปั๊ม (FuelCredit เปิด), การหักกลบกับงวดที่ 1 ตอนชำระ, และการ void — ต้องมีแถวทั้งฝั่งโรงงานและฝั่งสถานีน้ำมัน (เป็น party ของตนเองตาม PROP-027); เงินเป็นบาททศนิยม 2 ตำแหน่งตาม A-43

Decided — OQ-6 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-6 ปิด (ลูกค้า, 21 ก.ค. 2569): all three recommendations accepted. (1) Completeness: the full money-event inventory is an acceptance deliverable of this proposal — it must add rows for fund levy contributions, contractor service payments (PROP-004), the quota→farmer onward premium relay, platform fees, and the PROP-027 fuel-credit events (pump fill · offset against installment 1 · void; mill AND fuel-station books) — and acceptance includes a research pass over the whole spec/graph (and the chart templates it seeds) for any money-event still unlisted, before the rows freeze; NFR-42's fail-loud rule makes any miss a blocking error, never a silent gap. (2) Fan-out: one row per (event, capacity), joined by the shared event id — each party's row stays simple; the event id links the mill's, the quota farmer's and the sub-farmer's rows into one money-event. (3) Mirroring: an automated balancing check in the graph validator — for every event id, the debit/credit legs across all parties' rows must mirror — run at acceptance and on every graph change.รับข้อเสนอแนะทั้งสามข้อ (1) ความครบ: บัญชีรายการเหตุการณ์เงินฉบับเต็มเป็น deliverable ของการยอมรับข้อเสนอนี้ — ต้องเพิ่มแถวสำหรับเงินสมทบ levy กองทุน, การจ่ายค่าบริการผู้รับเหมา (PROP-004), การส่งต่อ premium จากหัวหน้าโควต้าสู่ลูกไร่, ค่าธรรมเนียม platform และเหตุการณ์เครดิตน้ำมันของ PROP-027 (เติมที่ปั๊ม · หักกลบกับงวดที่ 1 · void; ทั้งสมุดโรงงานและสถานีน้ำมัน) — และการยอมรับรวมรอบวิจัยค้นหาทั่วทั้ง spec/graph (และ chart template ที่มัน seed) หาเหตุการณ์เงินที่ยังไม่อยู่ในรายการ ก่อนแถวถูกแช่แข็ง; กฎล้มเหลวแบบดังของ NFR-42 ทำให้การตกหล่นเป็น error ที่ block เสมอ ไม่เงียบหาย (2) การกระจาย: หนึ่งแถวต่อ (event, capacity) เชื่อมด้วย event id ร่วม — แถวของแต่ละฝ่ายเรียบง่าย; event id ร้อยแถวของโรงงาน หัวหน้าโควต้า และลูกไร่เข้าเป็นเหตุการณ์เงินเดียว (3) การสะท้อน: การตรวจสมดุลอัตโนมัติใน validator ของ graph — ทุก event id ขา debit/credit ข้ามแถวของทุกฝ่ายต้องสะท้อนกัน — รันตอนยอมรับและทุกครั้งที่ graph เปลี่ยน

OQ-7 Reversal conventionธรรมเนียมการกลับรายการ

Corrections as red-storno (negative amounts on the same sides) or black reversal (mirrored debit/credit)? Thai bookkeeping practice generally expects black reversal; storno keeps turnover statistics clean. One convention platform-wide, fixed forever (it shapes every report reading turnover).

การแก้ไขเป็น red storno (ยอดติดลบด้านเดิม) หรือกลับรายการแบบ black (สลับ debit/credit)? แนวปฏิบัติบัญชีไทยโดยทั่วไปคาดหวังแบบ black; storno ทำให้สถิติ turnover สะอาด เลือกหนึ่งธรรมเนียมทั้ง platform ตายตัวตลอดไป (มันกำหนดทุกรายงานที่อ่าน turnover)

Recommendation:ข้อเสนอแนะ: black reversal with a reverses_entry_id link so reports can net when needed.black reversal พร้อมลิงก์ reverses_entry_id ให้รายงาน net ได้เมื่อจำเป็น

Decided — OQ-7 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-7 ปิด (ลูกค้า, 21 ก.ค. 2569): recommendation accepted — black reversal, platform-wide and permanent: a correction posts the same amount on the opposite sides (never negative amounts), matching Thai bookkeeping expectation. Every reversal entry carries a reverses_entry_id link to the entry it cancels, so any report needing clean turnover nets the linked pairs programmatically. This is the convention the books.postingMap block declares (Section 4: reversal + repost).รับข้อเสนอแนะ — black reversal ทั้ง platform ตายตัวตลอดไป: การแก้ไข post ยอดเดิมด้านตรงข้าม (ไม่ใช้ยอดติดลบเด็ดขาด) ตรงตามความคาดหวังของการบัญชีไทย ทุก entry กลับรายการถือลิงก์ reverses_entry_id ชี้ entry ที่มันยกเลิก รายงานที่ต้องการ turnover สะอาดจึง net คู่ที่เชื่อมกันได้เชิงโปรแกรม นี่คือธรรมเนียมที่ block books.postingMap ประกาศ (ข้อ 4: กลับรายการ + post ใหม่)

OQ-8 Interest cadence & day count (the A-15 residual)รอบดอกเบี้ยและ day count (ตกค้างจาก A-15)

A-15 left day-count basis and posting cadence open, and they are posting-map parameters: accrue daily but post monthly (compact books) or post daily (perfect audit trail)? ACT/365 fixed (Thai bank norm) or ACT/ACT? The offset event (A-16) must read the accrued balance as of the settlement date regardless of cadence.

A-15 ทิ้ง day count และรอบการ post ไว้ และทั้งคู่เป็น parameter ของ posting map: คิดรายวันแต่ post รายเดือน (บัญชีกะทัดรัด) หรือ post รายวัน (audit trail สมบูรณ์)? ACT/365 fixed (บรรทัดฐานธนาคารไทย) หรือ ACT/ACT? event offset (A-16) ต้องอ่านยอดค้างรับ ณ วันชำระ ไม่ว่ารอบเป็นแบบใด

Recommendation:ข้อเสนอแนะ: ACT/365 fixed; daily accrual, monthly posting + a settlement-date true-to-day accrual on offset.ACT/365 fixed; คิดรายวัน post รายเดือน + accrual ถึงวันจริงเมื่อ offset

Decided — OQ-8 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-8 ปิด (ลูกค้า, 21 ก.ค. 2569): recommendation accepted — ACT/365 fixed day count (the Thai bank norm) and monthly posting: interest accrues daily off-ledger, one accrual entry posts per period, and the offset event (A-16) posts a true-to-day accrual up to the settlement date before it reads the balance. Per A-43 (compounding on the POSTED ledger balance) this means monthly compounding — accepted as the intended consequence, no amendment to A-43. Day count and cadence are books.postingMap block-level parameters, fixed at these values platform-wide.รับข้อเสนอแนะ — day count ACT/365 fixed (บรรทัดฐานธนาคารไทย) และ post รายเดือน: ดอกเบี้ยคิดรายวันนอก ledger, post entry accrual หนึ่งรายการต่องวด และ event offset (A-16) post accrual ถึงวันชำระจริงก่อนอ่านยอด ตาม A-43 (ทบต้นบนยอด ledger ที่ POST แล้ว) จึงเป็นการทบต้นรายเดือน — ยอมรับเป็นผลที่ตั้งใจ ไม่แก้ A-43 ทั้ง day count และรอบเป็น parameter ระดับ block ของ books.postingMap ตายตัวค่านี้ทั้ง platform

Consistency flag (17 Jul 2026):ธงความสอดคล้อง (17 ก.ค. 2569): A-43 (the monetary standard) has since pinned that accrual compounds on the POSTED ledger balance — the cadence choice is therefore not accounting-neutral (monthly posting ⇒ monthly compounding). The verdict must set day count + cadence in the light of A-43, or explicitly amend A-43’s compounding base.A-43 (มาตรฐานการเงิน) ตรึงแล้วว่าดอกเบี้ยทบต้นบนยอด ledger ที่ POST แล้ว — การเลือกรอบจึงไม่เป็นกลางทางบัญชี (post รายเดือน ⇒ ทบต้นรายเดือน) คำวินิจฉัยต้องกำหนด day count + รอบโดยคำนึงถึง A-43 หรือแก้ฐานการทบต้นของ A-43 อย่างชัดเจน

The period lock (relocated from PROP-019 Q-26)การ lock งวด (ย้ายมาจาก Q-26 ของ PROP-019)

OQ-9 Lock trigger & governancetrigger การ lock และการกำกับ

Confirm Section 5's shape: two-act manual lock (A-17 pattern, factory-configurable chain) + optional auto-lock timer. What are the timer's default and bounds? Do cash-basis growers — no finance_officer, no approver — get a simpler single-act lock, or auto-lock only? Does season close force-lock all periods of the season?

ยืนยันรูปตามข้อ 5: lock ด้วยมือสอง act (แบบ A-17, สายอนุมัติตั้งค่ารายโรงงาน) + timer อัตโนมัติแบบเลือกได้ ค่าเริ่มต้นและขอบเขตของ timer คืออะไร? ชาวไร่เกณฑ์เงินสด — ไม่มี finance_officer ไม่มีผู้อนุมัติ — ได้ lock แบบ act เดียวที่ง่ายกว่า หรือ auto-lock เท่านั้น? การปิดฤดูบังคับ lock ทุกงวดของฤดูไหม?

Recommendation:ข้อเสนอแนะ: growers: single-act with a 7-day undo window; season close force-locks after the final true-up posts.ชาวไร่: act เดียวพร้อมหน้าต่างย้อน 7 วัน; ปิดฤดูบังคับ lock หลัง true-up สุดท้าย post

Decided — OQ-9 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-9 ปิด (ลูกค้า, 21 ก.ค. 2569): (1) Section 5 confirmed — two-act lock (finance_officer requests, mill_manager / configured approver chain locks). (2) Auto-lock timer confirmed — per-party, factory-configurable; for accrual parties it is the opt-in safety net of Section 5. (3) Cash-basis growers get auto-lock only — no manual lock act at all (the single-act + 7-day-undo recommendation is rejected); the timer is therefore always on for growers, it is their sole path to locked. (4) Season close force-locks every period of the season, after the final true-up posts. Timer default and bounds remain the one open number — to be pinned at spec application (Section 5's 60-days-after-close stands as the working default).(1) ยืนยันข้อ 5 — lock สอง act (finance_officer ร้องขอ, mill_manager / สายผู้อนุมัติที่ตั้งค่า lock) (2) ยืนยัน timer ล็อกอัตโนมัติ — ราย party ตั้งค่ารายโรงงาน; ฝ่ายเกณฑ์คงค้างเป็น safety net แบบ opt-in ตามข้อ 5 (3) ชาวไร่เกณฑ์เงินสดได้ auto-lock เท่านั้น — ไม่มี act lock ด้วยมือเลย (ปฏิเสธข้อเสนอ act เดียว + ย้อน 7 วัน); timer จึงเปิดเสมอสำหรับชาวไร่ เป็นทางเดียวสู่ locked (4) การปิดฤดูบังคับ lock ทุกงวดของฤดู หลัง true-up สุดท้าย post ค่าเริ่มต้นและขอบเขตของ timer เป็นตัวเลขเดียวที่ยังเปิด — กำหนดตอน apply spec (60 วันหลังปิดงวดตามข้อ 5 เป็นค่าทำงาน)

OQ-10 Reopen effects & the A-14 late-repost collisionผลของ reopen และการชนกับ repost ช้าของ A-14

A failed payment item (A-14) can resolve into a cycle whose period has since closed — does the repost force a reopen, post into the current open period with a back-reference (the accounting norm), or wait? And on reopen: are the period's frozen statements voided and consent-shared copies (banks) notified/re-rendered?

item การจ่ายที่ล้มเหลว (A-14) อาจแก้เสร็จเข้ารอบที่งวดปิดไปแล้ว — การ repost บังคับ reopen, post เข้างวดปัจจุบันที่เปิดอยู่พร้อมอ้างย้อน (บรรทัดฐานบัญชี) หรือรอ? และเมื่อ reopen: งบแช่แข็งของงวดถูกยกเลิกและสำเนาที่แชร์ผ่านความยินยอม (ธนาคาร) ถูกแจ้ง/re-render ไหม?

Recommendation:ข้อเสนอแนะ: post into the current open period with effective_date back-reference; closed periods never reopen for reposts.post เข้างวดเปิดปัจจุบันพร้อม effective_date อ้างย้อน; งวดที่ปิดไม่ reopen เพื่อ repost เด็ดขาด

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): A-42 (season force-close into AP suspense) names this question’s interplay among its residuals — the force-close moment and AP aging should be answered together with the reopen rule.A-42 (บังคับปิดฤดูเข้า AP พัก) ระบุความพัวพันกับคำถามนี้ไว้ในสิ่งตกค้าง — จังหวะบังคับปิดและ aging ของ AP ควรตอบพร้อมกับกติกา reopen

Decided — OQ-10 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-10 ปิด (ลูกค้า, 21 ก.ค. 2569): recommendation accepted — late reposts (the A-14 residual) post into the current open period carrying an effective_date back-reference to the economic date; closed periods never reopen for reposts — standard accounting practice. Reopen (closed → closing, Section 5) remains reserved for genuine correction of the period itself, never as a repost vehicle. Reports that need economic-date views slice on effective_date; the ledger and frozen statements stay posting-date true. The A-42 residual (force-close moment + AP aging) reads the same rule: suspense clears into whatever period is open when the item resolves.รับข้อเสนอแนะ — repost ช้า (ตกค้างจาก A-14) post เข้างวดเปิดปัจจุบันพร้อม effective_date อ้างย้อนถึงวันที่ทางเศรษฐกิจ; งวดที่ปิดไม่ reopen เพื่อ repost เด็ดขาด — เป็นมาตรฐานบัญชีปกติ reopen (closed → closing ตามข้อ 5) สงวนไว้สำหรับการแก้ไขตัวงวดจริง ๆ ไม่ใช่ช่องทาง repost รายงานที่ต้องการมุมมองตามวันเศรษฐกิจ slice ด้วย effective_date; ledger และงบแช่แข็งยึดวัน post ตกค้างของ A-42 (จังหวะบังคับปิด + aging ของ AP) ใช้กติกาเดียวกัน: บัญชีพักเคลียร์เข้างวดที่เปิดอยู่เมื่อรายการคลี่คลาย

Statement construction (relocated from PROP-019 Q-27)การประกอบงบ (ย้ายมาจาก Q-27 ของ PROP-019)

OQ-11 Cash-flow method confirmationยืนยันวิธีงบกระแสเงินสด

Confirm Section 6: indirect for accrual parties, direct for cash-basis. Or one method platform-wide for implementation simplicity? (Direct-for-all is buildable — every entry is sourced — but auditors of mill accrual books expect indirect.)

ยืนยันข้อ 6: ทางอ้อมสำหรับเกณฑ์คงค้าง ทางตรงสำหรับเกณฑ์เงินสด หรือวิธีเดียวทั้ง platform เพื่อความง่ายของ implementation? (ทางตรงทั้งหมดสร้างได้ — ทุก entry มีต้นทาง — แต่ผู้สอบบัญชีของ books คงค้างโรงงานคาดหวังทางอ้อม)

Decided — OQ-11 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-11 ปิด (ลูกค้า, 21 ก.ค. 2569): as drafted — Section 6 confirmed: indirect method for accrual-basis parties (mills — what their auditors expect), direct method for cash-basis parties (farmers — readable, and every entry is sourced). Two rendering paths, each matching its audience.ตามร่าง — ยืนยันข้อ 6: วิธีทางอ้อมสำหรับเกณฑ์คงค้าง (โรงงาน — ตามที่ผู้สอบบัญชีคาดหวัง) วิธีทางตรงสำหรับเกณฑ์เงินสด (เกษตรกร — อ่านง่าย และทุก entry มีต้นทาง) สองเส้นทาง render ตรงตามผู้ใช้แต่ละกลุ่ม

OQ-12 Line-map granularity & custom accountsความละเอียดของ line map และบัญชีที่เพิ่มเอง

The normative line set per statement (how many P&L lines? TFRS-for-NPAEs minimum or richer?) — and where does a mill-added child account land? Inherit the parent's statement_line (safe, automatic) or allow explicit override (flexible, drift-prone)?

ชุดบรรทัดเชิงบรรทัดฐานต่องบ (งบกำไรขาดทุนกี่บรรทัด? ขั้นต่ำ TFRS for NPAEs หรือละเอียดกว่า?) — และบัญชีลูกที่โรงงานเพิ่มไปลงที่ไหน? สืบทอด statement_line ของแม่ (ปลอดภัย อัตโนมัติ) หรือยอมให้ override ชัดเจน (ยืดหยุ่น เสี่ยง drift)?

Recommendation:ข้อเสนอแนะ: inherit-only — override is where reproducibility dies.สืบทอดเท่านั้น — override คือจุดที่ความทำซ้ำได้ตาย

Decided — OQ-12 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-12 ปิด (ลูกค้า, 21 ก.ค. 2569): line-set granularity is tiered by party class: mill, quota holder and contractor books render the richer line set (NPAEs base plus cane-specific lines — cane purchases, haulage, CCS premiums and the like); farmer books render the TFRS-for-NPAEs minimum. Custom child accounts are inherit-only — a mill-added account always lands on its parent's statement_line; no per-account override, so statements stay reproducible and comparable across parties.ความละเอียดของชุดบรรทัดแบ่งตามชั้นของ party: books ของโรงงาน เจ้าของโควตา และผู้รับเหมาใช้ชุดบรรทัดละเอียด (ฐาน NPAEs บวกบรรทัดเฉพาะธุรกิจอ้อย — ซื้ออ้อย ค่าขนส่ง premium CCS ฯลฯ); books เกษตรกรใช้ขั้นต่ำ TFRS for NPAEs บัญชีลูกที่เพิ่มเองสืบทอดเท่านั้น — บัญชีที่โรงงานเพิ่มลง statement_line ของแม่เสมอ ไม่มี override รายบัญชี เพื่อให้งบทำซ้ำได้และเทียบกันได้ทุก party

OQ-13 Snapshot format & comparativesรูปแบบ snapshot และงวดเปรียบเทียบ

What exactly does FinancialStatement freeze — rendered lines (small, opaque) or the full trial balance + chart version + line map (re-renderable, auditable)? Do statements carry prior-period comparatives (the TFRS norm), and if so, from the prior frozen snapshot or recomputed?

FinancialStatement แช่แข็งอะไรกันแน่ — บรรทัดที่ render แล้ว (เล็ก ทึบ) หรืองบทดลองเต็ม + รุ่นผัง + line map (render ใหม่ได้ audit ได้)? งบมีงวดก่อนเปรียบเทียบไหม (บรรทัดฐาน TFRS) และถ้ามี มาจาก snapshot แช่แข็งก่อนหน้า หรือคำนวณใหม่?

Recommendation:ข้อเสนอแนะ: freeze the trial balance + versions; comparatives always from the prior frozen snapshot.แช่แข็งงบทดลอง + รุ่น; งวดเปรียบเทียบมาจาก snapshot แช่แข็งก่อนหน้าเสมอ

Decided — OQ-13 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-13 ปิด (ลูกค้า, 21 ก.ค. 2569): recommendation accepted — FinancialStatement freezes the full inputs: trial balance + chart-of-accounts version + line-map version, so every frozen statement is re-renderable (new layout, language, auditor drill-down) and always reproduces the same numbers. Comparatives always come from the prior frozen snapshot, never recomputed — the prior column matches what was actually published.รับข้อเสนอแนะ — FinancialStatement แช่แข็งinput เต็ม: งบทดลอง + รุ่นผังบัญชี + รุ่น line map ทำให้งบแช่แข็งทุกฉบับ render ใหม่ได้ (layout ใหม่ ภาษาอื่น drill-down ของผู้สอบบัญชี) และได้ตัวเลขเดิมเสมอ งวดเปรียบเทียบมาจาก snapshot แช่แข็งก่อนหน้าเสมอ ไม่คำนวณใหม่ — คอลัมน์งวดก่อนตรงกับที่เผยแพร่จริง

Statement & report surfaces (relocated from PROP-019 Q-28)surface งบและรายงาน (ย้ายมาจาก Q-28 ของ PROP-019)

OQ-14 mill-stmt scope & export formatsขอบเขต mill-stmt และรูปแบบ export

Screen vs dialog is proposed (screen) — confirm, and set the export set: PDF (formal, bilingual letterhead?) + CSV per statement? Does the same screen serve quota/grower on their surfaces (one statement viewer spec, per-capacity render), or is mill-stmt mill-only in Q1 with siblings in later phases?

หน้าจอหรือ dialog เสนอแล้ว (หน้าจอ) — ยืนยัน และกำหนดชุด export: PDF (ทางการ หัวจดหมายสองภาษา?) + CSV ต่องบ? หน้าจอเดียวกันใช้กับโควตา/ชาวไร่บน surface ของพวกเขาไหม (spec ตัวดูงบเดียว render ราย capacity) หรือ mill-stmt เฉพาะโรงงานใน Q1 และพี่น้องมาในเฟสถัดไป?

Recommendation:ข้อเสนอแนะ: one viewer spec, mill instance in Q1; PDF + CSV, both regenerated through the redaction gate.spec ตัวดูเดียว, instance โรงงานใน Q1; PDF + CSV สร้างใหม่ผ่าน gate การ redact ทั้งคู่

Decided — OQ-14 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-14 ปิด (ลูกค้า, 21 ก.ค. 2569): Full screen confirmed (not a dialog); exports are PDF + CSV per statement, both generated through the redaction gate. Scope: mill-stmt is mill-only — specced and shipped for the mill portal in Q1; quota/grower statement viewers are separate sibling specs in later phases (deviates from the one-generic-viewer recommendation). PDF letterhead language treatment left to design.เต็มหน้าจอยืนยันแล้ว (ไม่ใช่ dialog); export เป็น PDF + CSV ต่องบ ทั้งคู่สร้างผ่าน gate การ redact ขอบเขต: mill-stmt เฉพาะโรงงาน — spec และส่งมอบสำหรับ portal โรงงานใน Q1; ตัวดูงบของโควตา/ชาวไร่เป็น spec พี่น้องแยกในเฟสถัดไป (ต่างจากข้อเสนอแนะตัวดูเดียว) รูปแบบหัวจดหมาย PDF ให้เป็นเรื่องของงานออกแบบ

OQ-15 Agreement statements (FR-85) inside the gatestatement ของข้อตกลง (FR-85) ในกำแพง

Dialog of mill-str (proposed) or its own screen? Which PROP-022 permission grade may render it — str_view masked, or str_amounts only? Is it shareable to the counterparty (the farmer's own agreement — outside the gate per A-20), and does that share reuse the combined-slip channel?

dialog ของ mill-str (ตามเสนอ) หรือหน้าจอของตัวเอง? ระดับ permission ใดของ PROP-022 render ได้ — str_view แบบ mask หรือ str_amounts เท่านั้น? แชร์ให้คู่สัญญาได้ไหม (ข้อตกลงของชาวไร่เอง — นอกกำแพงตาม A-20) และการแชร์นั้นใช้ช่องทาง slip รวมซ้ำไหม?

Recommendation:ข้อเสนอแนะ: dialog; str_amounts to render; counterparty copy rides the combined-slip channel.dialog; ต้องมี str_amounts จึง render; สำเนาคู่สัญญาไปทางช่อง slip รวม

Decided — OQ-15 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-15 ปิด (ลูกค้า, 21 ก.ค. 2569): recommendation accepted — the strategic-agreement detail renders as a dialog over mill-str; it opens only for str_amounts holders (no masked detail view — a detail full of masks invites inference); the counterparty (farmer) copy — their own agreement, outside the A-20 gate — is shared via the combined-slip channel, no new delivery mechanism.รับข้อเสนอแนะ — รายละเอียดข้อตกลงกลยุทธ์ render เป็น dialog เหนือ mill-str; เปิดได้เฉพาะผู้ถือ str_amounts (ไม่มี detail แบบ mask — detail ที่เต็มไปด้วย mask ชวนให้อนุมาน); สำเนาคู่สัญญา (ชาวไร่) — ข้อตกลงของเขาเอง นอกกำแพง A-20 — แชร์ผ่านช่อง slip รวม ไม่สร้างช่องทางใหม่

OQ-16 The five report dataset contractsสัญญาชุดข้อมูลของ 5 รายงาน

Author the per-report contract (columns, filters, groupings, default sort, export parity) for intake, quality, quota fulfilment, payments, credit book — and decide where contracts live: uix.screens[].bindings (beside the screen) or a shared uix.datasets block reports and exports both reference? Does the credit-book report show interest split per A-15/A-16 (it must, post-verdict)? Are report rows redaction-aware (a payments report row carrying a strategic premium column follows the A-20 grades)?

เขียนสัญญารายรายงาน (คอลัมน์ ตัวกรอง การจัดกลุ่ม การเรียงเริ่มต้น ความเท่าเทียม export) ของ การรับอ้อย คุณภาพ ความสำเร็จโควตา การจ่ายเงิน สมุดสินเชื่อ — และตัดสินว่าสัญญาอยู่ไหน: uix.screens[].bindings (ข้างหน้าจอ) หรือ block ร่วม uix.datasets ที่ทั้งรายงานและ export อ้าง? รายงานสมุดสินเชื่อแสดงการแยกดอกเบี้ยตาม A-15/A-16 ไหม (ต้องแสดง หลังคำวินิจฉัย)? แถวรายงานรู้จัก redact ไหม (คอลัมน์ premium กลยุทธ์ในรายงานการจ่ายเงินตามระดับ A-20)?

Recommendation:ข้อเสนอแนะ: shared uix.datasets block — FR-10's export parity is then structural, not promised.block ร่วม uix.datasets — ความเท่าเทียม export ของ FR-10 จะเป็นเชิงโครงสร้าง ไม่ใช่คำสัญญา

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): Three decided rules now bind the contracts — rows carrying CCS take ccs_source (A-39/A-48); fuel-credit lines join the payments dataset (PROP-027, decided); and deduction labeling follows PROP-029 OQ-5 (regulator sees totals only; farmer statements show the FR-17 statement label; the ledger keeps reason code + label).กติกาที่ตัดสินแล้วสามข้อผูกสัญญาชุดข้อมูล — แถวที่มี CCS ถือ ccs_source (A-39/A-48); บรรทัดเครดิตน้ำมันเข้าชุดข้อมูลการจ่ายเงิน (PROP-027 ตัดสินแล้ว); และป้ายรายการหักตาม PROP-029 OQ-5 (หน่วยงานกำกับเห็นยอดรวมเท่านั้น; statement ชาวไร่แสดงป้ายตาม FR-17; ledger เก็บ reason code + ป้าย)

Decided — OQ-16 CLOSED (client, 21 Jul 2026):ตัดสินแล้ว — OQ-16 ปิด (ลูกค้า, 21 ก.ค. 2569): recommendation accepted — the five report contracts live in a shared uix.datasets block referenced by both report screens and exports, making FR-10 export parity structural. Confirmed: the credit-book report shows the A-15/A-16 principal/interest split, and report rows are redaction-aware (strategic columns follow the viewer's A-20 grade — reports are no back door). Authoring the five contracts (columns, filters, groupings, default sort) is application work when this proposal is applied, bound by the three cross-referenced decided rules (ccs_source, fuel-credit lines, PROP-029 OQ-5 deduction labeling).รับข้อเสนอแนะ — สัญญาของ 5 รายงานอยู่ใน block ร่วม uix.datasets ที่ทั้งหน้าจอรายงานและ export อ้าง ทำให้ความเท่าเทียม export ของ FR-10 เป็นเชิงโครงสร้าง ยืนยัน: รายงานสมุดสินเชื่อแสดงการแยกต้น/ดอกตาม A-15/A-16 และแถวรายงานรู้จัก redact (คอลัมน์กลยุทธ์ตามระดับ A-20 ของผู้ดู — รายงานไม่ใช่ประตูหลัง) การเขียนสัญญาทั้งห้า (คอลัมน์ ตัวกรอง การจัดกลุ่ม การเรียงเริ่มต้น) เป็นงานตอน apply ข้อเสนอ ภายใต้กติกาตัดสินแล้วสามข้อที่อ้างโยง (ccs_source, บรรทัดเครดิตน้ำมัน, ป้ายหักตาม PROP-029 OQ-5)

10. Revision history10. ประวัติการแก้ไข

Revรุ่นDateวันที่Changesการเปลี่ยนแปลง
0.12026-07-15First draft — spun out of the PROP-019 Q1 gate Section F pass-2 review: Q-24…Q-28 relocated and expanded in depth (normative chart of accounts with mandated verdict accounts and the 5300 strategic group, declarative auto-posting map with row inventory and conventions, period lock rule with governance, deterministic statement construction against TFRS for NPAEs, statement viewer and the five report dataset contracts); 16 open questions with recommendations.ร่างแรก — แยกออกจากการทบทวนรอบที่ 2 หมวด F ของด่านตรวจ Q1 ของ PROP-019: ย้ายและขยาย Q-24…Q-28 เชิงลึก (ผังบัญชีเชิงบรรทัดฐานพร้อมบัญชีบังคับจากคำวินิจฉัยและกลุ่มกลยุทธ์ 5300, auto-posting map แบบ declarative พร้อมบัญชีแถวและธรรมเนียม, กฎ lock งวดพร้อมการกำกับ, การประกอบงบแบบ deterministic ตาม TFRS for NPAEs, ตัวดูงบและสัญญาชุดข้อมูล 5 รายงาน); คำถามเปิด 16 ข้อพร้อมข้อเสนอแนะ
0.22026-07-17Open-question cross-reference pass (client request): OQ-8 gains the A-43 compounding-base interplay flag (cadence is not accounting-neutral); OQ-10 tied to A-42’s force-close residuals; OQ-16 bound to three decided rules (ccs_source, fuel-credit lines, PROP-029 OQ-5 deduction labeling).รอบอ้างโยงคำถามเปิด (ตามคำขอลูกค้า): OQ-8 เพิ่มธงความพัวพันฐานทบต้นของ A-43 (รอบไม่เป็นกลางทางบัญชี); OQ-10 ผูกกับสิ่งตกค้างบังคับปิดของ A-42; OQ-16 ผูกกับกติกาตัดสินแล้วสามข้อ (ccs_source, บรรทัดเครดิตน้ำมัน, ป้ายหักตาม PROP-029 OQ-5)
0.32026-07-17OQ review pass 2: OQ-6 premise refreshed — the applied PROP-027 (v0.10.0) fuel-credit money events (fill · offset vs installment 1 · void) join the posting-map row inventory, for the mill and the fuel-station party.ทบทวน OQ รอบ 2: ปรับข้อตั้ง OQ-6 — เหตุการณ์เงินเครดิตน้ำมันของ PROP-027 ที่ใช้แล้ว (เติม · หักกลบงวด 1 · void) เข้าบัญชีแถว posting map ทั้งฝั่งโรงงานและ party สถานีน้ำมัน
0.42026-07-21Client decision on OQ-1 (part): chart-of-accounts codes are 5-digit by default, each sugar factory configurable 4–8 digits — new BooksProfile.coa_code_digits (Factory Settings, FR-112 family; pre-seed, immutable after first posting; canonical 4-significant-digit skeleton right-pads zeros). Section 3 numbering + sketch re-rendered at the default length, Section 4 legs clarified as canonical codes, Section 8 entity delta gains the attribute, OQ-4 row notation updated (53xxx).คำตัดสินของลูกค้าใน OQ-1 (บางส่วน): รหัสผังบัญชีเป็น 5 หลักโดย default โรงงานน้ำตาลแต่ละแห่งตั้งค่าได้ 4–8 หลัก — attribute ใหม่ BooksProfile.coa_code_digits (Factory Settings, ตระกูล FR-112; ตั้งก่อน seed เปลี่ยนไม่ได้หลัง post รายการแรก; โครง canonical 4 หลักนัยสำคัญเติมศูนย์ท้าย) ข้อ 3 ปรับเลขและตาราง render ที่ความยาว default, ข้อ 4 ระบุว่าขาอ้างรหัส canonical, ข้อ 8 เพิ่ม attribute ใน delta ของ entity, ปรับสัญกรณ์แถวใน OQ-4 (53xxx)
0.52026-07-21Client decision: the two mill cost accounts renamed and the strategic group re-coded — 51000 "Sugarcane statutory cost · ต้นทุนอ้อย" (was Statutory cane cost · ต้นทุนอ้อยตามกฎหมาย) and 52000 "Sugarcane strategic cost · ต้นทุนอ้อยกลยุทธ์" (was 53000 Strategic cane procurement; canonical 5300 → 5200). Posting-map strategic leg, OQ-4 title/notation and the SPEC-PRD-MILL grounding note updated; the FR-94 neutral display name is unchanged.คำตัดสินของลูกค้า: เปลี่ยนชื่อบัญชีต้นทุนของโรงงานสองบัญชีและเปลี่ยนรหัสกลุ่มกลยุทธ์ — 51000 "Sugarcane statutory cost · ต้นทุนอ้อย" (เดิม ต้นทุนอ้อยตามกฎหมาย) และ 52000 "Sugarcane strategic cost · ต้นทุนอ้อยกลยุทธ์" (เดิม 53000 ต้นทุนจัดหาอ้อยกลยุทธ์; canonical 5300 → 5200) ปรับขากลยุทธ์ใน posting map, ชื่อ/สัญกรณ์ OQ-4 และหมายเหตุการอ้างใน SPEC-PRD-MILL;
0.62026-07-21Consistency pass (client request): the Rev 0.4/0.5 decisions applied throughout the draft — Section 4 posting-map legs re-rendered at the default 5-digit codes (Dr 51000 / Dr 52000 family, all legs), the Section 4 framing note updated, and OQ-1's stale "4-digit" premise and recommendation wording aligned with the decided code-length model.รอบความสอดคล้อง (ตามคำขอลูกค้า): นำคำตัดสิน Rev 0.4/0.5 ไปใช้ทั่วทั้งร่าง — ขาใน posting map ข้อ 4 render เป็นรหัส 5 หลักแบบ default (ตระกูล Dr 51000 / Dr 52000 ทุกขา), ปรับหมายเหตุกำกับข้อ 4 และแก้ถ้อยคำ "4 หลัก" ที่ตกค้างในคำถามและข้อเสนอแนะของ OQ-1
0.72026-07-21Client confirmation on OQ-1: Thai five-class numbering confirmed as the default convention (not a mirrored published chart) — the Part-decided block now covers convention + code length; still open: hierarchy depth and counterparties-as-dimensions.คำยืนยันของลูกค้าใน OQ-1: ยืนยันเลขห้าหมวดแบบไทยเป็นแบบแผน default (ไม่อิงผังที่เผยแพร่ของหน่วยงานอื่น) — block ตัดสินบางส่วนครอบคลุมทั้งแบบแผนและความยาวรหัส; ที่ยังเปิด: ความลึกลำดับชั้นและคู่สัญญาเป็น dimension
0.82026-07-21Client decisions on OQ-2 (part): seeded accounts are hide-only (never deactivated or deleted) and chart versions apply additively only, effective on the next period open. The lock-class assignment gains a sharpened recommendation — derived from books.postingMap legs (map target ⇒ system), pending confirmation.คำตัดสินของลูกค้าใน OQ-2 (บางส่วน): บัญชีที่ seed ซ่อนได้เท่านั้น (ห้ามปิดใช้หรือลบ) และรุ่นผังใช้แบบเพิ่มเท่านั้น มีผลเมื่อเปิดงวดถัดไป ส่วนการกำหนดชั้นการล็อกได้ข้อเสนอแนะที่คมขึ้น — derive จากขาของ books.postingMap (เป็นเป้าของ map ⇒ system) รอการยืนยัน
0.92026-07-21Client confirmation — OQ-2 CLOSED: the lock class is derived, never hand-picked (posting-map target ⇒ system; other seeded accounts and group parents extensible; factory children user-managed).คำยืนยันของลูกค้า — OQ-2 ปิด: ชั้นการล็อกถูก derive จากกฎ ไม่เลือกทีละบัญชี (เป้าของ posting map ⇒ system; บัญชี seed อื่นและแม่กลุ่ม extensible; บัญชีลูกของโรงงานเป็นของผู้ใช้)
0.102026-07-21Client decisions — OQ-1 CLOSED: hierarchy depth allows a 4th posting-sublevel (factory-added, under extensible accounts, room permitting at the configured code length); counterparty sub-accounts are dimensions (party_id on the journal line, never real child accounts — factories reach ~80,000 quota farmers).คำตัดสินของลูกค้า — OQ-1 ปิด: อนุญาตระดับ post ที่ 4 (โรงงานเพิ่มเองใต้บัญชี extensible ตามที่ความยาวรหัสเอื้ออำนวย); บัญชีย่อยรายคู่สัญญาเป็น dimension (party_id บนบรรทัด entry ไม่ใช่บัญชีลูกจริง — โรงงานอาจมีหัวหน้าโควต้าถึง ~80,000 ราย)
0.112026-07-21Client decisions — OQ-3 CLOSED: ONE shared SME template with capacity flags for quota · grower · contractor (mill distinct); rationale — capacity fluidity (grower → contractor/quota and vice versa), gaining a capacity seeds its flagged accounts additively into existing books. Row payload lives in books.chartTemplates.คำตัดสินของลูกค้า — OQ-3 ปิด: template SME ร่วมหนึ่งเดียวพร้อม flag ราย capacity สำหรับโควตา · ชาวไร่ · ผู้รับเหมา (โรงงานแยก); เหตุผล — ความลื่นไหลของ capacity (ชาวไร่ → ผู้รับเหมา/โควตา และกลับกัน) เมื่อได้ capacity ใหม่ บัญชีที่ flag ไว้ถูก seed เพิ่มเข้าสมุดบัญชีเดิม payload แถวอยู่ใน books.chartTemplates
0.122026-07-21Client decisions — OQ-4 CLOSED: same-name consolidation — viewers without strategic permission see 52000 under its own name, consolidated at the account level (no 4th posting-sublevel or dimension detail; amounts stay in totals); banks see the same collapsed form; FR-94's neutral display name is retired on application. Also: strategic-group notation corrected to 52000 (was written 5200 in the OQ-4 title and the Section 3 note).คำตัดสินของลูกค้า — OQ-4 ปิด: ยุบรวมในชื่อเดิม — ผู้ดูที่ไม่มี permission กลยุทธ์เห็น 52000 ในชื่อจริงแบบยุบรวมที่ระดับบัญชี (ไม่มีระดับ post ที่ 4 หรือรายละเอียด dimension; จำนวนเงินอยู่ในยอดรวม); ธนาคารเห็นแบบยุบเดียวกัน; เลิกชื่อแสดงผลกลางของ FR-94 เมื่อนำไปใช้ พร้อมแก้สัญกรณ์กลุ่มกลยุทธ์เป็น 52000 (เดิมเขียน 5200 ในชื่อ OQ-4 และหมายเหตุข้อ 3)
0.132026-07-21Client decisions — OQ-5 CLOSED: posting map authored in the graph as canonical (books.postingMap, documents rendered from it); leg amounts are named source fields — no expression language.คำตัดสินของลูกค้า — OQ-5 ปิด: posting map เขียนใน graph เป็น canonical (books.postingMap เอกสาร render จากมัน); ยอดของขาใช้ field ต้นทางตั้งชื่อ — ไม่มีภาษานิพจน์
0.142026-07-21Client decisions — OQ-6 CLOSED: the full money-event inventory (fund levy · service payments · premium relay · platform fees · PROP-027 fuel-credit trio) is an acceptance deliverable, plus a research pass for still-unlisted events; fan-out is one row per (event, capacity) joined by event id; mirroring enforced by an automated balancing check in the graph validator (at acceptance and on every graph change). Section 4 conventions updated to match.คำตัดสินของลูกค้า — OQ-6 ปิด: บัญชีรายการเหตุการณ์เงินฉบับเต็ม (levy กองทุน · ค่าบริการ · ส่งต่อ premium · ค่าธรรมเนียม platform · สามเหตุการณ์เครดิตน้ำมัน PROP-027) เป็น deliverable ของการยอมรับ พร้อมรอบวิจัยหาเหตุการณ์ที่ยังไม่อยู่ในรายการ; การกระจายเป็นหนึ่งแถวต่อ (event, capacity) เชื่อมด้วย event id; การสะท้อนถูกบังคับด้วยการตรวจสมดุลอัตโนมัติใน validator ของ graph (ตอนยอมรับและทุกครั้งที่ graph เปลี่ยน) ปรับธรรมเนียมข้อ 4 ให้ตรงกัน
0.152026-07-21Client decision — OQ-7 CLOSED: corrections are black reversal (same amount, opposite sides; never negative-amount storno), platform-wide and permanent, each reversal carrying a reverses_entry_id link so reports can net linked pairs for clean turnover.คำตัดสินของลูกค้า — OQ-7 ปิด: การแก้ไขเป็น black reversal (ยอดเดิม ด้านตรงข้าม; ไม่ใช้ storno ยอดติดลบ) ทั้ง platform ตายตัว ทุกการกลับรายการถือลิงก์ reverses_entry_id ให้รายงาน net คู่ที่เชื่อมกันเพื่อ turnover สะอาด
0.162026-07-21Client decision — OQ-8 CLOSED: ACT/365 fixed day count + monthly posting (daily off-ledger accrual, true-to-day accrual at offset). Monthly compounding per A-43 accepted as intended; no A-43 amendment.ลูกค้าตัดสิน — OQ-8 ปิด: day count ACT/365 fixed + post รายเดือน (คิดรายวันนอก ledger, accrual ถึงวันจริงเมื่อ offset) ยอมรับการทบต้นรายเดือนตาม A-43 ไม่แก้ A-43
0.172026-07-21Client decisions — OQ-9 CLOSED: two-act lock confirmed; auto-lock timer confirmed (per-party, factory-configurable); cash-basis growers are auto-lock only (no manual lock; single-act + 7-day-undo recommendation rejected); season close force-locks every period of the season after the final true-up posts. Timer default/bounds pinned at spec application (working default: 60 days after close).ลูกค้าตัดสิน — OQ-9 ปิด: ยืนยัน lock สอง act; ยืนยัน timer ล็อกอัตโนมัติ (ราย party ตั้งค่ารายโรงงาน); ชาวไร่เกณฑ์เงินสด auto-lock เท่านั้น (ไม่มี lock ด้วยมือ; ปฏิเสธข้อเสนอ act เดียว + ย้อน 7 วัน); การปิดฤดูบังคับ lock ทุกงวดของฤดูหลัง true-up สุดท้าย post ค่าเริ่มต้น/ขอบเขต timer กำหนดตอน apply spec (ค่าทำงาน: 60 วันหลังปิดงวด)
0.182026-07-21Client decision — OQ-10 CLOSED: late reposts post into the current open period with an effective_date back-reference; closed periods never reopen for reposts (standard accounting practice). Reopen stays reserved for genuine period correction; A-42 suspense clears into the open period.ลูกค้าตัดสิน — OQ-10 ปิด: repost ช้า post เข้างวดเปิดปัจจุบันพร้อม effective_date อ้างย้อน; งวดที่ปิดไม่ reopen เพื่อ repost เด็ดขาด (มาตรฐานบัญชีปกติ) reopen สงวนไว้แก้ไขตัวงวดจริง; บัญชีพัก A-42 เคลียร์เข้างวดที่เปิด
0.192026-07-21Client decisions — OQ-11…OQ-16 CLOSED (all remaining; draft fully decided): OQ-11 cash-flow split as drafted (indirect accrual / direct cash-basis); OQ-12 line set tiered (richer for mill·quota·contractor, NPAEs minimum for farmers) + custom accounts inherit-only; OQ-13 statements freeze full inputs (trial balance + chart + line-map versions), comparatives from the prior frozen snapshot; OQ-14 mill-stmt full screen, PDF + CSV via the redaction gate, mill-only in Q1 (sibling viewers later); OQ-15 strategic-agreement detail as dialog, str_amounts to render, counterparty copy via the combined-slip channel; OQ-16 shared uix.datasets block (structural export parity), credit-book interest split and redaction-aware rows confirmed.ลูกค้าตัดสิน — OQ-11…OQ-16 ปิด (ครบทุกข้อ; ร่างตัดสินครบ): OQ-11 งบกระแสเงินสดตามร่าง (ทางอ้อมเกณฑ์คงค้าง / ทางตรงเกณฑ์เงินสด); OQ-12 ชุดบรรทัดแบ่งชั้น (ละเอียดสำหรับโรงงาน·โควตา·ผู้รับเหมา, ขั้นต่ำ NPAEs สำหรับชาวไร่) + บัญชีเพิ่มเองสืบทอดเท่านั้น; OQ-13 งบแช่แข็ง input เต็ม (งบทดลอง + รุ่นผัง + รุ่น line map) งวดเปรียบเทียบจาก snapshot ก่อนหน้า; OQ-14 mill-stmt เต็มหน้าจอ PDF + CSV ผ่าน gate การ redact เฉพาะโรงงานใน Q1 (ตัวดูพี่น้องภายหลัง); OQ-15 รายละเอียดข้อตกลงกลยุทธ์เป็น dialog ต้องมี str_amounts จึง render สำเนาคู่สัญญาผ่านช่อง slip รวม; OQ-16 block ร่วม uix.datasets (ความเท่าเทียม export เชิงโครงสร้าง) ยืนยันการแยกดอกเบี้ยสมุดสินเชื่อและแถวรายงานรู้จัก redact
1.02026-07-22ACCEPTED & APPLIED as spec v0.16.0 (client, 22 Jul 2026): draft ids renumbered (FR-155…159 · NFR-51/52 · WF-64); books.chartTemplates (full Exhibit A charts) + books.postingMap (full 22-event inventory incl. the research pass) authored graph-first; entities/events/screens/copy landed; five MILL docs + three SME PRDs + SPEC-INDEX mirrored; FR-94 amended to same-name consolidation.รับและปรับใช้แล้วเป็น spec v0.16.0 (ลูกค้า, 22 ก.ค. 2569): เปลี่ยนเลข id (FR-155…159 · NFR-51/52 · WF-64); เขียน books.chartTemplates (ผัง Exhibit A เต็ม) + books.postingMap (บัญชีรายการ 22 event รวมรอบวิจัย) แบบ graph-first; entity/event/หน้าจอ/สำเนาข้อความลงครบ; mirror เอกสาร MILL ห้าฉบับ + PRD ฝั่ง SME สามฉบับ + SPEC-INDEX; FR-94 แก้เป็นการยุบรวมชื่อเดิม