# Business Logic — KKA16701SFLogic.apiControl() [100 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.KKA16701SF.KKA16701SFLogic` |
| Layer | Web Service Logic (Controller/Logic layer) |
| Module | `KKA16701SF` (Package: `eo.web.webview.KKA16701SF`) |

## 1. Role

### KKA16701SFLogic.apiControl()

This method serves as the central API entry point (entrance gate) for the **Net Reservation Cancellation confirmation service** (ネット予約取消確認サービス), identified by IF_ID `KKIFE292`. It is the one-stop API control method (ワンストップ用APIコントロールメソッド) that orchestrates the entire reservation cancellation confirmation workflow for the Course History screen (コース履歴画面). The method implements a **sequential gating pattern** (or pipeline/chain-of-responsibility pattern): each validation stage runs in order, and any failure causes an early return, preventing downstream processing from executing.

The method handles the following functional categories: (1) API initialization and business regulation checks (`apiInit`), (2) single-item validation (`singleChkForOneStop`), (3) cross-reference validation (`commonKnrnChkForOneStop`), (4) data bean overwrite for initialization (`overwriteDataBeanForInit`), (5) course history screen initial display (`init`), (6) message verification at each stage (`msgChk`), (7) related-item correlation checks (`knrnChkForOneStop`), (8) reservation cancellation confirmation button processing (`forwardRsvClCfm`), and (9) update button processing for function code "1" (`forwardFix`).

