# Business Logic — KKW00127SFLogic.setSvc() [135 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.KKW00127SF.KKW00127SFLogic` |
| Layer | Service / Screen Logic (webview screen logic tier) |
| Module | `KKW00127SF` (Package: `eo.web.webview.KKW00127SF`) |

## 1. Role

### KKW00127SFLogic.setSvc()

This method performs **service-type determination** for the KKW00127SF (Application Information Update Status Classification) screen, which is part of the customer contract modification flow. Given a pricing group code from the user's service agreement and optional condominium building information, it classifies the service into one of seven service flag codes (`SVC_FLG_01` through `SVC_FLG_07`, or `SVC_FLG_99` for out-of-scope) and sets the corresponding **service judgment flag** (`SVC_JDK_FLG`) and **administrative handling fee label** (`jimu_commision_nm`) back into the data bean for downstream screen rendering.

The method handles **seven service categories**: (1) eo Light Net Home/Maison type (fiber-to-the-home broadband), (2) eo Light Net Mansion type (fiber-to-apartment broadband), (3) Mobile service, (4) ADSL, (5) Electricity/Telephone (Home type), (6) eo Light TV (residential/newly built), and (7) eo Light TV (collective housing/retransmission/KCN). When a condominium building check flag (`isMT`) is present — derived from the prior KKSV003699SC screen query — it adjusts the service classification for Electricity/Telephone and eo Light TV cases to distinguish between standalone (戸建, detached house) and multi-unit dwelling (マンション, mansion/apartment) service types.

The method implements a **dispatch/routing pattern**: it reads the pricing group code, resolves the service category via a `svcflg` enum switch, assigns the appropriate `svc_cd` flag and optional commission label, then writes both values back into the form bean. Its role in the larger system is to bridge the pricing-group-level input (provided by the service contract agreement detail bean) with the screen-layer's need for a normalized service-type flag that drives UI visibility, validation, and subsequent processing branching across downstream screens (KKSV0036 through KKSV0063 and beyond).

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["setSvc svcFormBean outputMap"])
    null_svc_cd["svc_cd = null"]
    get_kksv003699sc["Get KKSV003699SC from outputMap"]
    check_kksv_null{KKSV003699SC not null?}
    get_ekk0861b001msgList["Get EKK0861B002CBSMsg1List"]
    check_list_null{List not null and size gt 0?}
    isMT_false["isMT = false"]
    check_mansion_cd{mansion_bukken_cd equals 001?}
    isMT_true["isMT = true"]
    isMT_false2["isMT = false"]
    get_svcMsList["svcMsList = getDataBeanArray EKK0081A010CBSMSG1LIST"]
    get_svcMs["svcMs = svcMsList.getDataBean 0"]
    get_prc_grp_cd["prc_grp_cd = sendMessageString PRC_GRP_CD_02"]
    init_jimu_commision["jimu_commision_nm = 事務手数料"]
    switch_prc_grp["Switch on svcflg.tocd prc_grp_cd"]
    case_cd02_cd03["case CD02/CD03<br/>eo光ネットホーム/メゾンタイプ"]
    case_cd04["case CD04<br/>eo光ネットマンションタイプ"]
    case_cd05_cd06["case CD05/CD06<br/>ADSL"]
    case_cd01_cd07_cd08_cd09_cd15_cd16["case CD01/CD07/CD08/CD09/CD15/CD16<br/>モバイル"]
    case_cd10["case CD10<br/>電気電話（ホームタイプ）"]
    check_is_mt_10{isMT?}
    isMT_true_10["svc_cd = SVC_FLG_02"]
    isMT_false_10["svc_cd = SVC_FLG_01"]
    case_cd11["case CD11<br/>eo光テレビ"]
    check_is_mt_11{isMT?}
    isMT_true_11["svc_cd = SVC_FLG_04<br/>jimu_commision_nm = KANYU_KN"]
    isMT_false_11["svc_cd = SVC_FLG_03<br/>jimu_commision_nm = KANYU_KN"]
    case_cd12_cd13["case CD12/CD13<br/>eo光テレビ 再送信/KCN"]
    case_nocd_default["case NOCD/default<br/>その他"]
    set_svc_flag["svcFormBean.sendMessageString SVC_JDK_FLG svc_cd"]
    set_jimu_commision["svcFormBean.sendMessageString JIMU_COMMISION_DSP_CHG jimu_commision_nm"]
    END(["Return"])

    START --> null_svc_cd
    null_svc_cd --> get_kksv003699sc
    get_kksv003699sc --> check_kksv_null
    check_kksv_null -->|Yes| get_ekk0861b001msgList
    check_kksv_null -->|No| isMT_false
    get_ekk0861b001msgList --> check_list_null
    check_list_null -->|No| isMT_false
    check_list_null -->|Yes| check_mansion_cd
    check_mansion_cd -->|Yes| isMT_true
    check_mansion_cd -->|No| isMT_false2
    isMT_true --> get_svcMsList
    isMT_false2 --> get_svcMsList
    isMT_false --> get_svcMsList
    get_svcMsList --> get_svcMs
    get_svcMs --> get_prc_grp_cd
    get_prc_grp_cd --> init_jimu_commision
    init_jimu_commision --> switch_prc_grp
    switch_prc_grp --> case_cd02_cd03
    switch_prc_grp --> case_cd04
    switch_prc_grp --> case_cd05_cd06
    switch_prc_grp --> case_cd01_cd07_cd08_cd09_cd15_cd16
    switch_prc_grp --> case_cd10
    switch_prc_grp --> case_cd11
    switch_prc_grp --> case_cd12_cd13
    switch_prc_grp --> case_nocd_default
    case_cd02_cd03 --> case_cd04
    case_cd04 --> case_cd05_cd06
    case_cd05_cd06 --> case_cd01_cd07_cd08_cd09_cd15_cd16
    case_cd01_cd07_cd08_cd09_cd15_cd16 --> case_cd10
    case_cd10 --> check_is_mt_10
    check_is_mt_10 -->|Yes| isMT_true_10
    check_is_mt_10 -->|No| isMT_false_10
    isMT_true_10 --> case_cd11
    isMT_false_10 --> case_cd11
    case_cd11 --> check_is_mt_11
    check_is_mt_11 -->|Yes| isMT_true_11
    check_is_mt_11 -->|No| isMT_false_11
    isMT_true_11 --> case_cd12_cd13
    isMT_false_11 --> case_cd12_cd13
    case_cd12_cd13 --> case_nocd_default
    case_nocd_default --> set_svc_flag
    set_svc_flag --> set_jimu_commision
    set_jimu_commision --> END
