[go: up one dir, main page]

TWI778623B - Traceability management method of agricultural, fishery and animal husbandry industry product supply chain - Google Patents

Traceability management method of agricultural, fishery and animal husbandry industry product supply chain Download PDF

Info

Publication number
TWI778623B
TWI778623B TW110117465A TW110117465A TWI778623B TW I778623 B TWI778623 B TW I778623B TW 110117465 A TW110117465 A TW 110117465A TW 110117465 A TW110117465 A TW 110117465A TW I778623 B TWI778623 B TW I778623B
Authority
TW
Taiwan
Prior art keywords
node
data
batch number
order
manufacturing
Prior art date
Application number
TW110117465A
Other languages
Chinese (zh)
Other versions
TW202244805A (en
Inventor
袁明鑑
Original Assignee
國立雲林科技大學
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 國立雲林科技大學 filed Critical 國立雲林科技大學
Priority to TW110117465A priority Critical patent/TWI778623B/en
Application granted granted Critical
Publication of TWI778623B publication Critical patent/TWI778623B/en
Publication of TW202244805A publication Critical patent/TW202244805A/en

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本發明所提供農漁牧產業產品供應鏈溯源管理方法,其係提供使用者輸入一識別資料,並自前述該些資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料,再對第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與第一資料、第二資料及/或第三資料有連結關係之一溯源節點。據此,得以追溯該產品在供應鏈跨廠之相關歷史足跡。The supply chain traceability management method for agricultural, fishery, and animal husbandry products provided by the present invention is to provide the user to input an identification data, and to find at least one first data and second data matching the identification data from the aforementioned databases. data and/or third data, and then perform a recursive operation on the first data, the second data and/or the third data to search for and establish a link with the first data, the second data and/or the third data A traceability node for a relationship. Accordingly, it is possible to trace the relevant historical footprint of the product in the supply chain across factories.

Description

農漁牧產業產品供應鏈溯源管理方法Traceability management method of agricultural, fishery and animal husbandry industry product supply chain

本發明係有關資料管理技術,特別係指一種農漁牧產業產品供應鏈溯源管理方法。The invention relates to related data management technology, in particular to a traceability management method of agricultural, fishery and animal husbandry industry product supply chain.

按,如同其他產業一般,農漁牧業所生產的產品需要上、中、下游的廠商共同協力合作才能完成產品之生產、運送與銷售。其中,以養雞產業為例,雞隻從飼養到販售需經過飼料廠、疫苗廠、雛禽孵育場、飼養場、屠宰廠、分切廠、加工廠、冷鏈物流、賣場與餐廳等諸多異質的廠商,並形成一產業供應鏈。Press, like other industries, the products produced by agriculture, fishery and animal husbandry need the cooperation of upstream, middle and downstream manufacturers to complete the production, transportation and sales of products. Among them, taking the chicken industry as an example, chickens need to go through feed factories, vaccine factories, chick hatcheries, breeding farms, slaughter plants, cutting plants, processing plants, cold chain logistics, stores and restaurants from breeding to sales. Many heterogeneous manufacturers form an industrial supply chain.

再者,為了確保食品安全之課題,食安已是各廠商管理的重點。然而,雖然部分廠商使用人工紀錄管理,惟其資料的可靠度與即時性是長期存在的問題。Furthermore, in order to ensure the issue of food safety, food safety has become the focus of the management of each manufacturer. However, although some manufacturers use manual record management, the reliability and timeliness of their data is a long-standing problem.

針對前述問題,已有廠商改用資料系統來記錄,但是,因其資料通常儲存在不同資料庫或不同檔案上,造成現行產銷履歷在上、中、下游之原料-半成品-成品串接時有相當困難度,消費者往往只能得到片段的食安資訊。In response to the aforementioned problems, some manufacturers have switched to using the data system to record. However, because the data are usually stored in different databases or different files, the current production and sales records are sometimes connected in the upstream, middle and downstream raw materials-semi-finished products-finished products. It is quite difficult, and consumers often only get fragmented food safety information.

本發明之主要目的係在於提供一種農漁牧產業產品供應鏈溯源管理方法,係能夠針對農漁牧產業供應鏈中各類資料進行數位化管理,以達到提高相關資料的串接性及即時性之功效。The main purpose of the present invention is to provide a traceability management method for the supply chain of agricultural, fishery and animal husbandry industry products, which can digitally manage various data in the agricultural, fishery and animal husbandry industry supply chain, so as to improve the concatenation and immediacy of relevant data. effect.

本發明之另一目的係在於提供一種農漁牧產業產品供應鏈溯源管理方法,係能夠利用經運算所得之溯源節點,便於使用者快速搜尋所欲查詢之跨廠/場資料。Another object of the present invention is to provide a traceability management method for the supply chain of agricultural, fishery and animal husbandry products, which can utilize the traceability nodes obtained by calculation, so as to facilitate users to quickly search for the cross-plant/farm data they want to inquire.

緣是,為達成上述目的,本發明所提供農漁牧產業產品供應鏈溯源管理方法,其係供使用者輸入一識別資料,並自前述該些資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料,並對第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與第一資料、第二資料及/或第三資料有連結關係之一溯源節點。據此,得以查詢到該產品在供應鏈跨廠之相關歷史足跡。The reason is that, in order to achieve the above purpose, the present invention provides a supply chain traceability management method for agricultural, fishery and animal husbandry industry products, which is for the user to input an identification data, and to find at least one related identification data from the aforementioned databases. Matching the first data, the second data and/or the third data, and perform the relational recursive operation on the first data, the second data and/or the third data to search for and establish the relationship with the first data, the second data And/or the third data has a link relationship with a traceability node. Based on this, it is possible to query the relevant historical footprints of the product in the supply chain across factories.

其中,該識別資料包含待查公司代號、待查批號及待查單號。The identification information includes the code of the company to be checked, the batch number to be checked and the order number to be checked.

其中,該第一資料包含公司代號及庫存資料。The first data includes company code and inventory data.

其中,該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單。The second data includes source documents and return documents, and the source documents include purchase orders, material picking lists, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory. Transaction document, the return document includes return document, material return document, consignment return document and sales return document.

其中,該資料庫中更包括有第三資料,該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料。Among them, the database further includes third data, the third data includes the source manufacturing order, the receiving order and the batch number process data, the batch number process data includes the process, the manufacturing batch number, the mother manufacturing batch number, and the receiving batch number. The first data and/or the third data are recorded on the source document and the returned document respectively.

首先,本發明所揭「第一」、「第二」及「第三」等用詞係代表區隔相似之技術特徵,意即用於區分不同的資料、訊息、設備或模組等,並不代表「第一」、「第二」及「第三」之間的排列先後順序、不代表任何的執行順序、也不代表彼此之間具有必然的關連性、亦不代表其功能或結構上必然有所不同或相同、也不限定「第一」、「第二」或「第三」是不同或相同的類型,合先敘明。First of all, the terms "first", "second" and "third" disclosed in the present invention represent similar technical features, which are used to distinguish different data, information, equipment or modules, etc., and It does not represent the order of arrangement among "first", "second" and "third", nor does it represent any order of execution, nor does it represent that they are necessarily related to each other, nor does it represent their function or structure. It is necessarily different or the same, and it does not limit the "first", "second" or "third" to be different or the same type, which will be explained together first.

接著,請參閱圖1所示,在本發明之較佳實施例中所提供之農漁牧產品供應鏈溯源管理方法係能應用於一平台10上,該平台10主要包含了一產銷管理系統20、一生產監控系統30、一供應鏈溯源管理產品足跡管理系統40及一資源管理系統50,該等系統彼此之間係以有線或無線通訊技術相互連接,以單一平台提供供應鏈中的各廠商產品管理功能,提供廠商各自獨立的數位化管理,並能自動產生發佈產品足跡,達到自動化管理、監控之目的。Next, please refer to FIG. 1 , the method for traceability management of the supply chain of agricultural, fishery and animal husbandry products provided in the preferred embodiment of the present invention can be applied to a platform 10 , and the platform 10 mainly includes a production and sales management system 20 , a production monitoring system 30, a supply chain traceability management product footprint management system 40 and a resource management system 50, these systems are connected to each other by wired or wireless communication technology, and provide each manufacturer in the supply chain with a single platform The product management function provides independent digital management for manufacturers, and can automatically generate and release product footprints to achieve the purpose of automatic management and monitoring.

該平台10可為但不限於以電腦程式的方式來建構,並將其儲存於一運算裝置(例如桌上型電腦、筆記型電腦、智慧型手機或平板電腦等)或一伺服器,以供使用者端讀取或執行之用。The platform 10 can be, but is not limited to, a computer program constructed and stored in a computing device (such as a desktop computer, a notebook computer, a smart phone or a tablet computer, etc.) or a server for It is used by the user to read or execute.

該產銷管理系統20包括一資料管理資料庫21、一進銷存管理資料庫22、一作業管理資料庫23及一財務管理資料庫24,其中,該資料管理資料庫21係儲存有複數個第一資料,各該第一資料可為但不限於公司代號資料、場(廠)別資料、品項主分類資料、品項次分類資料、品名資料、品項資料、庫存資料、品號資料、品牌資料、品項登記字號資料、品項期程資料、供應商資料、製造商資料、客戶資料、使用者資料、員工資料等。其中,該場(廠)別資料包括場(廠)別編號、場(廠)別名稱。該品項主分類資料可為但不限於飼料、疫苗、雞隻、冷凍雞肉品或其他。該品項次分類資料可為但不限於土雞飼料、抗生疫苗、防毒疫苗、雛雞、成雞、紅羽土雞或廢棄物。該供應商資料包括供應商編號、供應商名稱、供應商統一編號、供應商電話、供應商地址。該製造商資料包括製造商編號、製造商名稱、製造商統一編號、製造商電話、製造商地址。該客戶資料包括客戶編號、客戶名稱、客戶統一編號、聯絡人、聯絡電話、傳真號碼、送貨地址等。The production and sales management system 20 includes a data management database 21, an invoicing management database 22, an operation management database 23 and a financial management database 24, wherein the data management database 21 stores a plurality of 1. Information, the first information can be but not limited to company code information, site (factory) information, item main classification information, item sub-category information, item name information, item information, inventory information, item number information, Brand information, item registration information, item schedule information, supplier information, manufacturer information, customer information, user information, employee information, etc. Among them, the field (factory) category information includes field (factory) category number and field (factory) alias. The main classification data of the item may be, but not limited to, feed, vaccine, chicken, frozen chicken or others. The classification data of the item can be but not limited to chicken feed, antibiotic vaccine, antivirus vaccine, chick, adult chicken, red-feather chicken or waste. The supplier information includes supplier number, supplier name, supplier uniform number, supplier telephone number, and supplier address. The manufacturer's information includes the manufacturer's number, the manufacturer's name, the manufacturer's uniform number, the manufacturer's telephone number, and the manufacturer's address. The customer information includes customer number, customer name, customer uniform number, contact person, contact telephone number, fax number, delivery address, etc.

該進銷存管理資料庫22係儲存有複數個第二資料,各該第二資料可為但不限於來源單據及退回單據。其中,該來源單據可為但不限於進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單、庫存異動單據。該退回單據可為但不限於退貨單、退料單、託外退貨單、銷退單。The invoicing management database 22 stores a plurality of second data, each of which may be, but not limited to, source documents and return documents. Wherein, the source document may be, but not limited to, a purchase order, a material picking list, an out-of-consignment purchase order, a shipper, a sales order, a warehouse receipt, a transfer order, a material transfer order, and an inventory transaction document. The return document may be, but not limited to, a return order, a material return order, a consignment return order, and a sales return order.

該作業管理資料庫23係儲存有複數個第三資料,各該第三資料可為但不限於作業命令資料、批號製程資料、批號製程即時生產紀錄、批號履歷資料及作業命令資料。其中,該作業命令資料包括作業命令單別、作業命令單號、單據日期、預計生產數量、生產單位、品項規格、來源製令及領用製令,該來源製令可為區分為飼養製令、種植製令、加工製令、屠宰製令、養殖製令、捕撈製令、運送製令、採收製令、施肥製令、自動投餌/投藥製令、漁令/作業製令、包裝製令、抽檢製令、入庫製令、進貨製令、入庫製令、進貨製令等;該領用製令可為區分為廠內製令、託外製令等。The operation management database 23 stores a plurality of third data, each of which may be, but not limited to, operation order data, batch number process data, batch process real-time production records, batch number history data, and work order data. Among them, the operation order data includes the operation order type, the operation order number, the date of the document, the estimated production quantity, the production unit, the item specification, the source control order and the receiving order, and the source control order can be divided into breeding system Order, Planting Order, Processing Order, Slaughtering Order, Breeding Order, Fishing Order, Transportation Order, Harvest Order, Fertilization Order, Automatic Feeding/Dosing Order, Fishing Order/Operation Order, Packaging order, sampling inspection order, warehousing order, purchase order, warehousing order, purchase order, etc.; the receiving order can be divided into in-factory order, outsourced order, etc.

該批號製程資料包括批號、工序、工作站/供應商、製程、開始作業時間、結束作業時間、作業人員、生長記錄。其中,該批號可為區分為生產(製造)批號、領用批號、母生產(製造)批號、銷貨批號、採購批號、入庫批號、託外進貨批號。該製程可區分為但不限於飼養製程、種植製程、加工製程、屠宰製程、養殖製程、捕撈製程、運送製程、採收製程、施肥製程、自動投餌/投藥製程、漁令/作業製程、包裝製程、入庫製程、抽檢製程等。該工序為執行該製程的順序。The batch number process data includes batch number, process, workstation/supplier, process, start operation time, end operation time, operator, and growth record. Among them, the batch number can be divided into production (manufacturing) batch number, receiving batch number, parent production (manufacturing) batch number, sales batch number, purchase batch number, storage batch number, and outsourcing purchase batch number. The process can be divided into, but not limited to, breeding process, planting process, processing process, slaughtering process, breeding process, fishing process, transportation process, harvesting process, fertilization process, automatic feeding/dosing process, fishing order/operation process, packaging Process, warehousing process, sampling process, etc. The process is the sequence in which the process is performed.

該批號製程即時生產紀錄包括批號製程、進站數量、出站數量、移轉數量、報廢數量、重工數量、短少數量、多餘數量、進站時間、出站時間。該批號履歷資料可為但不限於營養標示、檢驗資料、異常類別、異常原因等資料。該檢驗資料可為但不限於家禽健康證明書、植物檢疫證明書等。The batch number process real-time production record includes batch number process, inbound quantity, outbound quantity, transfer quantity, scrapped quantity, rework quantity, short quantity, surplus quantity, inbound time, and outbound time. The batch number resume data may be, but not limited to, nutrition labels, inspection data, abnormal types, abnormal causes and other data. The inspection data may be, but not limited to, poultry health certificates, phytosanitary certificates, etc.

此外,不同類型的該些資料之間係可相互對應,並且各該製令及各該製程均對應有其他相關連的資料,例如:加工製令與食品加工作業-調味醃製的關連資料如下表所呈。In addition, these data of different types can correspond to each other, and each of the order and each process has other related data, for example, the related data of processing order and food processing operation - seasoning and pickling are as follows presented in the table.

品號 Article number 品名 Product name 品牌編號 brand number 品牌名稱 brand name 需領數量 Required quantity 未領數量 Unclaimed quantity 已領數量 Quantity received 單位 unit 投料作業編號 Feeding job number 投料作業名稱 Feeding job name 預計領料日 Expected pick date 實際領料日 Actual Picking Date MIT001 MIT001 雞胸 (半成品) chicken breast (semi-finished product) B001 B001 自製 self made 100.0 100.0 -50.0 -50.0 50.0 50.0 Bag 001E0100 001E0100 食品加工作業-調味醃製 Food processing operations - seasoning and pickling 2020/08/10 2020/08/10 2020/08/08 2020/08/08

需要特別說明的是,在本實施例中,第一資料、第二資料和第三資料 係依據其類型、屬性、種類等分別儲存於不同的資料庫的各類相對應的欄位之中。在其他實施例中,第一資料、第二資料和第三資料還可以儲存於相同的資料庫中,並不以說明書中所列舉的方式受到限制。It should be noted that, in this embodiment, the first data, the second data and the third data are respectively stored in various corresponding fields of different databases according to their types, attributes, and types. In other embodiments, the first data, the second data, and the third data may also be stored in the same database, and are not limited by the methods listed in the specification.

此外,該些單據係分別包含相對應之不同作業活動之各類資訊。在本實施例中,各該單據均分別對應有相關連的第一資料及/或第三資料,例如:該領料單包含依照來源製令或製程領用所需原物料之訊息、以及領用批號。該原物料包含有飼料、疫苗、抗菌劑、飼料添加劑等,其中,該飼料添加劑可為但不限於維他命、氨基酸、礦物質、防黴劑、黴菌毒素吸附劑、成長因子、酵素、活酵母、酵母基質、酸化劑、氨氣分解中和劑等。In addition, these documents respectively contain various types of information corresponding to different operation activities. In this embodiment, each of the documents corresponds to the first data and/or the third data. For example, the picking list includes the information of receiving the required raw materials according to the source manufacturing order or process, and the receiving Use batch number. The raw materials include feed, vaccines, antibacterial agents, feed additives, etc., wherein, the feed additives can be but not limited to vitamins, amino acids, minerals, antifungal agents, mycotoxins adsorbents, growth factors, enzymes, live yeast, Yeast substrate, acidulant, ammonia decomposition neutralizer, etc.

下表更列舉了銷貨單的關連資料。The table below further lists the relevant information of the sales order.

單別 single 單號 single number 單據日期 document date 場(廠)別編號 Field (factory) serial number 場(廠)別名稱 Field (factory) alias 客戶編號 Customer Number 客戶名稱 client's name 送貨地址 delivery address A21 A21 20200713001 20200713001 2020/07/08 2020/07/08 Fty001 Fty001 立端畜產營運總部 Liduan Livestock Operation Headquarters TPAC TPAC 台北畜產運銷公司 Taipei Animal Husbandry and Marketing Co., Ltd. 環河南路… Huanhe South Road…

此外,該產銷管理系統20可接收客戶訂單,進行訂單作業程序,根據訂單或生產計畫開立一作業命令,並可供使用者於該平台10上設定批號、預計生產量、場(廠)別、品名、品項、供應商、品牌等資料,據以更迭該些資料庫中的相關資料。另外,該平台10允許該作業命令之發放,以執行相對應之製程。In addition, the production and sales management system 20 can receive customer orders, perform order operation procedures, issue an operation order according to the order or production plan, and allow users to set the batch number, estimated production volume, field (factory) on the platform 10 Information such as category, product name, item, supplier, brand, etc., is used to change the relevant information in these databases. In addition, the platform 10 allows the issuance of the job order to execute the corresponding process.

該財務管理資料庫24係儲存有管理財務報表、會計科目明細、會計帳簿、會計分錄傳票、營業稅申報資料、進銷項稅額資料等。The financial management database 24 stores management financial statements, account details, accounting books, accounting entry subpoenas, business tax declaration materials, input and output tax data, and the like.

該生產監控系統30具有至少一感測器31,其係不限於設置於生產產線、移動式載具(例如無人機、汽車、智能機器人)、農業機具或相關設施(例如養殖場、魚塭)上,而該感測器31係用以偵測水質、土壤溫度、葉面濕度、光照度、溫溼度、二氧化碳、一氧化碳、氨氣、粉塵、風速、墊料濕度等,得以監控農產品當前之生產、製造或包裝等程序中的作業情形,而能據以進行相對應之製程,將其作業的維護資料傳遞至該產銷管理系統20中,以更新相關資料。此外,還可利用高光譜技術來檢測農產品是否具有病蟲害之問題。The production monitoring system 30 has at least one sensor 31, which is not limited to be disposed in production lines, mobile vehicles (such as drones, cars, intelligent robots), agricultural machinery or related facilities (such as farms, fish farms) ), and the sensor 31 is used to detect water quality, soil temperature, leaf humidity, illuminance, temperature and humidity, carbon dioxide, carbon monoxide, ammonia, dust, wind speed, litter humidity, etc., to monitor the current production of agricultural products , manufacturing or packaging and other procedures, and can carry out the corresponding process accordingly, and transmit the maintenance data of the operation to the production and sales management system 20 to update the relevant data. In addition, hyperspectral technology can also be used to detect whether agricultural products have problems with pests and diseases.