Its role in the larger system is that of an **API facade** — it is the single entry point for external services invoking the reservation cancellation confirmation flow. The method is called by screens mapped to the KKW02701 course history module (KKW02701 is the base screen in koptWebB that this View logic in koptWebA is built upon). It always returns `true` to signal completion (success or handled failure), while side effects include error message accumulation, termination code setting via `apiTerminal`, and error logging.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["apiControl()"])
    START --> TRY["Start: Outer Try Block"]
    TRY --> INNER_TRY["Start: Inner Try Block"]
    INNER_TRY --> API_INIT["CALL: apiInit"]
    API_INIT --> API_INIT_CHK{apiInit false?}
    API_INIT_CHK -->|true| REG_CTRL["Process: Business regulation
業務規制中断終了"]
    REG_CTRL --> REG_RET(["Return: true"])
    API_INIT_CHK -->|false| SINGLE_CHK["CALL: singleChkForOneStop"]
    SINGLE_CHK --> SINGLE_CHK_CHK{singleChk false?}
    SINGLE_CHK_CHK -->|true| SINGLE_ERR["Process: Error handling
エラー発生処理終了"]
    SINGLE_ERR --> SINGLE_ERR_RET(["Return: true"])
    SINGLE_CHK_CHK -->|false| COMMON_CHK["CALL: commonKnrnChkForOneStop"]
    COMMON_CHK --> COMMON_CHK_CHK{commonKnrnChk false?}
    COMMON_CHK_CHK -->|true| COMMON_ERR["Process: Error handling
エラー発生処理終了"]
    COMMON_ERR --> COMMON_ERR_RET(["Return: true"])
    COMMON_CHK_CHK -->|false| OVERWRITE["CALL: overwriteDataBeanForInit"]
    OVERWRITE --> INIT_SCREEN["CALL: init
コース履歴画面初期表示処理"]
    INIT_SCREEN --> MSG_CHK_1["CALL: JKKOneStopApiCommonUtil.msgChk"]
    MSG_CHK_1 --> MSG_CHK_1_CHK{msgChk false?}
    MSG_CHK_1_CHK -->|true| MSG_ERR_1["Process: Error handling
エラー発生処理終了"]
    MSG_ERR_1 --> MSG_ERR_1_RET(["Return: true"])
    MSG_CHK_1_CHK -->|false| KNRN_CHK["CALL: knrnChkForOneStop"]
    KNRN_CHK --> KNRN_CHK_CHK{knrnChk false?}
    KNRN_CHK_CHK -->|true| KNRN_ERR["Process: Error handling
エラー発生処理終了"]
    KNRN_ERR --> KNRN_ERR_RET(["Return: true"])
    KNRN_CHK_CHK -->|false| RSV_CL["CALL: forwardRsvClCfm
予約取消確認ボタン押下処理"]
    RSV_CL --> MSG_CHK_2["CALL: JKKOneStopApiCommonUtil.msgChk"]
    MSG_CHK_2 --> MSG_CHK_2_CHK{msgChk false?}
    MSG_CHK_2_CHK -->|true| MSG_ERR_2["Process: Error handling
エラー発生処理終了"]
    MSG_ERR_2 --> MSG_ERR_2_RET(["Return: true"])
    MSG_CHK_2_CHK -->|false| FUNC_CHK{funcCode equals 1?}
    FUNC_CHK -->|true| FIX["CALL: forwardFix
更新ボタン押下処理"]
    FIX --> MSG_CHK_3["CALL: JKKOneStopApiCommonUtil.msgChk"]
    MSG_CHK_3 --> MSG_CHK_3_CHK{msgChk false?}
    MSG_CHK_3_CHK -->|true| MSG_ERR_3["Process: Error handling
エラー発生処理終了"]
    MSG_ERR_3 --> MSG_ERR_3_RET(["Return: true"])
    MSG_CHK_3_CHK -->|false| API_TERMINAL_OK["CALL: apiTerminal with code 00
API用終了処理 正常終了"]
    FUNC_CHK -->|false| API_TERMINAL_OK
    API_TERMINAL_OK --> TRY_END(["End: Inner Try Block"])
    TRY_END --> TRY_END_EXIT(["End: Outer Try Block"])
    TRY_END_EXIT --> FINAL_RET(["Return: true"])
    TRY --> WS_EXCEPTION["Catch: JCCWebServiceException"]
    WS_EXCEPTION --> WS_MSG_CHK["CALL: JKKOneStopApiCommonUtil.msgChk"]
    WS_MSG_CHK --> GET_MSG["CALL: wse.getMessageList"]
    GET_MSG --> SIF_ERR_CHK["CALL: JKKOneStopApiCommonUtil.sifErrChk"]
    SIF_ERR_CHK --> WS_END(["End: Catch Block"])
    WS_END --> FINAL_RET
    TRY --> GENERIC_EXC["Catch: Exception"]
    GENERIC_EXC --> PRINT_LOG["CALL: JKKOneStopApiCommonUtil.printErrorLog
KKIFE292 コース履歴 ネット予約取消サービス例外"]
    PRINT_LOG --> API_TERMINAL_ERR["CALL: apiTerminal with code 99
API用終了処理 システムエラー"]
    API_TERMINAL_ERR --> EXC_END(["End: Catch Block"])
    EXC_END --> FINAL_RET
    TRY --> THROWABLE["Catch: Throwable
Empty block"]
    THROWABLE --> THROW_END(["End: Catch Block"])
    THROW_END --> FINAL_RET
```

**CRITICAL — Constant Resolution:**

| Constant | Actual Value | Business Meaning |
|----------|-------------|------------------|
| `JKKCommonConst.FUNC_CODE_1` | `"1"` | Function code for "Check & Register" (チェック＆登録) — when this code is set, the update button processing (`forwardFix`) is triggered after the cancellation confirmation |
| `IF_ID` | `"KKIFE292"` | Interface ID for the Net Reservation Cancellation Confirmation service (ネット予約取消確認サービス) |

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| - | (none) | - | This method takes no parameters. All state is managed through instance fields initialized during API construction. |

**Instance fields read by this method:**

| Field | Type | Business Description |
|-------|------|---------------------|
| `warMsgMap` | `Map<String, String[]>` | One-stop return warning message storage map |
| `tkckErrMsgMap` | `Map<String, String[]>` | One-stop return single-item error message storage map |
| `errMsgMap` | `Map<String, String[]>` | One-stop return error message storage map |
| `warnList` | `List<Map<String, String>>` | One-stop warning retention list |
| `funcCode` | `String` | Function code — determines whether update button processing executes (`"1"` = Check & Register) |
| `sifErrMap` | `Map<String, String[]>` | One-stop return SIF (Service Interface) error storage map |

## 4. CRUD Operations / Called Services

Analyze all method calls within this method and classify each as a CRUD operation.

### Directly called methods (from `apiControl` body, lines 261-360):

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `apiInit` | KKA16701SFLogic | - | API initialization — reads business regulation status and validates invocation context |
| R | `singleChkForOneStop` | KKA16701SFLogic | - | Single-item validation check for one-stop API |
| R | `commonKnrnChkForOneStop` | KKA16701SFLogic | - | Common cross-reference correlation check for one-stop API |
| U | `overwriteDataBeanForInit` | KKA16701SFLogic | - | Overwrites DataBean with initialization data for screen display |
| R | `init` | KKA16701SFLogic | Course history screen | Course history screen initial display processing (loads course history data for display) |
| R | `JKKOneStopApiCommonUtil.msgChk` | JKKOneStopApiCommon | - | Message check utility — validates accumulated warning/error messages |
| R | `knrnChkForOneStop` | KKA16701SFLogic | - | Related-item correlation check for one-stop API |
| U | `forwardRsvClCfm` | KKA16701SFLogic | - | Reservation cancellation confirmation button press processing (processes cancellation of provisional reservations) |
| U | `forwardFix` | KKA16701SFLogic | - | Update button press processing (executes data update when function code is "1") |
| R | `apiTerminal` | KKA16701SFLogic | - | API termination processing — sets return code (00=normal, 99=system error) and finalizes the session |
| - | `JKKOneStopApiCommonUtil.sifErrChk` | JKKOneStopApiCommon | - | SIF error check — processes service interface errors caught during execution |
| - | `JKKOneStopApiCommonUtil.printErrorLog` | JKKOneStopApiCommon | - | Error log printing — logs system-level exceptions with error code KKIFE292 |
| - | `JCCWebServiceException.getMessageList` | JCCWebServiceException | - | Retrieves message list from the caught web service exception |

**Note:** The method `apiControl` itself is an API facade — it does not directly perform entity/DB CRUD operations. All data access is delegated to the called methods above (`init`, `forwardRsvClCfm`, `forwardFix`, etc.), which operate on the course history tables via their respective mappers (KKSV0394, KKSV0395, KKSV0396, KKSV0463, KKSV0551, KKSV0820, KKSV0061, KKSV0062).

## 5. Dependency Trace

This method is only defined within `KKA16701SFLogic` and is not called directly from any other Java file in the repository (it is invoked through the OneStop API framework, which routes requests based on the IF_ID `KKIFE292`). The KKW02701 course history module screens map through KKSV0394, KKSV0395, and KKSV0396 OPDBMapper classes.

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Screen:KKSV0394 | OneStop API framework -> KKSV0394 mapper -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 2 | Screen:KKSV0395 | OneStop API framework -> KKSV0395 mapper -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 3 | Screen:KKSV0396 | OneStop API framework -> KKSV0396 mapper -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 4 | Screen:KKSV0061 | OneStop API framework -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 5 | Screen:KKSV0062 | OneStop API framework -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 6 | Screen:KKSV0463 | OneStop API framework -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 7 | Screen:KKSV0551 | OneStop API framework -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |
| 8 | Screen:KKSV0820 | OneStop API framework -> KKA16701SFLogic.apiControl | init [R] Course History, forwardRsvClCfm [U] Reservation Cancellation, forwardFix [U] Data Update |

**Notes on call chains:**
- The OneStop API framework handles routing based on the `IF_ID` parameter and the class structure. Screens (KKSV0394, KKSV0395, KKSV0396) provide OPDBMapper classes that transform data between the screen layer and the business logic layer.
- These screen classes (KKSV0061, KKSV0062, KKSV0463, KKSV0551, KKSV0820) share the same underlying logic class (KKA16701SFLogic) and invoke `apiControl` through the unified OneStop API invocation path.

## 6. Per-Branch Detail Blocks

**Block 1** — TRY-CATCH (outer) (L261)

Outer exception handler wrapping the entire method. Catches Exception, Throwable, and JCCWebServiceException.

| # | Type | Code |
|---|------|------|
| 1 | TRY | Outer try block starts |
| 2 | TRY | Inner try block starts [Block 2] |
| 3 | CATCH | JCCWebServiceException handler [Block 7] |
| 4 | CATCH | Exception handler [Block 8] |
| 5 | CATCH | Throwable handler [Block 9] |
| 6 | RETURN | `return true` (fall-through after all catches) |

**Block 2** — TRY-CATCH (inner) (L263)

Inner exception handler for the main processing flow.

| # | Type | Code |
|---|------|------|
| 1 | TRY | Inner try block |
| 2 | IF-NOT | `if (!this.apiInit())` [Block 3] |
| 3 | IF-NOT | `if (!this.singleChkForOneStop())` [Block 4] |
| 4 | IF-NOT | `if (!this.commonKnrnChkForOneStop())` [Block 5] |
| 5 | EXEC | `this.overwriteDataBeanForInit()` |
| 6 | EXEC | `this.init()` — Course history screen initial display |
| 7 | IF-NOT | `if (!JKKOneStopApiCommonUtil.msgChk(...))` [Block 6] |
| 8 | IF-NOT | `if (!this.knrnChkForOneStop())` [Block 7] |
| 9 | EXEC | `this.forwardRsvClCfm()` — Reservation cancellation confirmation |
| 10 | IF-NOT | `if (!JKKOneStopApiCommonUtil.msgChk(...))` [Block 8] |
| 11 | IF (nested) | `if (JKKCommonConst.FUNC_CODE_1.equals(funcCode))` [Block 9] |
| 12 | EXEC | `this.apiTerminal("00")` — Normal termination |
| 13 | CATCH | JCCWebServiceException [Block 10] |

**Block 3** — IF (business regulation check) `(L266 - apiInit returns false)`

> API initialization failure — business regulation is in effect; processing terminates with early return.

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return true` — 業務規制中断終了 (business regulation interruption ended) |

**Block 4** — IF (single item check) `(L273 - singleChkForOneStop returns false)`

> Single-item validation failure — an error occurred during single-field validation; processing terminates.

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return true` — エラー発生処理終了 (error handling ended) |

**Block 5** — IF (common correlation check) `(L280 - commonKnrnChkForOneStop returns false)`

> Cross-reference correlation check failure — an error occurred during common correlation validation; processing terminates.

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return true` — エラー発生処理終了 (error handling ended) |

**Block 6** — IF (message check after init) `(L294 - msgChk returns false)`

> Message verification after course history screen initialization — warning or error messages accumulated; processing terminates.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JKKOneStopApiCommonUtil.msgChk(this, warMsgMap, tkckErrMsgMap, errMsgMap, warnList, funcCode, IF_ID)` |
| 2 | RETURN | `return true` — エラー発生処理終了 (error handling ended) |

**Block 7** — IF (related-item correlation check) `(L301 - knrnChkForOneStop returns false)`

> Related-item correlation check failure — validation of dependent items failed; processing terminates.

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return true` — エラー発生処理終了 (error handling ended) |

**Block 8** — IF (message check after reservation cancellation) `(L310 - msgChk returns false)`

> Message verification after reservation cancellation confirmation — warning or error messages accumulated; processing terminates.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JKKOneStopApiCommonUtil.msgChk(this, warMsgMap, tkckErrMsgMap, errMsgMap, warnList, funcCode, IF_ID)` |
| 2 | RETURN | `return true` — エラー発生処理終了 (error handling ended) |

**Block 9** — IF (function code check) `(L315 - FUNC_CODE_1 = "1" / チェック＆登録)`

> Only when function code is "1" (Check & Register: チェック＆登録), execute the update button press processing. This is the data modification branch — when the user selects both check and register mode.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `this.forwardFix()` — 更新ボタン押下処理 (update button press processing) |
| 2 | IF-NOT | `if (!JKKOneStopApiCommonUtil.msgChk(...))` [Block 9.M1] |
| 3 | — | } // end of funcCode == "1" if block |

**Block 9.M1** — IF (message check after update) `(nested - msgChk returns false)`

> Message verification after update button processing — warning or error messages accumulated; processing terminates.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JKKOneStopApiCommonUtil.msgChk(this, warMsgMap, tkckErrMsgMap, errMsgMap, warnList, funcCode, IF_ID)` |
| 2 | RETURN | `return true` — エラー発生処理終了 (error handling ended) |

**Block 10** — END of inner try → normal termination `(L326)`

> Normal path completion — set return code "00" (正常終了: normal termination) and finalize the API session.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `this.apiTerminal("00")` — API用終了処理 (API termination) with return code 00 |

**Block 11** — CATCH `(JCCWebServiceException)` `(L329)`

> Service interface error handler — when a web service exception occurs during processing.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JKKOneStopApiCommonUtil.msgChk(this, warMsgMap, tkckErrMsgMap, errMsgMap, warnList, funcCode, IF_ID)` — accumulate messages |
| 2 | SET | `msgResult = wse.getMessageList()` — extract message list from exception |
| 3 | CALL | `JKKOneStopApiCommonUtil.sifErrChk(this, msgResult, sifErrMap, warnList, IF_ID)` — process SIF errors |

**Block 12** — CATCH `(Exception)` `(L338)`

> System-level exception handler — logs the error and terminates with return code "99" (システムエラー: system error).

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JKKOneStopApiCommonUtil.printErrorLog(getSessionId(), "KKIFE292_コース履歴_ネット予約取消サービスで例外が発生しました。", e)` — logs exception with session ID and error message |
| 2 | CALL | `this.apiTerminal("99")` — API用終了処理 (API termination) with return code 99 |

**Block 13** — CATCH `(Throwable)` `(L345)`

> Catch-all for errors and unexpected throwables. Empty block — no processing; execution falls through to `return true`.

| # | Type | Code |
|---|------|------|
| 1 | — | (empty catch block — no-op) |

**Block 14** — RETURN (fall-through) `(L350)`

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return true` — Always returns true regardless of which code path was taken |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `apiControl` | Method | One-stop API control method — the central entry point for API-driven workflows in the OneStop framework |
| `apiInit` | Method | API initialization — validates business regulation status, checks invocation eligibility |
| `apiTerminal` | Method | API termination — finalizes the API session by setting the return code (00=normal, 99=system error) |
| `singleChkForOneStop` | Method | Single-item validation check for the one-stop API — validates individual fields |
| `commonKnrnChkForOneStop` | Method | Common cross-reference correlation check — validates cross-references with common screen data |
| `knrnChkForOneStop` | Method | Related-item correlation check — validates relationships between items in the one-stop flow |
| `overwriteDataBeanForInit` | Method | Overwrites the DataBean with initialization data for screen display |
| `init` | Method | Course history screen initial display processing — loads and displays the course history data |
| `forwardRsvClCfm` | Method | Reservation cancellation confirmation button press — processes the cancellation of provisional reservations |
| `forwardFix` | Method | Update button press processing — executes data updates when the user confirms changes (function code "1") |
| `msgChk` | Method | Message check utility — verifies accumulated warning and error messages |
| `sifErrChk` | Method | Service Interface error check — processes errors from external service interfaces |
| `funcCode` | Field | Function code — determines the operation mode ("1" = Check & Register, other values = Check only) |
| `IF_ID` | Field | Interface ID — uniquely identifies the service endpoint (`KKIFE292`: Net Reservation Cancellation Confirmation) |
| `warMsgMap` | Field | One-stop return warning message map — stores warning messages for API response |
| `tkckErrMsgMap` | Field | Single-item error message map — stores errors from single-field validation |
| `errMsgMap` | Field | Error message map — stores general error messages |
| `sifErrMap` | Field | SIF error map — stores service interface errors |
| `warnList` | Field | Warning retention list — accumulates warning information |
| `requestMap` | Field | One-stop request parameter map — stores parameters received by the API |
| `KKIFE292` | Constant | Interface ID for the Net Reservation Cancellation Confirmation service (ネット予約取消確認サービス) |
| `FUNC_CODE_1` | Constant | `"1"` — Function code for Check & Register mode (チェック＆登録) |
| `KKW02701` | Module | Course history (コース履歴) — the base screen module in koptWebB that provides course history management |
| `KKA16701SF` | Module | One-stop API View logic for KKW02701 — the koptWebA layer API logic built on top of the KKW02701 base module |
| コース履歴 | Business term | Course history — the record of service contract changes and operations performed on a customer account |
| ワンストップ | Business term | One-stop — a unified API framework that chains multiple validation and processing steps |
| ネット予約取消確認 | Business term | Net reservation cancellation confirmation — the service that allows online cancellation of provisional service reservations |
| 予約取消確認 | Business term | Reservation cancellation confirmation — the button action that cancels a provisional reservation |
| 更新ボタン押下 | Business term | Update button press — the action that commits data changes to the system |
| チェック＆登録 | Business term | Check & Register — operation mode where the user both validates and registers changes (funcCode = "1") |
| エラー発生処理終了 | Business term | Error handling ended — the message indicating processing terminated due to an error |
| 業務規制中断終了 | Business term | Business regulation interruption ended — processing terminated because a business regulation rule blocked the operation |
| リターンコード 00 | Business term | Return code 00 — normal termination status |
| リターンコード 99 | Business term | Return code 99 — system error status |
| ODBC / OPDBMapper | Pattern | Object-to-Database mapper — classes (e.g., KKSV0394_KKSV0394OPDBMapper) that transform data between the screen DataBean and business objects |
| SOD | Acronym | Service Order Data — telecom order fulfillment entity |
| JOKEN | Acronym | Modification / Change (変更) — relates to contract modification operations |
| FTTH | Business term | Fiber To The Home — fiber-optic internet service type |
| MSKM | Acronym | Multiple Service Contract (多重契約) — customer contract with multiple service lines |
| MSKM_DTL_NO | Field | Multiple Service Contract detail number — identifies a specific line within a multi-service contract |
| KOJIAK_NO | Field | Construction work order number (工事案件番号) — identifier for construction/project orders |
| SVC_CD | Field | Service code — identifies the type of service (e.g., FTTH, Mail, ENUM, Netflix) |
| PCRS_CD | Field | Price course code — identifies the pricing plan/subscription tier |
| PPLAN_CD | Field | Price plan code — identifies the specific pricing plan within a price course |
| PRC_GRP_CD | Field | Price group code — groups pricing plans into categories |
| HKTGI_SYSID | Field | Customer contract key — internal tracking ID for customer service contracts |
| HKTGI_SVC_KEI_NO | Field | Customer contract detail number |
| HKTGI_IDO_DIV | Field | Migration division code — classifies the type of contract migration/change |
| TAKNKIKI_SBT_CD | Field | Indoor equipment type code — identifies the type of customer-owned equipment (e.g., L0 = Crossover/クレードル) |
| ROUTER_SPEED_SBT_CD | Field | Router speed type code — identifies router speed tier (10=100M, 20=1G) |
| MANSION_FLAG | Field | Mansion flag — indicates whether the service is for a mansion/apartment building (0 = non-mansion) |
| CP_DISP_FLG | Field | Course change fee reduction flag — controls display of course change fee discount checkbox |
| WRIB_AUTO_APLY_TG_GAI_FLG | Field | Discount automatic application target exclusion flag — indicates whether discounts are auto-applied |