# Goods Return — Receiving customer returns

> Fine Chemical (FC) · WMS module · v1.5 · 18/09/2026 · Standard flow — for implementation, testing and development
>
> Generated from the diagram by `sync.js` — do not edit by hand. The diagram is authoritative: report any mismatch with the diagram page.
>
> Diagram page: /en/wms/goods-return

## How to read

- Every box on the diagram has a code `Bxx`, numbered in flow order (from the start event, following the arrows).
- "Goes to" lists every arrow leaving the box; text in square brackets is that arrow's condition label.
- "Optional branch" = a dashed arrow on the diagram: may be done or skipped.
- "Data" boxes in the Input lane are incoming data; in the Output lane they are results / end points of the flow.

## Process Flow (swimlane)

### Roles (lanes)

- Input
- Warehouse Staff
- Warehouse Manager
- Output

### Steps

| Code | Role | Type | Content | Platform · Screen | Goes to |
| --- | --- | --- | --- | --- | --- |
| B01 | Input | Data | Customer / Item Master Warehouse · Bin Location | Master data | B04 |
| B02 | Input | Data | G/D Slip previously approved | Goods Delivery | B11 |
| B03 | Input | Data | Return request from customer | Customer | B07 |
| B04 | Warehouse Staff | Start | Start |  | B05 |
| B05 | Warehouse Staff | Decision | Request or standalone Slip? |  | B06 [Slip]; B07 [Create Request] |
| B06 | Warehouse Staff | Task | Create G/Return Slip (standalone) | Web · Goods Return | B08 |
| B07 | Warehouse Staff | Task | Create G/Return Request | Web · Goods Return | B09 |
| B08 | Warehouse Staff | Task | Submit for Approval | Web · Goods Return | B10 [Slip SUBMITTED] |
| B09 | Warehouse Staff | Decision | Line source? |  | B11 [From GD]; B12 [Manual entry] |
| B10 | Warehouse Manager | Decision | The document's stock period closed? |  | B13 [Closed]; B14 [Not yet] |
| B11 | Warehouse Staff | Task | From G/D Slip → Import Selected Lines | Web · Goods Return | B15 |
| B12 | Warehouse Staff | Task | Pick Item Code directly in grid | Web · Goods Return | B15 |
| B13 | Output | Data | Blocks every action: Submit · Approve · Cancel · Delete — This action cannot be completed because the affected inventory period is closed through [Close Date] |  | (end) |
| B14 | Warehouse Manager | Task | Approve SUBMITTED → APPROVED | Web · Goods Return | B16; B17 |
| B15 | Warehouse Staff | Task | Mapping Barcode (Search & Map Barcode/QR) | Web · Goods Return | B18 |
| B16 | Output | Data | G/Return Slip = APPROVED |  | (end) |
| B17 | Warehouse Manager | Task | Add Physical & Available Stock — Restock lines only | System (auto) · Goods Return | B19; B20 [optional branch]; B21 |
| B18 | Warehouse Staff | Task | Submit Request | Web · Goods Return | B22 [SUBMITTED] |
| B19 | Output | Data | Sellable stock up at Bin — Restock lines only |  | (end) |
| B20 | Warehouse Staff | Task | W/H Stock Checking (view-only lookup) | Web · W/H Stock Checking |  |
| B21 | Warehouse Manager | Decision | Request still Remaining > 0? |  | B23 [No]; B24 [Yes — receive the rest on a new Slip] |
| B22 | Warehouse Staff | Task | Print Request (QR = Request No.) | Web · Goods Return | B24 |
| B23 | Output | Data | Request → CLOSED (automatic) |  | (end) |
| B24 | Warehouse Staff | Task | Scan G/Return Request | Mobile · Goods Return | B25 |
| B25 | Warehouse Staff | Task | Scan returned barcodes | Mobile · Goods Return | B26 |
| B26 | Warehouse Staff | Task | Make Slip | Mobile · Goods Return | B08 |
| B27 | Warehouse Manager | Start | Start |  | B28 |
| B28 | Warehouse Manager | Task | Cancel (Slip is APPROVED) | Web · Goods Return | B29 |
| B29 | Warehouse Manager | Decision | Restock stock enough AND no later action? |  | B30 [No]; B31 [Yes] |
| B30 | Output | Data | Cancel blocked — Restock stock short or a later action on another screen |  | (end) |
| B31 | Warehouse Manager | Task | Slip → CANCELLED deduct Stock (Restock lines) | System (auto) · Goods Return | B32; B33 |
| B32 | Output | Data | Stock reversed Slip = CANCELLED |  | (end) |
| B33 | Output | Data | Received down · Remaining up CLOSED Request → back to SUBMITTED |  | (end) |

### Step details (hover content on the diagram)

