本研究討論了在SAP Advanced Planner and Optimizer (APO)系統中,利用APO原始資料,在非APO系統中執行客製化排程演算法時,兩系統之間需要確保資料一致性等相關問題 SAP的APO系統能夠提供各種企業在生產計劃上最優化的解決方案。APO也是供應鏈網絡中最佳化的工具,藉由系統所提供的排程演算法可以使企業優化全球供應鏈。它是以SAP ERP的交易資料為基礎,整合了SAP ERP與APO。則當想要在非APO系統中執行客制化演算法時,兩個不同的系統之間必須要確保資料一致性,以防止系統資料庫損毀。 在本文中,我們分析APO所提供的典型演算法。探討在執行APO系統的啟發式演算法時,啟發式演算法是如何確保資料一致性。我們在論文中會分析在APO啟發式演算法裡,有哪些資料是必須要被作一致性的檢驗?以提供使用者想在非APO系統中執行客制化演算法時參考。另外也針對APO啟發式演算法,分析演算法是如何做檢驗的機制?以提供使用者當在非APO系統中執行客制化演算法,資料回傳至APO系統時,參考系統的檢驗機制,確定回傳資料可達到資料一致性的結果。因此,我們會用APO所提供的典型演算法例子來呈現資料一致性的檢驗。我們研究的結果,將會著重於在APO系統中資料一致性的檢驗。我們希望可以提供檢驗方式使兩個不同的系統,達到資料一致性的結果。This study discusses the data consistency problems in APO system after using the original data of APO system to execute the customized heuristic algorithm in outside system. SAP-APO is able to support the production planning solution and logistic optimization to the world enterprise. SAP APO is a network optimization tool that optimizes the global supply chain network by visualizing and processing data with a set of algorithms. It is integrated to SAP ERP and based on the transactional data model in SAP ERP. When users executed he customized heuristic algorithm in outside system. We have to check the data consistency between APO system and outside systems. In this paper, we analysis the standard heuristic algorithm of APO system, and we discuss how to check the data consistency when we execute the heuristic algorithm in APO system. We analysis what data APO system must check, and it provides the reference for using the customized algorithm in outside system. However, we analysis how to check data consistency in the heuristic algorithm in APO system. When we return the result by the customized algorithm from the outside system, users can refer to the method to confirm the result is consistent in APO system. Hence, we use the heuristic algorithm to display the consistency check in APO system. We hope we can provide the check method to check the data consistency between APO system and other outside system.