# Business Logic — KKW02504SFLogic.actionFixMyHPInfo() [150 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.KKW02504SF.KKW02504SFLogic` |
| Layer | Controller (Web/Screen Logic) |
| Module | `KKW02504SF` (Package: `eo.web.webview.KKW02504SF`) |

## 1. Role

### KKW02504SFLogic.actionFixMyHPInfo()

This method performs the **confirmation and finalization processing for My Home Page information updates**. It serves as the entry point that processes a user's request to modify their My Home Page subscription settings — including changing existing services, cancelling DSL subscriptions, recovering suspended services, or cancelling reserved cancellations. The method implements a **route-and-dispatch pattern**: it reads the processing division (`trandiv`) from the service form bean, then routes the request to the appropriate sub-screen logic based on the operation type. Four distinct service screens handle each branch: `KKSV0008` (Change), `KKSV0009` (DSL Cancellation), `KKSV0004` (Recovery), and `KKSV0017` (Reservation Cancellation). Each branch performs upper mapping (service item to DataBean field mapping), invokes the corresponding service, and performs lower mapping (DataBean back to service item mapping) where applicable. After the service call completes, the method resolves and displays any return messages, or routes the user to the completion screen `KKW02506` (My Home Page Info Update Completion) on success.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["Start: actionFixMyHPInfo"])
    INIT["Initialize result, mappers, beans"]
    GET_COMMON["Get commonInfoBean from super.getCommonInfoBean"]
    GET_BEAN["Get serviceFormBean from super.getServiceFormBean"]
    INIT_PARAM["Create paramBean array from bean"]
    CLEAR_RTN["Clear return message ID in paramBean"]
    GET_TRANDIV["Get processing division from paramBean"]
    INIT_MSG["Initialize msgInfo array"]
    CHECK_TRANDIV{Processing division check}
    BRANCH_CHGE[OP_TRAN_DIV_CHGE - Change]
    MAP_8["setMappedKKSV0008 FUNC_CD_1 - Upper mapping"]
    SVC_8["invokeService KKSV0008 KKSV0008OP"]
    MSG_0A["Set msgInfo 0 to MSGSTRING 0"]
    BRANCH_DSL[OP_TRAN_DIV_DSL - DSL Cancellation]
    MAP_9["setMappedKKSV0009 FUNC_CD_1 - Upper mapping"]
    SVC_9["invokeService KKSV0009 KKSV0009OP"]
    NEW_MAPPER9["Create KKSV0009OPDBMapper"]
    DSL_GET["mapper9.getOpsvckeiDslCC paramBean outputMap"]
    MSG_0B["Set msgInfo 0 to MSGSTRING 1"]
    BRANCH_KAIHK[OP_TRAN_DIV_KAIHK - Recovery]
    DATA_KAIHK["setDataKaihk"]
    NEW_MAPPER4["Create KKSV0004OPDBMapper and inputMap"]
    KAIHK_SET["Set mapper4 ops/CBS data setOpsvckeiKaihkCC setJKKHakkoSODCC setKKSV0004WORK01-04"]
    SVC_4["invokeService KKSV0004 KKSV0004OP"]
    KAIHK_GET["mapper4.getOpsvckeiKaihkCC paramBean outputMap"]
    MSG_0C["Set msgInfo 0 to MSGSTRING 2"]
    BRANCH_RSV_CL[OP_TRAN_DIV_RSV_CL - Reservation Cancellation]
    DATA_DSL_STP["setDataDslStp"]
    NEW_MAPPER17["Create KKSV0017OPDBMapper and inputMap"]
    RSV_SET["Set mapper17 ops/CBS data setOpsvckeiCnslCC setJKKHakkoSODCC setUpdMkmScinsprtWkCC"]
    SVC_17["invokeService KKSV0017 KKSV0017OP"]
    RSV_GET["mapper17.getOpsvckeiCnslCC paramBean outputMap"]
    MSG_0D["Set msgInfo 0 to MSGSTRING 3"]
    GET_RTN_MSG["Get return message ID from paramBean"]
    CHECK_RTN{rtn_msg_id not null and not empty}
    CALL_GET_MSG["Call getMsgRep trandiv rtn_msg_id"]
    CHECK_STR{str is null}
    SET_MSG_ID_ONLY["JCCWebCommon.setMessageInfo with rtn_msg_id - ID only"]
    SET_MSG_WITH_STR["JCCWebCommon.setMessageInfo with rtn_msg_id and str"]
    SET_NEXT_SCREEN["Set next screen KKW02506 in commonInfoBean"]
    SET_FINAL_MSG["JCCWebCommon.setMessageInfo EKB4390__I msgInfo"]
    DUMP_BEAN["JSYwebLog.println DataBean_Dump dumpDatabean"]
    RETURN_TRUE[Return result true]

    START --> INIT --> GET_COMMON --> GET_BEAN --> INIT_PARAM --> CLEAR_RTN --> GET_TRANDIV --> INIT_MSG --> CHECK_TRANDIV
    CHECK_TRANDIV --> BRANCH_CHGE --> MAP_8 --> SVC_8 --> MSG_0A --> GET_RTN_MSG
    CHECK_TRANDIV --> BRANCH_DSL --> MAP_9 --> SVC_9 --> NEW_MAPPER9 --> DSL_GET --> MSG_0B --> GET_RTN_MSG
    CHECK_TRANDIV --> BRANCH_KAIHK --> DATA_KAIHK --> NEW_MAPPER4 --> KAIHK_SET --> SVC_4 --> KAIHK_GET --> MSG_0C --> GET_RTN_MSG
    CHECK_TRANDIV --> BRANCH_RSV_CL --> DATA_DSL_STP --> NEW_MAPPER17 --> RSV_SET --> SVC_17 --> RSV_GET --> MSG_0D --> GET_RTN_MSG
    GET_RTN_MSG --> CHECK_RTN
    CHECK_RTN --> CALL_GET_MSG
    CALL_GET_MSG --> CHECK_STR
    CHECK_STR --> SET_MSG_ID_ONLY --> DUMP_BEAN
    CHECK_STR --> SET_MSG_WITH_STR --> DUMP_BEAN
    CHECK_RTN --> SET_NEXT_SCREEN --> SET_FINAL_MSG --> DUMP_BEAN
    SET_MSG_ID_ONLY --> RETURN_TRUE
    SET_MSG_WITH_STR --> RETURN_TRUE
    SET_FINAL_MSG --> RETURN_TRUE
