SPEC-PWF-GRP Rev 0.2.1 · 2026-08-03

Cane Agency · PWF Seriesสถาบันอ้อย · ชุดเอกสาร PWF

Process Workflows — Factory Groups (กลุ่มโรงงาน)กระบวนการทำงาน — กลุ่มโรงงาน

Documentเอกสาร
SPEC-PWF-GRP
Versionversion (เวอร์ชัน)
0.2.1
Scopeขอบเขต
grp · factory_group · WF-76…80
Surfaceช่องทางใช้งาน
group (group capacity — the thirteenth surfacecapacity group — surface ที่สิบสาม)
Updatedปรับปรุงล่าสุด
2026-08-03
Masterเอกสารหลัก
SPEC-PWF

1. Workflow inventory1. บัญชี workflow

WorkflowworkflowScopeขอบเขต
WF-76Form a factory group — application, derived control, two-act operator verification.ตั้งกลุ่มโรงงาน — คำขอ การคำนวณอำนาจควบคุม การตรวจยืนยันสอง act โดย operator
WF-77Admit or divest a member factory — dated membership intervals, forward-only.รับเข้าหรือขายออกโรงงานสมาชิก — ช่วงสมาชิกภาพที่มีวันที่ ไปข้างหน้าเท่านั้น
WF-78Consolidation run — map, eliminate, review exceptions, publish (provisional | final).การจัดทำงบรวม — map ตัดรายการ ทบทวนข้อยกเว้น เผยแพร่ (provisional | final)
WF-79Directory delegation — grant or revoke a root account over a child department.การมอบอำนาจไดเรกทอรี — ให้หรือเพิกถอนบัญชีระดับรากเหนือหน่วยงานลูก
WF-80Department creation & re-parenting — the migration backfill and the grouping re-parent.การสร้างและย้ายรากหน่วยงาน — การเติมข้อมูลย้ายและการย้ายรากตอนจัดกลุ่ม

2. WF-76 · Form a factory group2. WF-76 · ตั้งกลุ่มโรงงาน

##Actor · surfaceผู้กระทำ · ช่องทางAction & outcomeการกระทำและผลGuards · eventsเงื่อนไข · เหตุการณ์
1mill owner-grade role · portalrole ระดับเจ้าของของโรงงาน · portalApply: declare member factories, legal entities, ownership edges and the claimed apex/UBO; attach a DBD extract + shareholder list per member dated within 12 months.ยื่นคำขอ: ระบุโรงงานสมาชิก นิติบุคคล เส้นการถือหุ้น และยอด/UBO ที่อ้าง; แนบหนังสือรับรอง DBD + บัญชีผู้ถือหุ้นรายสมาชิกอายุไม่เกิน 12 เดือนEvidence required on every edge in the claimed control path; a gap blocks submission and is named.ต้องมีหลักฐานทุกเส้นในเส้นทางควบคุมที่อ้าง; ข้อมูลขาดจะ block การยื่นและถูกระบุชื่อ
2systemระบบDerive control over the dated ownership graph — direct votes plus chains of controlled entities; resolve a single apex or a refusal reason.คำนวณอำนาจควบคุมบนกราฟการถือหุ้นที่มีวันที่ — เสียงทางตรงบวกห่วงโซ่ของนิติบุคคลที่ควบคุมอยู่; ได้ยอดควบคุมหนึ่งเดียวหรือเหตุผลการปฏิเสธTreasury and circular self-holdings excluded; no apex → refused ("that is an alliance", G1).ตัดหุ้นทุนซื้อคืนและการถือหุ้นวนออก; ไม่มียอด → ปฏิเสธ ("นั่นคือพันธมิตร", G1)
3provisioning officer + a second operator principal · adminเจ้าหน้าที่ provisioning + principal ของ operator คนที่สอง · adminTwo-act verification; the group Tenant, root department and built-in administrators group are created and the group entitlement provisioned.ตรวจยืนยันสอง act; สร้าง Tenant ของกลุ่ม หน่วยงานราก และกลุ่มผู้ดูแลในตัว พร้อมจัดสรร entitlement ของกลุ่มNo self-approval; nothing consolidates before verification. → FactoryGroupVerified · DepartmentCreatedไม่อนุมัติตนเอง; ไม่มีการรวมบัญชีก่อนการตรวจยืนยัน → FactoryGroupVerified · DepartmentCreated
4system · portal / groupระบบ · portal / groupRaise the standing disclosure on every member factory's admin screen and track acknowledgement.ขึ้นประกาศประจำบนหน้าจอผู้ดูแลของโรงงานสมาชิกทุกแห่งและติดตามการรับทราบThe delegation list renders INSIDE the notice (FR-207). → GroupDisclosureAcknowledgedรายการการมอบอำนาจแสดงอยู่ในประกาศ (FR-207) → GroupDisclosureAcknowledged

