本手冊說明如何在 iDempiere ERP 行動 App 中操作銷售與收款循環的相關功能。所有畫面均支援依角色權限控制(R/W 可讀寫、R 唯讀),文件動作按鈕僅對可讀寫使用者顯示。
業務流程總覽
| 步驟 | 單據 | 資料表 | 說明 |
|---|---|---|---|
| 1 | 銷售單 | C_Order (IsSOTrx=Y) | 建立銷售訂單,記錄客戶、產品、數量與金額 |
| 2 | 出貨單 | M_InOut (IsSOTrx=Y) | 依銷售單出貨,庫存自動扣減 |
| 3 | 付款(應收) | C_Payment | 記錄客戶付款收款 |
| 4 | 付款沖帳 | C_AllocationHdr | 將付款與發票/訂單進行沖帳 |
| 5 | 交貨排程 | PP_DeliveryHeader | 管理分批交貨計劃與排程 |
1. 銷售單 (Sales Order)
iDempiere 視窗 ID:143,路徑:/dashboard/sales-order
草稿(DR) → 完成(CO) → 關閉(CL)/沖銷(RC);也支援作廢(VO)
支援文件狀態篩選(All / Draft / In Progress / Complete)、關鍵字搜尋、分頁載入
列表畫面
銷售單列表顯示以下關鍵資訊:
| 欄位 | 說明 |
|---|---|
| 單據編號 (DocumentNo) | 系統自動編號 |
| 業務夥伴 | 客戶名稱(C_BPartner lookup) |
| 日期 (DateOrdered) | 訂單日期 |
| 總金額 (GrandTotal) | 含稅總金額 |
| 狀態 | 色彩標籤晶片(Draft=灰色, Complete=綠色 等) |
明細畫面
點擊銷售單進入明細,包含:
- 表頭卡片:單據編號、業務夥伴、幣別、倉庫、付款條件、交貨規則等關鍵欄位
- 明細行 (C_OrderLine):可展開檢視產品、數量、單價、行金額等資訊
- 文件動作按鈕:依目前狀態顯示可用動作(Complete、Void、Close、Reverse)
操作方式
- 從儀表板「銷售與收款」區塊點擊「銷售單」模組進入列表
- 使用頂部狀態晶片篩選(如只看草稿),或輸入關鍵字搜尋特定訂單
- 點擊任一銷售單查看明細,確認表頭資訊與明細行內容
- 若需完成訂單,點擊右上角播放圖示,選擇「完成 (CO)」動作
- 系統會彈出確認對話框,確認後執行文件動作並自動重新載入
- 完成後狀態變為 CO(已完成),可進行後續出貨、開立發票
文件狀態說明
| 狀態碼 | 名稱 | 可用動作 |
|---|---|---|
| DR | 草稿 | 完成 (CO)、作廢 (VO) |
| IP | 進行中 | 完成 (CO)、作廢 (VO) |
| CO | 已完成 | 關閉 (CL)、沖銷 (RC) |
| CL | 已關閉 | —(最終狀態) |
| VO | 已作廢 | —(最終狀態) |
2. 出貨單 (Shipment)
iDempiere 視窗 ID:169,路徑:/dashboard/shipment
出貨單完成後庫存自動扣減,無需手動調整
列表畫面
出貨單列表顯示單據編號、業務夥伴(客戶)、移動日期 (MovementDate)、文件狀態等欄位。支援狀態篩選與關鍵字搜尋。
明細畫面
- 表頭:單據編號、客戶、倉庫、移動日期、追蹤編號等
- 出貨明細行 (M_InOutLine):產品、數量、儲位、關聯訂單行等
- 文件動作:支援完成 (CO)、作廢 (VO)、沖銷 (RC)
操作方式
- 從儀表板「銷售與收款」區塊進入「出貨單」模組
- 瀏覽出貨單列表,確認客戶與出貨狀態
- 點擊出貨單查看明細,核對出貨產品與數量
- 確認無誤後執行「完成」文件動作,庫存將自動更新
- 若出貨有誤,可對已完成的出貨單執行「沖銷 (RC)」產生沖銷單據
3. 付款 — 應收帳款 (Payment AR)
iDempiere 視窗 ID:195,路徑:/dashboard/payment
付款畫面同時涵蓋應收 (AR) 與應付 (AP),可透過篩選晶片切換
列表畫面
| 欄位 | 說明 |
|---|---|
| 單據編號 | 付款單號 |
| 業務夥伴 | 付款人/收款人 |
| 付款日期 | DateTrx |
| 金額 | PayAmt(含幣別顯示) |
| 收付方向 | AR(應收)/ AP(應付)篩選晶片 |
| 狀態 | Draft / Complete 等 |
明細畫面
- 表頭:單據編號、業務夥伴、銀行帳戶、付款方式(支票/轉帳/信用卡等)、幣別、金額
- 關聯資訊:關聯的發票或訂單
- 文件動作:支援完成 (CO)、作廢 (VO)、沖銷 (RC)
操作方式(查看客戶收款記錄)
- 進入「付款」模組,切換篩選至「AR(應收)」
- 瀏覽收款記錄列表,確認客戶付款金額與日期
- 點擊付款單查看明細,確認銀行帳戶與付款方式
- 若為草稿付款單,可執行「完成」動作正式入帳
- 完成後付款將反映於客戶帳戶餘額
4. 付款沖帳 (Payment Allocation)
iDempiere 視窗 ID:203,路徑:/dashboard/allocation
將付款記錄與發票/訂單進行對沖,支援部分沖帳與跨幣別沖帳
列表畫面
沖帳記錄列表顯示沖帳單號、日期、總金額、狀態。支援分頁載入與下拉刷新。
明細畫面
- 沖帳表頭 (C_AllocationHdr):沖帳日期、總金額、幣別、說明
- 沖帳明細行 (C_AllocationLine):各行顯示關聯的發票編號、付款編號、沖帳金額、折讓金額、溢付金額
- 文件動作:支援完成 (CO)、沖銷 (RC)
操作方式
- 從儀表板進入「付款沖帳」模組
- 瀏覽沖帳記錄,確認沖帳狀態
- 點擊沖帳單查看明細,核對發票與付款的對應關係
- 確認沖帳明細行的金額是否正確
- 若需沖銷已完成的沖帳,執行「沖銷 (RC)」動作
5. 交貨排程 (Delivery Schedule)
路徑:/dashboard/delivery-schedule
支援將銷售訂單拆分為多次交貨排程,追蹤每批次的預計與實際交貨
列表畫面
交貨排程列表顯示排程編號、客戶、預計交貨日期、狀態等資訊。
明細畫面
- 排程表頭:排程編號、關聯銷售單、客戶、交貨日期、倉庫
- 排程明細行:各交貨批次的產品、數量、預計日期
- 文件動作:支援完成與關閉
操作方式
- 從儀表板「銷售與收款」區塊進入「交貨排程」模組
- 瀏覽排程列表,確認各交貨批次的預計日期
- 點擊排程查看明細,核對產品與數量
- 依排程安排實際出貨作業
共通功能說明
文件動作機制
所有銷售循環的單據均遵循 iDempiere 標準文件動作機制。在記錄明細頁面,若記錄含 DocStatus 欄位且使用者為可讀寫權限,右上角會出現動作按鈕:
| 目前狀態 | 可用動作 |
|---|---|
| DR(草稿)/ IP(進行中) | 完成 (CO)、作廢 (VO) |
| CO(已完成) | 關閉 (CL)、沖銷 (RC) |
文件動作透過 REST API PUT /api/v1/models/{table}/{id} 送出 DocAction 欄位執行。執行成功後畫面自動重新載入。
列表共通操作
下拉刷新
在列表畫面向下拉動可重新載入最新資料。
分頁載入
滑動至列表底部自動載入下一頁資料,無需手動點擊。
狀態篩選
頂部狀態晶片可快速切換顯示範圍(All / Draft / Complete 等)。
關鍵字搜尋
輸入關鍵字後 500ms 自動搜尋,按 Enter 立即搜尋。
角色權限
所有畫面均依登入角色的 AD_Window_Access 控制存取。唯讀使用者可瀏覽列表與明細,但不會看到文件動作按鈕。可讀寫使用者可執行文件動作。
注意事項
唯讀瀏覽
目前銷售循環的文件畫面為瀏覽/動作模式,不支援在 App 中新增銷售單。新增作業請使用 iDempiere Web 桌面端。
錯誤訊息
文件動作若因業務規則失敗(如庫存不足),錯誤訊息將直接顯示 iDempiere 伺服器回傳的原始訊息。
明細行顯示
明細行以扁平列表呈現,目前不支援 Tab 分群(如明細行/稅額/沖帳行分開顯示)。
🌐 English Version
This manual explains how to operate the Sales & Receivables cycle features in the iDempiere ERP mobile app. All screens are role-based (R/W for read-write, R for read-only). Document action buttons are only visible to read-write users.
Business Process Overview
| Step | Document | Table | Description |
|---|---|---|---|
| 1 | Sales Order | C_Order (IsSOTrx=Y) | Create sales orders with customer, product, quantity, and amount |
| 2 | Shipment | M_InOut (IsSOTrx=Y) | Ship goods per sales order; inventory auto-deducted |
| 3 | Payment (AR) | C_Payment | Record customer payment receipts |
| 4 | Payment Allocation | C_AllocationHdr | Allocate payments against invoices/orders |
| 5 | Delivery Schedule | PP_DeliveryHeader | Manage multi-batch delivery schedules |
1. Sales Order
Table: C_Order (IsSOTrx=Y) | Window ID: 143 | Route: /dashboard/sales-order
List Screen
Displays DocumentNo, Business Partner, DateOrdered, GrandTotal, and color-coded status chips. Supports status filtering (All / Draft / In Progress / Complete) and keyword search with pagination.
Detail Screen
- Header card: DocumentNo, Business Partner, Currency, Warehouse, Payment Term, Delivery Rule, and other key fields
- Line items (C_OrderLine): Expandable section showing Product, Qty, UnitPrice, LineNetAmt
- Document actions: Complete, Void, Close, Reverse (based on current status)
How to Use
- Navigate to “Sales Order” from the Sales & Collection section on the dashboard
- Use status chips to filter, or type keywords to search for specific orders
- Tap an order to view details; review header and line items
- To complete an order, tap the action button (top-right) and select “Complete (CO)”
- Confirm in the dialog; the system will execute the action and reload the record
- After completion, proceed to shipment and invoicing as needed
Document Status Reference
| Code | Status | Available Actions |
|---|---|---|
| DR | Draft | Complete (CO), Void (VO) |
| IP | In Progress | Complete (CO), Void (VO) |
| CO | Completed | Close (CL), Reverse (RC) |
| CL | Closed | — (final) |
| VO | Voided | — (final) |
2. Shipment
Table: M_InOut (IsSOTrx=Y) | Window ID: 169 | Route: /dashboard/shipment
View outbound shipment records. The list shows DocumentNo, customer, MovementDate, and status. The detail screen shows shipment header, line items (M_InOutLine) with product, quantity, and locator, plus document action buttons.
How to Use
- Open “Shipment” from the dashboard
- Browse shipment list and verify customer and status
- Tap a shipment to review product details and quantities
- Execute “Complete” to finalize; inventory will be automatically updated
- Use “Reverse (RC)” on completed shipments to reverse if an error occurred
3. Payment (Accounts Receivable)
Table: C_Payment | Window ID: 195 | Route: /dashboard/payment
The Payment screen covers both AR (Accounts Receivable) and AP (Accounts Payable). Use the filter chips to toggle between AR and AP views. For the sales cycle, focus on AR records.
How to Use (Viewing Customer Receipts)
- Open “Payment” module and switch to the “AR” filter
- Browse receipt records, checking customer, amount, and date
- Tap a payment to view details: bank account, payment method, currency
- For draft payments, execute “Complete” to post the payment
- Completed payments will reflect in the customer’s account balance
4. Payment Allocation
Table: C_AllocationHdr / C_AllocationLine | Window ID: 203 | Route: /dashboard/allocation
Payment allocation records link payments to invoices/orders. The detail screen shows the allocation header (date, total, currency) and line items (invoice reference, payment reference, allocated amount, discount, over/under payment).
How to Use
- Open “Payment Allocation” from the dashboard
- Browse allocation records and check status
- Tap an allocation to review invoice-to-payment matching
- Verify line item amounts are correct
- Use “Reverse (RC)” to undo a completed allocation if needed
5. Delivery Schedule
Table: PP_DeliveryHeader | Route: /dashboard/delivery-schedule
Manage multi-batch delivery plans. The list shows schedule number, customer, expected delivery date, and status. The detail view includes schedule header linked to the sales order and line items for each delivery batch with product, quantity, and planned date.
How to Use
- Open “Delivery Schedule” from the Sales & Collection section
- Browse scheduled deliveries and check planned dates
- Tap a schedule to review product and quantity details
- Coordinate actual shipments based on the schedule
Common Features
Document Actions
All documents in the sales cycle follow the standard iDempiere document action mechanism. Actions are executed via REST API PUT /api/v1/models/{table}/{id} with the DocAction field. Read-only users see no action buttons.
List Operations
- Pull-to-refresh: Pull down to reload the latest data
- Infinite scroll: Auto-loads next page when scrolling to the bottom
- Status filter chips: Quick toggle between All / Draft / Complete etc.
- Keyword search: Auto-search after 500ms of typing; press Enter for immediate search
Important Notes
- Document screens are browse/action only — creating new sales orders requires the iDempiere web client
- Error messages from failed document actions are displayed as-is from the server (not translated)
- Line items are shown as a flat list; no tab-based grouping (lines vs. tax vs. allocation)
🇯🇵 日本語版
本マニュアルでは、iDempiere ERPモバイルアプリにおける販売・売掛金サイクルの操作方法を説明します。すべての画面はロールベースのアクセス制御(R/W:読み書き可能、R:読み取り専用)に対応しています。
業務プロセス概要
| ステップ | 伝票 | テーブル | 説明 |
|---|---|---|---|
| 1 | 販売受注 | C_Order (IsSOTrx=Y) | 販売受注の作成(顧客・商品・数量・金額) |
| 2 | 出荷伝票 | M_InOut (IsSOTrx=Y) | 受注に基づく出荷処理、在庫自動引落 |
| 3 | 入金(AR) | C_Payment | 顧客からの入金記録 |
| 4 | 入金消込 | C_AllocationHdr | 入金と請求書/受注の消込処理 |
| 5 | 納品スケジュール | PP_DeliveryHeader | 分割納品の計画・スケジュール管理 |
1. 販売受注 (Sales Order)
テーブル:C_Order (IsSOTrx=Y) | ウィンドウID:143 | ルート:/dashboard/sales-order
一覧画面
伝票番号、取引先、受注日、合計金額、ステータスチップを表示。ステータスフィルター(All/Draft/In Progress/Complete)とキーワード検索に対応。
詳細画面
- ヘッダーカード:伝票番号、取引先、通貨、倉庫、支払条件、納品ルール
- 明細行(C_OrderLine):商品、数量、単価、行金額を展開表示
- 伝票アクション:完了(CO)、無効(VO)、クローズ(CL)、リバース(RC)
操作手順
- ダッシュボードの「販売・売掛」セクションから「販売受注」を開く
- ステータスチップまたはキーワードで注文を絞り込む
- 受注をタップして詳細を確認(ヘッダーと明細行)
- 完了するには右上のアクションボタンから「完了(CO)」を選択
- 確認ダイアログで実行後、画面が自動更新される
2. 出荷伝票 (Shipment)
テーブル:M_InOut (IsSOTrx=Y) | ウィンドウID:169 | ルート:/dashboard/shipment
出荷記録の一覧・詳細を表示。完了後に在庫が自動的に引き落とされます。出荷明細行(M_InOutLine)で商品、数量、ロケーターを確認できます。
操作手順
- 「出荷伝票」モジュールを開く
- 出荷一覧で顧客とステータスを確認
- 出荷をタップして商品・数量の詳細を確認
- 「完了」を実行して在庫を更新
- 誤出荷の場合は「リバース(RC)」で取消
3. 入金(売掛金)
テーブル:C_Payment | ウィンドウID:195 | ルート:/dashboard/payment
入金画面はAR(売掛)とAP(買掛)の両方に対応。フィルターチップで「AR」に切り替えて顧客入金を確認します。
操作手順
- 「入金」モジュールを開き、「AR」フィルターに切替
- 入金記録を確認(顧客、金額、日付)
- 入金をタップして銀行口座・支払方法を確認
- 下書きの場合は「完了」で正式に計上
4. 入金消込 (Payment Allocation)
テーブル:C_AllocationHdr | ウィンドウID:203 | ルート:/dashboard/allocation
入金と請求書/受注の対応付け記録。詳細画面で消込ヘッダーと明細行(請求書参照、入金参照、消込金額、割引額)を確認できます。
操作手順
- 「入金消込」モジュールを開く
- 消込記録一覧でステータスを確認
- タップして請求書・入金の対応を確認
- 必要に応じて「リバース(RC)」で取消
5. 納品スケジュール (Delivery Schedule)
テーブル:PP_DeliveryHeader | ルート:/dashboard/delivery-schedule
分割納品のスケジュール管理。受注に紐づく複数バッチの納品計画を管理できます。
操作手順
- 「納品スケジュール」モジュールを開く
- スケジュール一覧で予定日を確認
- タップして商品・数量の詳細を確認
- スケジュールに基づいて出荷作業を手配
共通機能
- プルリフレッシュ:一覧を下に引いてデータ更新
- 無限スクロール:一覧の末尾で自動的に次ページを読み込み
- ステータスフィルター:ステータスチップで表示範囲を切替
- キーワード検索:入力後500msで自動検索
注意事項
- 伝票画面は閲覧・アクション専用です。新規販売受注の作成にはiDempiere Webクライアントをご利用ください
- 伝票アクションのエラーメッセージはサーバーからの原文のまま表示されます
- 明細行はフラットリストで表示されます(タブ分離なし)