該供應鏈溯源管理產品足跡管理系統40包括一產品足跡模組41、一逆溯模組42、一順溯模組43及一產品足跡資料庫44,其中,該產品足跡模組41係分別與該逆溯模組42、該順溯模組43及該產品足跡資料庫44相連接,並能經運算而產生一供消費者瀏覽、查詢之產品足跡網頁。The supply chain traceability management product footprint management system 40 includes a product footprint module 41, a reverse traceability module 42, a forward traceability module 43 and a product footprint database 44, wherein the product footprint module 41 is respectively associated with The backtracking module 42 , the backtracking module 43 and the product footprint database 44 are connected, and can generate a product footprint web page for consumers to browse and inquire about through operations.

該產品足跡資料庫44包括複數個第四資料,各該第四資料可為但不限於足跡編號、足跡名稱、足跡類型等。其中,各該第四資料分別有對應之相關連的該第一資料、該第二資料及/或該第三資料。在一實施例中,足跡名稱為「運送資訊」,足跡類型為「其他」,其關連資料如下表所呈。The product footprint database 44 includes a plurality of fourth data, each of which may be, but not limited to, a footprint number, a footprint name, a footprint type, and the like. Wherein, each of the fourth data has a corresponding associated first data, the second data and/or the third data. In one embodiment, the name of the footprint is "shipping information", the type of the footprint is "other", and the related information is shown in the following table.

足跡編號 footprint number 足跡名稱 Footprint name 品號 Article number 品名 Product name 品牌編號 brand number 品牌名稱 brand name 足跡類型 Footprint Type 製程/來源製令 Process/Origin Order C001 C001 運送資訊 Shipping Information LB01T001 LB01T001 禾端-紅羽土雞 He Duan-Red Feather Chicken B004 B004 禾端 He Duan 其他 other 運送作業 Shipping operation

該順溯模組43係能基於該些資料庫中所包含的各類資料搜尋出不良原物料的流向,以及時且精準地回收有問題的農產品,據以控管不良原物料所造成的風險與損失。舉例來說,若已知在某批號的雛雞發生問題時,該順溯模組43係搜尋出所有該批問題雛雞的進貨單,並對每一筆進貨單向下游追查是否有進行養殖、出貨、拍賣等情況,並將追查到的問題產品,不論是半成品或成品,都彙整於一回收清單中,以利相關單位迅速按清單回收。再者,該順溯模組43更能以跨公司的方式,向下游追查是否有出貨到批發市場拍賣。其中,若有將問題雛雞出貨至批發市場,則追查是否有尚未拍賣及已拍賣出貨的雞隻。若有已拍賣的問題雞隻,則繼續追查出貨到屠宰廠的問題雞隻是否有在加工或已加工出貨。若有已加工出貨的問題雞隻產品,則繼續向下追查出貨的攤商。The traceability module 43 can search out the flow direction of bad raw materials based on various data contained in the databases, so as to timely and accurately recycle problematic agricultural products, so as to control the risks caused by bad raw materials with loss. For example, if it is known that there is a problem with a certain batch of chicks, the traceability module 43 searches for all the purchase orders of the batch of problematic chicks, and traces each purchase order downstream to see if there is any breeding or shipment. , auctions, etc., and the traced problem products, whether they are semi-finished products or finished products, are collected in a recycling list, so that relevant units can quickly recycle according to the list. Furthermore, the traceability module 43 can further trace whether the products are shipped to the wholesale market for auction in a cross-company way. Among them, if the problem chicks are shipped to the wholesale market, it will be investigated whether there are chickens that have not been auctioned or have been auctioned. If there are problem chickens that have been auctioned, continue to trace whether the problem chickens shipped to the slaughterhouse are being processed or have been processed and shipped. If there is a problem chicken product that has been processed and shipped, continue to track down the vendor who shipped it.