Lifecycle & SLA. FactoryGroup.status: pending → verified | refused; verified → suspended (season re-attestation lapsed — the read model freezes, member mills are untouched) → verified | dissolved at 60 days lapsed (OQ-1). Verification is evidence-bound rather than time-bound; a refusal states its reason and is re-appliable.

วงจรและ SLA FactoryGroup.status: pending → verified | refused; verified → suspended (การยืนยันซ้ำรายฤดูขาดอายุ — read model ถูกแช่ ไม่แตะโรงงานสมาชิก) → verified | เลิกกลุ่มเมื่อขาดเกิน 60 วัน (OQ-1) การตรวจยืนยันผูกกับหลักฐาน ไม่ใช่เวลา; การปฏิเสธระบุเหตุผลและยื่นใหม่ได้

3. WF-77 · Admit or divest a member factory3. WF-77 · รับเข้าหรือขายออกโรงงานสมาชิก

##Actor · surfaceผู้กระทำ · ช่องทางAction & outcomeการกระทำและผลGuards · eventsเงื่อนไข · เหตุการณ์
1group_owner · grp-06group_owner · grp-06Compose the admission or divestment with its effective date and evidence reference.เตรียมการรับเข้าหรือขายออกพร้อมวันมีผลและเลขอ้างอิงหลักฐานUNIQUE (mill_id) over open intervals — overlaps rejected, never merged; never retro past a published group statement.UNIQUE (mill_id) บนช่วงที่เปิด — ทับซ้อนถูกปฏิเสธ ไม่รวมกัน; ไม่ย้อนหลังงบกลุ่มที่เผยแพร่แล้ว
2group_owner + a second root principal · grp-06group_owner + principal ระดับรากคนที่สอง · grp-06Two-act approval; the operator is notified for the group register.อนุมัติสอง act; แจ้ง operator เพื่อทะเบียนกลุ่มNo self-approval. → MillAdmittedToGroup | MillDivestedFromGroupไม่อนุมัติตนเอง → MillAdmittedToGroup | MillDivestedFromGroup
3systemระบบRe-parent the factory department (in, or out to its own root) and re-cut the consolidation forward only.ย้ายรากของหน่วยงานโรงงาน (เข้า หรือออกเป็นรากของตน) และตัดการรวมบัญชีใหม่เฉพาะไปข้างหน้าNo ledger, quota, delivery or session data moves; published statements are immutable. → DepartmentReparentedไม่มีข้อมูลสมุดบัญชี โควตา การส่งมอบ หรือ session ถูกย้าย; งบที่เผยแพร่เปลี่ยนไม่ได้ → DepartmentReparented

4. WF-78 · Consolidation run4. WF-78 · การจัดทำงบรวม

