# Business Logic — JKKKikiIchiranCancelCC.execEKK1551D010() [130 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `com.fujitsu.futurity.bp.custom.common.JKKKikiIchiranCancelCC` |
| Layer | CC/Common Component |
| Module | `common` (Package: `com.fujitsu.futurity.bp.custom.common`) |

## 1. Role

### JKKKikiIchiranCancelCC.execEKK1551D010()

This method is the core processing step for creating an **Order Information Creation Work Registration** (オーダ情報作成ワーク登録 — literally "Order Information Creation Work Registration"). It serves as a **routing and aggregation layer** that determines the correct **order content code** based on the device's provider service type and the requested cancellation/deletion action, then builds and invokes a Service Component (SC) to register the order data into the order work table.

The method operates in the context of the **Device Cancellation/Cancel Common Component** (`JKKKikiIchiranCancelCC`), which handles termination operations for various Fujitsu K-Opticom broadband services. It receives pre-fetched CBS (Common Business Service) messages from the caller's `temporaryData` map — specifically the device provider service contract data, order issuance condition registration data, and service contract data — and combines them into a single order creation request.

The method implements a **conditional routing pattern** based on two dimensions: (1) the **device provider service code** (`KKTK_SVC_CD`), which identifies the service type (Ryota broadband, Hikari Denwa phone, or Multi Router), and (2) the **execution code** (`execCode`), which distinguishes between "cancellation" (1 = 解約) and "deletion" (2 = 消去). Each combination maps to a unique order content code that is passed to the downstream CBS.

If the service contract has a revision work number (`svc_kei_kaisen_ucwk_no`), the method additionally fetches the revision's generation timestamp via `execEKK0251A010`, ensuring the order work carries the correct date/time context for the contract revision.