```

**CRITICAL — Constant Resolution:**

| Constant | Resolved Value | Business Meaning |
|----------|---------------|------------------|
| `KKW02504SFConst.TRANDIV` | `"処理区分"` | Processing Division — identifies the type of operation to perform |
| `KKW02504SFConst.RTN_MSG_ID` | `"返却メッセージID"` | Return Message ID — carries the message identifier from service processing |
| `JKKCommonConst.OP_TRAN_DIV_CHGE` | `"03"` | Change — service item modification |
| `JKKCommonConst.OP_TRAN_DIV_DSL` | `"04"` | DSL Cancellation — DSL contract cancellation |
| `JKKCommonConst.OP_TRAN_DIV_KAIHK` | `"05"` | Recovery — suspended service recovery |
| `JKKCommonConst.OP_TRAN_DIV_RSV_CL` | `"06"` | Reservation Cancellation — cancelled reservation cancellation |
| `JKKScreenConst.SCREEN_ID_KKW02506` | `"KKW02506"` | Completion screen ID |
| `JKKScreenConst.SCREEN_NAME_KKW02506` | `"Myホームページ情報更新完了"` | My Home Page Info Update Completion |
| `JPCModelConstant.FUNC_CD_1` | `"1"` | Function Code 1 — Check & Register/Update mode |

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| - | (none) | - | This method takes no parameters. All input data comes from the instance-level DataBean access layers. |

**Instance fields / external state read by this method:**

| Field | Type | Business Description |
|-------|------|---------------------|
| `commonInfoBean` | `X31SDataBeanAccess` (via `super.getCommonInfoBean()`) | Shared form bean containing common session data, including the next screen ID and name for navigation routing |
| `bean` | `X31SDataBeanAccess` (via `super.getServiceFormBean()`) | Service form bean containing the current service item data and the processing division (`trandiv`) that determines which business branch to execute |
| `outputMap` | `HashMap<String, Object>` (instance field) | Output map used to receive mapping results from mapper operations |
| `inputMap` | `HashMap<String, Object>` (instance field) | Input map constructed before service invocation to carry parameters to CBS/SC layers |
| `MSGSTRING` | `String[]` (instance field) | Array of pre-built message texts (index 0-3) for each processing branch — used as default success messages |

## 4. CRUD Operations / Called Services

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

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `KKSV0004_KKSV0004OPDBMapper.getOpsvckeiKaihkCC` | KKSV0004 | OP_SVCKEI_KAIHK | Calls `getOpsvckeiKaihkCC` in `KKSV0004_KKSV0004OPDBMapper` to read service recovery data (Kaihk = 回復/Recovery) |
| C | `KKSV0004_KKSV0004OPDBMapper.setJKKHakkoSODCC` | KKSV0004 | KK_T_ODR_HAKKO_SOD | Calls `setJKKHakkoSODCC` in `KKSV0004_KKSV0004OPDBMapper` to create Service Order Data (SOD) records |
| C | `KKSV0004_KKSV0004OPDBMapper.setKKSV0004WORK01` | KKSV0004 | KKSV0004_WORK01 | Calls `setKKSV0004WORK01` to set work table data for recovery processing |
| C | `KKSV0004_KKSV0004OPDBMapper.setKKSV0004WORK02` | KKSV0004 | KKSV0004_WORK02 | Calls `setKKSV0004WORK02` to set work table data for recovery processing |
| C | `KKSV0004_KKSV0004OPDBMapper.setKKSV0004WORK03` | KKSV0004 | KKSV0004_WORK03 | Calls `setKKSV0004WORK03` to set work table data for recovery processing |
| C | `KKSV0004_KKSV0004OPDBMapper.setKKSV0004WORK04` | KKSV0004 | KKSV0004_WORK04 | Calls `setKKSV0004WORK04` to set work table data for recovery processing |
| C | `KKSV0004_KKSV0004OPDBMapper.setOpsvckeiKaihkCC` | KKSV0004 | OP_SVCKEI_KAIHK | Calls `setOpsvckeiKaihkCC` to set service recovery contract data |
| R | `KKSV0009_KKSV0009OPDBMapper.getOpsvckeiDslCC` | KKSV0009 | OP_SVCKEI_DSL | Calls `getOpsvckeiDslCC` in `KKSV0009_KKSV0009OPDBMapper` to read service DSL cancellation data |
| R | `KKSV0017_KKSV0017OPDBMapper.getOpsvckeiCnslCC` | KKSV0017 | OP_SVCKEI_CNSL | Calls `getOpsvckeiCnslCC` in `KKSV0017_KKSV0017OPDBMapper` to read service cancellation data |
| C | `KKSV0017_KKSV0017OPDBMapper.setJKKHakkoSODCC` | KKSV0017 | KK_T_ODR_HAKKO_SOD | Calls `setJKKHakkoSODCC` in `KKSV0017_KKSV0017OPDBMapper` to create SOD records for reservation cancellation |
| C | `KKSV0017_KKSV0017OPDBMapper.setOpsvckeiCnslCC` | KKSV0017 | OP_SVCKEI_CNSL | Calls `setOpsvckeiCnslCC` to set service cancellation contract data |
| C | `KKSV0017_KKSV0017OPDBMapper.setUpdMkmScinsprtWkCC` | KKSV0017 | OP_UPD_MKM_SCINSRT_WK | Calls `setUpdMkmScinsprtWkCC` to set screen entry support work data (input assistance) |
| R | `KKW02504SFLogic.getMsgRep` | KKW02504SFLogic | - | Calls `getMsgRep` to retrieve message with substituted text based on trandiv and return message ID |
| C | `KKW02504SFLogic.invokeService` | KKW02504SFLogic | - | Delegates to screen-specific service logic (KKSV0008/0009/0004/0017) |
| U | `KKW02504SFLogic.setDataDslStp` | KKW02504SFLogic | - | Sets DataBean for DSL temporary stop processing |
| U | `KKW02504SFLogic.setDataKaihk` | KKW02504SFLogic | - | Sets DataBean for service recovery processing |
| C | `KKW02504SFLogic.setMappedKKSV0008` | KKW02504SFLogic | - | Maps service item fields to DataBean fields for KKSV0008 (Change) |
| C | `KKW02504SFLogic.setMappedKKSV0009` | KKW02504SFLogic | - | Maps service item fields to DataBean fields for KKSV0009 (DSL Cancellation) |
| - | `JKKAddSupportCC.setMessageInfo` | JKKAddSupportCC | - | Calls `setMessageInfo` in `JKKAddSupportCC` for message display |
| - | `JKKCreateNhkDntIktCC.setMessageInfo` | JKKCreateNhkDntIktCC | - | Calls `setMessageInfo` in `JKKCreateNhkDntIktCC` for message display |
| - | `JKKFumeiKktkSvcKeiUpdCC.setMessageInfo` | JKKFumeiKktkSvcKeiUpdCC | - | Calls `setMessageInfo` in `JKKFumeiKktkSvcKeiUpdCC` for message display |
| - | `JKKGetKikiUpdCodeNameCC.setMessageInfo` | JKKGetKikiUpdCodeNameCC | - | Calls `setMessageInfo` in `JKKGetKikiUpdCodeNameCC` for message display |
| - | `JKKGetKojiAkTaknkikiCC.setMessageInfo` | JKKGetKojiAkTaknkikiCC | - | Calls `setMessageInfo` in `JKKGetKojiAkTaknkikiCC` for message display |
| - | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | - | Calls `sendMessageString` to read/write DataBean key-value pairs |
| R | `KKW02504SFLogic.getMsgRep` | KKW02504SFLogic | - | Calls `getMsgRep` in `KKW02504SFLogic` to resolve return message text |

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | API: KKA14201SF | `KKA14201SFLogic.actionFixMyHPConfirm` (FUNC_CODE_1 branch) -> `this.actionFixMyHPInfo()` | `setJKKHakkoSODCC [C] KK_T_ODR_HAKKO_SOD`, `getOpsvckeiKaihkCC [R] OP_SVCKEI_KAIHK`, `getOpsvckeiDslCC [R] OP_SVCKEI_DSL`, `getOpsvckeiCnslCC [R] OP_SVCKEI_CNSL`, `setOpsvckeiKaihkCC [C] OP_SVCKEI_KAIHK`, `setOpsvckeiCnslCC [C] OP_SVCKEI_CNSL` |

## 6. Per-Branch Detail Blocks

### Block 1 — INITIALIZATION (L661)

> Initialize local variables and retrieve DataBean access layers from the parent class.

| # | Type | Code |
|---|------|------|
| 1 | SET | `result = true` // Default return value |
| 2 | SET | `mapper4 = null` // DataBean-BP mapping cluster object for KKSV0004 (Recovery) [L663] |
| 3 | SET | `mapper17 = null` // DataBean-BP mapping cluster object for KKSV0017 (Reservation Cancellation) [L664] |
| 4 | EXEC | `commoninfoBean = super.getCommonInfoBean()` // Get shared form bean's DataBean access [L667] |
| 5 | EXEC | `bean = super.getServiceFormBean()` // Get service form bean's DataBean access [L670] |
| 6 | SET | `paramBean = {bean}` // Wrap bean in array for service invocation [L671] |
| 7 | EXEC | `paramBean[0].sendMessageString(KKW02504SFConst.RTN_MSG_ID, X31CWebConst.DATABEAN_SET_VALUE, "")` // Clear return message ID [-> RTN_MSG_ID="返却メッセージID"] [L674] |
| 8 | EXEC | `trandiv = bean.sendMessageString(KKW02504SFConst.TRANDIV, X31CWebConst.DATABEAN_GET_VALUE)` // Get processing division [-> TRANDIV="処理区分"] [L677] |
| 9 | SET | `msgInfo = new String[1]` // Array for message display [L680] |

---

### Block 2 — IF: Processing Division = "03" (Change) (L683)

> When the processing division is `OP_TRAN_DIV_CHGE = "03"`, this branch handles service item changes. It performs upper mapping (service item to DataBean field mapping), invokes the KKSV0008 screen service, and sets a completion message.
>
> Javadoc reference: "１．サービスの呼び出しを行います。... 変更完了画面へ遷移します。" (1. Invoke the service... 2. Transition to the change completion screen.)

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `setMappedKKSV0008(JPCModelConstant.FUNC_CD_1)` // Upper mapping: map service items to DataBean fields. Function code = FUNC_CD_1 = "1" (Check & Register/Update) [L686] |
| 2 | CALL | `invokeService("KKSV0008", "KKSV0008OP")` // Invoke KKSV0008 Change service [L689] |
| 3 | SET | `msgInfo[0] = MSGSTRING[0]` // Set success message for change branch [L692] |

---

### Block 3 — ELSE-IF: Processing Division = "04" (DSL Cancellation) (L694)

> When the processing division is `OP_TRAN_DIV_DSL = "04"`, this branch handles DSL contract cancellations. It performs upper mapping, invokes the KKSV0009 screen service, creates a mapper9 instance for lower mapping (DataBean back to service item), and retrieves DSL cancellation service detail data.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `setMappedKKSV0009(JPCModelConstant.FUNC_CD_1)` // Upper mapping for service items. Function code = "1" (Check & Register/Update) [L697] |
| 2 | CALL | `invokeService("KKSV0009", "KKSV0009OP")` // Invoke KKSV0009 DSL Cancellation service [L700] |
| 3 | SET | `mapper9 = new KKSV0009_KKSV0009OPDBMapper()` // Create new mapper for lower mapping [L703] |
| 4 | CALL | `mapper9.getOpsvckeiDslCC(paramBean, outputMap)` // Lower mapping: get service DSL cancellation data [L704] |
| 5 | SET | `msgInfo[0] = MSGSTRING[1]` // Set success message for DSL cancellation branch [L707] |

---

### Block 4 — ELSE-IF: Processing Division = "05" (Recovery) (L709)

> When the processing division is `OP_TRAN_DIV_KAIHK = "05"`, this branch handles suspended service recovery. It sets DataBean recovery data, creates a mapper4 instance, populates inputMap with recovery and SOD data, invokes the KKSV0004 service, retrieves the recovery data, and sets a completion message.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `setDataKaihk()` // Set DataBean for recovery processing [L712] |
| 2 | SET | `mapper4 = new KKSV0004_KKSV0004OPDBMapper()` // Create mapper for recovery [L715] |
| 3 | SET | `inputMap = new HashMap<String, Object>()` // Create input map [L716] |
| 4 | CALL | `mapper4.setOpsvckeiKaihkCC(paramBean, inputMap, JPCModelConstant.FUNC_CD_1)` // Recovery CC: Check & Register/Update [L719] [-> FUNC_CD_1="1"] |
| 5 | CALL | `mapper4.setJKKHakkoSODCC(paramBean, inputMap, JPCModelConstant.FUNC_CD_1)` // SODCC: Create Service Order Data [-> FUNC_CD_1="1"] |
| 6 | CALL | `mapper4.setKKSV0004WORK01(paramBean, inputMap, "")` // Set work table data [L721] |
| 7 | CALL | `mapper4.setKKSV0004WORK02(paramBean, inputMap, "")` // Set work table data [L722] |
| 8 | CALL | `mapper4.setKKSV0004WORK03(paramBean, inputMap, "")` // Set work table data [L723] |
| 9 | CALL | `mapper4.setKKSV0004WORK04(paramBean, inputMap, "")` // Set work table data [L724] |
| 10 | CALL | `invokeService("KKSV0004", "KKSV0004OP")` // Invoke KKSV0004 Recovery service [L727] |
| 11 | CALL | `mapper4.getOpsvckeiKaihkCC(paramBean, outputMap)` // Lower mapping: get service recovery data [L730] |
| 12 | SET | `msgInfo[0] = MSGSTRING[2]` // Set success message for recovery branch [L733] |

---

### Block 5 — ELSE-IF: Processing Division = "06" (Reservation Cancellation) (L736)

> When the processing division is `OP_TRAN_DIV_RSV_CL = "06"`, this branch handles reservation cancellation. It sets DSL temporary stop DataBean data, creates a mapper17 instance, populates inputMap with cancellation, SOD, and entry support data, invokes the KKSV0017 service, retrieves cancellation data, and sets a completion message.
>
> Includes 2013/01/24 change [IT1-2013-0000167] for cancellation SOD issuance support.
> Includes 2013/02/22 change [IT1-2013-0000299] for screen entry support work data update.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `setDataDslStp()` // Set DataBean for DSL temporary stop processing [L739] |
| 2 | SET | `mapper17 = new KKSV0017_KKSV0017OPDBMapper()` // Create mapper for reservation cancellation [L742] |
| 3 | SET | `inputMap = new HashMap<String, Object>()` // Create input map [L743] |
| 4 | CALL | `mapper17.setOpsvckeiCnslCC(paramBean, inputMap, JPCModelConstant.FUNC_CD_1)` // Reservation cancellation CC: Check & Register/Update [-> FUNC_CD_1="1"] [L746] |
| 5 | CALL | `mapper17.setJKKHakkoSODCC(paramBean, inputMap, JPCModelConstant.FUNC_CD_1)` // SODCC: Create SOD records (2013/01/24 IT1-2013-0000167 - cancellation SOD issuance support) [-> FUNC_CD_1="1"] [L748] |
| 6 | CALL | `mapper17.setUpdMkmScinsprtWkCC(paramBean, inputMap, JPCModelConstant.FUNC_CD_1)` // Set screen entry support work data (2013/02/22 IT1-2013-0000299) [-> FUNC_CD_1="1"] [L751] |
| 7 | CALL | `invokeService("KKSV0017", "KKSV0017OP")` // Invoke KKSV0017 Reservation Cancellation service [L754] |
| 8 | CALL | `mapper17.getOpsvckeiCnslCC(paramBean, outputMap)` // Lower mapping: get service cancellation data (IT2-2012-0001034) [L757] |
| 9 | SET | `msgInfo[0] = MSGSTRING[3]` // Set success message for reservation cancellation branch [L760] |

---

### Block 6 — POST-PROCESSING: Return Message Resolution (L763)

> After the selected branch completes, this block retrieves the return message ID from the service, resolves it through `getMsgRep`, and displays the appropriate message. If no error message is returned, it routes the user to the completion screen.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `rtn_msg_id = paramBean[0].sendMessageString(KKW02504SFConst.RTN_MSG_ID, X31CWebConst.DATABEAN_GET_VALUE)` // Get return message ID from service result [L765] [-> RTN_MSG_ID="返却メッセージID"] |

#### Block 6.1 — IF: Return message ID present (L768)

> If the service returned a non-null, non-empty message ID, resolve and display the message.

| # | Type | Code |
|---|------|------|
| 1 | SET | `str = getMsgRep(trandiv, rtn_msg_id)` // Resolve message text with substitutions [L773] |

##### Block 6.1.1 — IF: str == null (L774)

> No substituted text available — display message ID only.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `JCCWebCommon.setMessageInfo(this, rtn_msg_id)` // Display message (ID only) [L776] |

##### Block 6.1.2 — ELSE: str != null (L779)

> Substituted text available — display message with text substitution.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `JCCWebCommon.setMessageInfo(this, rtn_msg_id, str)` // Display message (with substituted text) [L782] |

#### Block 6.2 — ELSE: No return message ID (L785)

> No error from service — this is the success path. Set the next screen to the completion screen and display a success message.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `commoninfoBean.sendMessageString(CommonInfoCFConst.NEXT_SCREEN_ID, X31CWebConst.DATABEAN_SET_VALUE, JKKScreenConst.SCREEN_ID_KKW02506)` // Set next screen ID [-> SCREEN_ID_KKW02506="KKW02506"] |
| 2 | EXEC | `commoninfoBean.sendMessageString(CommonInfoCFConst.NEXT_SCREEN_NAME, X31CWebConst.DATABEAN_SET_VALUE, JKKScreenConst.SCREEN_NAME_KKW02506)` // Set next screen name [-> SCREEN_NAME_KKW02506="Myホームページ情報更新完了"] |
| 3 | EXEC | `JCCWebCommon.setMessageInfo(this, JPCOnlineMessageConstant.EKB4390__I, msgInfo)` // Display success completion message [L791] |

---

### Block 7 — LOGGING AND RETURN (L794)

> Dump DataBean state to log for debugging, then return success.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `JSYwebLog.println(JSYwebLog.DataBean_Dump, getClass(), dumpDatabean(), null, null, null)` // Dump DataBean to log [L794] |
| 2 | RETURN | `return result` // Returns true (success) [L796] |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `trandiv` | Field | Processing Division — the key field that determines which branch of processing to execute. Can be "03" (Change), "04" (DSL Cancellation), "05" (Recovery), or "06" (Reservation Cancellation) |
| `rtn_msg_id` | Field | Return Message ID — message identifier returned from the service layer to indicate success or error state |
| `msgInfo` | Field | Message Info Array — array containing the success message text for the active processing branch |
| `MSGSTRING` | Field | Pre-built Message String Array — instance field containing success messages indexed by processing branch (0=Change, 1=DSL, 2=Recovery, 3=Reservation Cancellation) |
| `svc_kei_no` | Field | Service Contract Number — internal identifier for a service contract line |
| SOD | Acronym | Service Order Data — telecom order fulfillment entity representing a service order record created during processing |
| CC | Acronym | Common Component — shared utility class in the K-Opticom framework (e.g., `setJKKHakkoSODCC` = common component for SOD issuance) |
| CBS | Acronym | Center Business System — the central back-end business system that processes service orders |
| OP_SVCKEI_KAIHK | Entity | Service Detail Recovery table — stores recovered service contract line items |
| OP_SVCKEI_DSL | Entity | Service Detail DSL table — stores DSL service contract line items |
| OP_SVCKEI_CNSL | Entity | Service Detail Cancellation table — stores cancelled service contract line items |
| KK_T_ODR_HAKKO_SOD | Entity | Order Issuance SOD table — stores service order issuance records |
| KKSV0004 | Screen | Service Recovery Screen — handles suspended service recovery operations |
| KKSV0008 | Screen | Service Change Screen — handles service item change operations |
| KKSV0009 | Screen | DSL Cancellation Screen — handles DSL contract cancellation operations |
| KKSV0017 | Screen | Reservation Cancellation Screen — handles reservation cancellation operations |
| KKW02506 | Screen | My Home Page Info Update Completion — the completion display screen shown after successful processing |
| FUNC_CD_1 | Constant | Function Code 1 ("1") — Check & Register/Update mode |
| FUNC_CODE_1 | Constant | Function Code 1 ("1") — API function code used by KKA14201SF to identify the My HP confirmation flow |
| UPD_MKM_SCINSRT_WK | Entity | Update Screen Entry Support Work table — stores work data for screen entry assistance during reservation cancellation |
| OP_TRAN_DIV_CHGE | Constant | Processing Division "03" — Change operation type |
| OP_TRAN_DIV_DSL | Constant | Processing Division "04" — DSL Cancellation operation type |
| OP_TRAN_DIV_KAIHK | Constant | Processing Division "05" — Recovery operation type |
| OP_TRAN_DIV_RSV_CL | Constant | Processing Division "06" — Reservation Cancellation operation type |
| Upper Mapping | Process | Converting service item data to DataBean field format before service invocation |
| Lower Mapping | Process | Converting DataBean field results back to service item format after service invocation |
| My Home Page (Myホームページ) | Business term | K-Opticom's customer-facing web portal where subscribers manage their service contracts |
| Change (変更) | Business term | Modifying existing service items on a customer's My Home Page |
| DSL Cancellation (解約) | Business term | Cancelling an active DSL (Digital Subscriber Line) internet service contract |
| Recovery (回復) | Business term | Restoring a previously suspended service to active status |
| Reservation Cancellation (予約取消) | Business term | Cancelling a previously scheduled service cancellation reservation |