##Actor · surfaceผู้กระทำ · ช่องทางAction & outcomeการกระทำและผลGuards · eventsเงื่อนไข · เหตุการณ์
1group_finance (grp_books) · grp-03group_finance (grp_books) · grp-03Maintain the versioned chart map and the declared inter-company rules for the period.ดูแลการ map ผังบัญชีที่มีเวอร์ชันและกติกาตัดรายการระหว่างบริษัทของงวดนั้นMember charts are never forced into alignment.ผังบัญชีของสมาชิกไม่ถูกบังคับให้เหมือนกัน
2group_finance · grp-02group_finance · grp-02Run: snapshot member trial balances → map → eliminate → aggregate → present per-factory columns + group total under the group_type semantics.รัน: snapshot งบทดลองสมาชิก → map → ตัดรายการ → รวม → นำเสนอคอลัมน์รายโรงงาน + ยอดรวมกลุ่ม ตาม semantics ของ group_typeL-1 combines branches at cost · L-2/L-3 eliminate at invoiced amounts · mixed = combine then consolidate. Identical inputs → byte-identical output. → GroupConsolidationRunL-1 รวมสาขาตามราคาทุน · L-2/L-3 ตัดรายการตามยอดใบกำกับ · mixed รวมแล้วรวมอีกชั้น ปัจจัยเดิม → ผลเหมือนกันทุก byte → GroupConsolidationRun
3group_finance · grp-02/03group_finance · grp-02/03Review exceptions: unmapped accounts and unmatched intercompany pairs.ทบทวนข้อยกเว้น: บัญชีที่ยังไม่ได้ map และคู่รายการระหว่างบริษัทที่จับไม่ได้Unmapped lines BLOCK publication; unmatched pairs are never silently plugged.บรรทัดที่ไม่ได้ map block การเผยแพร่; คู่ที่จับไม่ได้ไม่ถูกอุดเงียบ
4group_owner / group_finance · grp-02group_owner / group_finance · grp-02Publish the management statement set (label on the face) and generate the auditor export pack.เผยแพร่ชุดงบบริหาร (ติดป้ายบนหน้างบ) และสร้างชุด export สำหรับผู้สอบบัญชีNever presented as statutory TFRS consolidation; amount-bearing reads audited (NFR-62). → GroupConsolidationPublishedไม่นำเสนอเป็นงบรวมตามมาตรฐาน TFRS; การอ่านที่มีตัวเงินมีบันทึกตรวจสอบ (NFR-62) → GroupConsolidationPublished

Grade rule. A run over any open member period is provisional; a final run requires every member fiscal period closed (PROP-023 lifecycle). Provisional and final are visually distinct and separately audited; a pro-forma comparison view for pre-membership periods is separately labelled and never joins the statement set (OQ-4).

กติกาเรื่องระดับ การรันบนงวดสมาชิกที่ยังเปิดอยู่เป็น provisional; การรัน final ต้องปิดทุกงวดบัญชีของสมาชิก (วงจรของ PROP-023) provisional และ final แยกกันชัดเจนทั้งการแสดงและการตรวจสอบ; มุมมองเปรียบเทียบ pro-forma สำหรับงวดก่อนเป็นสมาชิกติดป้ายแยกและไม่เข้าชุดงบ (OQ-4)

5. WF-79 · Directory delegation5. WF-79 · การมอบอำนาจไดเรกทอรี

##Actor · surfaceผู้กระทำ · ช่องทางAction & outcomeการกระทำและผลGuards · eventsเงื่อนไข · เหตุการณ์
1group_admin (grp_admin) · grp-07group_admin (grp_admin) · grp-07Propose: directory group × named department paths × role.เสนอ: กลุ่มไดเรกทอรี × department path ที่ระบุ × roleTransactional and approval keys refused outright (department_delegable = false, OQ-15).กุญแจเชิงรายการและการอนุมัติถูกปฏิเสธทันที (department_delegable = false, OQ-15)
2a second root principal · grp-07principal ระดับรากคนที่สอง · grp-07Two-act approval; four-eyes for amount-bearing keys, recorded on the grant.อนุมัติสอง act; สี่ตาสำหรับกุญแจที่มีตัวเงิน บันทึกไว้บน grantNo self-approval. → DirectoryGrantIssuedไม่อนุมัติตนเอง → DirectoryGrantIssued
3system · portalระบบ · portalDisclose: the target factory's admin screen lists the grant the moment it is live, inside the standing notice.เปิดเผย: หน้าจอผู้ดูแลของโรงงานเป้าหมายแสดง grant ทันทีที่มีผล ภายในประกาศประจำVisible power beats convenient power (OQ-13).อำนาจที่มองเห็นดีกว่าอำนาจที่สะดวก (OQ-13)
4the delegate · group → portalผู้รับมอบ · group → portalSwitch department (token re-issued) and act within the delegated administrative keys.สลับหน่วยงาน (ออก token ใหม่) และทำงานภายในกุญแจเชิงบริหารที่ได้รับมอบThe act runs under THAT department's own approval chains — a root grant is never a signature (G2).การกระทำผ่านสายอนุมัติของหน่วยงานนั้นเอง — grant จากรากไม่ใช่ลายมือชื่อ (G2)
5systemระบบWrite the act to both departments' audit trails with the full delegation path.เขียนการกระทำลงบันทึกตรวจสอบของทั้งสองหน่วยงานพร้อมเส้นทางการมอบอำนาจครบDelegated authority that cannot be explained afterwards is a defect (NFR-66). Revocation is immediate and two-act. → DirectoryGrantRevokedอำนาจที่มอบแล้วอธิบายย้อนไม่ได้คือข้อบกพร่อง (NFR-66) การเพิกถอนมีผลทันทีและเป็นสอง act → DirectoryGrantRevoked

6. WF-80 · Department creation & re-parenting6. WF-80 · การสร้างและย้ายรากหน่วยงาน

##Actor · surfaceผู้กระทำ · ช่องทางAction & outcomeการกระทำและผลGuards · eventsเงื่อนไข · เหตุการณ์
1platform (migration)platform (การย้าย)Backfill: every existing mill Tenant gets a department of its own — root and site in ONE node — and every existing SurfaceRoleGrant takes that department id.เติมข้อมูล: Tenant โรงงานที่มีอยู่ทุกรายได้หน่วยงานของตน — เป็นทั้งรากและไซต์ในโหนดเดียว — และ SurfaceRoleGrant ที่มีอยู่ทุกแถวรับ department id นั้นNo ledger, quota, delivery or session data is touched; a grant that cannot resolve a department blocks the backfill and is reported. → DepartmentCreatedไม่แตะข้อมูลสมุดบัญชี โควตา การส่งมอบ หรือ session; grant ที่หาหน่วยงานไม่ได้จะ block การเติมข้อมูลและถูกรายงาน → DepartmentCreated
2group_admin · grp-07group_admin · grp-07Create the root department and at most one intermediate tier where a legal entity or declared region justifies it.สร้างหน่วยงานรากและชั้นกลางได้ไม่เกินหนึ่งชั้นเมื่อมีนิติบุคคลหรือภูมิภาคที่ประกาศไว้รองรับThree tiers maximum; deeper trees refused (OQ-14).สูงสุดสามชั้น; ต้นไม้ที่ลึกกว่าถูกปฏิเสธ (OQ-14)
3systemระบบOn admission re-parent the member department under the group root; on divestment re-parent it out to its own root.ตอนรับเข้าย้ายหน่วยงานสมาชิกไปใต้รากของกลุ่ม; ตอนขายออกย้ายมันออกเป็นรากของตนGrants keep pointing at the same immutable department ids; between tenants nothing resolves (NFR-65). → DepartmentReparentedgrant ยังชี้ไปที่ department id เดิมที่เปลี่ยนไม่ได้; ระหว่าง tenant ไม่มีสิ่งใด resolve (NFR-65) → DepartmentReparented

7. Exceptions7. กรณียกเว้น

CaseกรณีHandlingการจัดการ
Attestation lapses mid-seasonการยืนยันขาดอายุกลางฤดูGroup suspended: read model frozen, no new runs, member mills untouched; 60 days lapsed dissolves the group and retires the read model (published PDFs retained).กลุ่มถูกพัก: แช่ read model ไม่รันใหม่ ไม่แตะโรงงานสมาชิก; ขาดเกิน 60 วันเลิกกลุ่มและปลด read model (เก็บ PDF ที่เผยแพร่ไว้)
No apex resolvableคำนวณยอดควบคุมไม่ได้Application refused with the reason on its face — a 50/50 JV or an apex-less ring is an alliance (G1).ปฏิเสธคำขอพร้อมเหตุผลบนคำขอ — JV 50/50 หรือวงที่ไม่มียอดคือพันธมิตร (G1)
Member period reopened after a published runงวดสมาชิกเปิดใหม่หลังการรันที่เผยแพร่แล้วThe published run stands (immutable); a new run over the corrected period is a NEW run, clearly dated — never an edit (PROP-023 FR-157 precedent).การรันที่เผยแพร่แล้วคงอยู่ (เปลี่ยนไม่ได้); การรันบนงวดที่แก้แล้วเป็นการรันใหม่ ระบุวันที่ชัดเจน — ไม่ใช่การแก้ (บรรทัดฐาน FR-157 ของ PROP-023)
Non-delegable key requestedขอกุญแจที่มอบไม่ได้Refused at proposal with the key named; the remedy is a site-department role under that factory's four-eyes (OQ-15).ปฏิเสธตอนเสนอพร้อมระบุชื่อกุญแจ; ทางแก้คือถือ role ระดับหน่วยงานประจำสถานที่ภายใต้สี่ตาของโรงงานนั้น (OQ-15)

