| # | Input | Type | Used in step |
|---|---|---|---|
| I-1 | Packing Plan RELEASED of the source P.O, not fully packed — goods allocated, not yet packed; with the plan's packing material MOR | Document — Packing flow | Pick source P.O · goods by size |
| I-2 | Target Customer P.O by size — Model, Base Color, Upper Color, AL / INT, ETD, balance | Document — Sales Order | Pick target P.Os · Reason |
| Step | Role | Screen · UI buttons (per prototype v0.93) |
|---|---|---|
| Create Exchange Customer PO ticket · Pick source P.O · goods by size · Pick target P.Os · Reason · Enter exchange qty by size per target P.O | Planner | Exchange Customer PO · Create Exchange · SOURCE CUSTOMER P.O * · PACKING PLAN NO. * · Target Customer P.O * · Add Target P.O · REASON · Exchange → P.O … · Auto Fill (earliest ETD first) |
| Save Exchange Customer PO draft · Confirm Exchange Customer PO | Planner | Exchange Customer PO · Save Draft · Confirm Exchange |
| Record EXC ticket · return Remaining · Reduce source plan · create a plan per target P.O | System (auto) | Exchange Customer PO |
| Delete draft Exchange Customer PO ticket · Cancel Exchange Customer PO ticket | Planner | Exchange Customer PO · DRAFT ticket Delete Draft · CONFIRMED ticket Cancel Exchange |
| Delete target-P.O plans · return qty to source plan | System (auto) | Exchange Customer PO |
| # | Output | Produced when |
|---|---|---|
| O-1 | EXC ticket DRAFT — can be reopened and edited | Planner saves a draft |
| O-2 | Remaining (balance) of the source P.O returned → Packing Planning; the Planner re-plans the source P.O | Slip CONFIRMED |
| O-3 | One new Packing Plan RELEASED → Packing Result (Waiting), no new MOR — it carries the MOR number of the source plan; the source plan drops by the Total exchange, the Remaining not exchanged still belongs to the source P.O and keeps packing | Slip CONFIRMED |
| O-4 | Slip DRAFT deleted — the ticket number is not reused | Planner clicks Delete Draft |
| O-5 | Cancel blocked — the ticket shows the reason | A target-P.O plan has Record Output, or the Remaining returned to the source P.O has been planned again, or the source plan is no longer RELEASED |
| O-6 | Slip CANCELLED — target-P.O plans are removed from Packing Result, the source plan gets the quantity back, both balances return to their state before the exchange; the source plan MOR does not change | Planner clicks Cancel Exchange on a CONFIRMED ticket that can still be cancelled |
| Glossary | Meaning in this flow |
|---|---|
Source P.O · target P.O | Customer P.O holding the goods · Customer P.O receiving them |
EXC | Exchange Customer PO ticket, number EXC-<YYYYMMDD>-NN |
Reason | Exchange reason, free text, optional, one field for the whole ticket |
Available to exchange | Exchangeable quantity by size of the source Packing Plan = Plan Qty − recorded output (A + A- + C + Pending repair) |
Balance · P.O … | Quantity the target P.O still needs by size (Remaining in Packing Planning) |
Total exchange | Σ exchange of all target P.Os by size; each size ≤ Available to exchange |
Remaining · stays with P.O … | Available to exchange − Total exchange: the part not exchanged, which stays in the source plan of the source P.O and is still packed in Packing Result |
Auto Fill (earliest ETD first) | Each size goes first to the target P.O with the earliest ETD, up to that P.O Balance, until Available to exchange runs out; equal ETDs follow row order |
Remaining (balance) returned | The exchanged quantity is added back to the source P.O Remaining in Packing Planning for re-planning |
AL / INT | Market of the P.O — the target P.O must match the source P.O |
MOR | Packing material Material Out Request, created when the source plan is released; target-P.O plans created by Exchange share that MOR (shown as "MOR-PK-… · shared") |
FG | Finished goods packed and received into the FG warehouse — their P.O is not changed on this screen; use the WMS exchange function |