該逆溯模組42係能基於該些資料庫中所包含的各類資料,以追溯問題產品所使用不良原物料的來源與其批號。舉例來說,若攤商所銷售的冷凍雞隻發生問題,該逆溯模組42能從該問題產品的銷貨單開始逆向追溯加工廠的生產過程是否存在異常,而該生產過程係指不同來源製令及/或製程所代表之各類作業活動,例如包裝、屠宰、獸醫檢驗、拍賣、及原物料雞隻的領用。此外,該逆溯模組42更能以跨公司的方式,由拍賣雞隻的進貨單進一步追溯到養殖場的飼養,例如物流與飼養管理至養殖原物料的領用與進貨。並且,該逆溯模組42可再從原物料的進貨單追溯至最上游的雛雞飼養、疫苗施打與飼料供應之廠商。The traceback module 42 can trace the source and batch number of defective raw materials used in the product in question based on various data contained in the databases. For example, if there is a problem with the frozen chickens sold by the stall, the traceback module 42 can trace back whether there is any abnormality in the production process of the processing factory from the sales order of the product in question, and the production process refers to different Various operational activities represented by source orders and/or processes, such as packaging, slaughtering, veterinary inspections, auctions, and the collection of raw chickens. In addition, the traceability module 42 can further trace back to the breeding of the farm from the purchase order of the auctioned chickens in a cross-company way, such as logistics and breeding management to the receipt and purchase of breeding raw materials. In addition, the traceability module 42 can be traced back to the most upstream manufacturer of chick raising, vaccine administration and feed supply from the purchase order of raw materials.

此外,該平台10係可供使用者登入使用,並以該供應鏈溯源管理產品足跡管理系統40執行本發明所揭之方法,其中主要步驟如下:首先,接收使用者所輸入一識別資料,並自前述該些資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料或第三資料。其中,該識別資料為使用者所欲查詢之待查公司代號、待查批號或待查單號。要詳細說明的是,該識別資料可是以任一關鍵字元,而該字元為中文文字、英文字母、字串、數字或其他的符號其中任一者或其組合。In addition, the platform 10 is available for users to log in and use the supply chain traceability management product footprint management system 40 to execute the method disclosed in the present invention, wherein the main steps are as follows: first, receive an identification data input by the user, and Find at least one first data, second data or third data matching the identification data from the aforementioned databases. Among them, the identification information is the company code to be checked, the batch number to be checked or the order number to be checked that the user wants to check. To be detailed, the identification data can be any key element, and the character is any one or a combination of Chinese characters, English letters, character strings, numbers or other symbols.

接著,再對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點。據此以查詢該產品之相關歷史足跡。其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點。Next, perform a recursive relational operation on the first data, the second data and/or the third data to search for and establish a traceability relationship with the first data, the second data and/or the third data node. Based on this, you can check the relevant historical footprint of the product. Wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing lot number node, a manufacturing order node, a batch number process node, a customer node, a supplier node, a warehouse node or an inventory node, and each of the nodes can be classified according to different types, and It is further connected with corresponding child nodes and/or leaf nodes, respectively.

此外,在本實施例中更詳細的實施步驟如下。In addition, the more detailed implementation steps in this embodiment are as follows.

如圖2至圖6所示,該順溯模組43係能執行如下程序:As shown in FIG. 2 to FIG. 6 , the tracing module 43 can execute the following procedures:

A:根節點程序與節點類別確認程序A: Root node program and node type confirmation program

如圖2所示,基於待查公司代號及/或待查批號,進入一順溯批號程序以產生並回傳根節點,再次傳入公司代號及根節點資料後,確認其所屬節點的類別,即批號節點、製造批號節點、製令節點或客戶節點,並將其確認結果以一遞迴迴圈(Loop)進行遞迴,並將其結果回傳。As shown in Figure 2, based on the code of the company to be checked and/or the batch number to be checked, a batch number traceability program is entered to generate and return the root node, and after the company code and root node data are imported again, the category of the node to which it belongs is confirmed. That is, the batch number node, the manufacturing batch number node, the order node or the customer node, and the confirmation result is repeated in a recursive loop (Loop), and the result is returned.

B:順溯批號程序B: Traceable batch number program

如圖3所示,該順溯批號程序的實施步驟如下:As shown in Figure 3, the implementation steps of this retroactive batch number program are as follows:

步驟S401:傳入待查公司代號及待查批號。Step S401: Enter the code of the company to be checked and the batch number to be checked.

步驟S402:查詢與該待查批號匹配之所有來源單據,並確認單據類型。Step S402: Query all source documents matching the batch number to be checked, and confirm the document type.

步驟S403:在步驟S402中,當該來源單據為進貨單、入庫單及/或託外進貨單時,係分別產生一採購類型批號子節點、一自製類型批號子節點及/或一託外類型批號子節點。Step S403: In step S402, when the source document is a purchase order, a warehouse receipt and/or an out-of-consignment purchase order, a purchase type batch number sub-node, a self-made type batch number sub-node and/or an out-of-consignment type are respectively generated. Lot number child node.

步驟S404:查詢批號來源單據及退回單據,並計算該些單據上所記載之該待查批號之數量。詳細來說,此處查詢的來源單據會與步驟S403中的來源單據類型相同,例如:採購類型批號子節點僅查詢進貨單、退貨單;自製類型批號子節點僅查詢入庫單;託外類型批號子節點僅查詢託外進貨單、託外退貨單。Step S404 : query the batch number source document and the return document, and calculate the quantity of the batch number to be checked recorded on the documents. In detail, the source document queried here will be of the same type as the source document in step S403, for example: the purchase type batch number sub-node only queries the purchase order and the return document; the self-made type batch number sub-node only queries the warehouse receipt; the out-consignment type batch number Sub-nodes only query out-of-consignment purchase orders and out-of-consignment return orders.

步驟S405:在步驟S402中,當該來源單據並非進貨單、入庫單及/或託外進貨單時,再查詢該待查批號是否為製造批號。Step S405: In step S402, when the source document is not a stock receipt, a stock receipt and/or a consignment receipt, then check whether the batch number to be checked is a manufacturing batch number.

步驟S406:在步驟S405中,若該待查批號為製造批號時,係進一步判斷該製造批號是否與該資料庫中之投料移轉單關連。Step S406: In step S405, if the lot number to be checked is a manufacturing lot number, it is further judged whether the manufacturing lot number is related to the material transfer order in the database.

步驟S407:在步驟S406中,若該資料庫中存在有與該製造批號相匹配之該投料移轉單時,係產生一在製類型製造批號子節點。Step S407 : In Step S406 , if there is the material transfer order matching the manufacturing lot number in the database, a sub-node of the manufacturing lot number in process is generated.

步驟S408:再查詢出具有該製造批號之投料移轉單,並計算出該些單據中上所記載之該待查批號的數量。Step S408 : query the material transfer order with the manufacturing batch number, and calculate the quantity of the batch number to be checked recorded in the documents.

步驟S409:在步驟S406中,若該資料庫中不存在與該製造批號相匹配之該投料移轉單時,係產生一計畫類型製造批號子節點。Step S409: In step S406, if the material transfer order matching the manufacturing lot number does not exist in the database, a sub-node of the manufacturing lot number of a project type is generated.

步驟S410:再查詢出與該製造批號相關連之來源製令,並計算其他與該來源製令相關之該待查批號的數量。Step S410 : Inquire about the source control order related to the manufacturing lot number, and calculate the quantity of other batch numbers to be checked related to the source control order.

步驟S411:在步驟S405中,若該待查批號不為製造批號時,係再判斷該識別資料是否與一庫存異動單據有關連。Step S411: In step S405, if the batch number to be checked is not a manufacturing batch number, it is further determined whether the identification data is related to an inventory transaction document.

步驟S412:在步驟S411中,若該資料庫中存在有與該識別資料相關連之該庫存異動單據時,係產生一初始庫存類型庫存葉節點;並並計算出該些庫存異動單據中所記載之該待查批號的數量。Step S412: In step S411, if there is the inventory transaction document associated with the identification data in the database, an initial inventory type inventory leaf node is generated; and the records in the inventory transaction documents are calculated. The number of the batch number to be checked.

步驟S414在步驟S411中,若該資料庫中不存在與該識別資料相關連之該庫存異動單據時,係產生一不明庫存類型庫存葉節點。Step S414 In step S411, if the inventory transaction document associated with the identification data does not exist in the database, an inventory leaf node of unknown inventory type is generated.

步驟S415:計算該產品之庫存數量。Step S415: Calculate the inventory quantity of the product.

步驟S416:回傳前述各步驟之溯源結果。Step S416: Return the traceability results of the preceding steps.

C:順溯製造批號節點程序C: Traceable manufacturing batch number node program

如圖4所示,該順溯製造批號節點程序的實施步驟如下:As shown in Figure 4, the implementation steps of the traceability manufacturing batch number node program are as follows:

步驟S101:傳入待查公司代號及待查批號。Step S101: Enter the code of the company to be checked and the batch number to be checked.

步驟S102:查詢與該待查批號相對應之所有製程。Step S102: Inquire about all the processes corresponding to the batch number to be checked.

步驟S103:在步驟S102中,若該資料庫中存在與該識別資料相匹配之該製程時,該順溯模組43產生一製程類型批號製程葉節點,再者,該順溯模組43更依該製程之工序進行排序。Step S103: In step S102, if the process matching the identification data exists in the database, the traceability module 43 generates a process type batch number process leaf node, and further, the traceability module 43 updates the process leaf node. Sort according to the steps of the process.

步驟S104:以該待查批號、步驟S103所得之工序及該待查批號關連之來源製令查詢相匹配之移轉單。Step S104 : query the matching transfer order based on the batch number to be checked, the process obtained in step S103 and the source system order related to the batch number to be checked.

步驟S105:計算出該些移轉單中所記載之該待查批號的數量。Step S105: Calculate the quantity of the lot numbers to be checked recorded in the transfer orders.

步驟S106:暫存節點,並返回步驟S102。Step S106: temporarily store the node, and return to step S102.

步驟S107:在步驟S102中,處理完所有與該識別資料相匹配之該製程後,繼續查詢該待查批號相對應之所有該入庫單及/或該託外進貨單、及其對應之批號。Step S107: In step S102, after processing all the processes matching the identification data, continue to query all the inbound orders and/or the out-of-consignment order and their corresponding batch numbers corresponding to the batch number to be checked.

步驟S108:在步驟S107中,若該資料庫中存在與該識別資料相匹配之該入庫單及/或該託外進貨單時,確認單據類型,當待查批號為入庫批號時,其單據類型為入庫單,產生一入庫類型批號子節點;當待查批號為託外進貨批號時,其單據類為託外進貨單,產生一託外類型批號子節點。Step S108: In step S107, if there is the inbound order and/or the out-of-consignment order in the database that matches the identification data, confirm the document type, and when the batch number to be checked is the inbound batch number, the document type For a stock-in document, a sub-node of the batch number of a stock-in type is generated; when the batch number to be checked is an out-of-consignment purchase batch number, the document type is an out-of-consignment purchase order, and a sub-node of an out-of-consignment type batch number is generated.

步驟S109:再查詢出具有該對應之入庫批號及/或託外進貨批號之來源單據及/或退回單據。詳細來說,此處查詢的來源單據會與步驟S108中的單據類型相同,例如:入庫批號類型批號子節點只會查入庫單;託外類型批號子節點只會查託外進貨單、託外退貨單。Step S109 : query the source document and/or the return document with the corresponding incoming batch number and/or outsourcing batch number. In detail, the source document queried here will be of the same type as the document type in step S108, for example: the batch number sub-node of inbound batch number type can only inquire the inbound document; return form.