```

**CRITICAL — Constant Resolution (prc_grp_cd mapping to service types):**

The switch statement operates on `svcflg.tocd(prc_grp_cd)` where `prc_grp_cd` is the pricing group code extracted from the service agreement detail bean. The `svcflg` enum maps pricing group codes to service categories:

| Enum Value | prc_grp_cd Code | Service Category (Business Meaning) |
|------------|-----------------|-------------------------------------|
| `CD02` / `CD03` | "02" / "03" | eo Light Net Home Type / eo Light Net Maison Type |
| `CD04` | "04" | eo Light Net Mansion Type |
| `CD05` / `CD06` | "05" / "06" | ADSL |
| `CD01` / `CD07` / `CD08` / `CD09` / `CD15` / `CD16` | "01" / "07"–"09" / "15" / "16" | Mobile (モバイル) |
| `CD10` | "10" | Electricity/Telephone (Home Type) |
| `CD11` | "11" | eo Light TV |
| `CD12` / `CD13` | "12" / "13" | eo Light TV (Retransmission / KCN) |
| `NOCD` / default | "99" or unrecognized | Other (Out of Scope) |

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `svcFormBean` | `X31SDataBeanAccess` | The form-level data bean that holds the screen's input/output state. It contains the **Service Contract Agreement Detail List** (`EKK0081A010CBSMSG1LIST`) — a data bean array whose first element carries the pricing group code (`PRC_GRP_CD_02` = "料金グループコード", Pricing Group Code). This code identifies which service category (broadband, mobile, TV, electricity/phone) the user is modifying. Values written to this bean (via `sendMessageString` with `DATABEAN_SET_VALUE`) are consumed by the screen for display branching. |
| 2 | `outputMap` | `Map<String, Object>` | A shared screen context map carrying inter-screen data. Specifically, this method reads the key `"KKSV003699SC"` which contains results from the **Mansion Information List Screen** (KKSV003699). The nested `EKK0861B002CBSMsg1List` carries the `mansion_bukken_cd` field: "001" = マンション (Mansion/Condo), distinguishing multi-unit dwellings from standalone houses. |

**Instance Fields Read:**

| Field | Type | Business Description |
|-------|------|---------------------|
| `svc_cd` | `String` | Service judgment flag — the output field set by this method. Determines which service category the screen processing should follow downstream. Values: "01"–"07" for in-scope services, "99" for out-of-scope. |
| `prc_grp_cd` | `String` | Pricing group code — extracted from the service agreement detail bean, used as the switch discriminator to select the service type branch. |

## 4. CRUD Operations / Called Services

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

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `OneStopDataBeanAccessArray.getDataBean` | OneStopDataBeanAccessArray | - | Calls `getDataBeanArray` in `OneStopDataBeanAccessArray` to retrieve the service contract agreement detail list (`EKK0081A010CBSMSG1LIST`) from `svcFormBean` |
| R | `OneStopDataBeanAccess.getDataBean` | OneStopDataBeanAccess | - | Calls `getDataBean(0)` in `OneStopDataBeanAccess` to get the first element of the agreement detail array |
| - | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | - | Calls `sendMessageString` in `OneStopDataBeanAccess` to extract the pricing group code (`PRC_GRP_CD_02`) from the service detail bean |
| R | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | - | Calls `sendMessageString` with `DATABEAN_SET_VALUE` to write the determined `svc_cd` (service judgment flag) into the form bean under key `SVC_JDK_FLG` (サービス判定フラグ) |
| R | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | - | Calls `sendMessageString` with `DATABEAN_SET_VALUE` to write the `jimu_commision_nm` (administrative handling fee label) into the form bean under key `JIMU_COMMISION_DSP_CHG` |
| R | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | - | Calls `sendMessageString` with `DATABEAN_GET_VALUE` to read `KKSV003699SC` from `outputMap` (condo building check result) |

**Classification:** This method performs **no direct database or entity operations**. All interactions are with the presentation-layer data bean (`X31SDataBeanAccess`), which acts as a transfer vehicle between the screen and previously executed CBS (back-end) components. The method's role is purely in-memory service-type classification and bean state update.

## 5. Dependency Trace

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

No screen/batch entry points found within 8 hops. Direct callers found: 1 method.
Terminal operations from this method: `sendMessageString` [-], `sendMessageString` [-], `getDataBean` [R], `getDataBean` [R], `sendMessageString` [-]

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Logic:KKW00127SFLogic | `initKKW00127()` -> `setSvc` | `sendMessageString [W] SVC_JDK_FLG`, `sendMessageString [W] JIMU_COMMISION_DSP_CHG`, `getDataBean [R] EKK0081A010CBSMSG1LIST`, `getDataBean [R] svcMsList` |

**Notes:**
- `KKW00127SFLogic.initKKW00127()` is the sole direct caller, which is the initialization handler for the KKW00127SF screen logic class.
- This method does not call any back-end SC/CBS directly — it only manipulates in-memory data beans and the output map, which themselves are populated by prior CBS calls in the call chain.

## 6. Per-Branch Detail Blocks

**Block 1** — [SET] (Initialize svc_cd) (L3007)

> Reset the service judgment flag to null at the start of processing.

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = null` // Initialize service judgment flag |