Related documentsเอกสารที่เกี่ยวข้อง

Revision historyประวัติการแก้ไข

RevฉบับDateวันที่Changeการเปลี่ยนแปลง
0.1.02026-07-25Created by PROP-026 (spec v0.25.0, accepted & applied 25 Jul 2026; all 17 open questions client-decided) — the GRP market perspective family opens with six documents. Rev starts at 0.1.0 per the post-PROP-014 semantic-versioning convention.สร้างโดย PROP-026 (spec v0.25.0 รับและ apply 25 ก.ค. 2569; ลูกค้าตัดสินคำถามเปิดครบทั้ง 17 ข้อ) — ตระกูล perspective ฝั่งตลาด GRP เปิดพร้อมเอกสารหกฉบับ เริ่ม rev ที่ 0.1.0 ตามธรรมเนียม semantic versioning หลัง PROP-014
0.2.02026-08-03PROP-073 (spec v0.47.0): one word — Tenant. Party → Tenant, party_id (and every prefixed form) → tenant_id, PartyCapacity/PartyQualification/PartyFounded → Tenant*, party context/switcher → tenant context/switcher, cross-party → cross-tenant, organisation → organization, and ผู้เล่น retired as the Thai gloss (the Latin word tenant instead, R-THAI). Hold list untouched: counterparty · third party · tripartite working group · Person*/person_id; display codes and token claims were held by R-NULL for one release and then MOVED at v0.47.1 on client decision (C-1), because no token has ever been SIGNED — no auth exists in the built ocsb/ocsf prototypes — and the only printed codes were eight fixture strings in apps/ocsf/fund-shell.jsx, swept in the same pass: PTY- → TNT-, TCA- → TCA-, TQL- → TQL-, claim tnt → tnt, claim dep → dep. Carried in the same pass: the PROP-075 rectification — the retired directory noun domain becomes department (A-82 R-ONETREE) and the dangling A-86/A-87/A-88 citations are re-pointed at the ids they were actually given, A-81/A-82/A-83.PROP-073 (spec v0.47.0): คำเดียว — Tenant Party → Tenant, party_id ทุกรูป → tenant_id, PartyCapacity/PartyQualification/PartyFounded → Tenant*, cross-party → cross-tenant และเลิกใช้ ผู้เล่น เป็นคำแทนวัตถุนี้ในภาษาไทย (ใช้คำละติน tenant ตาม R-THAI) รายการห้ามแตะไม่ถูกแตะ: คู่สัญญา · third party · คณะทำงานไตรภาคี · Person*/person_id รอบเดียวกันแก้ค้างจาก PROP-075: domain → department (A-82) และแก้การอ้าง A-86/A-87/A-88 ที่ไม่มีอยู่จริงเป็น A-81/A-82/A-83
0.2.12026-08-03PROP-073 PATCH 1 (spec v0.47.1 / v0.47.2 / v0.47.3 as applicable): the identifiers v0.47.0 had held, moved on client decision. PTY-######## → TNT-######## · PCA-######## → TCA-######## · PQL-######## → TQL-######## · token claim pty → tnt · token claim dom → dep (v0.47.1, C-1 — R-NULL had held them as a stored VALUE and a wire format; reversed because no token has ever been signed and the only printed codes were fixture strings). quota_org_officer → quota_officer · lead_org_officer → lead_officer (v0.47.2, C-2 — org is organization abbreviated, not a resemblance). The retired role LABEL swept as a phrase family and quota organization naming the tenant → quota group / กลุ่มโควตา (v0.47.3). All retired forms are in the FR-396 crosswalk and refused in new text by NFR-142.PROP-073 PATCH 1 (spec v0.47.1 / v0.47.2 / v0.47.3 ตามที่เกี่ยวข้อง): ตัวระบุที่ v0.47.0 คงไว้ ถูกย้ายตามการตัดสินของลูกค้า PTY- → TNT- · PCA- → TCA- · PQL- → TQL- · claim pty → tnt · claim dom → dep (v0.47.1, C-1) · quota_org_officer → quota_officer · lead_org_officer → lead_officer (v0.47.2, C-2) · ป้ายชื่อบทบาทที่เลิกใช้และ องค์กรโควตา ที่เรียก tenant → กลุ่มโควตา (v0.47.3) ทุกรูปที่เลิกใช้อยู่ในตารางแปลง FR-396