步驟S110:計算出該些入庫單及/或託外進貨單、託外退貨單中所記載之該待查批號的數量。Step S110 : Calculate the quantity of the batch numbers to be checked recorded in the stock-in slips and/or out-of-consignment purchase slips and out-of-consignment return slips.

步驟S111:暫存節點,並返回步驟S107。Step S111: temporarily store the node, and return to step S107.

步驟S112:在步驟S107中,處理完所有與該識別資料相匹配之該入庫單及/或該託外進貨單後,回傳溯源之結果。Step S112 : In step S107 , after processing all the inbound orders and/or the out-of-consignment receipts that match the identification data, return the traceability result.

D:順溯批號節點程序D: Trace back batch number node program

如圖5所示,該順溯批號節點程序的實施步驟如下:As shown in Figure 5, the implementation steps of the batch traceability node program are as follows:

步驟S201:傳入待查公司代號及待查批號。Step S201: Enter the code of the company to be checked and the batch number to be checked.

步驟S202:查詢所有領用該待查批號之領用製令。Step S202 : Inquire about all the receiving orders for the batch number to be checked.

步驟S203:在步驟S202中,當找到匹配之領用製令時,再判斷該領用製令是否為廠內製令或託外製令。Step S203: In step S202, when a matching order for use is found, it is then judged whether the order for use is an in-factory order or an outsourced order.

步驟S204:在步驟S203中,當該領用製令為廠內製令時,該順溯模組43產生一自製領用類型製令子節點;當該領用製令為託外製令時,該順溯模組43產生一託外領用類型製令子節點。Step S204: In step S203, when the receiving order is an in-factory order, the traceability module 43 generates a self-made ordering type order sub-node; when the receiving order is an outsourcing order, The traceback module 43 generates a sub-node of the type of out-of-pocket requisition.

步驟S205:以該領用批號及步驟S203所得之領用製令查詢相匹配之來源單據與退回單據。詳細來說,此處查詢的來源單據會依據步驟S203中的單據類型判斷,例如:自製領用類型製令子節點只會查領料單;託外領用類型製令子節點只會查託外進貨單。Step S205 : query the matching source document and return document with the receiving batch number and the receiving order obtained in step S203 . In detail, the source document to be queried here will be judged according to the document type in step S203, for example: the sub-node of self-made requisition type order can only inquire the material requisition; one.

步驟S206:計算該些來源單據與退回單據中所記載之該待查批號的數量。Step S206 : Calculate the quantity of the batch numbers to be checked recorded in the source documents and the return documents.

步驟S207:暫存節點,並返回步驟S202。Step S207: temporarily store the node, and return to step S202.

步驟S208:在步驟S202中,當處理完所有與該待查批號相對應之領用製令後,繼續查詢所有銷貨該待查批號之一銷貨對象。Step S208: In step S202, after processing all the use orders corresponding to the batch number to be checked, continue to check all the sales objects of the batch number to be checked.

步驟S209:檢查該銷貨對象是否為供應鏈系統中之公司。詳細來說,在步驟S208中,當有找到該銷貨對象時,再判斷該銷貨對象是否為一公司角色。當判斷結果為是時,該順溯模組43產生一客戶類型客戶子節點;當判斷結果為否時,該順溯模組43產生一客戶類型客戶葉節點。Step S209: Check whether the sales object is a company in the supply chain system. Specifically, in step S208, when the sales object is found, it is then determined whether the sales object is a company role. When the judgment result is yes, the traceability module 43 generates a client-type client child node; when the judgment result is no, the traceability module 43 generates a client-type client leaf node.

步驟S210:以該待查批號及步驟S209所得之結果查詢相匹配之銷貨單與銷退單,並計算出該些單據上所記載之該待查批號的數量。Step S210 : Query the matching sales order and the sales-return order based on the batch number to be checked and the result obtained in step S209 , and calculate the quantity of the batch number to be checked recorded on the receipts.

步驟S211:暫存節點,並返回步驟S208。Step S211: temporarily store the node, and return to step S208.

步驟S212:在步驟S208中,處理完所有與該識別資料相匹配之該銷貨對象後,係進一步查詢該些資料庫是否存在與該識別資料相匹配之庫存資料。Step S212: In step S208, after all the sales objects matching the identification data are processed, it is further queried whether the databases have inventory data matching the identification data.

步驟S213:在步驟S212中,若該些資料庫中存在與該識別資料相匹配之該庫存資料時,係產生一庫存類型倉庫葉節點,再讀取該庫存資料,並計算其數量。Step S213: In step S212, if the inventory data matching the identification data exists in the databases, a warehouse leaf node of inventory type is generated, the inventory data is read again, and the quantity thereof is calculated.

步驟S214:在步驟S212中,處理完所有與該識別資料相匹配之該庫存資料後,回傳前述各步驟之溯源結果。Step S214: In step S212, after processing all the inventory data matching the identification data, return the traceability results of the preceding steps.

E:順溯製令節點程序E: Traceability order node program

如圖6所示,該順溯製令節點程序的實施步驟如下:As shown in Figure 6, the implementation steps of the traceability order node program are as follows:

步驟S301:傳入待查公司代號及待查單號。Step S301: Enter the code of the company to be checked and the order number to be checked.

步驟S302:查詢與該待查單號匹配之製令的所有相關連之製造批號。Step S302: Query all related manufacturing lot numbers of the manufacturing order matching the order number to be checked.

步驟S303:在步驟S302中,若該資料庫中存在與該識別資料相匹配之該製造批號時,產生一製造類型製造批號子節點。Step S303: In step S302, if the manufacturing lot number matching the identification data exists in the database, a manufacturing type manufacturing lot number sub-node is generated.

步驟S304:以該製造批號及該製造批號關連之來源製令查詢相匹配之移轉單,並計算出該些單據上所記載之該待查單號的數量。Step S304 : Query the matching transfer order based on the manufacturing lot number and the source system order related to the manufacturing lot number, and calculate the quantity of the pending order number recorded on the documents.

步驟S305:暫存節點,並返回步驟S302。Step S305: temporarily store the node, and return to step S302.

步驟S306:在步驟S302中,處理完所有與該識別資料相匹配之該製造批號後,回傳溯源結果。Step S306: In step S302, after all the manufacturing batch numbers matching the identification data are processed, the traceability result is returned.

如圖7至圖11所示,該逆溯模組42係能執行如下程序:As shown in FIG. 7 to FIG. 11 , the retrospective module 42 can execute the following procedures:

A:節點類別確認程序A: Node Type Confirmation Procedure

如圖7所示,基於待查公司代號及/或待查批號,進入一逆溯批號程序以產生並回傳根節點,再次傳入公司代號及根節點資料後,確認其所屬節點的類別,即批號節點、製造批號節點、製令節點或供應商節點,並將其確認結果以一遞迴迴圈(Loop)進行遞迴,並將其結果回傳。As shown in Figure 7, based on the code of the company to be checked and/or the batch number to be checked, a reverse batch number program is entered to generate and return the root node, and after the company code and root node data are imported again, the category of the node to which it belongs is confirmed. That is, the batch number node, the manufacturing batch number node, the order node or the supplier node, and the confirmation result is returned in a recursive loop (Loop), and the result is returned.

B:逆溯批號程序B: Backtracking batch number program

如圖8所示,該逆溯批號程序的實施步驟如下:As shown in Figure 8, the implementation steps of this retroactive batch number program are as follows:

步驟S801:傳入待查公司代號及待查批號。Step S801: Enter the code of the company to be checked and the batch number to be checked.

步驟S802:查詢與該待查批號匹配之所有來源單據,並判斷來源單據的類型。意即,是以查詢各單據資料是否有關連待查批號以判斷其來源單據類型。Step S802: Query all source documents matching the batch number to be checked, and determine the type of the source documents. That is to say, it is to check whether each document data is related to the batch number to be checked to determine the source document type.

步驟S803:在步驟S802中,當該來源單據為銷貨單、入庫單、託外進貨單及/或進貨單時,係分別產生一銷貨類型批號子節點、一製造類型批號子節點、一託外類型批號子節點及/或一採購類型批號子節點。Step S803: In step S802, when the source document is a sales order, a stock receipt, an out-of-consignment receipt and/or a receipt, a sales type batch number sub-node, a manufacturing type batch number sub-node, a Outsourcing Type Lot Number sub-node and/or a Purchase Type Lot Number sub-node.

步驟S804:查詢批號來源單據及退回單據,並計算出該些單據上所記載之該待查批號的數量。詳細來說,此處查詢的來源單據會與步驟S803中的來源單據類型相同,例如:銷貨類型批號子節點只會查銷貨單、銷退單;自製類型批號子節點只會查入庫單;託外類型批號子節點只會查託外進貨單、託外退貨單;採購類型批號子節點只會查進貨單、退貨單。Step S804 : query the batch number source document and the return document, and calculate the quantity of the batch number to be checked recorded on the documents. In detail, the source document queried here will be of the same type as the source document in step S803, for example: the batch number sub-node of the sales type can only query the sales document and the sales return document; the batch number sub-node of the self-made type can only query the inventory document ; The sub-node of the batch number of the out-of-consignment type can only check the out-of-consignment purchase order and the out-of-consignment return order; the sub-node of the purchase type of the batch number can only check the purchase order and the return order.

步驟S805:在步驟S802中,當該來源單據並非銷貨單、入庫單、託外進貨單及/或進貨單時,再查詢該待查批號是否為製造批號。Step S805: In step S802, when the source document is not a sales order, a stock receipt, an out-of-consignment receipt and/or a receipt, it is then inquired whether the batch number to be checked is a manufacturing batch number.

步驟S806:在步驟S805中,若該待查批號為製造批號時,係進一步判斷該製造批號所關連之來源製令是否與該資料庫中之移轉單相關。Step S806: In step S805, if the lot number to be checked is a manufacturing lot number, it is further judged whether the source manufacturing order related to the manufacturing lot number is related to the transfer order in the database.

步驟S807:在步驟S806中,若該資料庫中存在有與該製造批號所關連之來源製令相匹配之該移轉單時,係產生一在製類型製造批號子節點。Step S807: In step S806, if there is the transfer order matching the source manufacturing order associated with the manufacturing lot number in the database, a manufacturing lot number sub-node of the type in process is generated.

步驟S809:在步驟S806中,若該資料庫中不存在與該製造批號所關連之來源製令相匹配之該移轉單時,係產生一計畫類型製造批號子節點。Step S809: In step S806, if the transfer order matching the source order associated with the manufacturing lot number does not exist in the database, a project type manufacturing lot number sub-node is generated.

步驟S810:接續步驟S807或步驟S809,查詢與該製造批號相匹配之來源製令,並計算其數量。Step S810: Continue to step S807 or step S809, inquire about the source manufacturing order matching the manufacturing lot number, and calculate the quantity.

步驟S811:在步驟S805中,若該批號不為製造批號時,係再判斷該識別資料是否與庫存異動單據有關連。Step S811: In step S805, if the batch number is not the manufacturing batch number, it is further judged whether the identification data is related to the inventory transaction document.

步驟S812:在步驟S811中,若該資料庫中存在有與該識別資料相關連之該庫存異動單據時,係產生一初始庫存類型庫存葉節點;並查詢該批號之異動單據,並計算出該些單據上所記載之該待查批號的數量。Step S812: In step S811, if there is the inventory transaction document associated with the identification data in the database, an initial inventory type inventory leaf node is generated; and the transaction document of the batch number is queried, and the The quantity of the batch number to be checked recorded on these documents.

步驟S813在步驟S811中,若該資料庫中不存在與該識別資料相關連之該庫存異動單據時,係產生一不明庫存類型庫存葉節點。Step S813 In step S811, if the inventory transaction document associated with the identification data does not exist in the database, an inventory leaf node of unknown inventory type is generated.

步驟S814:計算該產品之庫存數量。Step S814: Calculate the inventory quantity of the product.