**Block 2** — [IF/Nested] (KKSV003699SC Condo Building Check) (L3015)

> Query the prior KKSV003699SC screen result from the output map to determine whether the service target is a condominium/mansion (`mansion_bukken_cd = "001"`). The flag `isMT` (mansion true) is later used in CD10 and CD11 branches to adjust service classification for apartment-type vs. standalone housing.
>
> **Note:** The older commented code (lines 3009-3014) previously read `PRC_GRP_CD`, `KAISEN_CD`, and `MANSION_BUKKEN_NO` directly from `svcFormBean` — this was replaced by fetching the pre-processed KKSV003699SC result from `outputMap` per IT2-2012-0000384.

| # | Type | Code |
|---|------|------|
| 1 | SET | `isMT = false` // Default: not a mansion/condo [-> `isMT = false`] |
| 2 | EXEC | `kksv003699sc = (Map<String, Object>)outputMap.get("KKSV003699SC")` // Get condo building check result from output map |
| 3 | IF | `kksv003699sc != null` [L3016] |
| 3.1 | EXEC | `ekk0861b001msgList = (List<Map<String, Object>>)kksv003699sc.get("EKK0861B002CBSMsg1List")` // Get mansion building check message list [L3017] |
| 3.2 | IF | `ekk0861b001msgList != null && ekk0861b001msgList.size() > 0` [L3018] |
| 3.2.1 | SET | `isMT = "001".equals(ekk0861b001msgList.get(0).get("mansion_bukken_cd"))` // mansion_bukken_cd "001" = マンション (Mansion/Condo), "002" = メゾン (Maison) [L3022] |

