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

Odoo Inventory Movement Types

Concept Verified Tue Apr 28 2026 00:00:00 GMT+0000 (Coordinated Universal Time) For: WarehouseStaffPharmacistITSupportAdminSystem Source: 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)

Odoo Inventory Movement Types

Purpose

Movement-code rules used when MEDHIS sends medicine and medical-supply stock movement into Odoo ERP.

Movement Codes

Movement TypeMeaningSign RuleTypical Source
Z01OPD sale / dispenseNegativeOPD pharmacy dispense
Z02OPD sale returnPositiveOPD dispense return
Z03IPD sale / dispenseNegativeIPD pharmacy issue/fill
Z04IPD sale returnPositiveIPD return
311Inter-store transferPositiveTransfer across stores/locations

Field Rules

FieldRule
Posting dateEffective document date, not accounting-entry timestamp; YYYYMMDD.
Time of entryHIS transaction time, hhmmss in 24-hour format.
HIMS itemLine number must be unique within the same document number.
MaterialERP product code; non-stock-cut ERP products are excluded from interface.
HIS materialHIS material code for traceability.
Store / LocationSource store/location where movement was recorded.
Batch / LotBatch or lot number; can be blank when ERP should determine batch by expiry rule.
QuantityBase-unit quantity; up to 3 decimals supported.
Cost centerRequired for sale/return movement; blank for transfer movement 311.
HN numberFor patient movement, ERP concatenates HN with patient name; transfer 311 sends 0 instead.
Expiration dateYYYYMMDD when batch expiry is available; if blank with batch usage, ERP may default expiry.

Operational Rule

For medicine and medical supplies, operational movement should be recorded in HIS. Odoo receives the movement through interface after the HIS process runs, instead of users manually moving those stock items directly in Odoo.

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