步驟S815:回傳前述各步驟之溯源結果。Step S815: Return the traceability results of the preceding steps.

C:逆溯批號節點程序C: Backtracking batch number node program

如圖9所示,該逆溯批號節點程序的實施步驟如下:As shown in Figure 9, the implementation steps of the reverse traceability batch number node program are as follows:

步驟S501:傳入待查公司代號及待查批號。Step S501: Enter the code of the company to be checked and the batch number to be checked.

步驟S502:查詢該待查批號是否為製造批號。Step S502: Query whether the batch number to be checked is a manufacturing batch number.

步驟S503:在步驟S502中,若該識別資料為製造批號時,係進一步判斷該資料庫中是否存在與該製造批號相匹配之母製造批號。Step S503: In step S502, if the identification data is a manufacturing lot number, it is further judged whether there is a parent manufacturing lot number matching the manufacturing lot number in the database.

步驟S504:若該資料庫中存在有與該製造批號相匹配之母製造批號時,係以母製造批號產生一製造類型製造批號子節點;若該資料庫中不存在有與該製造批號相匹配之母製造批號時,係以該製造批號產生一製造類型製造批號子節點。Step S504: if there is a parent manufacturing lot number matching the manufacturing lot number in the database, a manufacturing type manufacturing lot number sub-node is generated based on the parent manufacturing lot number; if there is no matching manufacturing lot number in the database When the mother manufacturing lot number is used, a manufacturing type manufacturing lot number child node is generated based on the manufacturing lot number.

步驟S505:查詢指定入庫/託外進貨批號、原生產的來源製令之來源單據及退回單據。詳細來說,以步驟S504用於產生節點之該製造批號及與該母製造批號或該製造批號之原生產的來源製令來查詢相匹配之來源單據,並計算出該些來源單據上所記載之該待查批號的數量。Step S505 : Query the designated incoming/outgoing purchase batch number, the source document of the original production source order, and the return document. In detail, step S504 is used to generate the manufacturing lot number of the node and the source manufacturing order of the parent manufacturing lot number or the original production of the manufacturing lot number to query the matching source documents, and calculate the records on the source documents. The number of the batch number to be checked.

步驟S506:找出所有進貨該待查批號之供應商。詳細來說,在步驟S502中,若該識別資料不為製造批號時,再查詢該資料庫是否存在與該識別資料相匹配之一供貨對象。Step S506: Find out all the suppliers who purchase the batch number to be checked. Specifically, in step S502, if the identification data is not the manufacturing batch number, the database is queried to see if there is a supply object matching the identification data.

步驟S507:檢查供應商是否為供應鏈系統中之公司。詳細來說,在步驟S506中,若該資料庫中存在與該識別資料相匹配之該供貨對象時,係再判斷該供貨對象是否為一公司角色,當該供貨對象係公司角色時,係產生一廠商類型供應商子節點,並可進一步執行其他供應鏈溯源之作業;當該供貨對象並非公司角色時,則產生一廠商類型供應商葉節點。Step S507: Check whether the supplier is a company in the supply chain system. Specifically, in step S506, if there is the supply object that matches the identification data in the database, it is then judged whether the supply object is a company role, and when the supply object is a company role , which generates a vendor-type supplier child node, which can further perform other supply chain traceability operations; when the supply object is not a company role, a vendor-type vendor leaf node is generated.

接著,再分別讀取相關之進貨單及退貨單,並計算出該些單據上所記載之該待查批號的數量。Next, read the relevant purchase slips and return slips respectively, and calculate the quantity of the batch number to be checked recorded on the slips.

步驟S508:在步驟S505後或在步驟S506中,處理完所有與該識別資料相匹配之該供貨對象時,回傳前述各步驟之溯源結果。Step S508: After step S505 or in step S506, when all the supply objects matching the identification data are processed, return the traceability results of the preceding steps.

D:逆溯製造批號節點程序D: Retrospective manufacturing batch number node program

如圖10所示,該逆溯製造批號節點程序的實施步驟如下:As shown in Figure 10, the implementation steps of the retrospective manufacturing batch number node program are as follows:

步驟S601:傳入待查公司代號及待查批號。Step S601: Enter the code of the company to be checked and the batch number to be checked.

步驟S602:查詢該待查批號之所有製程。Step S602: Inquire about all the processes of the batch number to be checked.

步驟S603:在步驟S602中,若該資料庫中存在與該識別資料相匹配之該製程時,係產生一製程類型批號製程葉節點。再者,該逆溯模組42更依該製程之工序進行排序。Step S603: In step S602, if the process matching the identification data exists in the database, a process type lot number process leaf node is generated. Furthermore, the reverse tracking module 42 is further sorted according to the steps of the manufacturing process.

步驟S604:以該待查批號及步驟S603所得之工序及待查批號關連之來源製令查詢相匹配之移轉單,並計算出該些移轉單上所記載之該待查批號的數量。Step S604 : query the matching transfer orders based on the batch number to be checked and the source system related to the process obtained in step S603 and the batch number to be checked, and calculate the quantity of the batch numbers to be checked recorded on the transfer orders.

步驟S605:在步驟S602中,處理完所有與該識別資料相匹配之該製程後,再查詢該資料庫該識別資料所屬之來源製令,並產生一自製類型製令子節點。Step S605 : In step S602 , after processing all the processes matching the identification data, query the database for the source control order to which the identification data belongs, and generate a self-made type control order sub-node.

步驟S606:判斷該來源製令是否存在關連之投料移轉單。Step S606: Determine whether there is a related material transfer order for the source control order.

步驟S607:在步驟S606中,當該製令存在關連之投料移轉單時,計算出該投料移轉單上所記載之該待查批號的數量;Step S607: In step S606, when there is a material transfer order related to the manufacturing order, calculate the quantity of the batch number to be checked recorded on the material transfer order;

步驟S608:在步驟S606中,當該來源製令不存在關連之投料移轉單時,計算該來源製令上所記載之該待查批號的數量。Step S608: In step S606, when there is no related material transfer order in the source control order, calculate the quantity of the lot number to be checked recorded on the source control order.

E:逆溯製令節點程序E: Reverse traceability order node program

如圖11所示,該逆溯製令節點程序的實施步驟如下:As shown in Figure 11, the implementation steps of the reverse traceability order node program are as follows:

步驟S701:傳入待查公司代號及待查單號。Step S701: Enter the code of the company to be checked and the order number to be checked.

步驟S702:查詢與該待查單號匹配之來源製令的所有相關連之領料單,並再提取已找到之領料單所包含之所有批號。Step S702: Query all related picking lists of source orders matching the order number to be checked, and then extract all batch numbers included in the found picking lists.

步驟S703:在步驟S702中,若該資料庫中存在與該識別資料相關連之領料單及領料批號時,並產生一領用類型批號子節點。Step S703: In step S702, if there is a picking list and a picking lot number associated with the identification data in the database, a picking type lot number sub-node is generated.

步驟S704:以步驟S703所得之領用批號及該領用批號關連之來源製令查詢相匹配之領料單及/或退料單,並計算該單據上所記載之該待查單號的數量。Step S704: Query the matching picking list and/or return list with the receiving batch number obtained in step S703 and the source system order related to the receiving batch number, and calculate the number of the pending order number recorded on the receipt. .

步驟S705:暫存節點,並返回步驟S702。Step S705: temporarily store the node, and return to step S702.

步驟S706:在步驟S702中,處理完所有與該識別資料相關連之領料單及領料批號後,回傳溯源結果。Step S706: In step S702, after processing all the picking lists and the picking batch numbers associated with the identification data, the traceability results are returned.

此外,前述該逆溯模組42及該順溯模組43所分別建立之該些子節點及該些葉節點,係分別與該溯源節點彼此之間建立連結關係。而前揭各程序,僅為說明本發明之較佳實施例之功能的代表性範例,並不代表該較佳實施例僅能進行前述所列舉的溯源方式、亦不代表各程序之間具有必然的執行先後順序。In addition, the child nodes and the leaf nodes respectively established by the backtracking module 42 and the backtracking module 43 respectively establish a connection relationship with the backtracking node. The procedures disclosed above are only representative examples to illustrate the functions of the preferred embodiment of the present invention, and it does not mean that the preferred embodiment can only perform the traceability methods listed above, nor does it mean that there is an inevitable relationship between the procedures. order of execution.

據此,使用者係能夠利用經運算所得之溯源節點、子節點及/或葉節點,而快速搜尋出所欲查詢之跨廠/場資料,以作為判斷食安之依據。Accordingly, the user can use the traceability node, child node and/or leaf node obtained by the operation to quickly search for the cross-plant/farm data to be queried, as a basis for judging food safety.

該資源管理系統50係作為水資源管理與再利用、綠能管理、農業廢棄物或污水處理之用。在本實施例中該資源管理系統50包括一淨水及回收裝置及一綠能裝置,該淨水及回收裝置用以過濾及/或清除水中如魚糞等污染物質,並製成肥料,還將過濾後的水回收再利用,以減少資源浪費之情形。該綠能裝置能配合智能(AI)太陽能儲能系統,用以儲存離峰時段的電力,以降低用電成本。The resource management system 50 is used for water resource management and reuse, green energy management, agricultural waste or sewage treatment. In this embodiment, the resource management system 50 includes a water purification and recovery device and a green energy device. The water purification and recovery device is used to filter and/or remove pollutants such as fish manure in the water, and make fertilizers. The filtered water is recycled and reused to reduce resource waste. The green energy device can cooperate with an intelligent (AI) solar energy storage system to store electricity during off-peak hours to reduce electricity costs.

10:平台 20:產銷管理系統 21:資料管理資料庫 22:進銷存管理資料庫 23:作業管理資料庫 24:財務管理資料庫 30:生產監控系統 31:感測器 40:供應鏈溯源管理產品足跡管理系統 41:產品足跡模組 42:逆溯模組 43:順溯模組 44:產品足跡資料庫 50:資源管理系統 10: Platform 20: Production and sales management system 21: Data Management Database 22: Invoicing management database 23: Job Management Database 24: Financial Management Database 30: Production Monitoring System 31: Sensor 40: Supply Chain Traceability Management Product Footprint Management System 41: Product Footprint Module 42: Retrospective module 43: Traceability module 44: Product Footprint Database 50: Resource Management System

圖1係為本發明之一較佳實施例之系統方塊圖。 圖2係為本發明之一較佳實施例就順溯模組所執行之根節點程序與節點類別確認程序的流程圖。 圖3係為本發明之一較佳實施例之順溯批號程序的流程圖。 圖4係為本發明之一較佳實施例之順溯製造批號節點程序的流程圖。 圖5係為本發明之一較佳實施例之順溯批號節點程序的流程圖。 圖6係為本發明之一較佳實施例之順溯製令節點程序的流程圖。 圖7係為本發明之一較佳實施例就逆溯模組所執行之根節點程序與節點類別確認程序流程圖。 圖8係為本發明之一較佳實施例之逆溯批號程序的流程圖。 圖9係為本發明之一較佳實施例之逆溯批號節點程序的流程圖。 圖10係為本發明之一較佳實施例之逆溯製造批號節點程序的流程圖。 圖11係為本發明之一較佳實施例之逆溯製令節點程序的流程圖。 FIG. 1 is a system block diagram of a preferred embodiment of the present invention. FIG. 2 is a flowchart of the root node procedure and the node type confirmation procedure executed by the traceback module according to a preferred embodiment of the present invention. FIG. 3 is a flow chart of a batch number tracing program according to a preferred embodiment of the present invention. FIG. 4 is a flow chart of a process of tracing back the manufacturing lot number node according to a preferred embodiment of the present invention. FIG. 5 is a flow chart of a program of tracing back the batch number node according to a preferred embodiment of the present invention. FIG. 6 is a flow chart of a traceability order node program according to a preferred embodiment of the present invention. FIG. 7 is a flowchart of the root node procedure and the node type confirmation procedure executed by the backtracking module according to a preferred embodiment of the present invention. FIG. 8 is a flow chart of a batch number retrospective program according to a preferred embodiment of the present invention. FIG. 9 is a flow chart of a reverse batch number node program according to a preferred embodiment of the present invention. FIG. 10 is a flow chart of a process of retrospecting the manufacturing lot number node according to a preferred embodiment of the present invention. FIG. 11 is a flowchart of a reverse traceability order node program according to a preferred embodiment of the present invention.

