KMCH HIS Wiki
สแกนเพื่อเปิดบนมือถือ

HIS ERP Interface Log and Error Handling

Screen Verified Tue Apr 28 2026 00:00:00 GMT+0000 (Coordinated Universal Time) For: AdminSystemITSupportFinanceAccountingWarehouseStaff Source: phase-4-uat-documents/1. MEDHIS/3. MEDHIS - รายงานผลการทดสอบเชื่อมโยงระบบ MEDHIS กับระบบงาน ODOO ERP.pdf, phase-4-uat-documents/2. Odoo ERP/4. Odoo - คู่มือสำหรับการฝึกอบรมผู้ใช้งานหลักระบบ ERP (User Manual).pdf Updated Tue Apr 28 2026 00:00:00 GMT+0000 (Coordinated Universal Time)

HIS ERP Interface Log and Error Handling

Purpose

Operational reference for locating and interpreting HIS ERP Interface logs and rerun/error behavior.

Log Locations / Naming

Interface AreaLog / File Pattern
Item Master/exchange_logs/item-master/YYYY/MM/DD
Finance / revenue/logs/fi and JSON names such as RECEIPTYYYYMMDD##.json, INVOICEYYYYMMDD##.json, ONWARDYYYYMMDD##.json
Goods Receipt/exchange_logs/good-receipt
Stock Adjust/exchange_logs/stock-adjust
Inventory movement / material management/exchange_logs/mm
HIS → ERP text file flowyyyymmdd_1002_nnn.txt

Sequence Rules

FlowFirst SequenceRerun Direction
Receipt JSON01Increment by 1
Invoice JSON01Increment by 1
Onward JSON99Decrement by 1
HIS movement text file001Increment by 1

Error Handling Rules

ConditionExpected Handling
Missing ERP mapping valueHIS sends blank; ERP raises error; user fixes mapping; rerun interface.
Duplicate or rerun of same business dateHIS regenerates file; ERP checks whether data was already processed.
File generation failureHIS writes error log according to HIS-side design.
Drop-folder/write failureHIS writes error log according to HIS-side design.
Business document correctionDo not edit original HIS sales document after export; cancel and send corrected movement according to interface rule.

เนื้อหาที่เกี่ยวข้อง / Related

ภาพประกอบจาก Phase 4 / Phase 4 Screenshots