Cane Agency · Change Proposal (ACCEPTED — applied as spec v0.21.0)สถาบันอ้อย · ข้อเสนอการเปลี่ยนแปลง (รับรองแล้ว — ปรับใช้เป็น spec v0.21.0)
| Objectobject | What it holdsเก็บอะไร |
|---|---|
| TransferStation | Party ref, mill, own quota number (identifies the origin station on every mill arrival), delivery-number prefix (10–99) with its derived 7-digit range (Section 3.1), GPS position (lat/long), weighbridge weighing capacity, road distance to the mill, crane(s), bill series config (ply routing — per station, A-36 (c)), day-cutoff time, sync schedule.อ้างอิง party, โรงงาน, เลขโควตาของตน (ระบุสถานีต้นทางทุกเที่ยวที่เข้าโรงงาน), prefix เลขที่ใบชั่ง (10–99) พร้อมช่วงเลข 7 หลักที่ได้ (ข้อ 3.1), พิกัด GPS (lat/long), พิกัดชั่งสูงสุดของตาชั่ง, ระยะทางถึงโรงงาน, เครน, config ชุดบิล (เส้นทางสำเนา — รายสถานี ตาม A-36 (c)), เวลาตัดปิดวัน, รอบ sync |
| TransferContractor | Registration dossier (house-registration copy, ID copy, vehicle book, bank-book page per the mill's designated bank), home station (exactly 1; emergency cross-station assist allowed as an event), sling purchases (cash, per line).เอกสารลงทะเบียน (สำเนาทะเบียนบ้าน บัตรประชาชน เล่มทะเบียนรถ หน้าบัญชีธนาคารตามที่โรงงานกำหนด), สถานีสังกัด (1 เดียว; ช่วยข้ามสถานีได้เป็น event ฉุกเฉิน), การซื้อลวดสลิง (เงินสด รายเส้น) |
| TransferTruck | Contractor ref, mother/daughter units with plates (PROP-025 registry), per-unit load state — CCS attribution needs to know which unit a farmer's cane landed on.อ้างอิงผู้รับเหมา, ตัวแม่/ลูกพร้อมทะเบียน (ทะเบียน PROP-025), สถานะโหลดรายตัว — การระบุ CCS ต้องรู้ว่าอ้อยของชาวไร่ลงตัวไหน |
| CraneToken | Issued by the crane at load time; tells the exit-weigh clerk which transfer unit (mother/daughter) received the farmer's cane. Surrendered at station exit weigh; the analog of the mill's เหรียญ pair.เครนออกตอนโหลด; บอกเจ้าหน้าที่ชั่งออกว่าอ้อยลงรถขนถ่ายตัวไหน (แม่/ลูก) คืนตอนชั่งออกสถานี; เทียบเท่าเหรียญคู่ของโรงงาน |
| StationBill | The station's ใบรับอ้อย: station weights, farmer, quota, transfer-unit link, ply routing per station config (observed: white+pink → farmer, yellow rides the transfer truck, blue stays). Supports cut & reopen when the transfer truck fills mid-load (truck weighs out and back in; old bill closes, new bill opens).ใบรับอ้อยของสถานี: น้ำหนักสถานี ชาวไร่ โควตา ลิงก์รถขนถ่าย เส้นทางสำเนาตาม config สถานี (ที่พบ: ขาว+ชมพู → ชาวไร่, เหลืองไปกับรถขนถ่าย, ฟ้าเก็บ) รองรับตัดและเปิดใหม่เมื่อรถขนถ่ายเต็มกลางคัน (รถชั่งออกแล้วเข้าใหม่; บิลเก่าปิด บิลใหม่เปิด) |
| HaulageSettlement | Per transfer trip: mill weigh-in tonnage × announced rate − LossClaim; the farmer-side value never enters this record (T2).รายเที่ยวขนถ่าย: ตันชั่งเข้าโรงงาน × อัตราประกาศ − LossClaim; มูลค่าฝั่งชาวไร่ไม่เข้าระเบียนนี้ (T2) |
| HaulageRateCard | Per contractor × station: the contractor's own price for the station→mill leg. A station holds rate cards from multiple contractors; trip allocation to a contractor is driven by availability and cost.รายผู้รับเหมา × สถานี: ราคาของผู้รับเหมาเองสำหรับช่วงสถานี→โรงงาน สถานีหนึ่งมี rate card จากผู้รับเหมาหลายราย; การจัดสรรเที่ยวให้ผู้รับเหมาใช้ความพร้อมและต้นทุนเป็นเกณฑ์ |
| TransportCostPolicy | Mill-level, effective-dated: who bears the station→mill haulage cost — farmer (at the mill-set cost), shared in a mill-set ratio, or mill absorbs all. Adjustable mid-season in response to competition.ระดับโรงงาน มีผลตามช่วงวัน: ใครรับภาระค่าขนส่งสถานี→โรงงาน — ชาวไร่ (ตามราคาที่โรงงานกำหนด), แบ่งกันตามสัดส่วนที่โรงงานกำหนด หรือโรงงานรับทั้งหมด ปรับกลางฤดูได้ตามการแข่งขัน |
| TransferLossPolicy | Mill-level, effective-dated: the announced transfer-loss deduction applied to the farmer's settled weight — default 3%, adjustable to any % mid-season, or waived (0%) — the mill compensating rather than deducting — under competition.ระดับโรงงาน มีผลตามช่วงวัน: อัตราหักน้ำหนักสูญหายจากการขนถ่ายตามประกาศ ใช้กับน้ำหนักชำระของชาวไร่ — ค่าปกติ 3% ปรับเป็น % ใดก็ได้กลางฤดู หรือยกเว้นไม่หักเลย (0%) — โรงงานรับแทน — เพื่อการแข่งขัน |
| LossClaim | Shortfall beyond the factory's accepted-loss threshold (station-loaded tonnage vs mill weigh-in) × the factory's configured charge rate per kg — within-threshold loss is not deducted; threshold and rate are factory-portal settings (FR-T12); also raised on accidents — substitute trucks recorded by plate, contractor bears cost and shortfall, the affected farmer bills bundle to accounting as one set.น้ำหนักหายส่วนที่เกินเกณฑ์ค่าเผื่อที่โรงงานยอมรับ (ตันโหลดที่สถานี vs ชั่งเข้าโรงงาน) × อัตราหักต่อ กก. ที่โรงงานตั้ง — หายภายในเกณฑ์ไม่หัก; เกณฑ์และอัตราตั้งค่าใน portal โรงงาน (FR-T12); เกิดกรณีอุบัติเหตุด้วย — บันทึกทะเบียนรถทอย ผู้รับเหมารับผิดชอบค่าใช้จ่ายและน้ำหนักหาย บิลชาวไร่ที่เกี่ยวรวมส่งบัญชีเป็นชุดเดียว |
The ใบชั่งอ้อย at the factory weighbridge and at every transfer-station weighbridge is the same 4-ply form in one shared 7-digit delivery-number namespace. Numbers 1–999,999 mean the cane was weighed at the factory weighbridge; each transfer station carries a two-digit prefix NN (10–99) and issues within NN×100,000 + 1 … NN×100,000 + 99,999 — so a factory supports up to 90 stations, and any delivery number alone identifies its intake point.ใบชั่งอ้อยที่ห้องชั่งโรงงานและที่ห้องชั่งสถานีขนถ่ายทุกแห่งเป็นฟอร์ม 4 สำเนาแบบเดียวกัน ใช้ชุดเลขที่ใบชั่ง 7 หลักร่วมกัน เลข 1–999,999 หมายถึงชั่งที่ห้องชั่งโรงงาน; สถานีขนถ่ายแต่ละแห่งได้ prefix NN สองหลัก (10–99) และออกเลขในช่วง NN×100,000 + 1 … NN×100,000 + 99,999 — โรงงานหนึ่งจึงรองรับได้สูงสุด 90 สถานี และเลขที่ใบชั่งเลขเดียวบอกจุดรับอ้อยได้ทันที
| Intake pointจุดรับอ้อย | Prefix | Number rangeช่วงเลขที่ |
|---|---|---|
| Factory weighbridgeห้องชั่งโรงงาน | — | 1 – 999,999 |
| Station นาแส้ง (example)สถานีนาแส้ง (ตัวอย่าง) | 10 | 1,000,001 – 1,099,999 |
| Station เมืองคง (example)สถานีเมืองคง (ตัวอย่าง) | 11 | 1,100,001 – 1,199,999 |
| … up to 90 stations per factory… สูงสุด 90 สถานีต่อโรงงาน | 99 | 9,900,001 – 9,999,999 |
CCS: every farmer load on a transfer unit takes that unit's CCS from the mill's analysis of that trip; direct-delivering อีแต๋น take the day-average CCS (provisional-until-cutoff mechanics — PROP-029 OQ-4, PROP-012).CCS: ทุกคันที่โหลดลงรถขนถ่ายตัวเดียวกันใช้ CCS ของตัวนั้นจากผลวิเคราะห์ของเที่ยวนั้นที่โรงงาน; อีแต๋นส่งตรงใช้ CCS เฉลี่ยวัน (กลไกชั่วคราวจนตัดปิดวัน — OQ-4 ของ PROP-029, PROP-012)
On arrival the transport truck surrenders every farmer sub-delivery note loaded onto it at the station, combined with its own delivery note, to the factory weighbridge — the mill reconciles the bundle against the truck's weigh-in. The station's designated quota number on the truck's note tells the weighbridge which station the cane came from.เมื่อถึงโรงงาน รถขนถ่ายต้องยื่นใบชั่งย่อยของชาวไร่ทุกใบที่โหลดขึ้นคันนี้ที่สถานี รวมกับใบชั่งของรถเอง ที่ห้องชั่งโรงงาน — โรงงานกระทบยอดทั้งชุดกับน้ำหนักชั่งเข้าของรถ เลขโควตาประจำสถานีบนใบชั่งของรถบอกห้องชั่งว่าอ้อยมาจากสถานีใด
| ID | Requirementข้อกำหนด |
|---|---|
| FR-T1 | A TransferStation is a party holding its own quota number and acts as delivery origin toward the mill; its farmer-side deliveries settle on station weights.TransferStation เป็น party ถือเลขโควตาของตน และเป็นต้นทางการส่งต่อโรงงาน; การส่งฝั่งชาวไร่ชำระตามน้ำหนักสถานี |
| FR-T2 | Contractor registration captures the four-document dossier and exactly one home station; cross-station assists are logged events requiring station-side confirmation.การลงทะเบียนผู้รับเหมาเก็บเอกสาร 4 รายการ และสถานีสังกัด 1 เดียว; การช่วยข้ามสถานีเป็น event ที่บันทึกและต้องยืนยันฝั่งสถานี |
| FR-T3 | CraneToken links every farmer load to a specific transfer unit (mother/daughter); CCS attribution resolves through that link; the link is verifiable at station exit weigh.CraneToken ผูกทุกการโหลดของชาวไร่กับรถขนถ่ายตัวใดตัวหนึ่ง (แม่/ลูก); การระบุ CCS ใช้ลิงก์นี้; ตรวจได้ตอนชั่งออกสถานี |
| FR-T4 | StationBill supports cut-and-reopen on a mid-load full truck; both bills keep the audit link to the same physical arrival.StationBill รองรับตัด-เปิดใหม่กรณีรถขนถ่ายเต็มกลางคัน; บิลทั้งสองคงลิงก์ตรวจสอบถึงการมาถึงครั้งเดียวกัน |
| FR-T5 | HaulageSettlement computes per transfer trip on mill weigh-in tonnage at the station's announced rate, net of LossClaim (shortfall beyond the accepted-loss threshold at the factory's per-kg charge rate — FR-T12). Accident trips attach substitute-truck plates and bundle affected farmer bills as one accounting set.HaulageSettlement คิดรายเที่ยวจากตันชั่งเข้าโรงงานตามอัตราประกาศของสถานี หัก LossClaim (น้ำหนักหายส่วนเกินเกณฑ์ค่าเผื่อ ตามอัตราต่อ กก. ที่โรงงานตั้ง — FR-T12) เที่ยวอุบัติเหตุแนบทะเบียนรถทอยและรวมบิลชาวไร่ที่เกี่ยวเป็นชุดบัญชีเดียว |
| FR-T6 | Overweight-beyond-scale departures require recorded approval by the cane-procurement director before the truck leaves the station.การออกจากสถานีของรถน้ำหนักเกินพิกัดตาชั่งต้องมีบันทึกอนุมัติจาก ผอ.ฝ่ายจัดหาอ้อย ก่อน |
| FR-T7 | Delivery numbers are one shared 7-digit series per mill: 1–999,999 = factory weighbridge; each station holds a unique prefix NN (10–99) issuing NN×100,000+1 … NN×100,000+99,999 (max 90 stations per mill). The station's note is the same 4-ply ใบชั่งอ้อย form as the factory's. On mill arrival the transfer truck submits all farmer sub-delivery notes it carries together with its own note at the factory weighbridge.เลขที่ใบชั่งเป็นชุด 7 หลักชุดเดียวต่อโรงงาน: 1–999,999 = ห้องชั่งโรงงาน; แต่ละสถานีถือ prefix NN (10–99) ไม่ซ้ำ ออกเลข NN×100,000+1 … NN×100,000+99,999 (สูงสุด 90 สถานีต่อโรงงาน) ใบชั่งของสถานีเป็นฟอร์มใบชั่งอ้อย 4 สำเนาแบบเดียวกับโรงงาน เมื่อถึงโรงงาน รถขนถ่ายยื่นใบชั่งย่อยของชาวไร่ทุกใบพร้อมใบชั่งของรถเองที่ห้องชั่งโรงงาน |
| FR-T8 | Every TransferStation record carries GPS position (lat/long), weighbridge weighing capacity, and road travel distance to the mill.ระเบียน TransferStation ทุกระเบียนเก็บพิกัด GPS (lat/long) พิกัดชั่งสูงสุดของตาชั่ง และระยะทางเดินทางถึงโรงงาน |
| FR-T9 | A station holds haulage rate cards from multiple contractors, each with its own station→mill price; trip allocation to contractors resolves on availability and cost.สถานีถือ rate card ค่าขนส่งจากผู้รับเหมาหลายราย ราคาช่วงสถานี→โรงงานของแต่ละราย; การจัดสรรเที่ยวให้ผู้รับเหมาตัดสินด้วยความพร้อมและต้นทุน |
| FR-T10 | The transport-cost bearer is mill-level, effective-dated policy: full pass-through to the farmer at the mill-set cost, shared in a mill-set ratio, or fully mill-borne — adjustable mid-season.ผู้รับภาระค่าขนส่งเป็นนโยบายระดับโรงงานมีผลตามช่วงวัน: ผลักให้ชาวไร่ทั้งหมดตามราคาที่โรงงานกำหนด แบ่งตามสัดส่วนที่โรงงานกำหนด หรือโรงงานรับทั้งหมด — ปรับกลางฤดูได้ |
| FR-T11 | The transfer-loss deduction on the farmer's settled weight is a mill-level, effective-dated announced rate — default 3%, adjustable to any percentage mid-season, or waived entirely (0%, mill compensates) — never retroactive to already-settled bills.การหักน้ำหนักสูญหายจากการขนถ่ายจากน้ำหนักชำระของชาวไร่เป็นอัตราประกาศระดับโรงงานมีผลตามช่วงวัน — ค่าปกติ 3% ปรับเป็นกี่ % ก็ได้กลางฤดู หรือยกเว้นทั้งหมด (0% โรงงานรับแทน) — ไม่มีผลย้อนหลังกับบิลที่ชำระแล้ว |
| FR-T12 | Contractor loss settlement runs on two factory-portal settings, effective-dated and mid-season adjustable: the accepted-loss threshold (shortfall within it is never deducted from the contractor) and the charge rate per kg applied to shortfall above it.การชำระค่าสูญหายฝั่งผู้รับเหมาใช้ค่าตั้งสองตัวใน portal โรงงาน มีผลตามช่วงวันและปรับกลางฤดูได้: เกณฑ์ค่าเผื่อที่ยอมรับ (หายภายในเกณฑ์ไม่หักจากผู้รับเหมา) และอัตราหักต่อ กก. สำหรับส่วนที่หายเกินเกณฑ์ |
| NFR-T1 | Station surfaces run offline-first with pre-fetched reference data, a 24:00 day cutoff, scheduled sync (default 2 h) with physical-media fallback, and full reconciliation on reconnect; ERP-connected stations stream in real time.surface สถานีทำงาน offline-first ด้วยข้อมูลอ้างอิงล่วงหน้า ตัดปิดวัน 24.00 sync ตามรอบ (ค่าเริ่มต้น 2 ชม.) มี fallback สื่อกายภาพ และกระทบยอดเต็มเมื่อเชื่อมต่อ; สถานีที่ต่อ ERP ส่งแบบ real-time |
The farmer settles on station weights, but the payer of record (and whose payment pipeline/deduction stack applies — tax, association, fuel) is unstated. If the mill pays through the station's quota, the station is a pass-through; if the station pays, it needs its own payroll surface.
ชาวไร่ชำระตามน้ำหนักสถานี แต่ผู้จ่ายตามบัญชี (และ pipeline การจ่าย/ลำดับหักของใคร — ภาษี สมาคม น้ำมัน) ยังไม่ระบุ ถ้าโรงงานจ่ายผ่านโควตาสถานี สถานีเป็นทางผ่าน; ถ้าสถานีจ่ายเอง ต้องมี surface payroll ของตน
De facto reading (16 Jul 2026) — rephrased as a confirm:การอ่านโดยพฤตินัย (16 ก.ค. 2569) — เขียนใหม่เป็นคำถามยืนยัน: the field notes say the station "is like a factory receiving cane and is the quota holder" — which implies the mill pays, through the station's quota (station = pass-through), with the standard deduction stack applied at the mill. Presumed default pending one confirmation: "Does the mill's payroll pay station farmers through the station's quota, with the same tax → association → fuel stack — yes or no?"บันทึกหน้างานว่าสถานี "เสมือนโรงงานรับอ้อย และเป็นเจ้าของโควตา" — ชี้ว่าโรงงานจ่าย ผ่านโควตาของสถานี (สถานี = ทางผ่าน) โดยใช้ลำดับหักมาตรฐานที่โรงงาน เป็นค่าเริ่มต้นที่สันนิษฐาน รอยืนยันข้อเดียว: "payroll ของโรงงานจ่ายชาวไร่สถานีผ่านโควตาสถานี ด้วยลำดับหัก ภาษี → สมาคม → น้ำมัน เดียวกัน — ใช่หรือไม่?"
CLOSED (client context, 23 Jul 2026):ปิดแล้ว (ข้อมูลลูกค้า 23 ก.ค. 2569): confirmed — the mill pays, through the station's quota; the station is a pass-through, not a payer. The Rev 0.4–0.5 context settles it: the farmer-side deductions are all mill-level policies set in the factory portal — the transfer-loss % (FR-T11) and the transport-cost share (FR-T10) — and the delivery notes live in the factory's own number namespace and are surrendered at the factory weighbridge (FR-T7). A station cannot apply mill policies it doesn't own; the mill's payroll runs the standard stack — tax → association → fuel — now extended with transport-cost share and transfer-loss deduction per policy in force.ยืนยัน — โรงงานเป็นผู้จ่าย ผ่านโควตาของสถานี; สถานีเป็นทางผ่าน ไม่ใช่ผู้จ่าย ข้อมูล Rev 0.4–0.5 ชี้ชัด: การหักฝั่งชาวไร่ทั้งหมดเป็นนโยบายระดับโรงงานที่ตั้งค่าใน portal โรงงาน — % สูญหายจากการขนถ่าย (FR-T11) และส่วนแบ่งค่าขนส่ง (FR-T10) — และใบชั่งอยู่ในชุดเลขของโรงงานเองและถูกยื่นที่ห้องชั่งโรงงาน (FR-T7) สถานีใช้นโยบายโรงงานที่ตนไม่ได้เป็นเจ้าของไม่ได้; payroll โรงงานใช้ลำดับหักมาตรฐาน ภาษี → สมาคม → น้ำมัน เพิ่มส่วนแบ่งค่าขนส่งและการหักสูญหายตามนโยบายที่มีผล
The StationBill is the analog of the mill's delivery note. Does a station petrol point exist, and does the once-per-note rule bind the StationBill too — including across a cut-and-reopen pair?
StationBill เทียบเท่าใบรับอ้อยโรงงาน มีจุดน้ำมันที่สถานีไหม และกฎครั้งเดียวต่อใบผูก StationBill ด้วยหรือไม่ — รวมถึงคู่บิลตัด-เปิดใหม่?
De facto reading (16 Jul 2026) — narrowed:การอ่านโดยพฤตินัย (16 ก.ค. 2569) — แคบลง: the field notes place the pump at the factory, reached after the factory exit weigh — station farmers never pass it, and no station pump is described. De facto: fuel credit is not available at stations today. The remaining question is forward-looking only: "May a factory opt to extend its PROP-027 service to a transfer station (its pump or a partner pump), or is the service factory-gate only by design?" If extended, the once-per-note rule binds the StationBill and a cut-and-reopen pair counts as two notes with two caps — confirm.บันทึกหน้างานระบุปั๊มอยู่ที่โรงงาน ถึงหลังชั่งออกโรงงาน — ชาวไร่ที่ส่งสถานีไม่ผ่านจุดนี้ และไม่มีการกล่าวถึงปั๊มที่สถานี โดยพฤตินัย: เครดิตน้ำมันยังไม่มีที่สถานีในปัจจุบัน คำถามที่เหลือมองไปข้างหน้าเท่านั้น: "โรงงาน opt ขยายบริการ PROP-027 ไปที่สถานีขนถ่ายได้ไหม หรือบริการนี้จำกัดหน้าโรงงานโดยเจตนา?" หากขยาย กฎครั้งเดียวต่อใบผูก StationBill และคู่บิลตัด-เปิดใหม่นับเป็นสองใบสองเพดาน — ขอยืนยัน
Premise refreshed (17 Jul 2026, OQ pass 2):ปรับข้อตั้ง (17 ก.ค. 2569, ทบทวน OQ รอบ 2): PROP-027 has since been ACCEPTED and applied (spec v0.10.0 — FR-114…119, NFR-35; unique(delivery_id) enforces the single fill). The question narrows to an extension ruling: is the StationBill a “note” for FR-114 purposes (a station petrol point registering as a FuelStation, the station being its own party), and how does once-per-note bind across cut-and-consolidate?PROP-027 ได้รับการรับรองและใช้แล้ว (spec v0.10.0 — FR-114…119, NFR-35; unique(delivery_id) บังคับเติมครั้งเดียว) คำถามจึงแคบลงเป็นการวินิจฉัยส่วนขยาย: StationBill นับเป็น “ใบส่ง” ตามความหมาย FR-114 หรือไม่ (จุดน้ำมันของสถานีลงทะเบียนเป็น FuelStation โดยสถานีเป็น party ของตนเอง) และกฎครั้งเดียวต่อใบผูกอย่างไรเมื่อมีการตัดรวมเที่ยว
CLOSED (client, 23 Jul 2026):ปิดแล้ว (ลูกค้า 23 ก.ค. 2569): There is no fuel credit at transfer stations. PROP-027 remains factory-gate only; the StationBill is NOT a "note" for FR-114 purposes, no station FuelStation registration exists, and the cut-and-reopen question is moot. Station farmers' fuel deductions can still appear in their mill payroll stack only if incurred at the factory pump on a factory delivery.ไม่มีเครดิตน้ำมันที่สถานีขนถ่าย PROP-027 จำกัดหน้าโรงงานเท่านั้น; StationBill ไม่นับเป็น "ใบส่ง" ตาม FR-114 ไม่มีการลงทะเบียน FuelStation ที่สถานี และคำถามบิลตัด-เปิดใหม่ตกไป การหักค่าน้ำมันของชาวไร่สถานีเกิดขึ้นได้เฉพาะเมื่อเติมที่ปั๊มโรงงานจากการส่งที่โรงงานเท่านั้น
The source says both "loss rate per announcement" and "liable for actual weight lost". Likely: an announced tolerance, contractor liable only for shortfall beyond it. Needs the client's formula.
ต้นทางพูดทั้ง "อัตราค่าสูญหายตามประกาศ" และ "รับผิดชอบตามน้ำหนักหายจริง" น่าจะเป็น: ประกาศค่าเผื่อ ผู้รับเหมารับผิดชอบเฉพาะส่วนที่หายเกิน ต้องได้สูตรจากลูกค้า
Status (16 Jul 2026):สถานะ (16 ก.ค. 2569): genuinely open — no de facto answer in any evidence to date; the one PROP-030 question needing a real follow-up: "Write the loss formula: is there a tolerance? what rate? which announced price values the shortfall?"เปิดจริง — ยังไม่มีคำตอบโดยพฤตินัยในหลักฐานใด เป็นข้อเดียวของ PROP-030 ที่ต้องถามต่อจริง: "ขอสูตรค่าสูญหาย: มีค่าเผื่อไหม? อัตราเท่าไหร่? ใช้ราคาประกาศตัวไหนตีมูลค่าน้ำหนักที่หาย?"
Client input (23 Jul 2026) — narrowed:ข้อมูลลูกค้า (23 ก.ค. 2569) — แคบลง: the announced rate is now known: a farmer-side transfer-loss deduction, default 3%, mill-adjustable to any % mid-season and waivable to 0% (mill compensates) under competition — captured as TransferLossPolicy / FR-T11. What remains open is only the contractor-side formula: is the contractor liable for actual shortfall beyond the announced %, or for all actual shortfall — and which announced price values it?ทราบอัตราประกาศแล้ว: เป็นการหักน้ำหนักสูญหายฝั่งชาวไร่ ค่าปกติ 3% โรงงานปรับเป็นกี่ % ก็ได้กลางฤดู และยกเว้นเหลือ 0% ได้ (โรงงานรับแทน) เพื่อการแข่งขัน — บันทึกเป็น TransferLossPolicy / FR-T11 ที่ยังเปิดเหลือเฉพาะสูตรฝั่งผู้รับเหมา: ผู้รับเหมารับผิดชอบเฉพาะส่วนที่หายเกิน % ประกาศ หรือหายจริงทั้งหมด — และใช้ราคาประกาศตัวไหนตีมูลค่า?
CLOSED (client, 23 Jul 2026):ปิดแล้ว (ลูกค้า 23 ก.ค. 2569): the contractor formula is threshold + per-kg charge: the factory sets an accepted-loss threshold — shortfall within it is never deducted from the contractor; shortfall above it is charged at a factory-set price per kg of cane lost. Both the threshold and the charge rate are configured in the factory portal (FR-T12). This reconciles the source's two phrasings: "per announcement" = the announced threshold + rate; "actual weight lost" = only the actual above-threshold shortfall is charged.สูตรฝั่งผู้รับเหมาคือ เกณฑ์ค่าเผื่อ + อัตราต่อ กก.: โรงงานตั้งเกณฑ์ค่าเผื่อที่ยอมรับ — หายภายในเกณฑ์ไม่หักจากผู้รับเหมา; ส่วนที่หายเกินเกณฑ์หักตามราคาต่อ กก. ของอ้อยที่หายที่โรงงานกำหนด ทั้งเกณฑ์และอัตราตั้งค่าใน portal โรงงาน (FR-T12) ข้อนี้ทำให้สองถ้อยคำในต้นทางสอดคล้องกัน: "ตามประกาศ" = เกณฑ์ + อัตราที่ประกาศ; "น้ำหนักหายจริง" = หักเฉพาะส่วนที่หายจริงเกินเกณฑ์
Determines whether A-36's form spec (and the cane-office COPY re-issue rule) applies verbatim at stations.
ชี้ว่า spec แบบฟอร์มของ A-36 (และกฎออกสำเนา COPY ที่สำนักงานอ้อย) ใช้ที่สถานีตรงตัวหรือไม่
De facto reading (16 Jul 2026) — narrowed:การอ่านโดยพฤตินัย (16 ก.ค. 2569) — แคบลง: the field notes show the station bill IS a 4-ply carbonless set of the same colors (white/pink/yellow/blue) with per-station routing — so the physical medium and the mill-config routing principle (A-36 (c)) are already settled. Only one narrow fact remains: "Is the station's bill the same statutory form number (แบบ อ. 1) as the mill's, or a mill-internal form?" — which decides whether the cane-office COPY rule is statutory or per-mill policy at stations.บันทึกหน้างานแสดงว่าบิลสถานีเป็นชุดกระดาษก๊อปปี้ 4 สำเนาสีเดียวกัน (ขาว/ชมพู/เหลือง/ฟ้า) เส้นทางสำเนารายสถานี — สื่อกายภาพและหลักเส้นทางสำเนาเป็น config (A-36 (c)) นิ่งแล้ว เหลือข้อเท็จจริงแคบเดียว: "บิลสถานีใช้เลขแบบฟอร์มตามกฎหมายเดียวกัน (แบบ อ. 1) หรือเป็นฟอร์มภายในโรงงาน?" — ซึ่งชี้ว่ากฎ COPY ของสำนักงานอ้อยเป็นกฎหมายหรือนโยบายโรงงานที่สถานี
ANSWERED (client, 23 Jul 2026):ตอบแล้ว (ลูกค้า 23 ก.ค. 2569): the ใบชั่งอ้อย at the factory weighbridge and the transfer-station weighbridge is the same 4-ply form, sharing one 7-digit delivery-number namespace with per-station prefixes (Section 3.1, FR-T7). A-36's form spec applies verbatim at stations; the cane-office COPY rule follows the mill's.ใบชั่งอ้อยที่ห้องชั่งโรงงานและห้องชั่งสถานีขนถ่ายเป็นฟอร์ม 4 สำเนาแบบเดียวกัน ใช้ชุดเลขที่ 7 หลักร่วมกันโดยมี prefix รายสถานี (ข้อ 3.1, FR-T7) spec แบบฟอร์มของ A-36 ใช้ที่สถานีตรงตัว; กฎ COPY ของสำนักงานอ้อยตามของโรงงาน
| Rev | Dateวันที่ | Changesการเปลี่ยนแปลง |
|---|---|---|
| 0.1 | 2026-07-16 | First draft — spun out of PROP-029 Section 2.6 per its OQ-3 decision. Principles T1–T3, 7-object domain model, 3 flows, FR-T1…T6 + NFR-T1, 4 open questions.ร่างแรก — แยกจากข้อ 2.6 ของ PROP-029 ตามคำตัดสิน OQ-3 หลักการ T1–T3 โมเดล 7 object, 3 flow, FR-T1…T6 + NFR-T1 และคำถามเปิด 4 ข้อ |
| 0.2 | 2026-07-16 | OQ review pass (client request): OQ-1 rephrased as a confirm (presumed: the mill pays through the station's quota — station is a pass-through); OQ-2 narrowed by de facto evidence (the pump is at the factory; fuel credit not available at stations today — only the forward-looking extension question remains); OQ-4 narrowed (the station bill is already a 4-ply carbonless set — only the statutory form number is open); OQ-3 confirmed genuinely open (loss formula).รอบทบทวน OQ (ตามคำขอลูกค้า): OQ-1 เขียนใหม่เป็นคำถามยืนยัน (สันนิษฐาน: โรงงานจ่ายผ่านโควตาสถานี — สถานีเป็นทางผ่าน); OQ-2 แคบลงด้วยหลักฐานพฤตินัย (ปั๊มอยู่ที่โรงงาน; เครดิตน้ำมันยังไม่มีที่สถานี — เหลือเฉพาะคำถามการขยายในอนาคต); OQ-4 แคบลง (บิลสถานีเป็นชุด 4 สำเนาอยู่แล้ว — เปิดเฉพาะเลขแบบฟอร์มตามกฎหมาย); OQ-3 ยืนยันว่าเปิดจริง (สูตรค่าสูญหาย) |
| 0.3 | 2026-07-17 | OQ review pass 2: OQ-2 premise refreshed — PROP-027 is now applied spec (v0.10.0); the question narrows to whether the StationBill counts as a note under FR-114 and how the single-fill rule binds across cut-and-consolidate. OQ-1 (confirm), OQ-3 (loss formula — client field knowledge) and OQ-4 unchanged.ทบทวน OQ รอบ 2: ปรับข้อตั้ง OQ-2 — PROP-027 ใช้เป็น spec แล้ว (v0.10.0); คำถามแคบลงเหลือว่า StationBill นับเป็นใบส่งตาม FR-114 หรือไม่ และกฎเติมครั้งเดียวผูกอย่างไรเมื่อตัดรวมเที่ยว ส่วน OQ-1 (ยืนยัน), OQ-3 (สูตรค่าสูญหาย — ความรู้หน้างานของลูกค้า) และ OQ-4 คงเดิม |
| 0.4 | 2026-07-23 | Client context pass: shared 7-digit delivery-number namespace — factory 1–999,999; station prefixes 10–99 (e.g. นาแส้ง 10 → 1,000,001–1,099,999, เมืองคง 11 → 1,100,001–1,199,999), max 90 stations per mill — and the truck's sub-delivery-note bundle submission at the factory weighbridge (new Section 3.1, FR-T7); OQ-4 CLOSED (same 4-ply form). Station master data: GPS lat/long, weighbridge capacity, distance to mill (FR-T8). Multi-contractor HaulageRateCard with availability+cost allocation (FR-T9). TransportCostPolicy — farmer / shared ratio / mill, mid-season adjustable (FR-T10). TransferLossPolicy — default 3%, any %, waivable (FR-T11); OQ-3 narrowed to the contractor-side formula. Domain model 7 → 10 objects.รอบข้อมูลลูกค้า: ชุดเลขที่ใบชั่ง 7 หลักร่วมกัน — โรงงาน 1–999,999; prefix สถานี 10–99 (เช่น นาแส้ง 10 → 1,000,001–1,099,999, เมืองคง 11 → 1,100,001–1,199,999) สูงสุด 90 สถานีต่อโรงงาน — และการยื่นชุดใบชั่งย่อยของรถขนถ่ายที่ห้องชั่งโรงงาน (ข้อ 3.1 ใหม่, FR-T7); OQ-4 ปิดแล้ว (ฟอร์ม 4 สำเนาแบบเดียวกัน) ข้อมูลหลักสถานี: พิกัด GPS พิกัดชั่ง ระยะทางถึงโรงงาน (FR-T8) HaulageRateCard หลายผู้รับเหมา จัดสรรตามความพร้อม+ต้นทุน (FR-T9) TransportCostPolicy — ชาวไร่ / แบ่งสัดส่วน / โรงงาน ปรับกลางฤดูได้ (FR-T10) TransferLossPolicy — ค่าปกติ 3% ปรับได้ทุก % ยกเว้นได้ (FR-T11); OQ-3 แคบลงเหลือสูตรฝั่งผู้รับเหมา โมเดลโดเมน 7 → 10 object |
| 0.5 | 2026-07-23 | OQ-3 CLOSED (client): contractor loss formula = accepted-loss threshold (no deduction within) + factory-set price per kg on shortfall above it; both configurable in the factory portal. T2 reworded, LossClaim/FR-T5 updated, +FR-T12.OQ-3 ปิด (ลูกค้า): สูตรค่าสูญหายผู้รับเหมา = เกณฑ์ค่าเผื่อที่ยอมรับ (ภายในไม่หัก) + ราคาต่อ กก. ที่โรงงานตั้งสำหรับส่วนที่เกิน; ทั้งสองค่าตั้งใน portal โรงงาน ปรับ T2, LossClaim/FR-T5, เพิ่ม FR-T12 |
| 0.6 | 2026-07-23 | OQ-1 CLOSED: the mill pays farmers through the station's quota (station = pass-through) — follows from the Rev 0.4–0.5 context: all farmer-side deductions (FR-T10/T11) are mill-portal policies and delivery notes settle at the factory weighbridge (FR-T7). Standard mill deduction stack, extended with transport-cost share and transfer-loss deduction.OQ-1 ปิด: โรงงานจ่ายชาวไร่ผ่านโควตาสถานี (สถานี = ทางผ่าน) — สืบจากข้อมูล Rev 0.4–0.5: การหักฝั่งชาวไร่ทั้งหมด (FR-T10/T11) เป็นนโยบายใน portal โรงงาน และใบชั่งชำระที่ห้องชั่งโรงงาน (FR-T7) ใช้ลำดับหักมาตรฐานของโรงงาน เพิ่มส่วนแบ่งค่าขนส่งและการหักสูญหาย |
| 0.7 | 2026-07-23 | OQ-2 CLOSED (client): no fuel credit at transfer stations — PROP-027 stays factory-gate only; StationBill is not an FR-114 "note". All four OQs now resolved; proposal ready for acceptance review.OQ-2 ปิด (ลูกค้า): ไม่มีเครดิตน้ำมันที่สถานีขนถ่าย — PROP-027 จำกัดหน้าโรงงาน; StationBill ไม่นับเป็นใบส่งตาม FR-114 คำถามเปิดครบ 4 ข้อปิดแล้ว ข้อเสนอพร้อมเข้ารอบพิจารณารับรอง |
| 1.0 | 2026-07-23 | ACCEPTED & APPLIED as spec v0.21.0: new transfer_station context with 10 entities + 9 relationships + 8 events; draft IDs renumbered — FR-T1…T12 → FR-173…184, NFR-T1 → NFR-57, flows 4.1–4.3 → WF-70…72; +uix screens mill-transfer · st-ts. Mirrored: SPEC-PRD/PWF-MILL 0.11.0, SPEC-ERD-MILL 0.12.0, SPEC-DDD/UIX-MILL 0.10.0, SPEC-INDEX 0.2.9. Persistence profiles, depth records and ts.* copy keys ride the next gap-fill / Q5 back-audit passes.รับรองและปรับใช้เป็น spec v0.21.0: context ใหม่ transfer_station พร้อม entity 10 ตัว + ความสัมพันธ์ 9 เส้น + event 8 รายการ; ขยับเลขร่าง — FR-T1…T12 → FR-173…184, NFR-T1 → NFR-57, flow → WF-70…72; เพิ่มหน้าจอ mill-transfer · st-ts สะท้อนเข้า SPEC-PRD/PWF-MILL 0.11.0, SPEC-ERD-MILL 0.12.0, SPEC-DDD/UIX-MILL 0.10.0, SPEC-INDEX 0.2.9 ส่วน persistence profile ระเบียนความลึก และ copy key ts.* ตามรอบเก็บตก / back-audit Q5 |