#### B05 · Request or standalone Slip?

- Warehouse Staff
- Comes from: B04
- Goes to [Slip]: B06 · Create G/Return Slip (standalone)
- Goes to [Create Request]: B07 · Create G/Return Request

#### B09 · Line source?

- Warehouse Staff
- Comes from: B07
- Goes to [From GD]: B11 · From G/D Slip → Import Selected Lines
- Goes to [Manual entry]: B12 · Pick Item Code directly in grid

#### B10 · The document's stock period closed?

- Warehouse Manager
- Comes from: B08
- Goes to [Closed]: B13 · Blocks every action: Submit · Approve · Cancel · Delete — This action cannot be completed because the affected inventory period is closed through [Close Date]
- Goes to [Not yet]: B14 · Approve SUBMITTED → APPROVED

#### B21 · Request still Remaining > 0?

- Warehouse Manager
- Comes from: B17
- Goes to [No]: B23 · Request → CLOSED (automatic)
- Goes to [Yes — receive the rest on a new Slip]: B24 · Scan G/Return Request

#### B29 · Restock stock enough AND no later action?

- Warehouse Manager
- Comes from: B28
- Goes to [No]: B30 · Cancel blocked — Restock stock short or a later action on another screen
- Goes to [Yes]: B31 · Slip → CANCELLED deduct Stock (Restock lines)

## Status lifecycle

#### G/Return Request

`SAVED` → `SUBMITTED` → `CLOSED`

Transitions:

- `SAVED` -- Submit Request --> `SUBMITTED`
- `SUBMITTED` -- Auto: every line Remaining = 0 --> `CLOSED`
- `CLOSED` -- Linked Slip cancelled — Remaining goes back up --> `SUBMITTED` (back)
- `SAVED` -- Delete Request --> `Deleted`

#### G/Return Slip

`SAVED` → `SUBMITTED` → `APPROVED` → `CANCELLED`

Transitions:

- `SAVED` -- Submit for Approval --> `SUBMITTED`
- `SUBMITTED` -- Approve --> `APPROVED`
- `APPROVED` -- Cancel — stock suffices & no later action --> `CANCELLED`
- `CANCELLED` -- Edit Remark / Line items → approve again --> `APPROVED` (back)
- `SAVED` -- Delete --> `Deleted`

- `CANCELLED` (G/Return Slip) → pulls row G/Return Request back

Notes on the diagram:

- Cancel blocked if stock is short, a later action exists on another screen, or the stock period is closed

## Input

| # | Input | Type | Used in step |
| --- | --- | --- | --- |
| I-0 | Previously approved G/D Slip (original delivery) | Source document | From G/D Slip → Import Selected Lines |
| I-1 | Customer Master, Item Master, Warehouse, Bin Location | Master data | Every line, Request/Slip header |
| I-2 | Customer return request | External request | Create G/Return Request |

## Step ↔ screen

| Step | Role | Screen |
| --- | --- | --- |
| Create G/Return Request | Warehouse Staff | Goods Return · Web |
| Create G/Return Slip (standalone) | Warehouse Staff | Goods Return · Web |
| From G/D Slip → Import Selected Lines | Warehouse Staff | Goods Return · Web |
| Pick Item Code directly in the grid | Warehouse Staff | Goods Return · Web |
| Mapping Barcode (Search & Map Barcode/QR) | Warehouse Staff | Goods Return · Web |
| Submit Request · Print Request | Warehouse Staff | Goods Return · Web |
| Scan G/Return Request · Scan returned-goods barcodes · Make Slip | Warehouse Staff | Goods Return · Mobile |
| Submit for Approval | Warehouse Staff | Goods Return · Web |
| Approve · Cancel | Warehouse Manager | Goods Return · Web |
| The document’s stock period is closed → every action is blocked (Submit · Approve · Cancel · Delete) with the message `This action cannot be completed because the affected inventory period is closed through [Close Date]` | System (auto) | Goods Return |

## Output

| # | Output | Produced when |
| --- | --- | --- |
| O-1 | G/Return Request: `SAVED` → `SUBMITTED` → `CLOSED` | CLOSED automatically when every line has Remaining = 0 |
| O-2 | G/Return Slip = `APPROVED` | Manager clicks Approve while the Slip is `SUBMITTED` |
| O-3 | Physical & Available Stock increase at Bin Location — only lines with `Disposition = Restock` | On Approve |
| O-4 | Received / Remaining updated on the Request lines | Slip is linked to a Request |
| O-5 | *Exception:* Slip = `CANCELLED`, Restock-line stock reversed; Received down, Remaining up on the Request, and a CLOSED Request returns to SUBMITTED — or the cancel is blocked | Slip is `APPROVED`; blocked if Available Stock < the Slip's Restock quantity, or a later action on another screen |