10:平台 10: Platform

20:產銷管理系統 20: Production and sales management system

21:資料管理資料庫 21: Data Management Database

22:進銷存管理資料庫 22: Invoicing management database

23:作業管理資料庫 23: Job Management Database

24:財務管理資料庫 24: Financial Management Database

30:生產監控系統 30: Production Monitoring System

31:感測器 31: Sensor

40:供應鏈溯源管理產品足跡管理系統 40: Supply Chain Traceability Management Product Footprint Management System

41:產品足跡模組 41: Product Footprint Module

42:逆溯模組 42: Retrospective module

43:順溯模組 43: Traceability module

44:產品足跡資料庫 44: Product Footprint Database

50:資源管理系統 50: Resource Management System

Claims (8)

一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號;自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,在運算該溯源節點的步驟中,更利用一順溯批號程序追溯該產品的流向,該順溯批號程序包括以下步驟:步驟a1:查詢與該待查批號匹配之所有來源單據;步驟a2:當該來源單據為進貨單、入庫單及/或託外進貨單時,係分別產生一採購類型批號子節點、一自製類型批號子節點及/或一託外類型批號子節點,並分別計算相對應之來源單據上所記載之批號的數量; 步驟a3:當該來源單據並非進貨單、入庫單及/或託外進貨單時,再查詢該待查批號是否為製造批號;步驟a4:在步驟a3中,若該待查批號為製造批號時,係進一步判斷該製造批號是否與該資料庫中之該投料移轉單關連;步驟a5:在步驟a4中,若該資料庫中存在有與該製造批號相匹配之該投料移轉單時,係產生一在製類型製造批號子節點,再查詢出具有該製造批號之投料移轉單,並計算出該投料移轉單上所記載之該待查批號的數量;步驟a6:在步驟a4中,若該資料庫中不存在與該製造批號相匹配之該投料移轉單時,係產生一計畫類型製造批號子節點,再讀取各該資料庫中與該製造批號相關連之來源製令,並計算其他與該來源製令相關之該待查批號的數量;步驟a7:在步驟a3中,若該待查批號不為製造批號時,係再判斷該識別資料是否與一庫存異動單據有關連;步驟a8:在步驟a7中,若該資料庫中存在有與該識別資料相關連之該庫存異動單據時,係產生一初始庫存類型庫存葉節點,並計算該庫存異動單據上所記載之該待查批號的數量;若該資料庫中不存在與該識別資料相關連之該庫存異動單據時,係產生一不明庫存類型庫存葉節點,並計算該產品之庫存數量;其中,該採購類型批號子節點、該自製類型批號子節點、該託外類型批號子節點、該在製類型製造批號子節點、該計畫類型製造批號子節點、該初始庫存類型庫存葉節點及該不明庫存類型庫存葉節點係分別與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; from one or more databases Find at least one first data, second data and/or third data matching the identification data; wherein, the first data includes company code data and inventory data; the second data includes source documents and return documents , the source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents, and the return documents include return orders, material returns The third data includes the source manufacturing order, the receiving order and the batch number process data. The batch number process data includes the process, the manufacturing process, the manufacturing batch number, the mother manufacturing batch number, and the receiving batch number. The first data and/or the third data are recorded on the source document and the returned document respectively; the related recursive operation is performed on the first data, the second data and/or the third data to search and establish a The first data, the second data and/or the third data are linked to a traceability node; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, a batch number process node, a customer node, Supplier node, warehouse node or inventory node, and each node can be classified according to different types, and it is further connected with corresponding child nodes and/or leaf nodes; wherein, in the step of calculating the traceability node, more use A batch number tracing program traces the flow of the product. The batch tracing procedure includes the following steps: Step a1: Query all source documents matching the batch number to be checked; Step a2: When the source document is a purchase order, a warehouse receipt and/or Or in the case of an out-of-consignment purchase order, a purchase type batch number sub-node, a self-made type batch number sub-node and/or an out-consignment type batch number sub-node are respectively generated, and the quantity of the batch number recorded on the corresponding source document is calculated respectively; Step a3: When the source document is not a stock receipt, a stock receipt and/or a consignment receipt, check whether the batch number to be checked is a manufacturing batch number; Step a4: In step a3, if the batch number to be checked is a manufacturing batch number , is to further judge whether the manufacturing lot number is related to the material transfer order in the database; step a5: in step a4, if there is the material transfer order matching the manufacturing lot number in the database, It generates a sub-node of the manufacturing batch number of the type in process, and then inquires out the material transfer order with the manufacturing lot number, and calculates the quantity of the batch number to be checked recorded on the material transfer order; step a6: in step a4 , if the material transfer order matching the manufacturing lot number does not exist in the database, a sub-node of the planning type manufacturing lot number is generated, and then the source system related to the manufacturing lot number in each database is read. order, and calculate the number of other batch numbers to be checked related to the source manufacturing order; step a7: in step a3, if the batch number to be checked is not a manufacturing batch number, it is then judged whether the identification data is related to an inventory transaction document related; step a8: in step a7, if there is the inventory transaction document related to the identification data in the database, an initial inventory type inventory leaf node is generated, and the record on the inventory transaction document is calculated. The quantity of the batch number to be checked; if the inventory transaction document related to the identification data does not exist in the database, an inventory leaf node of an unknown inventory type is generated, and the inventory quantity of the product is calculated; among them, the purchase Type batch number child node, the self-made type batch number child node, the outsourced type batch number child node, the manufacturing batch number child node of the manufacturing type, the planning type manufacturing batch number child node, the initial inventory type inventory leaf node, and the unknown inventory type The inventory leaf nodes are respectively connected with the traceability node to establish a connection relationship with each other. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號; 自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,在運算該溯源節點的步驟中,更利用一順溯製造批號節點程序追溯該產品的流向,該順溯製造批號節點程序包括以下步驟:步驟b1:查詢該資料庫是否存在與該識別資料相匹配之製程;步驟b2:在步驟b1中,若該資料庫中存在與該識別資料相匹配之該製程時,係產生一製程類型批號製程葉節點,並依該製程之工序進行排序;以該待查批號、該工序及該待查批號關連之來源製令查詢相匹配之移轉單,並計算該移轉單中所記載之該待查批號數量;步驟b3:在步驟b1中,處理完所有與該識別資料相匹配之製程後,再查詢該資料庫是否存在與該識別資料相匹配之該入庫單及/或該託外進貨單;步驟b4:在步驟b3中,若該資料庫中存在與該識別資料相匹配之該入庫單及/或該託外進貨單時,確認單據類型,並分別產生一入庫類型批號子節點及/或 一託外類型批號子節點,並計算出相對應之來源單據及/或退回單據上所記載之該待查批號的數量;步驟b5:在步驟b3中,處理完所有與該識別資料相匹配之該入庫單及/或該託外進貨單後,回傳溯源之結果;其中,該製程類型批號製程葉節點、該入庫類型批號子節點及該託外類型批號子節點係分別與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; Find at least one first data, second data and/or third data matching the identification data from one or more databases; wherein, the first data includes company code data and inventory data; the second data The data includes source documents and return documents. The source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents. The return Documents include return order, material return order, consignment return order and sales return order; the third data includes source manufacturing order, requisition order and batch number process data, the batch number process data includes process, process, manufacturing batch number, mother manufacturing Lot number, receiving lot number, the source document and the return document respectively record the first data and/or the third data; the first data, the second data and/or the third data are related and returned operation to search for and establish a traceability node that has a connection relationship with the first data, the second data and/or the third data; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, Lot number process node, customer node, supplier node, warehouse node or inventory node, and each of the nodes can be classified according to different types, and it is further connected with corresponding child nodes and/or leaf nodes; wherein, when calculating the traceability In the node step, a traceability manufacturing lot number node program is used to trace the flow direction of the product. The traceability manufacturing lot number node program includes the following steps: Step b1: Query the database whether there is a process matching the identification data; step b2: In step b1, if there is the process matching the identification data in the database, a process type batch number process leaf node is generated and sorted according to the process of the process; The process and the source system related to the batch number to be checked are inquired about the matching transfer order, and the quantity of the batch number to be checked recorded in the transfer order is calculated; step b3: In step b1, all identification data related to the identification data are processed. After matching the manufacturing process, query the database to see if there is the inbound order and/or the out-of-consignment order that matches the identification data; step b4: In step b3, if the identification data exists in the database When matching the receipt document and/or the out-of-consignment receipt, confirm the document type, and respectively generate a receipt type batch number sub-node and/or An out-of-consignment type batch number sub-node, and calculates the quantity of the batch number to be checked recorded on the corresponding source document and/or return document; Step b5: In step b3, process all the batches matching the identification data. After the receipt and/or the out-of-consignment receipt, return the traceability result; wherein, the process type batch number process leaf node, the in-warehouse type batch number sub-node and the out-of-consignment type batch number sub-node are respectively and the traceability node each other establish a connection between them. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號;自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,在運算該溯源節點的步驟中,更利用一順溯批號節點程序追溯該產品的流向,該順溯批號節點程序包括以下步驟: 步驟c1:查詢所有領用該識別資料之領用製令;步驟c2:接續步驟c1,若該資料庫中存在領用該識別資料之該領用製令時,係再判斷製令類型,並分別產生一自製領用類型製令子節點或一託外領用類型製令子節點,並分別查詢出與該領用製令相匹配之該來源單據及該退回單據,並計算該單據上所記載之該待查批號的數量;步驟c3:接續步驟c1,處理完所有領用該識別資料之領用製令後,再查詢該資料庫是否存在與該識別資料相匹配之一銷貨對象;步驟c4:接續步驟c3,若該資料庫中存在與該識別資料相匹配之該銷貨對象時,係再判斷該銷貨對象是否為一公司角色,並分別產生一客戶類型客戶子節點或一客戶類型客戶葉節點,再查詢出相對應之該銷貨單及該銷退單,並計算該銷貨單及該銷退單上所記載之該待查批號的數量;步驟c5:接續步驟c3,處理完所有與該識別資料相匹配之該銷貨對象後,係進一步查詢該資料庫是否存在與該識別資料相匹配之庫存資料;步驟c6:接續步驟c5,若該資料庫中存在與該識別資料相匹配之該庫存資料時,係產生一庫存類型倉庫葉節點;若該資料庫中不存在與該識別資料相匹配之該庫存資料時,回傳溯源之結果;其中,該自製領用類型製令子節點、該託外領用類型製令子節點、該客戶類型客戶子節點、該客戶類型客戶葉節點及該庫存類型倉庫葉節點係分別與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; from one or more databases Find at least one first data, second data and/or third data matching the identification data; wherein, the first data includes company code data and inventory data; the second data includes source documents and return documents , the source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents, and the return documents include return orders, material returns The third data includes the source manufacturing order, the receiving order and the batch number process data. The batch number process data includes the process, the manufacturing process, the manufacturing batch number, the mother manufacturing batch number, and the receiving batch number. The first data and/or the third data are recorded on the source document and the returned document respectively; the related recursive operation is performed on the first data, the second data and/or the third data to search and establish a The first data, the second data and/or the third data are linked to a traceability node; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, a batch number process node, a customer node, Supplier node, warehouse node or inventory node, and each node can be classified according to different types, and it is further connected with corresponding child nodes and/or leaf nodes; wherein, in the step of calculating the traceability node, more use A traceable batch number node program traces the flow of the product, and the traceable batch number node program includes the following steps: Step c1: Inquire about all the use orders that use the identification information; Step c2: Continue with step c1, if there is the use order for the identification data in the database, then determine the type of the order, and Generate a sub-node of self-made receipt type order or a sub-node of out-of-consignment receipt type order, respectively query the source document and the return document that match the application order, and calculate the value recorded on the document. The number of the batch numbers to be checked; Step c3: Continuing with Step c1, after processing all the receiving orders for the identification data, check whether there is a sales object matching the identification data in the database; Step c4 : Continue to step c3, if there is the sales object matching the identification data in the database, then determine whether the sales object is a company role, and respectively generate a customer type customer sub-node or a customer type The customer leaf node, then inquires out the corresponding sales order and the sales return order, and calculates the quantity of the batch number to be checked recorded on the sales order and the sales return order; step c5: continue with step c3, process After finishing all the sales objects that match the identification data, further query the database to see if there is inventory data that matches the identification data; Step c6: Continue to Step c5, if there is a match to the identification data in the database When the inventory data matches, an inventory type warehouse leaf node will be generated; if the inventory data matching the identification data does not exist in the database, the traceability result will be returned; The order sub-node, the outsourced receipt type order sub-node, the customer-type customer sub-node, the customer-type customer leaf node, and the inventory-type warehouse leaf node respectively establish a connection relationship with the traceability node. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號;自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資 料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,在運算該溯源節點的步驟中,更利用一順溯製令節點程序追溯該產品的流向,該順溯製令節點程序包括以下步驟:步驟d1:查詢該資料庫是否存在與該識別資料相匹配之製造批號;步驟d2:在步驟d1中,若該資料庫中存在與該識別資料相匹配之該製造批號時,係產生一製造類型製造批號子節點,並以該製造批號及該批號關連之來源製令查詢相匹配之該移轉單,計算該移轉單上所記載之該待查批號數量;處理完所有與該識別資料相匹配之該製造批號後,回傳該溯源結果;其中,該製造類型製造批號子節點係與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; from one or more databases Find at least one first data, second data and/or third data matching the identification data; wherein, the first data includes company code data and inventory data; the second data The material includes source documents and return documents. The source documents include purchase orders, material picking lists, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents. The return Documents include return order, material return order, consignment return order and sales return order; the third data includes source manufacturing order, requisition order and batch number process data, the batch number process data includes process, process, manufacturing batch number, mother manufacturing Lot number, receiving lot number, the source document and the return document respectively record the first data and/or the third data; the first data, the second data and/or the third data are related and returned operation to search for and establish a traceability node that has a connection relationship with the first data, the second data and/or the third data; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, Lot number process node, customer node, supplier node, warehouse node or inventory node, and each of the nodes can be classified according to different types, and it is further connected with corresponding child nodes and/or leaf nodes; wherein, when calculating the traceability In the node step, a traceability system is used to trace the flow direction of the product, and the traceability control node program includes the following steps: Step d1: Query the database whether there is a manufacturing batch number that matches the identification data; Step d2: In step d1, if there is the manufacturing lot number matching the identification data in the database, a manufacturing type manufacturing lot number sub-node is generated, and the manufacturing lot number and the source system order related to the lot number are queried For the matching transfer order, calculate the quantity of the lot number to be checked recorded on the transfer order; after processing all the manufacturing lot numbers that match the identification data, return the traceability result; among them, the manufacturing type manufacturing The batch number sub-node establishes a connection relationship with the traceability node. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號; 自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,在運算該溯源節點的步驟中,更利用一逆溯批號節點程序追溯該產品的流向,該逆溯批號節點程序包括以下步驟:步驟e1:查詢該識別資料是否為製造批號;步驟e2:在步驟e1中,若該識別資料是為該製造批號時,係進一步判斷該資料庫中是否存在與該製造批號相匹配之母製造批號,並以母批號或該製造批號產生一製造類型製造批號子節點,再查詢與該待查批號及與該母製造批號或該製造批號關連之來源製令相匹配之該來源單據及該退回單據,並計算該來源單據及該退回單據上所記載之該待查批號的數量;步驟e3:在步驟e1中,若該識別資料不為製造批號時,再查詢該資料庫是否存在與該識別資料相匹配之一供貨對象; 步驟e4:在步驟e3中,若該資料庫中存在與該識別資料相匹配之該供貨對象時,係再判斷該供貨對象是否為一公司角色,並再分別產生一廠商類型供應商子節點或一廠商類型供應商葉節點,並分別讀取相對應之進貨單及退貨單,計算該進貨單及該退貨單上所記載之該待查批號的數量;步驟e5:在步驟e2或在步驟e4處理完所有與該識別資料相匹配之該供貨對象後,回傳溯源之結果;其中,該製造類型製造批號子節點、該廠商類型供應商子節點及該廠商類型供應商葉節點係分別與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; Find at least one first data, second data and/or third data matching the identification data from one or more databases; wherein, the first data includes company code data and inventory data; the second data The data includes source documents and return documents. The source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents. The return Documents include return order, material return order, consignment return order and sales return order; the third data includes source manufacturing order, requisition order and batch number process data, the batch number process data includes process, process, manufacturing batch number, mother manufacturing Lot number, receiving lot number, the source document and the return document respectively record the first data and/or the third data; the first data, the second data and/or the third data are related and returned operation to search for and establish a traceability node that has a connection relationship with the first data, the second data and/or the third data; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, Lot number process node, customer node, supplier node, warehouse node or inventory node, and each of the nodes can be classified according to different types, and it is further connected with corresponding child nodes and/or leaf nodes; wherein, when calculating the traceability In the step of the node, a reverse tracking batch number node program is used to trace the flow direction of the product. The reverse tracking batch number node program includes the following steps: step e1: query whether the identification data is a manufacturing batch number; step e2: in step e1, if When the identification data is the manufacturing lot number, it is further judged whether there is a parent manufacturing lot number matching the manufacturing lot number in the database, and a manufacturing type manufacturing lot number sub-node is generated based on the parent lot number or the manufacturing lot number, and then query and the batch number to be checked and the source document and the return document that match the parent manufacturing batch number or the source manufacturing order related to the manufacturing batch number, and calculate the quantity of the batch number to be checked recorded on the source document and the return document; Step e3: In step e1, if the identification data is not a manufacturing batch number, then inquire whether there is a supply object matching the identification data in the database; Step e4: In step e3, if there is the supply object matching the identification data in the database, it is further determined whether the supply object is a company role, and a vendor type supplier child is generated respectively. node or a manufacturer type supplier leaf node, and read the corresponding purchase order and return order respectively, and calculate the quantity of the batch number to be checked recorded on the purchase order and the return order; step e5: in step e2 or in step e2 Step e4 returns the traceability result after processing all the supply objects matching the identification data; wherein, the manufacture type manufacturing lot number sub-node, the manufacturer type supplier sub-node and the manufacturer type supplier leaf node are A connection relationship is established with the traceability nodes respectively. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號;自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點; 其中,在運算該溯源節點的步驟中,更利用一逆溯製令節點程序追溯該產品的流向,該逆溯製令節點程序包括以下步驟:步驟f1:查詢該資料庫是否存在與該識別資料相匹配之來源製令的所有相關連之領料單,並再提取已找到之領料單所包含之所有批號;步驟f2:在步驟f1中,若該資料庫中存在與該識別資料相關連之領料單時,係產生一領用類型批號子節點,並讀取該領料單及退料單,並計算該領料單及退料單上所記載之該待查單號的數量;處理完所有與該識別資料相關連之領料單後,回傳該溯源結果;其中,該領用類型批號子節點係與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; from one or more databases Find at least one first data, second data and/or third data matching the identification data; wherein, the first data includes company code data and inventory data; the second data includes source documents and return documents , the source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents, and the return documents include return orders, material returns The third data includes the source manufacturing order, the receiving order and the batch number process data. The batch number process data includes the process, the manufacturing process, the manufacturing batch number, the mother manufacturing batch number, and the receiving batch number. The first data and/or the third data are recorded on the source document and the returned document respectively; the related recursive operation is performed on the first data, the second data and/or the third data to search and establish a The first data, the second data and/or the third data are linked to a traceability node; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, a batch number process node, a customer node, Supplier node, warehouse node or inventory node, each of which can be classified according to different types, and is further connected with corresponding child nodes and/or leaf nodes respectively; Wherein, in the step of calculating the traceability node, a reverse traceability order node program is used to trace the flow direction of the product, and the reverse traceability order node program includes the following steps: Step f1: Query whether the database exists with the identification data All related picking lists of the matching source order, and then extract all batch numbers contained in the found picking list; Step f2: In step f1, if there is a relationship with the identification data in the database When the requisition list is generated, a sub-node of the requisition type batch number is generated, and the requisition list and the return list are read, and the quantity of the pending order number recorded on the pick list and the return list is calculated; After processing all the picking lists related to the identification data, return the traceability result; wherein, the sub-node of the batch number of the requisition type establishes a connection relationship with the traceability node. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號;自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、 客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,該在運算該溯源節點的步驟中,更利用一逆溯製造批號節點程序追溯該產品的原物料及其批號,該逆溯製造批號節點程序包括以下步驟:步驟g1:查詢該資料庫是否存在與該識別資料相匹配之製程;步驟g2:在步驟g1中,若該資料庫中存在與該識別資料相匹配之該製程時,係產生一製程類型批號製程葉節點,並分別讀取該移轉單,計算該移轉單上所記載之該待查批號的數量;步驟g3:在步驟g1中,處理完所有與該識別資料相匹配之該製程後,再查詢該資料庫該識別資料所屬之來源製令,並產生一自製類型製令子節點;接著,進一步判斷該來源製令是否存在關連之投料移轉單;步驟g4:在步驟g3中,當該來源製令存在關連之投料移轉單時,計算該投料移轉單上所記載之該待查批號數量;當該來源製令不存在關連之投料移轉單時,計算該來源製令上所記載之該待查批號的數量;其中,該製程類型批號製程葉節點及該自製類型製令子節點係分別與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; from one or more databases Find at least one first data, second data and/or third data matching the identification data; wherein, the first data includes company code data and inventory data; the second data includes source documents and return documents , the source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents, and the return documents include return orders, material returns The third data includes the source manufacturing order, the receiving order and the batch number process data. The batch number process data includes the process, the manufacturing process, the manufacturing batch number, the mother manufacturing batch number, and the receiving batch number. The first data and/or the third data are recorded on the source document and the returned document respectively; the related recursive operation is performed on the first data, the second data and/or the third data to search and establish a The first data, the second data and/or the third data are linked to a traceability node; wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing batch number node, a manufacturing order node, a batch number process node, Customer node, supplier node, warehouse node or inventory node, and each of the nodes can be classified according to different types, and it is further connected with corresponding child nodes and/or leaf nodes; wherein, the step of calculating the traceability node In the process, a reverse traceability manufacturing lot number node program is used to trace the raw materials and their batch numbers of the product. The reverse trace manufacturing lot number node program includes the following steps: Step g1: Query the database whether there is a process matching the identification data; Step g2: In step g1, if the process matching the identification data exists in the database, a process type batch number process leaf node is generated, and the transfer order is read respectively, and the transfer order is calculated. The number of the batch numbers to be checked recorded; step g3: in step g1, after processing all the manufacturing processes that match the identification data, query the database to which the identification data belongs to the source manufacturing order, and generate a self-made Type order sub-node; then, it is further judged whether the source order has a related staging transfer order; step g4: in step g3, when the source order has a related material staging transfer order, calculate the material staging transfer order The quantity of the batch number to be checked recorded above; when there is no related material transfer order in the source manufacturing order, calculate the quantity of the batch number to be checked recorded on the source manufacturing order; wherein, the process type batch number process leaf node And the self-made type command sub-nodes are respectively connected with the traceability nodes to establish a connection relationship with each other. 一種農漁牧產業產品供應鏈溯源管理方法,包括:接收表示一產品之一識別資料;其中,該識別資料包含待查公司代號、待查批號及待查單號;自一或多個資料庫中找出至少一與該識別資料相匹配之第一資料、第二資料及/或第三資料;其中,該第一資料包含公司代號資料及庫存資料;該第二資料包含來源單據及退回單據,該來源單據包括進貨單、領料單、託外進貨單、出貨單、銷貨單、入庫單、移轉單、投料移轉單及庫存異動單據,該退回單據包括退貨單、退料單、託外退貨單及銷退單;該第三資料包含來源製令、領用 製令及批號製程資料,該批號製程資料包括工序、製程、製造批號、母製造批號、領用批號,該來源單據及該退回單據上係分別記載有該第一資料及/或該第三資料;對該第一資料、第二資料及/或第三資料進行關連性遞迴運算,以搜尋並建立與該第一資料、第二資料及/或第三資料有連結關係之一溯源節點;其中,該溯源節點可為但不限於批號節點、製造批號節點、製令節點、批號製程節點、客戶節點、供應商節點、倉庫節點或庫存節點,而各該節點可依照不同類型進行分類,且其更分別連結有相對應之子節點及/或葉節點;其中,在運算該溯源節點的步驟中,更利用一逆溯批號程序追溯該產品的流向,該逆溯批號程序包括以下步驟:步驟h1:查詢該資料庫是否存在與該識別資料相匹配之銷貨單、入庫單、託外進貨單及/或進貨單;步驟h2:在步驟h1中,若該資料庫中存在有與該識別資料相匹配之銷貨單、入庫單、託外進貨單及/或進貨單時,係分別產生一銷貨類型批號子節點、一製造類型批號子節點、一託外類型批號子節點及/或一採購類型批號子節點,再查詢相對應之該來源單據及/或該退回單據,並計算該來源單據及該退回單據上所記載之該待查批號的數量;步驟h3:在步驟h1中,若該資料庫中不存在與該識別資料相匹配之銷貨單、入庫單、託外進貨單及/或進貨單時,再查詢該資料庫是否為製造批號;步驟h4:在步驟h3中,若該識別資料是為製造批號時,係進一步判斷該製造批號所關連之來源製令是否與該資料庫中之移轉單相關;步驟h5:若該資料庫中存在有與該製造批號所關連之來源製令相匹配之該移轉單時,係產生一在製類型製造批號子節點,再讀取各該資料庫中的移轉單,並計算該移轉單上所記載之該待查批號數量;若該資料庫中不存在與該製 造批號所關連之來源製令相匹配之該移轉單時,係產生一計畫類型製造批號子節點,再查詢各該資料庫中與該製造批號相匹配之來源製令,並計算其數量;步驟h6:在步驟h3中,若該資料庫中該識別資料不為製造批號時,係再判斷該識別資料是否與一庫存異動單據有關連;步驟h7:在步驟h6中,若該資料庫中存在有與該識別資料相關連之該庫存異動單據時,係產生一初始庫存類型庫存葉節點,並計算該庫存異動單據上所記載之該待查批號的數量;若該資料庫中不存在與該識別資料相關連之該庫存異動單據時,係產生一不明庫存類型庫存葉節點,並計算該產品之庫存數量;其中,該銷貨類型批號子節點、該製造類型批號子節點、該託外類型批號子節點、該採購類型批號子節點、該在製類型製造批號子節點、該計畫類型製造批號子節點、該初始庫存類型庫存葉節點及該不明庫存類型庫存葉節點係分別與該溯源節點彼此之間建立連結關係。 A supply chain traceability management method for agricultural, fishery and animal husbandry industry products, comprising: receiving identification data representing a product; wherein the identification data includes the code of the company to be checked, the batch number to be checked and the order number to be checked; from one or more databases Find at least one first data, second data and/or third data matching the identification data; wherein, the first data includes company code data and inventory data; the second data includes source documents and return documents , the source documents include purchase orders, material picking orders, out-of-consignment purchase orders, shippers, sales orders, storage orders, transfer orders, material transfer orders, and inventory transaction documents, and the return documents include return orders, material returns Form, outsourced return form and sales return form; the third data includes source-making order, receipt and use Manufacturing order and batch number process data, the batch number process data includes process, manufacturing process, manufacturing batch number, parent manufacturing batch number, and receiving batch number, the source document and the return document respectively record the first data and/or the third data ; perform a recursive operation on the first data, the second data and/or the third data to search for and establish a traceability node that has a link relationship with the first data, the second data and/or the third data; Wherein, the traceability node may be, but not limited to, a batch number node, a manufacturing lot number node, a manufacturing order node, a batch number process node, a customer node, a supplier node, a warehouse node or an inventory node, and each of the nodes can be classified according to different types, and It is further connected with corresponding child nodes and/or leaf nodes respectively; wherein, in the step of calculating the traceability node, a reverse traceability batch number program is used to trace the flow direction of the product, and the reverse traceability batch number program includes the following steps: Step h1 : Query whether there are sales orders, stock receipts, out-of-consignment receipts and/or purchase orders that match the identification data in the database; Step h2: In step h1, if there is a match with the identification data in the database When there are matching sales orders, warehouse receipts, out-of-consignment purchase orders and/or purchase orders, a sales type batch number sub-node, a manufacturing type batch number sub-node, an out-of-consignment type batch number sub-node and/or a Purchase type batch number sub-node, then query the corresponding source document and/or the return document, and calculate the quantity of the batch number to be checked recorded on the source document and the return document; Step h3: In step h1, if When there are no sales orders, stock receipts, out-of-consignment receipts and/or receipts that match the identification data in the database, check whether the database is a manufacturing batch number; step h4: In step h3, if When the identification data is a manufacturing lot number, it is further judged whether the source manufacturing order related to the manufacturing lot number is related to the transfer order in the database; Step h5: If there is a manufacturing lot number related to the database in step h5 When the source order matches the transfer order, it will generate a sub-node of the manufacturing batch number of the type in process, then read the transfer order in each database, and calculate the batch number to be checked recorded on the transfer order Quantity; if the system does not exist in the database When the transfer order matches the source manufacturing order related to the manufacturing lot number, a sub-node of the manufacturing lot number of the project type is generated, and then the source manufacturing order matching the manufacturing lot number in each database is queried, and its quantity is calculated. ; Step h6: In step h3, if the identification data in the database is not a manufacturing batch number, it is then judged whether the identification data is related to an inventory transaction document; Step h7: In step h6, if the database When there is the inventory transaction document related to the identification data, an initial inventory type inventory leaf node is generated, and the quantity of the batch number to be checked recorded on the inventory transaction document is calculated; if the database does not exist When the inventory transaction document is associated with the identification data, an unknown inventory type inventory leaf node is generated, and the inventory quantity of the product is calculated; The batch number sub-node of the foreign type, the batch number sub-node of the purchase type, the manufacturing batch number sub-node of the manufacturing type, the manufacturing batch number sub-node of the planning type, the inventory leaf node of the initial inventory type and the inventory leaf node of the unknown inventory type are respectively related to the The traceability nodes establish connection relationships with each other.
TW110117465A 2021-05-14 2021-05-14 Traceability management method of agricultural, fishery and animal husbandry industry product supply chain TWI778623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110117465A TWI778623B (en) 2021-05-14 2021-05-14 Traceability management method of agricultural, fishery and animal husbandry industry product supply chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110117465A TWI778623B (en) 2021-05-14 2021-05-14 Traceability management method of agricultural, fishery and animal husbandry industry product supply chain