**Block 3** — [SET] (Retrieve Pricing Group Code from Service Agreement) (L3026)

> Extract the pricing group code from the first element of the Service Contract Agreement Detail List. This code determines which service category the switch statement below will dispatch to.
>
> Constants:
> - `EKK0081A010CBSMSG1LIST` = "サービス契約同意照会詳細" (Service Contract Agreement Inquiry Detail)
> - `PRC_GRP_CD_02` = "料金グループコード" (Pricing Group Code)

| # | Type | Code |
|---|------|------|
| 1 | SET | `svcMsList = svcFormBean.getDataBeanArray(KKW00127SFConst.EKK0081A010CBSMSG1LIST)` // Retrieve Service Contract Agreement Detail List [-> "サービス契約同意照会詳細"] [L3026] |
| 2 | SET | `svcMs = svcMsList.getDataBean(0)` // Get first agreement detail bean [L3027] |
| 3 | EXEC | `prc_grp_cd = svcMs.sendMessageString(KKW00127SFConst.PRC_GRP_CD_02, X31CWebConst.DATABEAN_GET_VALUE)` // Extract pricing group code [-> "料金グループコード"] [L3028] |

**Block 4** — [SET] (Initialize Default Commission Label) (L3030)

> Set the default administrative handling fee label. This default is overridden in CD11 and CD12/CD13 branches.
>
> Constant: `JIMU_COMMISION` = "事務手数料" (Administrative Handling Fee)

| # | Type | Code |
|---|------|------|
| 1 | SET | `jimu_commision_nm = KKW00127SFConst.JIMU_COMMISION` // [-> "事務手数料", Administrative Handling Fee] [L3030] |

**Block 5** — [SWITCH] (Service Type Classification by Pricing Group Code) (L3032)

> Dispatch to the appropriate service type branch based on the pricing group code. The `svcflg.tocd()` method converts the string code to the corresponding enum; unrecognized codes map to `NOCD`.

**Block 5.1** — [SWITCH-CASE] (CD02/CD03) eo Light Net Home Type / Maison Type (L3035)

> Pricing group codes "02" and "03" are handled identically (fall-through). This covers eo Light Net home and maison (detached multi-family) service types.
>
> Assigned: `SVC_FLG_01` = "01" (eo光ネットホームタイプ、eo光ネットメゾンタイプ)

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_01` // [-> "01", eo Light Net Home/Maison Type] |
| 2 | RETURN | `break` |

**Block 5.2** — [SWITCH-CASE] (CD04) eo Light Net Mansion Type (L3041)

> Pricing group code "04" — eo Light Net apartment building service type.
>
> Assigned: `SVC_FLG_02` = "02" (eo光ネットマンションタイプ、電気電話マンションタイプ)

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_02` // [-> "02", eo Light Net Mansion Type] |
| 2 | RETURN | `break` |

**Block 5.3** — [SWITCH-CASE] (CD05/CD06) ADSL (L3047)

> Pricing group codes "05" and "06" are handled identically (fall-through). This is the legacy ADSL service type.
>
> Assigned: `SVC_FLG_07` = "07" (ADSL)

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_07` // [-> "07", ADSL] |
| 2 | RETURN | `break` |

**Block 5.4** — [SWITCH-CASE] (CD01/CD07/CD08/CD09/CD15/CD16) Mobile Service (L3054)

> Pricing group codes "01", "07", "08", "09", "15", and "16" are all handled identically (fall-through). This covers the Mobile (モバイル) service type, including additions from ANK-1296 (CD01, CD15) and ANK-0099 (CD16).
>
> Assigned: `SVC_FLG_06` = "06" (モバイル)

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_06` // [-> "06", Mobile] |
| 2 | RETURN | `break` |

**Block 5.5** — [SWITCH-CASE] (CD10) Electricity/Telephone (Home Type) — with isMT Branching (L3064)

> Pricing group code "10" — Electricity/Telephone service. This is the first branch that differentiates based on the `isMT` (mansion) flag.
>
> - When `isMT == true` (condo/apartment building): classified as `SVC_FLG_02` (eo Light Net Mansion Type / Electricity Telephone Mansion Type)
> - When `isMT == false` (detached house): classified as `SVC_FLG_01` (eo Light Net Home Type)

| # | Type | Code |
|---|------|------|
| 1 | IF | `isMT` [L3066] |
| 1.1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_02` // [-> "02", eo Light Net Mansion Type / Electricity Telephone Mansion Type] |
| 1.2 | ELSE | [L3071] |
| 1.2.1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_01` // [-> "01", eo Light Net Home Type] |
| 2 | RETURN | `break` |

**Block 5.6** — [SWITCH-CASE] (CD11) eo Light TV — with isMT Branching (L3077)

> Pricing group code "11" — eo Light TV. This branch adjusts both the service flag and the commission label based on `isMT`.
>
> - When `isMT == true` (collective housing/condo): `SVC_FLG_04` = "04" (eo Light TV — Collective Housing)
> - When `isMT == false` (newly built standalone): `SVC_FLG_03` = "03" (eo Light TV — Standalone/Newly Built)
>
> In both cases, the commission label is set to `KANYU_KN` = "加入金" (Connection Fee) instead of the default `JIMU_COMMISION`.

| # | Type | Code |
|---|------|------|
| 1 | IF | `isMT` [L3081] |
| 1.1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_04` // [-> "04", eo Light TV (Collective Housing)] |
| 1.2 | SET | `jimu_commision_nm = KKW00127SFConst.KANYU_KN` // [-> "加入金", Connection Fee] |
| 1.3 | ELSE | [L3086] |
| 1.3.1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_03` // [-> "03", eo Light TV (Standalone)] |
| 1.3.2 | SET | `jimu_commision_nm = KKW00127SFConst.KANYU_KN` // [-> "加入金", Connection Fee] |
| 2 | RETURN | `break` |

**Block 5.7** — [SWITCH-CASE] (CD12/CD13) eo Light TV (Retransmission / KCN) (L3093)

> Pricing group codes "12" and "13" handled identically (fall-through). eo Light TV retransmission and KCN (community area) service types.
>
> Assigned: `SVC_FLG_05` = "05" (eo Light TV — Retransmission / KCN)
> Commission label also set to `KANYU_KN` = "加入金" (Connection Fee).

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_05` // [-> "05", eo Light TV (Retransmission/KCN)] |
| 2 | SET | `jimu_commision_nm = KKW00127SFConst.KANYU_KN` // [-> "加入金", Connection Fee] |
| 3 | RETURN | `break` |

**Block 5.8** — [SWITCH-CASE/DEFAULT] (NOCD/default) Out of Scope (L3099)

> Unrecognized pricing group codes (`NOCD` = "99") or any default fallthrough — classified as out of scope.
>
> Assigned: `SVC_FLG_99` = "99" (対象外 — Out of Scope)

| # | Type | Code |
|---|------|------|
| 1 | SET | `svc_cd = KKW00127SFConst.SVC_FLG_99` // [-> "99", Out of Scope] |
| 2 | RETURN | `break` |

**Block 6** — [EXEC] (Write Service Judgment Flag to Form Bean) (L3106)

> Write the determined service flag back into the form bean for screen-level consumption.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `svcFormBean.sendMessageString(KKW00127SFConst.SVC_JDK_FLG, X31CWebConst.DATABEAN_SET_VALUE, svc_cd)` // Write service judgment flag [-> "サービス判定フラグ"] |

**Block 7** — [EXEC] (Write Commission Label to Form Bean) (L3108)

> Write the administrative handling fee label (either "事務手数料" or "加入金") back into the form bean for screen display.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `svcFormBean.sendMessageString(KKW00127SFConst.JIMU_COMMISION_DSP_CHG, X31CWebConst.DATABEAN_SET_VALUE, jimu_commision_nm)` // Write commission label for display |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `svc_cd` | Field | Service Judgment Flag — internal classification code (01-07, 99) indicating which service type is being processed. Drives screen branching and downstream business logic. |
| `prc_grp_cd` | Field | Pricing Group Code — extracted from the service agreement detail bean; the primary discriminator for service type classification. |
| `isMT` | Field | Mansion True flag — boolean indicating whether the service address is in a condominium/mansion building (true) or a standalone house (false). Derived from the KKSV003699SC condo building check result. |
| `jimu_commision_nm` | Field | Administration Commission Name — the display label for the fee charged to the customer. Either "事務手数料" (Administrative Handling Fee) or "加入金" (Connection Fee). |
| `mansion_bukken_cd` | Field | Mansion Building Code — "001" = マンション (Mansion/Condo), "002" = メゾン (Maison). Used to differentiate multi-unit dwellings from standalone buildings. |
| `SVC_FLG_01` | Constant | "01" — eo Light Net Home Type / eo Light Net Maison Type / Electricity Telephone (Home Type) |
| `SVC_FLG_02` | Constant | "02" — eo Light Net Mansion Type / Electricity Telephone Mansion Type |
| `SVC_FLG_03` | Constant | "03" — eo Light TV (Standalone / Newly Built) |
| `SVC_FLG_04` | Constant | "04" — eo Light TV (Collective Housing) |
| `SVC_FLG_05` | Constant | "05" — eo Light TV (Retransmission / KCN) |
| `SVC_FLG_06` | Constant | "06" — Mobile (モバイル) |
| `SVC_FLG_07` | Constant | "07" — ADSL |
| `SVC_FLG_99` | Constant | "99" — Out of Scope (対象外) |
| `SVC_JDK_FLG` | Constant | "サービス判定フラグ" (Service Judgment Flag) — key in the data bean where `svc_cd` is written. |
| `JIMU_COMMISION_DSP_CHG` | Constant | Key for writing the commission label to the data bean. |
| `JIMU_COMMISION` | Constant | "事務手数料" (Administrative Handling Fee) — default commission label. |
| `KANYU_KN` | Constant | "加入金" (Connection Fee) — commission label used for eo Light TV services. |
| `PRC_GRP_CD_02` | Constant | "料金グループコード" (Pricing Group Code) — key in the service detail bean. |
| `EKK0081A010CBSMSG1LIST` | Constant | "サービス契約同意照会詳細" (Service Contract Agreement Inquiry Detail) — the data bean array holding service agreement information. |
| KKSV003699SC | Field | Result from the Mansion Information List screen — carries the `mansion_bukken_cd` used for building-type detection. |
| EKK0861B002CBSMsg1List | Field | Message list from the KKSV003699SC result — contains the `mansion_bukken_cd` (condo building code) for the first building record. |
| CD01-CD16 | Enum Values | svcflg enum members representing pricing group codes "01" through "16". Each maps to a specific service category. |
| NOCD | Enum Value | svcflg enum member for unrecognized codes ("99") — falls through to the default case. |
| eo光 (eo Light) | Business term | K-Opticom's fiber-optic broadband TV/internet service brand. |
| FTTH | Business term | Fiber To The Home — fiber-optic broadband delivery to residences. |
| KCN | Business term | Community area / neighborhood — refers to localized broadcast distribution for eo Light TV in collective housing. |
| 戸建 (Kodate) | Japanese term | Detached house / standalone building — as opposed to a multi-unit dwelling. |
| マンション (Mansion) | Japanese term | Condominium / apartment building — multi-unit residential building. |
| メゾン (Maison) | Japanese term | Maisonette / low-rise multi-family dwelling — a hybrid between detached and apartment. |
| 再送信 (Sai-ten-shin) | Japanese term | Retransmission — cable retransmission of broadcast signals, subject to licensing fees. |
| 加入金 (Kanyu-kin) | Japanese term | Connection Fee — one-time fee charged for service installation/connection. |
| 事務手数料 (Jimu-shuryo-ka) | Japanese term | Administrative Handling Fee — recurring or one-time administrative processing fee. |
