# Business Logic — JKKKikiIchiranCancelCC.execKikiOptSvcKeiDsl() [119 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `com.fujitsu.futurity.bp.custom.common.JKKKikiIchiranCancelCC` |
| Layer | CC/Common Component (Shared business component for key option cancellation screens) |
| Module | `common` (Package: `com.fujitsu.futurity.bp.custom.common`) |

## 1. Role

### JKKKikiIchiranCancelCC.execKikiOptSvcKeiDsl()

This method orchestrates the **equipment option service contract cancellation processing** (機器オプション解約処理) for the key-option inquiry-and-cancel screen. Its primary business responsibility is to prepare and route service contract data to the option-creation/update component (`JKKKikiIchiranKkOpKyUpdCC.execKikiOptKeiCreUpd`), which ultimately performs the cancellation or update of equipment-provided service contracts.

The method handles **two distinct option service types**: the **router option** (ルーター機能) — fiber-optic internet equipment attached to a service contract — and the **phone adapter option** (電話アダプター機能) — a VoIP-capable phone adapter device. For each type, it determines whether the service has already reached a terminal state (DSL or CANCEL) and, if not, records cancellation execution metadata (cancellation category `dsl_kbn = "1"` and cancellation date `dsl_ymd` set to the operation date).

The design pattern used is **delegation with data enrichment**. The method acts as a data preparation intermediary: it pulls raw data from the request parameter map and temporary data store, enriches it with DSL cancellation determination logic, passes it to a dedicated update handler, and then preserves before/after snapshots in the temporary data store for audit and screen-display purposes. It is a **shared component** called by the screen controller `execKikiOptSvcKeiDslController()` and potentially by similar screens in the key-option cancellation workflow.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["execKikiOptSvcKeiDsl start"])

    START --> S1["Retrieve EKK0341A010CBSMsg from temporaryData"]

    S1 --> S2["Create empty HashMap, set to param under KIKI_KIKIOPT_KEI_UPD_CC"]

    S2 --> S3["Get ccMsg and outMap from param"]

    S3 --> S4["Map common info into outMap: func_code, svc_kei_no, ido_div, unyo_ymd"]

    S4 --> S5["Map service contract data: svc_kei_data, kktk_svc_kei_data, kktk_svc_kei_no, seiky_kei_no, ido_rsn_cd, add_sod_send_ymd"]

    S5 --> S6["Get router option status rtKkOptSvcStat via getNullToStr from ccMsg rt_stat_dtl_bf"]

    S6 --> S7["Determine router DSL set: rtKkOptDslSet = isKkOptDslHantei(rtKkOptSvcStat)"]

    S7 --> S8["Init dsl_kbn and dsl_ymd to empty strings"]

    S8 --> S9["Map router option data: ruta_kkop_svc_kei_no, ruta_kino_cd"]

    S9 --> S10{rtKkOptDslSet == true}

    S10 -->|Yes| S11["Set dsl_kbn to 1 and dsl_ymd to unyo_ymd"]
    S10 -->|No| S12["Keep dsl_kbn and dsl_ymd empty"]
    S11 --> S13["Set rt_dsl_kbn, rt_dsl_ymd, rt_dsl_ymd_bf in outMap"]
    S12 --> S13

    S13 --> S14["Get phone adapter option status vaKkOptSvcStat via getNullToStr from ccMsg va_stat_dtl_bf"]

    S14 --> S15["Determine phone adapter DSL set: vaKkOptDslSet = isKkOptDslHantei(vaKkOptSvcStat)"]

    S15 --> S16["Reset dsl_kbn and dsl_ymd to empty strings"]

    S16 --> S17["Map phone adapter option data: va_kkop_svc_kei_no, va_adp_kino_cd"]

    S17 --> S18{vaKkOptDslSet == true}

    S18 -->|Yes| S19["Set dsl_kbn to 1 and dsl_ymd to unyo_ymd"]
    S18 -->|No| S20["Keep dsl_kbn and dsl_ymd empty"]
    S19 --> S21["Set va_dsl_kbn, va_dsl_ymd, va_dsl_ymd_bf in outMap"]
    S20 --> S21

    S21 --> S22["Map EKK1091D010CBSMsg1List into outMap"]

    S22 --> S23["Create JKKKikiIchiranKkOpKyUpdCC instance"]

    S23 --> S24["Call execKikiOptKeiCreUpd with handle, param, KIKI_KIKIOPT_KEI_UPD_CC, scrnItemMap"]

    S24 --> S25["Store before and after service contract data in temporaryData for RT and VA"]

    S25 --> S26["Remove KIKI_KIKIOPT_KEI_UPD_CC data from param"]

    S26 --> END(["Return to caller"])
```

**Conditional branch logic (DSL determination):**

The `isKkOptDslHantei` method (line 4873) returns `false` when the service status equals an empty string, `KKOPT_SVC_KEI_STAT_DSL = "910"` (DSL/completed), or `KKOPT_SVC_KEI_STAT_CANCEL = "920"` (canceled). In these cases, the cancellation category `dsl_kbn` remains empty — the service is already terminal and no cancellation processing is needed. When the status is anything else (e.g., active, in-progress), the method returns `true`, and `dsl_kbn = "1"` (cancellation executed) with `dsl_ymd` set to the current operation date.

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `handle` | `SessionHandle` | Database session handle used by downstream services (e.g., `execKikiOptKeiCreUpd`) to execute CBS calls and transactions. Carries the connection context for the entire cancellation operation. |
| 2 | `scCall` | `ServiceComponentRequestInvoker` | Service component request invoker used to call CBS (Central Business System) methods. Passed through to `execKikiOptKeiCreUpd` for internal service calls such as EKK0081A010 (service contract agreement) and EKK0341A010 (equipment-provided service contract agreement). |
| 3 | `param` | `IRequestParameterReadWrite` | The request parameter map carrying all data between screens, controllers, and CBS calls. This method writes cancellation metadata into `param` (keyed by `KIKI_KIKIOPT_KEI_UPD_CC`) and reads back `ccMsg` and `outMap` from it. Removed at the end via `removeData`. |
| 4 | `dataMapKey` | `String` | The map key used to identify the current screen's data context within `param.getData()`. Used to retrieve the `ccMsg` map containing raw request data such as `func_code`, `svc_kei_no`, `ido_div`, and status fields. |
| 5 | `temporaryData` | `HashMap<String, Object>` | A request-scoped temporary data store holding intermediate results. Used to retrieve the `EKK0341A010` CBS message (equipment-provided service contract agreement) and to store before/after snapshots of router and phone adapter service contract data for screen display. |

**Instance fields / constants read by the method:**

| Constant | Value | Business Meaning |
|----------|-------|------------------|
| `KIKI_KIKIOPT_KEI_UPD_CC` | `"JKKKikiIchiranKkOpKyUpdCC"` | The data map key for the option update controller component |
| `TEMPLATE_ID_EKK0341A010` | `"EKK0341A010"` | Template ID for the equipment-provided service contract agreement CBS message |
| `OUT_RT_KKOPT_SVCKEI_DATA_BF` | `"ruta_kkopt_svc_kei_data_bf"` | Key for before-update router option service contract data snapshot |
| `OUT_VA_KKOPT_SVCKEI_DATA_BF` | `"va_kkopt_svc_kei_data_bf"` | Key for before-update phone adapter option service contract data snapshot |
| `OUT_VA_KKOPT_SVCKEI_DATA_AF` | `"va_kkopt_svc_kei_data_af"` | Key for after-update phone adapter option service contract data snapshot |
| `KKOPT_SVC_KEI_STAT_DSL` | `"910"` | Equipment option service contract status: DSL (completed) |
| `KKOPT_SVC_KEI_STAT_CANCEL` | `"920"` | Equipment option service contract status: Canceled |

## 4. CRUD Operations / Called Services

### Pre-computed evidence from code analysis graph:

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| U | `param.setData` | - | Param Data Map | Creates empty HashMap in `param` under key `KIKI_KIKIOPT_KEI_UPD_CC` to hold cancellation update data [-> `JKKKikiIchiranKkOpKyUpdCC`] |
| U | `param.removeData` | - | Param Data Map | Removes the `KIKI_KIKIOPT_KEI_UPD_CC` entry from `param` after processing completes |
| U | `outMap.put` (x12) | - | OutMap HashMap | Populates `outMap` with service contract metadata: `func_code`, `svc_kei_no`, `ido_div`, `unyo_ymd`, `svc_kei_data`, `kktk_svc_kei_data`, `kktk_svc_kei_no`, `seiky_kei_no`, `ido_rsn_cd`, `add_sod_send_ymd`, `ruta_kkop_svc_kei_no`, `ruta_kino_cd`, `rt_dsl_kbn`, `rt_dsl_ymd`, `rt_dsl_ymd_bf`, `va_kkop_svc_kei_no`, `va_adp_kino_cd`, `va_dsl_kbn`, `va_dsl_ymd`, `va_dsl_ymd_bf`, `EKK1091D010CBSMsg1List` |
| U | `temporaryData.put` (x4) | - | TemporaryData HashMap | Stores before/after snapshots of router and phone adapter service contract data: `OUT_RT_KKOPT_SVCKEI_DATA_BF`, `OUT_VA_KKOPT_SVCKEI_DATA_BF`, `OUT_RT_KKOPT_SVCKEI_DATA_AF`, `OUT_VA_KKOPT_SVCKEI_DATA_AF` |
| R | `temporaryData.get` (x1) | - | TemporaryData HashMap | Retrieves `EKK0341A010` CBS message (equipment-provided service contract agreement data) from temporary data by template key |
| R | `param.getData` (x2) | - | Param Data Map | Retrieves `ccMsg` by `dataMapKey` and `outMap` by `KIKI_KIKIOPT_KEI_UPD_CC` key from param |
| R | `getNullToStr` (x2) | JKKKikiIchiranCancelCC | - | Sanitizes status strings by replacing null with empty string — called for `rt_stat_dtl_bf` (router status) and `va_stat_dtl_bf` (phone adapter status) |
| CALL | `isKkOptDslHantei` (x2) | JKKKikiIchiranCancelCC | - | Determines whether each option type (router, phone adapter) is in a non-terminal state that allows cancellation processing |
| CALL | `execKikiOptKeiCreUpd` (x1) | JKKKikiIchiranKkOpKyUpdCC | CBS/SC calls within: EKK0081A010, EKK0341A010, etc. | Delegates the actual option creation/update processing to the dedicated update component with enriched data from `outMap` |

### Detailed SC/Entity Analysis

The delegated call `execKikiOptKeiCreUpd` (in `JKKKikiIchiranKkOpKyUpdCC`) internally invokes:

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `EKK0081A010` CBS | EKK0081A010SC | KK_T_SVC_KEI (Service Contract Table) | Fetches service contract agreement data by `svc_kei_no` with function code "2" |
| R | `EKK0341A010` CBS | EKK0341A010SC | KK_T_KKTK_SVC_KEI (Equipment-Provided Service Contract Table) | Fetches equipment-provided service contract data by `kktk_svc_kei_no` when not already present |
| R | `EKK1091D010` CBS | EKK1091D010CBS | KK_T_TNMT_OPT_SVC_KEI (Terminal Supplement Option Service Contract Table) | Terminal supplement option service contract list (v7.00.03 addition) |

## 5. Dependency Trace

No screen/batch entry points found within 8 hops. Direct callers found: 1 method.

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | CBS: `JKKKikiIchiranCancelCC.execKikiOptSvcKeiDslController` | `execKikiOptSvcKeiDslController` -> `execKikiOptSvcKeiDsl` | `execKikiOptKeiCreUpd [CALL]` (internal: EKK0081A010SC [R] KK_T_SVC_KEI, EKK0341A010SC [R] KK_T_KKTK_SVC_KEI, EKK1091D010CBS [R] KK_T_TNMT_OPT_SVC_KEI) |

## 6. Per-Branch Detail Blocks

**Block 1** — SET (Retrieve template message) (L4752)

The method begins by extracting the equipment-provided service contract agreement CBS message from the temporary data store.

| # | Type | Code |
|---|------|------|
| 1 | SET | `ekk0341a010cbsMsg = (CAANMsg)temporaryData.get(TEMPLATE_ID_EKK0341A010)` // Retrieves EKK0341A010CBSMsg — equipment-provided service contract agreement result [-> `TEMPLATE_ID_EKK0341A010 = "EKK0341A010"`] |

**Block 2** — EXEC (Initialize param data map) (L4756)

Creates an empty HashMap and stores it in `param` under the option update controller key.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `param.setData(KIKI_KIKIOPT_KEI_UPD_CC, new HashMap<String, Object>())` // Creates an empty map for the option update component [-> `KIKI_KIKIOPT_KEI_UPD_CC = "JKKKikiIchiranKkOpKyUpdCC"`] |

**Block 3** — SET (Get local references) (L4758–4759)

Extracts references to the request message map (`ccMsg`) and the output map (`outMap`) from `param`.

| # | Type | Code |
|---|------|------|
| 1 | SET | `ccMsg = (HashMap<String, Object>)param.getData(dataMapKey)` // Request message map containing screen/parameter data |
| 2 | SET | `outMap = (HashMap<String, Object>)param.getData(KIKI_KIKIOPT_KEI_UPD_CC)` // Output map passed to update component |

**Block 4** — EXEC (Map common information into outMap) (L4762–4765)

Copies common/shared fields from the request message to the output map.

| # | Type | Code |
|---|------|------|
| 1 | SET | `outMap.put("func_code", ccMsg.get("func_code"))` // Function code — business operation type |
| 2 | SET | `outMap.put("svc_kei_no", ccMsg.get("svc_kei_no"))` // Service contract number — primary key of the service contract |
| 3 | SET | `outMap.put("ido_div", ccMsg.get("ido_div"))` // Displacement/transfer division code — indicates type of contract change |
| 4 | SET | `outMap.put("unyo_ymd", ccMsg.get("unyo_ymd"))` // Operation date (YYYYMMDD) — current business processing date |

**Block 5** — EXEC (Map service contract data into outMap) (L4767–4777)

Maps service contract-specific data and cancellation metadata into the output map.

| # | Type | Code |
|---|------|------|
| 1 | SET | `outMap.put("svc_kei_data", temporaryData.get(TEMPLATE_ID_EKK0081A010))` // Full service contract agreement data [-> `TEMPLATE_ID_EKK0081A010 = "EKK0081A010"`] |
| 2 | SET | `outMap.put("kktk_svc_kei_data", ekk0341a010cbsMsg)` // Equipment-provided service contract agreement message |
| 3 | SET | `outMap.put("kktk_svc_kei_no", ccMsg.get("kktk_svc_kei_no"))` // Equipment-provided service contract number |
| 4 | SET | `outMap.put("seiky_kei_no", ccMsg.get("seiky_kei_no"))` // Billing contract number — the invoice-level contract identifier |
| 5 | SET | `outMap.put("ido_rsn_cd", ccMsg.get("ido_rsn_cd"))` // Displacement reason code — reason for contract change/transfer |
| 6 | SET | `outMap.put("add_sod_send_ymd", ccMsg.get("add_sod_send_ymd"))` // Registered SOD (Service Order Data) send date |

**Block 6** — EXEC (Retrieve router option service status) (L4782–4785)

Reads the router option service status detail before-cancel state and sanitizes it. This reflects a v7.00.03 code change: the source was moved from `outMap` to `ccMsg`.

| # | Type | Code |
|---|------|------|
| 1 | SET | `rtKkOptSvcStat = getNullToStr((String)ccMsg.get("rt_stat_dtl_bf"))` // Router option service status detail before cancellation [v7.00.03: changed from outMap to ccMsg] |
| 2 | EXEC | `rtKkOptDslSet = isKkOptDslHantei(rtKkOptSvcStat)` // Determines if router option is in a cancellable (non-terminal) state |
| 3 | SET | `dsl_kbn = ""` // DSL cancellation category — will be "1" if cancellation is being executed |
| 4 | SET | `dsl_ymd = ""` // DSL cancellation date — will be set to unyo_ymd if cancellation is being executed |
| 5 | SET | `outMap.put("ruta_kkop_svc_kei_no", ccMsg.get("ruta_kkop_svc_kei_no"))` // Router option service contract number |
| 6 | SET | `outMap.put("ruta_kino_cd", "")` // Router function code — initialized empty (placeholder) |

**Block 7** — IF (Router DSL execution determination) (L4795–4798)

Determines whether the router option is in a cancellable state.

| # | Type | Code |
|---|------|------|
| 1 | SET | `dsl_kbn = "1"` // Set cancellation category to "1" — cancellation is being executed |
| 2 | SET | `dsl_ymd = (String)ccMsg.get("unyo_ymd")` // Set cancellation date to the operation date |

**Block 8** — EXEC (Set router DSL cancellation fields into outMap) (L4801–4803)

| # | Type | Code |
|---|------|------|
| 1 | SET | `outMap.put("rt_dsl_kbn", dsl_kbn)` // Router function cancellation category |
| 2 | SET | `outMap.put("rt_dsl_ymd", dsl_ymd)` // Router function cancellation date |
| 3 | SET | `outMap.put("rt_dsl_ymd_bf", ccMsg.get("rt_dsl_ymd_bf"))` // Router function cancellation date (before) — prior cancellation date |

**Block 9** — EXEC (Retrieve phone adapter option service status) (L4808–4811)

Reads the phone adapter option service status detail before-cancel state and sanitizes it. Also reflects a v7.00.03 change: moved from `outMap` to `ccMsg`.

| # | Type | Code |
|---|------|------|
| 1 | SET | `vaKkOptSvcStat = getNullToStr((String)ccMsg.get("va_stat_dtl_bf"))` // Phone adapter option service status detail before cancellation [v7.00.03: changed from outMap to ccMsg] |
| 2 | EXEC | `vaKkOptDslSet = isKkOptDslHantei(vaKkOptSvcStat)` // Determines if phone adapter option is in a cancellable (non-terminal) state |
| 3 | SET | `outMap.put("va_kkop_svc_kei_no", ccMsg.get("va_kkop_svc_kei_no"))` // Phone adapter option service contract number |
| 4 | SET | `outMap.put("va_adp_kino_cd", "")` // Phone adapter function code — initialized empty (placeholder) |
| 5 | SET | `dsl_kbn = ""` // Reset DSL cancellation category |
| 6 | SET | `dsl_ymd = ""` // Reset DSL cancellation date |

**Block 10** — IF (Phone adapter DSL execution determination) (L4814–4817)

Determines whether the phone adapter option is in a cancellable state.

| # | Type | Code |
|---|------|------|
| 1 | SET | `dsl_kbn = "1"` // Set cancellation category to "1" — cancellation is being executed |
| 2 | SET | `dsl_ymd = (String)ccMsg.get("unyo_ymd")` // Set cancellation date to the operation date |

**Block 11** — EXEC (Set phone adapter DSL cancellation fields into outMap) (L4819–4821)

| # | Type | Code |
|---|------|------|
| 1 | SET | `outMap.put("va_dsl_kbn", dsl_kbn)` // Phone adapter function cancellation category |
| 2 | SET | `outMap.put("va_dsl_ymd", dsl_ymd)` // Phone adapter function cancellation date |
| 3 | SET | `outMap.put("va_dsl_ymd_bf", ccMsg.get("va_dsl_ymd_bf"))` // Phone adapter function cancellation date (before) — prior cancellation date |

**Block 12** — EXEC (v7.00.03: Map terminal supplement option data) (L4825)

Adds the terminal supplement option CBS message list into the output map.

| # | Type | Code |
|---|------|------|
| 1 | SET | `outMap.put("EKK1091D010CBSMsg1List", ccMsg.get("EKK1091D010CBSMsg1List"))` // Terminal supplement option service contract data list [v7.00.03 addition] |

**Block 13** — EXEC (v9.00.00: Instantiate and call option update controller) (L4830–4833)

Creates an instance of the option creation/update component and delegates processing. The method signature was upgraded in v9.00.00 to accept a `scrnItemMap` parameter (screen item parameters map).

| # | Type | Code |
|---|------|------|
| 1 | SET | `scrnItemMap = null` // Screen parameter map — initialized as null (v9.00.00 addition) |
| 2 | SET | `jKKKikiIchiranKkOpKyUpdCC = new JKKKikiIchiranKkOpKyUpdCC()` // Instantiate the option creation/update controller component |
| 3 | CALL | `jKKKikiIchiranKkOpKyUpdCC.execKikiOptKeiCreUpd(handle, param, KIKI_KIKIOPT_KEI_UPD_CC, scrnItemMap)` // Delegate to the update component [v9.00.00: new overload with scrnItemMap parameter] |

The delegated `execKikiOptKeiCreUpd` performs the following internally (as traced from `JKKKikiIchiranKkOpKyUpdCC`):
- Calls EKK0081A010 CBS to fetch service contract agreement data
- Calls EKK0341A010 CBS to fetch equipment-provided service contract data
- Evaluates router option eligibility via `isRtOptSvcKei`
- Evaluates phone adapter option eligibility via `isVaOptSvcKei`
- Evaluates terminal supplement option eligibility via `isTnmtOptSvcKei` (v9.00.00 addition)

**Block 14** — EXEC (Store before/after service contract data snapshots) (L4835–4843)

Copies before and after service contract data snapshots from `outMap` into `temporaryData` for audit trails and screen display. This reflects a v7.00.02 change from the original pattern.

| # | Type | Code |
|---|------|------|
| 1 | SET | `temporaryData.put(OUT_RT_KKOPT_SVCKEI_DATA_BF, outMap.get(OUT_RT_KKOPT_SVCKEI_DATA_BF))` // Router option service contract data (before) [-> `OUT_RT_KKOPT_SVCKEI_DATA_BF = "ruta_kkopt_svc_kei_data_bf"`] |
| 2 | SET | `temporaryData.put(OUT_VA_KKOPT_SVCKEI_DATA_BF, outMap.get(OUT_VA_KKOPT_SVCKEI_DATA_BF))` // Phone adapter option service contract data (before) [-> `OUT_VA_KKOPT_SVCKEI_DATA_BF = "va_kkopt_svc_kei_data_bf"`] |
| 3 | SET | `temporaryData.put(OUT_RT_KKOPT_SVCKEI_DATA_AF, outMap.get(OUT_RT_KKOPT_SVCKEI_DATA_AF))` // Router option service contract data (after) — key not defined locally, inherited from common constants |
| 4 | SET | `temporaryData.put(OUT_VA_KKOPT_SVCKEI_DATA_AF, outMap.get(OUT_VA_KKOPT_SVCKEI_DATA_AF))` // Phone adapter option service contract data (after) [-> `OUT_VA_KKOPT_SVCKEI_DATA_AF = "va_kkopt_svc_kei_data_af"`] |

**Block 15** — EXEC (Cleanup param data) (L4846)

Removes the temporary option update controller data from the param map to clean up the request scope after processing.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `param.removeData(KIKI_KIKIOPT_KEI_UPD_CC)` // Removes the option update controller entry from param |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `svc_kei_no` | Field | Service contract number — the primary identifier for a telecom service contract line item |
| `kktk_svc_kei_no` | Field | Equipment-provided service contract number — identifies the contract for equipment bundled with a service plan (e.g., router, phone adapter) |
| `seiky_kei_no` | Field | Billing contract number — the invoice-level contract identifier grouping multiple service contracts |
| `ido_div` | Field | Displacement/transfer division code — categorizes the type of contract change (e.g., transfer, cancellation, modification) |
| `ido_rsn_cd` | Field | Displacement reason code — the business reason for a contract transfer or change |
| `unyo_ymd` | Field | Operation date (YYYYMMDD) — the current business processing date used as the effective date for cancellations |
| `add_sod_send_ymd` | Field | Registered SOD send date — the date the Service Order Data was transmitted to downstream systems |
| `rt_stat_dtl_bf` | Field | Router option service status detail (before) — the current status of the router option service prior to cancellation |
| `va_stat_dtl_bf` | Field | Phone adapter option service status detail (before) — the current status of the phone adapter option service prior to cancellation |
| `rt_dsl_kbn` | Field | Router function cancellation category — "1" if a cancellation is being executed, empty if the service is already terminal |
| `rt_dsl_ymd` | Field | Router function cancellation date — the date the cancellation is being executed, set to `unyo_ymd` when active |
| `rt_dsl_ymd_bf` | Field | Router function cancellation date (before) — the previous cancellation date (if any) |
| `va_dsl_kbn` | Field | Phone adapter function cancellation category — "1" if a cancellation is being executed, empty if already terminal |
| `va_dsl_ymd` | Field | Phone adapter function cancellation date — the date the cancellation is being executed |
| `va_dsl_ymd_bf` | Field | Phone adapter function cancellation date (before) — the previous cancellation date (if any) |
| `ruta_kkop_svc_kei_no` | Field | Router option service contract number — the contract number for the router option |
| `kktk_svc_kei_data` | Field | Equipment-provided service contract data — the full CBS message payload for the equipment contract |
| `svc_kei_data` | Field | Service contract data — the full CBS message payload for the base service contract |
| `rtKkOptDslSet` | Field | Router DSL set flag — `true` if the router option is in a cancellable (non-terminal) state |
| `vaKkOptDslSet` | Field | Phone adapter DSL set flag — `true` if the phone adapter option is in a cancellable (non-terminal) state |
| `dsl_kbn` | Local variable | DSL cancellation category — "1" indicates cancellation is being executed; empty string means no cancellation |
| `dsl_ymd` | Local variable | DSL cancellation date — the effective date of cancellation execution |
| KKOPT_SVC_KEI_STAT_DSL | Constant | Equipment option service contract status "910" — DSL (completed). Service is in a terminal state. |
| KKOPT_SVC_KEI_STAT_CANCEL | Constant | Equipment option service contract status "920" — Canceled. Service is in a terminal state. |
| `KIKI_KIKIOPT_KEI_UPD_CC` | Constant | Key `"JKKKikiIchiranKkOpKyUpdCC"` — the param data map key for the option update controller component |
| `TEMPLATE_ID_EKK0341A010` | Constant | Template ID `"EKK0341A010"` — identifier for the equipment-provided service contract agreement CBS call |
| `TEMPLATE_ID_EKK0081A010` | Constant | Template ID `"EKK0081A010"` — identifier for the service contract agreement CBS call |
| `OUT_RT_KKOPT_SVCKEI_DATA_BF` | Constant | Key `"ruta_kkopt_svc_kei_data_bf"` — temporary data key for before-update router option service contract data snapshot |
| `OUT_VA_KKOPT_SVCKEI_DATA_BF` | Constant | Key `"va_kkopt_svc_kei_data_bf"` — temporary data key for before-update phone adapter option service contract data snapshot |
| `OUT_VA_KKOPT_SVCKEI_DATA_AF` | Constant | Key `"va_kkopt_svc_kei_data_af"` — temporary data key for after-update phone adapter option service contract data snapshot |
| EKK0081A010 | CBS Code | Service Contract Agreement CBS — retrieves core service contract data by contract number |
| EKK0341A010 | CBS Code | Equipment-Provided Service Contract Agreement CBS — retrieves equipment-bundled service contract data |
| EKK1091D010 | CBS Code | Terminal Supplement Option CBS — retrieves terminal supplement (endpoint support) option service contract data |
| SOD | Acronym | Service Order Data — order fulfillment data transmitted to downstream billing/activation systems |
| CBS | Acronym | Central Business System — the backend transaction processing system for telecom service operations |
| CC | Acronym | Common Component — a shared business logic component in the Fujitu Futurity framework |
| DSL | Business term | In this context, indicates a terminal/completed state of an equipment option service contract (DSL or Canceled status). Not to be confused with Digital Subscriber Line broadband. |
| Router Option | Business term | A router device (e.g., FTTH modem/router) provided as an optional equipment bundle with a broadband internet service contract |
| Phone Adapter Option | Business term | A VoIP-compatible telephone adapter device provided as an optional equipment bundle with a telecom service contract |
| Equipment-Provided Service Contract | Business term | A contract line item representing equipment (router, phone adapter) bundled with a service plan, separate from the base service contract |
| Screen Item Map | Parameter | `scrnItemMap` — a HashMap containing screen-level parameter values used for conditional processing in the update component |
| ルーター機能 | Japanese term | Router function — the router option service bundled with internet service contracts |
| 電話アダプター機能 | Japanese term | Phone adapter function — the VoIP phone adapter option service bundled with telecom contracts |
| 機器オプション解約処理 | Japanese term | Equipment option cancellation processing — the overall business operation of canceling equipment-bundled service contracts |
| 機器提供サービス契約同意照会 | Japanese term | Equipment-provided service contract agreement inquiry — a CBS call to read/verify equipment service contract data |
| 共通情報のマッピング | Japanese comment | Mapping of common/shared information — copying standard fields (func_code, svc_kei_no, etc.) from request to output map |
| 解約実行の値を設定する | Japanese comment | Set cancellation execution values — determining and recording the cancellation category and date when the option is actively being canceled |
| ルーター機能解約区分 | Japanese comment | Router function cancellation category — the classification flag (1 = cancellation in progress) |
| ルーター機能解約年月日 | Japanese comment | Router function cancellation date |
| ルーター機能解約年月日（前） | Japanese comment | Router function cancellation date (before) — the prior cancellation date |