This method is called by `executeOrderSet()` within the same class, which orchestrates the full device cancellation workflow.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["execEKK1551D010"])

    R1["Get ccMsg from param.getData dataMapKey"]
    R2["Get ekk0341a010cbsMsg from temporaryData EKK0341A010_ODR"]
    R3["Get ekk1081d010cbsMsg from temporaryData EKK1081D010"]
    R4["Get ekk0081a010cbsMsg from temporaryData EKK0081A010"]
    R5["Get svcKeiKaiseucwkNo via getNullToStr from ekk0341a010cbsMsg"]
    R6["Set svcKeiKaiseucwkGadtm = empty string"]

    COND_EMPTY["svcKeiKaiseucwkNo not empty?"]
    CALL_EKK0251["Call execEKK0251A010 with svc_kei_kaisen_ucwk_no"]
    GET_GADTM["Get svcKeiKaiseucwkGadtm from ekk0251a010cbsMsg GENE_ADD_DTM"]

    R7["Get workKktkSvcCd ekk0341a010cbsMsg KKTK_SVC_CD"]
    R8["Set odrNaiyoCd empty string"]

    COND_KKTK["workKktkSvcCd equals KKTK_SVC_CD_BBR C014?"]
    COND_EXEC1A["execCode equals 1 cancellation?"]
    COND_EXEC2A["execCode equals 2 deletion?"]

    SET_ODR149["Set odrNaiyoCd = 149
Ryota Cancellation"]
    SET_ODR150["Set odrNaiyoCd = 150
Ryota Deletion"]

    COND_OVA["workKktkSvcCd equals KKTK_SVC_CD_OVA C004?"]
    SET_ODR215["Set odrNaiyoCd = 215
Hikari Denwa Cancellation"]
    SET_ODR216["Set odrNaiyoCd = 216
Hikari Denwa Deletion"]

    COND_TAKINO["TAKINO_RUTAR C024 or HGW C025?"]
    SET_ODR423["Set odrNaiyoCd = 423
Multi Router Cancellation"]
    SET_ODR424["Set odrNaiyoCd = 424
Multi Router Deletion"]

    B1["Build Object[][] ekk1551d010IN with CBS fields"]
    CALL_SC["Call callSC EKK1551D010"]
    END_NODE(["Return void"])

    START --> R1 --> R2 --> R3 --> R4 --> R5 --> R6
    R5 --> COND_EMPTY
    COND_EMPTY -->|Yes| CALL_EKK0251
    COND_EMPTY -->|No| R7
    CALL_EKK0251 --> GET_GADTM
    GET_GADTM --> R7
    R6 --> R7
    R7 --> R8 --> B1
    B1 --> CALL_SC --> END_NODE
    R8 --> COND_KKTK
    COND_KKTK -->|Yes| COND_EXEC1A
    COND_KKTK -->|No| COND_OVA
    COND_EXEC1A -->|Yes| SET_ODR149
    COND_EXEC1A -->|No| COND_EXEC2A
    COND_EXEC2A -->|Yes| SET_ODR150
    COND_EXEC2A -->|No| COND_OVA
    SET_ODR149 --> B1
    SET_ODR150 --> B1
    COND_OVA -->|Yes| COND_EXEC1A
    COND_OVA -->|No| COND_TAKINO
    SET_ODR215 --> B1
    SET_ODR216 --> B1
    COND_TAKINO -->|Yes| COND_EXEC1A
    COND_TAKINO -->|No| END_NODE
    SET_ODR423 --> B1
    SET_ODR424 --> B1
```

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `handle` | `SessionHandle` | Database/session handle used to establish connections for CBS invocations (`callSC`, `execEKK0251A010`). Represents the current transaction context. |
| 2 | `scCall` | `ServiceComponentRequestInvoker` | Service Component request invoker used to dispatch service calls to downstream CBS (e.g., `EKK1551D010`, `EKK0251A010`). Carries the execution context for service routing. |
| 3 | `param` | `IRequestParameterReadWrite` | Request parameter I/O interface used to read/write screen-level data. Specifically, `param.getData(dataMapKey)` retrieves the `ccMsg` map containing screen-provided fields like `func_code`, `svc_kei_no`, and `kktk_svc_kei_no`. |
| 4 | `dataMapKey` | `String` | Key used to locate the screen data map within `param`. This map holds function code, service line number, and device provider service line number — core identifiers for the order being created. |
| 5 | `temporaryData` | `HashMap<String, Object>` | Shared data map holding pre-fetched CBS messages from earlier in the workflow. Contains `CAANMsg` objects keyed by template IDs: `EKK0341A010_ODR` (device provider service contract data), `EKK1081D010` (order issuance condition registration), and `EKK0081A010` (service contract data). |
| 6 | `execCode` | `String` | Execution code that determines the type of termination operation: `"1"` = cancellation (解約 — contract cancellation, SOD generation) or `"2"` = deletion (消去 — complete removal, no SOD). This code routes the logic to the appropriate order content code. |

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

| Field | Type | Business Description |
|-------|------|---------------------|
| `TEMPLATE_ID_EKK0341A010_ODR` | `String` | Template ID constant `"EKK0341A010_ODR"` — key to retrieve device provider service contract data from `temporaryData`. |
| `TEMPLATE_ID_EKK1081D010` | `String` | Template ID constant `"EKK1081D010"` — key to retrieve order issuance condition registration data from `temporaryData`. |
| `TEMPLATE_ID_EKK0081A010` | `String` | Template ID constant `"EKK0081A010"` — key to retrieve service contract data from `temporaryData` (added in v7.00.05). |
| `TEMPLATE_ID_EKK1551D010` | `String` | Template ID constant `"EKK1551D010"` — passed as `TEMPLATEID` field in the CBS input to identify the target CBS. |
| `KKTK_SVC_CD_BBR` | `String` | Service code `"C014"` — device provider service code for Ryota (ルーター) broadband service. |
| `KKTK_SVC_CD_OVA` | `String` | Service code `"C004"` — device provider service code for Hikari Denwa (光和電) phone service. |
| `KKTK_SVC_CD_TAKINO_RUTAR` | `String` | Service code `"C024"` — device provider service code for Takino Router (多機能ルーター) multi-function router. |
| `ODR_NAIYO_CD_149` | `String` | Order content code `"149"` — Ryota cancellation order type. |
| `ODR_NAIYO_CD_150` | `String` | Order content code `"150"` — Ryota deletion order type. |
| `ODR_NAIYO_CD_215` | `String` | Order content code `"215"` — Hikari Denwa cancellation order type. |
| `ODR_NAIYO_CD_216` | `String` | Order content code `"216"` — Hikari Denwa deletion order type. |
| `ODR_NAIYO_CD_423` | `String` | Order content code `"423"` — Multi Router cancellation order type (v7.00.01, ANK-4315). |
| `ODR_NAIYO_CD_424` | `String` | Order content code `"424"` — Multi Router deletion order type (v7.00.01, ANK-4315). |
| `ODR_KAIYAKU_SOD_1` | `String` | Execution code `"1"` — cancellation SOD type. |
| `ODR_SHOKYO_SOD_2` | `String` | Execution code `"2"` — deletion SOD type. |
| `KKTK_SVC_CD_HGW` (JKKStrConst) | `String` | Service code `"C025"` — Home Gateway device code. Included in multi-router condition starting in ANK-4315-00-00. |

## 4. CRUD Operations / Called Services

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

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `execEKK0251A010` | EKK0251A010 | Service contract withdrawal inquiry (サービス契約回線内照会) | Calls `execEKK0251A010` to retrieve the generation timestamp (GENE_ADD_DTM) of the service contract revision line item, when `svc_kei_kaisen_ucwk_no` is not empty. |
| R | `callSC` (EKK1551D010) | EKK1551D010 | Order information creation work table (オーダー情報作成ワーク) | Invokes CBS `EKK1551D010` (Order Information Creation Work Registration) with a fully-populated input array. This is the primary order registration operation. |
| R | `param.getData` | - | Screen request data | Retrieves the screen data map (ccMsg) containing `func_code`, `svc_kei_no`, and `kktk_svc_kei_no`. |
| R | `temporaryData.get` | - | In-memory temporary data | Retrieves pre-loaded CBS messages (EKK0341A010_ODR, EKK1081D010, EKK0081A010) from the shared temporary data map. |
| R | `ekk0341a010cbsMsg.getString` | - | CAANMsg field data | Extracts specific fields: `KKTK_SVC_CD`, `GENE_ADD_DTM`, `SVC_KEI_KAISEN_UCWK_NO` from the device provider service contract message. |
| R | `ekk1081d010cbsMsg.getString` | - | CAANMsg field data | Extracts `ODR_HAKKO_JOKEN_NO` (order issuance condition number) from the order issuance condition message. |
| R | `ekk0081a010cbsMsg.getString` | - | CAANMsg field data | Extracts `GENE_ADD_DTM` (generation/addition date/time) from the service contract message (v7.00.05). |
| R | `getNullToStr` | - | Utility | Converts null/empty values to empty string for safe string comparisons. |
| - | `setNull` | - | Utility | Returns null for optional CBS fields (service work numbers, timestamps) that are not populated during order creation work registration. |

**CRUD Classification:**

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `execEKK0251A010` | EKK0251A010SC | KK_T_SERVICE_REVISION (Service contract revision inquiry) | Reads service contract revision line item data (generation timestamp) — conditionally invoked when a revision work number exists. |
| C/R | `callSC` (EKK1551D010) | EKK1551D010CBS | KK_T_ODR_WORK (Order work table) / KK_T_ODR_HAKKO_JOKEN (Order issuance condition table) | Registers order creation work data — writes order content code, service line number, order issuance condition number, timestamps, and various related identifiers to the order work table. |

## 5. Dependency Trace

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

No screen/batch entry points found within 8 hops. Direct callers found: 13 methods.
Terminal operations from this method: `callSC` [R], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `setNull` [-], `getString` [R], `getString` [R], `getString` [R], `getString` [R], `getString` [R], `setNull` [-], `setNull` [-]

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | CBS: `JKKKikiIchiranCancelCC.executeOrderSet()` | `executeOrderSet()` → `execEKK1551D010()` | `callSC [C] EKK1551D010 (Order work table)` |

**Notes on the call chain:**
- `executeOrderSet()` is the direct caller of `execEKK1551D010()` within the same class `JKKKikiIchiranCancelCC`.
- `executeOrderSet()` orchestrates the full device cancellation flow — it pre-fetches CBS data into `temporaryData`, determines the service type, then delegates to `execEKK1551D010()` to register the order creation work.
- The terminal CBS invocation is `EKK1551D010` (Order Information Creation Work Registration), which performs a **Create** (order work registration) or **Read** (order work update) operation on the order work table.

## 6. Per-Branch Detail Blocks

**Block 1** — [GET] (L3312)

> Initialize the method by retrieving screen data, CBS messages, and temporary data.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `param.getData(dataMapKey)` — Get screen data map (ccMsg) containing func_code, svc_kei_no, kktk_svc_kei_no |
| 2 | EXEC | `temporaryData.get(TEMPLATE_ID_EKK0341A010_ODR)` — Get device provider service contract data ("機器提供サービス契約データを取得") |
| 3 | EXEC | `temporaryData.get(TEMPLATE_ID_EKK1081D010)` — Get order issuance condition registration data ("オーダ発行条件登録データ") |
| 4 | EXEC | `temporaryData.get(TEMPLATE_ID_EKK0081A010)` — Get service contract data ("サービス契約データを取得") [v7.00.05 addition] |

**Block 2** — [SET + CONDITIONAL CALL] (L3331-3336)

> Retrieve the service contract revision work number and conditionally fetch the revision's generation timestamp.

| # | Type | Code |
|---|------|------|
| 1 | SET | `svcKeiKaiseucwkNo = getNullToStr(ekk0341a010cbsMsg.getString(SVC_KEI_KAISEN_UCWK_NO))` |
| 2 | SET | `svcKeiKaiseucwkGadtm = ""` — Initialize with empty string |
| 3 | IF | `!"".equals(svcKeiKaiseucwkNo)` — Check if revision work number is populated |

**Block 2.1** — [IF TRUE] `svcKeiKaiseucwkNo` is not empty (L3333-3335)

> When a service contract revision work number exists, call `execEKK0251A010` to inquire the service contract withdrawal and get the generation timestamp of the revision.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `execEKK0251A010(handle, scCall, param, dataMapKey, svc_kei_kaisen_ucwk_no)` — Service contract withdrawal inquiry (サービス契約回線内照会) |
| 2 | SET | `svcKeiKaiseucwkGadtm = ekk0251a010cbsMsg.getString(GENE_ADD_DTM)` — Get revision generation timestamp |

**Block 3** — [GET] (L3341-3343)

> Extract the device provider service code and initialize the order content code variable.

| # | Type | Code |
|---|------|------|
| 1 | SET | `workKktkSvcCd = ekk0341a010cbsMsg.getString(KKTK_SVC_CD)` — Device provider service code from service contract ("機器提供サービスから機器提供サービスコードを取得") |
| 2 | SET | `odrNaiyoCd = ""` — Initialize order content code ("オーダ内容コード") |

**Block 4** — [IF-ELSE IF CHAIN: Order Content Code Determination] (L3346-3384)

> Route to the correct order content code based on device provider service type AND the execution code (cancellation vs. deletion). This is the core business decision logic.

### Block 4.1** — [IF TRUE] `KKTK_SVC_CD_BBR.equals(workKktkSvcCd)` AND `execCode` equals `"1"` (L3346-3348)

> ルーター解約の場合 — When the service is Ryota broadband (C014) and execution code is "1" (cancellation/解約).

| # | Type | Code |
|---|------|------|
| 1 | SET | `odrNaiyoCd = ODR_NAIYO_CD_149 = "149"` — Set order content code for Ryota cancellation |

### Block 4.2** — [ELSE IF TRUE] `KKTK_SVC_CD_BBR.equals(workKktkSvcCd)` AND `execCode` equals `"2"` (L3349-3351)

> ルーター消去の場合 — When the service is Ryota broadband (C014) and execution code is "2" (deletion/消去).

| # | Type | Code |
|---|------|------|
| 1 | SET | `odrNaiyoCd = ODR_NAIYO_CD_150 = "150"` — Set order content code for Ryota deletion |

### Block 4.3** — [ELSE IF TRUE] `KKTK_SVC_CD_OVA.equals(workKktkSvcCd)` AND `execCode` equals `"1"` (L3352-3354)

> 光電話解約の場合 — When the service is Hikari Denwa phone (C004) and execution code is "1" (cancellation/解約).

| # | Type | Code |
|---|------|------|
| 1 | SET | `odrNaiyoCd = ODR_NAIYO_CD_215 = "215"` — Set order content code for Hikari Denwa cancellation |

### Block 4.4** — [ELSE IF TRUE] `KKTK_SVC_CD_OVA.equals(workKktkSvcCd)` AND `execCode` equals `"2"` (L3355-3357)

> 光電話消去の場合 — When the service is Hikari Denwa phone (C004) and execution code is "2" (deletion/消去).

| # | Type | Code |
|---|------|------|
| 1 | SET | `odrNaiyoCd = ODR_NAIYO_CD_216 = "216"` — Set order content code for Hikari Denwa deletion |

### Block 4.5** — [ELSE IF TRUE] `(KKTK_SVC_CD_TAKINO_RUTAR.equals(workKktkSvcCd) OR JKKStrConst.KKTK_SVC_CD_HGW.equals(workKktkSvcCd))` AND `execCode` equals `"1"` (L3367-3374)

> 多機能ルーター解約の場合 — When the service is Takino Router (C024) or Home Gateway (C025) and execution code is "1" (cancellation/解約). [v7.00.01 ANK-4315-00-00: Added HGW (C025) support, expanded from single Takino check.]

| # | Type | Code |
|---|------|------|
| 1 | SET | `odrNaiyoCd = ODR_NAIYO_CD_423 = "423"` — Set order content code for Multi Router cancellation |

### Block 4.6** — [ELSE IF TRUE] `(KKTK_SVC_CD_TAKINO_RUTAR.equals(workKktkSvcCd) OR JKKStrConst.KKTK_SVC_CD_HGW.equals(workKktkSvcCd))` AND `execCode` equals `"2"` (L3375-3382)

> 多機能ルーター消去の場合 — When the service is Takino Router (C024) or Home Gateway (C025) and execution code is "2" (deletion/消去). [v7.00.01 ANK-4315-00-00: Added HGW (C025) support.]

| # | Type | Code |
|---|------|------|
| 1 | SET | `odrNaiyoCd = ODR_NAIYO_CD_424 = "424"` — Set order content code for Multi Router deletion |

### Block 4.7** — [ELSE — NO MATCH] (implicit)

> If none of the service codes match or the execution code is neither "1" nor "2", `odrNaiyoCd` remains as the empty string. The CBS `EKK1551D010` is still called with an empty `ODR_NAIYO_CD` — behavior depends on CBS-side validation.

**Block 5** — [BUILD: CBS Input Array] (L3388-3426)

> Build the `Object[][]` input array for the `EKK1551D010` CBS call. This array maps CBS message fields to their values. The v7.00.03 and v7.00.04 changes modified `HUKA_INF_KEI_NO` and `HUKA_INF_KEI_GADTM` to use values from the service contract revision data instead of `setNull()`.

| # | Type | Code |
|---|------|------|
| 1 | SET | `TEMPLATEID` = `TEMPLATE_ID_EKK1551D010 = "EKK1551D010"` |
| 2 | SET | `FUNC_CODE` = `ccMsg.get("func_code")` — Function code from screen |
| 3 | SET | `ODR_HAKKO_JOKEN_NO` = `ekk1081d010cbsMsg.getString(ODR_HAKKO_JOKEN_NO)` — Order issuance condition number |
| 4 | SET | `ODR_NAIYO_CD` = `odrNaiyoCd` — Resolved order content code (149/150/215/216/423/424) |
| 5 | SET | `SVC_KEI_NO` = `ccMsg.get("svc_kei_no")` — Service line number |
| 6 | SET | `SVKEI_GADTM` = `ekk0081a010cbsMsg.getString(GENE_ADD_DTM)` — Service addition date/time [v7.00.04: changed from `setNull()` to actual value from EKK0081A010] |
| 7 | SET | `SVC_KEI_UCWK_NO` = `setNull()` — Service line work number (null) |
| 8 | SET | `SVKEIUW_GADTM` = `setNull()` — Service line work addition date/time (null) |
| 9 | SET | `KKTK_SVC_KEI_NO` = `ccMsg.get("kktk_svc_kei_no")` — Device provider service line number |
| 10 | SET | `KKTSVKEI_GADTM` = `ekk0341a010cbsMsg.getString(GENE_ADD_DTM)` — Device provider service addition date/time |
| 11 | SET | `OP_SVC_KEI_NO` = `setNull()` — Option service line number (null) |
| 12 | SET | `OPSVKEI_GADTM` = `setNull()` — Option service addition date/time (null) |
| 13 | SET | `SBOP_SVC_KEI_NO` = `setNull()` — Sub-option service line number (null) |
| 14 | SET | `SBOPSVKEI_GADTM` = `setNull()` — Sub-option service addition date/time (null) |
| 15 | SET | `SEIOPSVC_KEI_NO` = `setNull()` — Secondary option service line number (null) |
| 16 | SET | `SEIOPSVKEI_GADTM` = `setNull()` — Secondary option service addition date/time (null) |
| 17 | SET | `HUKA_INF_KEI_NO` = `ekk0341a010cbsMsg.getString(SVC_KEI_KAISEN_UCWK_NO)` — Additional information line number [v7.00.03: changed from `setNull()` to revision work number] |
| 18 | SET | `HUKA_INF_KEI_GADTM` = `svcKeiKaiseucwkGadtm` — Additional information addition date/time [v7.00.04: changed from SC call result to variable from Block 2.1] |
| 19 | SET | `CHBF_SVKEI_GADTM` = `setNull()` — Charge adjustment service date/time (null) |
| 20 | SET | `CHBF_SVKEIUW_GADTM` = `setNull()` — Charge adjustment service work date/time (null) |
| 21 | SET | `CHBF_KKTSVKEI_GADTM` = `setNull()` — Charge adjustment device provider service date/time (null) |
| 22 | SET | `CHBF_OPSVKEI_GADTM` = `setNull()` — Charge adjustment option service date/time (null) |
| 23 | SET | `CHBF_SBOPSVKEI_GADTM` = `setNull()` — Charge adjustment sub-option service date/time (null) |
| 24 | SET | `CHBF_SEIOPSVKEI_GADTM` = `setNull()` — Charge adjustment secondary option service date/time (null) |
| 25 | SET | `KKOP_SVC_KEI_NO_1` = `setNull()` — Device option service line number 1 (null) [v7.00.01] |
| 26 | SET | `KKOSVKEI_GADTM_1` = `setNull()` — Device option service addition date/time 1 (null) [v7.00.01] |
| 27 | SET | `CHBF_KKOSVKEI_GADTM_1` = `setNull()` — Charge adjustment device option date/time 1 (null) [v7.00.01] |
| 28 | SET | `KKOP_SVC_KEI_NO_2` = `setNull()` — Device option service line number 2 (null) [v7.00.01] |
| 29 | SET | `KKOSVKEI_GADTM_2` = `setNull()` — Device option service addition date/time 2 (null) [v7.00.01] |
| 30 | SET | `CHBF_KKOSVKEI_GADTM_2` = `setNull()` — Charge adjustment device option date/time 2 (null) [v7.00.01] |

**Block 6** — [EXEC: CBS Invocation] (L3429-3430)

> Execute the CBS call to register the order creation work. The `callSC` method dispatches the assembled input array to CBS `EKK1551D010`.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `callSC(handle, scCall, param, dataMapKey, ekk1551d010IN)` — Execute CBS update processing ("更新処理の実行") → EKK1551D010 (Order Information Creation Work Registration) |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `execEKK1551D010` | Method | Order Information Creation Work Registration — core method for registering order work data during device cancellation |
| EKK1551D010 | CBS Code | Order Information Creation Work Registration CBS — registers order creation work data into the order work table |
| EKK0251A010 | CBS Code | Service Contract Line Item Inquiry CBS — inquires service contract withdrawal/revision line item details |
| EKK0341A010 | CBS Code | Device Provider Service Contract Data CBS — retrieves device provider service contract information |
| EKK1081D010 | CBS Code | Order Issuance Condition Registration CBS — retrieves order issuance condition registration data |
| EKK0081A010 | CBS Code | Service Contract Data CBS — retrieves service contract data (added in v7.00.05) |
| KKTK_SVC_CD_BBR | Constant | Service code `"C014"` — Ryota (ルーター) broadband device provider service code |
| KKTK_SVC_CD_OVA | Constant | Service code `"C004"` — Hikari Denwa (光和電) phone device provider service code |
| KKTK_SVC_CD_TAKINO_RUTAR | Constant | Service code `"C024"` — Takino Router (多機能ルーター) multi-function router device code |
| KKTK_SVC_CD_HGW | Constant | Service code `"C025"` — Home Gateway device code (from JKKStrConst) |
| ODR_NAIYO_CD_149 | Constant | Order content code `"149"` — Ryota broadband cancellation order type |
| ODR_NAIYO_CD_150 | Constant | Order content code `"150"` — Ryota broadband deletion order type |
| ODR_NAIYO_CD_215 | Constant | Order content code `"215"` — Hikari Denwa phone cancellation order type |
| ODR_NAIYO_CD_216 | Constant | Order content code `"216"` — Hikari Denwa phone deletion order type |
| ODR_NAIYO_CD_423 | Constant | Order content code `"423"` — Multi Router cancellation order type (v7.00.01) |
| ODR_NAIYO_CD_424 | Constant | Order content code `"424"` — Multi Router deletion order type (v7.00.01) |
| `odr_naiyo_cd` | Field | Order content code — classifies the order type based on service and cancellation/deletion action |
| `execCode` | Parameter | Execution code — `"1"` for cancellation (解約), `"2"` for deletion (消去) |
| `svc_kei_kaisen_ucwk_no` | Field | Service line revision work number — internal tracking ID for service contract revision line items |
| `kktk_svc_cd` | Field | Device provider service code — identifies the type of Fujitsu K-Opticom device/service |
| `kktk_svc_kei_no` | Field | Device provider service line number — unique identifier for a device provider service line |
| `svc_kei_no` | Field | Service line number — unique identifier for a service line |
| `func_code` | Field | Function code — screen function identifier |
| `gene_add_dtm` | Field | Generation addition date/time — timestamp when the service/revision record was created |
| `huka_inf_kei_no` | Field | Additional information line number — supplementary service line identifier |
| `chbf_svkei_gadtm` | Field | Charge adjustment service addition date/time — timestamp for charge-adjusted service records |
| `kkop_svc_kei_no_1/2` | Field | Device option service line number 1/2 — optional device service line identifiers |
| ルーター (Ryota) | Business term | Router — broadband internet device; Fujitsu K-Opticom's primary broadband service offering |
| 光和電 (Hikari Denwa) | Business term | Light Phone — Fujitsu K-Opticom's fiber-optic telephone service (Hikari Phone) |
| 多機能ルーター (Taki no Rūtā) | Business term | Multi-function Router — an advanced router device with integrated capabilities |
| 解約 (Kaiyaku) | Business term | Cancellation — contract termination process; generates a Service Order Data (SOD) for billing |
| 消去 (Shouyo) | Business term | Deletion — complete removal of service records; no SOD generation |
| SOD | Acronym | Service Order Data — service order data generated during cancellation for billing/contract processing |
| CAANMsg | Class | Canned message object — structured message used for CBS request/response data exchange |
| ccMsg | Variable | Common Component message — screen data map containing func_code, svc_kei_no, kktk_svc_kei_no |
| temporaryData | Variable | Temporary data map — shared data store holding pre-fetched CBS messages across the cancellation workflow |
| `callSC` | Method | Call Service Component — utility method to invoke CBS (Common Business Service) with input parameters |
| `getNullToStr` | Method | Get Null to String — utility method to safely convert null values to empty strings |
| `setNull` | Method | Set Null — utility method returning null for optional CBS fields |