Publications (2)

Publication Number Publication Date
TWI778623B true TWI778623B (en) 2022-09-21
TW202244805A TW202244805A (en) 2022-11-16

Family

ID=84958338

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110117465A TWI778623B (en) 2021-05-14 2021-05-14 Traceability management method of agricultural, fishery and animal husbandry industry product supply chain

Country Status (1)

Country Link
TW (1) TWI778623B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202615416U (en) * 2012-04-01 2012-12-19 广东金智慧物联网科技有限公司 Multimedia food traceability query terminal
CN103761546A (en) * 2013-12-30 2014-04-30 武汉华工赛百数据系统有限公司 Quality safety tracing method for food processing enterprises
CN107704493A (en) * 2017-08-23 2018-02-16 中链科技有限公司 It is a kind of to be used to provide the method and system that product is traced to the source
TW202004654A (en) * 2018-05-29 2020-01-16 香港商阿里巴巴集團服務有限公司 Blockchain-based merchandise tracing methods and apparatus
US20200265446A1 (en) * 2019-02-14 2020-08-20 Avery Dennison Retail Information Services, Llc Food chain product label and method of use, and food trust identifier system
US20200311362A1 (en) * 2017-11-17 2020-10-01 Divine Logic, Inc. Systems and methods for tracking items
CN112686564A (en) * 2021-01-08 2021-04-20 浙江农林大学暨阳学院 Agricultural product safety guarantee authentication system of three-dimensional visual real-time data stream mechanism

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202615416U (en) * 2012-04-01 2012-12-19 广东金智慧物联网科技有限公司 Multimedia food traceability query terminal
CN103761546A (en) * 2013-12-30 2014-04-30 武汉华工赛百数据系统有限公司 Quality safety tracing method for food processing enterprises
CN107704493A (en) * 2017-08-23 2018-02-16 中链科技有限公司 It is a kind of to be used to provide the method and system that product is traced to the source
US20200311362A1 (en) * 2017-11-17 2020-10-01 Divine Logic, Inc. Systems and methods for tracking items
TW202004654A (en) * 2018-05-29 2020-01-16 香港商阿里巴巴集團服務有限公司 Blockchain-based merchandise tracing methods and apparatus
US20200265446A1 (en) * 2019-02-14 2020-08-20 Avery Dennison Retail Information Services, Llc Food chain product label and method of use, and food trust identifier system
CN112686564A (en) * 2021-01-08 2021-04-20 浙江农林大学暨阳学院 Agricultural product safety guarantee authentication system of three-dimensional visual real-time data stream mechanism

