Ninniku IT Hub

開源技術,實戰分享

iDempiere ERP · IoT · Linux — 從導入到上線的技術筆記

iDempiere

IProcessFactory 實作驗收考題.

情境說明:將報價單抛轉成正式銷售訂單. 並傳入一個參IsComplete 抛轉後,是否同時完成訂單.1.建立一個新的 Plug-in Project: tw.idempiere.exam2.在 AD_Table: C_Order / Window: Sales Order 新增一個按鍵.3.建立一個OSGi Process 並指定要該按鍵的 Process4.在該報價單上按該按鍵後,Copy 資訊至全新的銷售訂單上.5.若參數選擇為Yes, Document Action完成該訂單. English Version Scenario Description:Convert a quotation into...

2019-04-22 · 1 分鐘
iDempiere

獨立SMTP寄信伺服器 + Auto Ban

自架伺服器,一定會遇到擾人的問題。有人不斷來試你的寄信主機,然後試出密碼後,借用你的寄信伺服器大量寄發垃圾郵件。解決方案:利用 Mail Log 搭配 iptables 防火牆管理惡意入侵IP。 可以自行開發或使用流通的解決方案。 自行開發: 檢查 /var/log/mail.log 登入失敗過多的IP,寫入IPTABLE DROP 使用社群套件:https://help.ubuntu.com/community/Postfixhttps://help.ubuntu.com/community/Fail2ban English Version When hosting your own server, you will inevitably encounter annoying...

2019-04-14 · 2 分鐘