Also Published As

Publication number Publication date
TW202244805A (en) 2022-11-16

Similar Documents

Publication Publication Date Title
US12198094B2 (en) Traceability management method for supply chains of agricultural, fishery and animal husbandry products
CN109146514B (en) Livestock product traceability information recording method, device, equipment and storage medium
CN107644239B (en) Efficient and reliable iterative tracing system and method for production and processing history information of agricultural and sideline products
JP5464619B2 (en) Livestock management system
Bulatova et al. Financial impact of digital technologies as a promising element of import substitution
CN104732328A (en) Agricultural Internet of Things platform system
Guixia et al. A framework for blockchain and internet of things integration in improving food security in the food supply chain
EP3281161A1 (en) System and method for digital supply chain traceability
CN101819656A (en) RFID (Radio Frequency Identification Device) based seafood supply chain traceability system under exclusive shop direct sales model
CN105931062A (en) Cloud control intelligent e-commerce agricultural product quality assurance system
Lianguang Study on supply-chain of agricultural products based on IOT
CN103886407A (en) Live pig whole-industrial-chain traceability system based on internet-of-things technology and database technology
TWI778623B (en) Traceability management method of agricultural, fishery and animal husbandry industry product supply chain
CN104156838A (en) Pig slaughtering link retrospective method based on time window
CN114445094A (en) Agricultural product data management method, system and equipment based on block chain
CN108594773A (en) A kind of intelligent control hangar system based on technology of Internet of things
Djatna et al. An analysis and design of frozen shrimp traceability system based on digital business ecosystem
CN113627957A (en) Hui nong's big data system platform
Lianguang Research Article Study on Supply-chain of Modern Agricultural Products Based on IOT in Order to Guarantee the Quality and Safety
CN202512627U (en) Livestock and poultry optimizing seed-selection system based on internet of things
CN202433955U (en) Feedstuff traceable management system based on bar code identification technology
Wahyuni et al. Food Safety Risk Analysis of Food Supply Chain in Small and Medium Enterprises (Case Study: Supply Chain of Fish)
Wilson et al. Implementing concepts from green logistics in the turkey production supply chain
Kanu Role of Cooperative Farming and Emerging Technologies in Solving Critical Problems of India’s Agricultural Sector
JP3970607B2 (en) BUSINESS PROCESSING MANAGEMENT SYSTEM AND METHOD, SERVER DEVICE, AND PROGRAM

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent