# Business Logic — JKKWribSvcKeiOperateCC.createMskmWithNaiyoShoninAdd() [227 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `com.fujitsu.futurity.bp.custom.common.JKKWribSvcKeiOperateCC` |
| Layer | CC/Common Component — shared business logic component within the WribSvcKei (Service Contract Operation) subsystem |
| Module | `common` (Package: `com.fujitsu.futurity.bp.custom.common`) |

## 1. Role

### JKKWribSvcKeiOperateCC.createMskmWithNaiyoShoninAdd()

This method implements the **Application Content Approval Registration** service IF (`申込内容承認登録サービスIF`) for the Fujitsu Futurity billing/order management system. Its primary responsibility is to construct and dispatch a request message that registers a new service contract detail record (MSKM — 申込, "application/registration") with an approved status, based on the service kind classification provided.

The method acts as a **router/dispatcher** that branches on the `keiKind` parameter (an enum of kind `KeiKind`) to determine the appropriate contract subtype. It handles two distinct business flows:

- **HNSOKU** ("d" — `HNSOKU`, meaning "Contract Registration" / 契約登録): A standard contract registration flow where no multi-functional router swap is requested. The contract subtype is set to `MSKM_SBT_CD_HNBY_MSKM` ("00030").
- **WRIB** ("w" — `WRIB`, meaning "Service Addition/Change Registration" / 追加・変更登録): A service addition or modification flow that may include a multi-functional router swap request (`umuFlg`). The contract subtype is set to `MSKM_SBT_CD_WRIB_MSKM` ("00029").

In both branches, the method builds a `CAANMsg` message object with an `EKK0011D020CBSMsg` envelope and populates it with a child detail message (`EKK0011D020CBSMsg1List`) containing numerous null-initialized fields. It then delegates to `invokeSvcIFSingle` to send the fully assembled message to the downstream service component `EKK0011D020` (via the constant `WRIBSVK_OPERATE_CC_EKK0011D020`).

This is a **private utility method** called internally by `createAndFixMskmMskmDtl`, which chains approval registration with subsequent detail verification and post-processing. It is not directly invoked by screens or batches, serving as a middle-tier service builder within the WribSvcKei (Service Contract Operation) subsystem.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["createMskmWithNaiyoShoninAdd(params)"])
    STEP1["Create CAANMsg via MsgEditer.createParameter(EKK0011D020CBSMsg.class, funcCd)"]
    STEP2["switch keiKind"]
    STEP2A["keiKind == HNSOKU"]
    STEP2B["keiKind == WRIB"]
    STEP2X["default (no match)"]
    SET_HNSOKK["Set HNSOKU fields: sysid, mskm_sbt_cd=MSKM_SBT_CD_HNBY_MSKM(\"00030\"), mskm_ymd, consmbsn_mskm_stat_skbt_cd=\"04\"(Approved), all optional fields=null, getOpeDateTimeStamp for mskm_uk_dtm"]
    CREATE_MSKM_DTL_HNSOKU["Create mskmDtl (EKK0011D020CBSMsg1List), init all fields to null"]
    CREATE_MSKM_DTL_WRIB["Create mskmDtl (EKK0011D020CBSMsg1List), init all fields to null"]
    ATTACH_HNSOKU["Attach mskmDtl to msg via EKK0011D020CBSMSG1LIST"]
    ATTACH_WRIB["Attach mskmDtl to msg via EKK0011D020CBSMSG1LIST"]
    INVOKE_HNSOKU["invokeSvcIFSingle(msg, WRIBSVK_OPERATE_CC_EKK0011D020)"]
    INVOKE_WRIB["invokeSvcIFSingle(msg, WRIBSVK_OPERATE_CC_EKK0011D020)"]
    RETURN_HNSOKU["Return invokedResult"]
    RETURN_WRIB["Return invokedResult"]
    THROW_DEFAULT["Throw RuntimeException: unsupported kind code"]
    END_NODE(["Return / Next"])

    START --> STEP1
    STEP1 --> STEP2
    STEP2 -->|HNSOKU| STEP2A
    STEP2 -->|WRIB| STEP2B
    STEP2 -->|default| STEP2X
    STEP2A --> SET_HNSOKK
    SET_HNSOKK --> CREATE_MSKM_DTL_HNSOKU
    CREATE_MSKM_DTL_HNSOKU --> ATTACH_HNSOKU
    ATTACH_HNSOKU --> INVOKE_HNSOKU
    INVOKE_HNSOKU --> RETURN_HNSOKU
    RETURN_HNSOKU --> END_NODE
    STEP2B --> SET_WRIB
    SET_WRIB --> CREATE_MSKM_DTL_WRIB
    CREATE_MSKM_DTL_WRIB --> SET_UMUFLG
    SET_UMUFLG --> ATTACH_WRIB
    ATTACH_WRIB --> INVOKE_WRIB
    INVOKE_WRIB --> RETURN_WRIB
    RETURN_WRIB --> END_NODE
    STEP2X --> THROW_DEFAULT
```

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `context` | `IRequestParameterReadWrite` | The request context object carrying the full inbound request parameters, session data, and cross-cutting concerns (e.g., operator ID, transaction context). Used to instantiate the CAANMsg message envelope via `MsgEditer.createParameter()`. |
| 2 | `funcCd` | `String` | Function code — identifies the business function or screen that triggered this operation. Used by `MsgEditer.createParameter()` to determine the message type and routing. |
| 3 | `sysid` | `String` | System ID — identifies the specific customer system/contract entity being operated on. Populated into the message as the `sysid` field for downstream processing and audit trails. |
| 4 | `mskmYmd` | `String` | Application date (MSKM date) — the effective date of the application/registration in YYYYMMDD format. Set as the `mskm_ymd` field in the message header, determining the effective date for the contract detail record. |
| 5 | `keiKind` | `KeiKind` | Service kind classification — an enum determining which contract registration flow to execute. Values: `HNSOKU` ("d") for standard contract registration, `WRIB` ("w") for service addition/change registration. Controls the contract subtype code (`mskm_sbt_cd`) and whether a multi-functional router swap is allowed. |
| 6 | `umuFlg` | `String` | Multi-functional router swap request flag — added in v7.00.00. When non-empty, indicates the customer requests a multi-functional router device swap/exchange. Set on the detail message field `TAKINORT_KKN_KIBO_UM` only in the WRIB branch. Empty string or null means no swap requested. |

**External/instance fields accessed:** None directly. The method operates purely through its parameters and static constants defined within the class.

## 4. CRUD Operations / Called Services

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| C | `MsgEditer.createParameter` | EKK0011D020CBS | - | Creates a new `CAANMsg` instance of type `EKK0011D020CBSMsg` with the given function code. This constructs the inbound request message envelope for the approval registration service. |
| C | `MsgEditer.set` | - | - | Sets individual message fields to specific values. Populates header fields (sysid, mskm_sbt_cd, mskm_uk_dtm, mskm_ymd, consmbsn_mskm_stat_skbt_cd) and initializes over 30 detail fields to null. |
| R | `JCCBPCommon.getOpeDateTimeStamp` | JCCBPCommon | - | Retrieves the operational date/time timestamp for the `mskm_uk_dtm` (application unique datetime) field. Replaces the older `getSysDateTimeStamp()` call in v4.10.00 (IT1-2012-0002298). |
| C | `invokeSvcIFSingle` | EKK0011D020 | (Downstream CBS) | Invokes the downstream Service Component `EKK0011D020` via the `WRIBSVK_OPERATE_CC_EKK0011D020` service interface. This is the core CRUD operation that actually persists or processes the approval registration. The service component name indicates it belongs to the WribSvcKeiOperate (サービス契約操作 / Service Contract Operation) CBS. |

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | CBS: `JKKWribSvcKeiOperateCC.createAndFixMskmMskmDtl` | `createAndFixMskmMskmDtl()` -> `createMskmWithNaiyoShoninAdd()` | `invokeSvcIFSingle [C] EKK0011D020CBS` |
| 2 | CBS: `JKKWribSvcKeiOperateCC.executeWribSvcKeiList` (HNSOKU branch, no umuFlg) | `executeWribSvcKeiList()` -> `createAndFixMskmMskmDtl()` -> `createMskmWithNaiyoShoninAdd()` | `invokeSvcIFSingle [C] EKK0011D020CBS` |
| 3 | CBS: `JKKWribSvcKeiOperateCC.executeWribSvcKeiList` (WRIB branch, with umuFlg) | `executeWribSvcKeiList()` -> `createAndFixMskmMskmDtl()` -> `createMskmWithNaiyoShoninAdd()` | `invokeSvcIFSingle [C] EKK0011D020CBS` |
| 4 | CBS: `JKKWribSvcKeiOperateCC.executeWribSvcKeiList` (HNSOKU branch, no umuFlg, alternate path) | `executeWribSvcKeiList()` -> `createAndFixMskmMskmDtl()` -> `createMskmWithNaiyoShoninAdd()` | `invokeSvcIFSingle [C] EKK0011D020CBS` |
| 5 | CBS: `JKKWribSvcKeiOperateCC.executeWribSvcKeiList` (WRIB branch, no umuFlg) | `executeWribSvcKeiList()` -> `createAndFixMskmMskmDtl()` -> `createMskmWithNaiyoShoninAdd()` | `invokeSvcIFSingle [C] EKK0011D020CBS` |

**Notes:**
- No direct screen/batch entry points (KKSV*) were found calling this method directly. All calls flow through the intermediate CBS method `createAndFixMskmMskmDtl`.
- The terminal operation from this method is `invokeSvcIFSingle` which delegates to SC code `EKK0011D020`. The actual database/entity table names are internal to the downstream CBS and not visible at this level.
- Line ~3894 in `executeWribSvcKeiList` passes `kei.get("takinou_rtr_chg_umu")` as the `umuFlg` parameter for the WRIB branch, enabling the multi-functional router swap feature.

## 6. Per-Branch Detail Blocks

### Block 1 — EXEC (L10599)

> Create the base CAANMsg message envelope using MsgEditer.createParameter. The Japanese comment "申込内容承認登録" translates to "Application Content Approval Registration."

| # | Type | Code |
|---|------|------|
| 1 | SET | `msg = MsgEditer.createParameter(context, EKK0011D020CBSMsg.class, funcCd)` |

### Block 2 — SWITCH (keiKind) (L10601)

> Dispatch to the appropriate contract registration flow based on the service kind classification.

#### Block 2.1 — IF-CASE [HNSOKU] (L10603)

> Standard contract registration (契約登録) flow. Sets the contract subtype to MSKM_SBT_CD_HNBY_MSKM ("00030") and initializes all optional/nested fields to null. No multi-functional router swap is supported in this branch.

| # | Type | Code |
|---|------|------|
| 1 | SET | `MsgEditer.set(msg, "sysid", sysid)` |
| 2 | SET | `MsgEditer.set(msg, "mskm_sbt_cd", MSKM_SBT_CD_HNBY_MSKM)` [-> MSKM_SBT_CD_HNBY_MSKM = "00030"] |
| 3 | SET | `MsgEditer.set(msg, "mskm_uk_dtm", JCCBPCommon.getOpeDateTimeStamp(null))` [v4.10.00 IT1-2012-0002298: replaced getSysDateTimeStamp] |
| 4 | SET | `MsgEditer.set(msg, "mskm_ymd", mskmYmd)` |
| 5 | SET | `MsgEditer.set(msg, "consmbsn_mskm_stat_skbt_cd", "04")` [04 = 承認済 (Approved)] |
| 6 | SET | `MsgEditer.set(msg, "mskmsho_ariv_ymd", null)` [申込書到着日 (application receipt date)] |
| 7 | SET | `MsgEditer.set(msg, "mskm_uk_tnt_user_id", null)` [application unique customer ID] |
| 8 | SET | `MsgEditer.set(msg, "ttl_business_center_uk_no", null)` |
| 9 | SET | `MsgEditer.set(msg, "ttl_business_mskm_opt_cd", null)` |
| 10 | SET | `MsgEditer.set(msg, "mskm_rrks_telno", null)` [application registration phone number] |
| 11 | SET | `MsgEditer.set(msg, "mskm_jssis_sbt_cd", null)` |
| 12 | SET | `MsgEditer.set(msg, "cust_yobo_jiko", null)` [customer protection incident] |
| 13 | SET | `MsgEditer.set(msg, "tel_rrk_kibod_sbt_cd", null)` [telephone registration desired subtype code] |
| 14 | SET | `MsgEditer.set(msg, "tel_rrk_kibo_time_cd", null)` [telephone registration desired time code] |
| 15 | SET | `MsgEditer.set(msg, "takcho_kibod_sbt_cd", null)` [document delivery desired subtype code] |
| 16 | SET | `MsgEditer.set(msg, "takcho_kibo_time_cd", null)` [document delivery desired time code] |
| 17 | SET | `MsgEditer.set(msg, "kari_mskm_flg", null)` [temporary application flag] |
| 18 | SET | `MsgEditer.set(msg, "referer", null)` |
| 19 | SET | `MsgEditer.set(msg, "kepco_custinfo_juju_doi_um", null)` [KEPCO customer info designation unconfirmed] |
| 20 | SET | `MsgEditer.set(msg, "shosa_bf_rrk_jiko_yh", null)` [survey-before-registration incident (yes/no?)] |
| 21 | SET | `MsgEditer.set(msg, "shosa_bf_rrk_jiko", null)` [survey-before-registration incident] |
| 22 | SET | `MsgEditer.set(msg, "use_svc_keizk_sbt_cd", null)` [service continuation subtype code] |
| 23 | SET | `MsgEditer.set(msg, EKK0011D020CBSMsg.UK_TNTSHA_SKBT_CD, null)` [受領担当者識別コード - receiving party identification code] |
| 24 | SET | `MsgEditer.set(msg, EKK0011D020CBSMsg.KOJI_REQ_INFO_RRK_JIKO, null)` [工事依頼情報連絡事故 - work request info contact incident] |
| 25 | SET | `MsgEditer.set(msg, EKK0011D020CBSMsg.MSKM_ROUTE_SKBT_CD, null)` [申込経路識別コード - application route identification code] |
| 26 | EXEC | `mskmDtl = new CAANMsg(EKK0011D020CBSMsg1List.class.getName())` |
| 27 | SET | `MsgEditer.set(mskmDtl, "mskmsho_no", null)` [application number] |
| 28 | SET | `MsgEditer.set(mskmDtl, "web_uk_no", null)` |
| 29 | SET | `MsgEditer.set(mskmDtl, "mskm_form_cd", null)` [application form code] |
| 30 | SET | `MsgEditer.set(mskmDtl, "mskm_dtl_sbt_cd", null)` [application detail subtype code] |
| 31 | SET | `MsgEditer.set(mskmDtl, "rrks_ktai_telno", null)` [registration mobile phone number] |
| 32 | SET | `MsgEditer.set(mskmDtl, "rrks_offc_nm", null)` [registration office name] |
| 33 | SET | `MsgEditer.set(mskmDtl, "dt_rrks_telno", null)` |
| 34 | SET | `MsgEditer.set(mskmDtl, "new_mskm_sbt_cd", null)` |
| 35 | SET | `MsgEditer.set(mskmDtl, "mskm_optnty_cd", null)` |
| 36 | SET | `MsgEditer.set(mskmDtl, "takcho_kibo_apo_kigen_ymd", null)` [document delivery desired expiry date] |
| 37 | SET | `MsgEditer.set(mskmDtl, "koji_apo_rrks_shitei_cd", null)` [work appointment registration designation code] |
| 38 | SET | `MsgEditer.set(mskmDtl, "koji_apo_rrks_telno", null)` [work appointment registration phone] |
| 39 | SET | `MsgEditer.set(mskmDtl, "rrk_jiko_add_dtm", null)` [registration incident additional datetime] |
| 40 | SET | `MsgEditer.set(mskmDtl, "mskm_rrks_mlad", null)` [application registration MLAD] |
| 41 | SET | `MsgEditer.set(mskmDtl, "koji_prg_tchi_mlad", null)` [work progress contact MLAD] |
| 42 | SET | `MsgEditer.set(mskmDtl, "rrk_jiko", null)` [registration incident] |
| 43 | SET | `MsgEditer.set(mskmDtl, "kjsc_tch_ktai_mlad", null)` |
| 44 | SET | `MsgEditer.set(mskmDtl, "ml_send_jgi_flg", null)` [mail send judgment flag] |
| 45 | SET | `MsgEditer.set(mskmDtl, "ml_send_jgi_rsn_memo", null)` [mail send judgment reason memo] |
| 46 | SET | `MsgEditer.set(mskmDtl, "bmp_mskm_rrks_tln", null)` |
| 47 | SET | `MsgEditer.set(mskmDtl, "op_svc_hktgi_um", null)` |
| 48 | SET | `MsgEditer.set(mskmDtl, "dsl_aticle_sohu_kibo_um", null)` |
| 49 | SET | `MsgEditer.set(mskmDtl, "rrk_way_hoki", null)` |
| 50 | SET | `MsgEditer.set(mskmDtl, "newconst_bukken_cd", null)` |
| 51 | SET | `MsgEditer.set(mskmDtl, "hukkat_anken_flg", null)` |
| 52 | SET | `MsgEditer.set(mskmDtl, "same_equip_re_mskm_cd", null)` |
| 53 | SET | `MsgEditer.set(mskmDtl, "hnin_cfm_aticle_sbt_cd", null)` |
| 54 | SET | `MsgEditer.set(mskmDtl, "mskmsho_sbt_cd", null)` |
| 55 | SET | `MsgEditer.set(mskmDtl, "map_temp_um", null)` |
| 56 | SET | `MsgEditer.set(mskmDtl, "kcn_stb_mskm_cnt", null)` |
| 57 | SET | `MsgEditer.set(mskmDtl, "kcn_stb_kind_cd", null)` |
| 58 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.KEI_HUKA_CD, null)` [契約付加コード - contract附加 code] |
| 59 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.MANSSBSYS_RNKI_YO_KIJIRAN, null)` [マンション設備システム連携用備考欄 - mansion equipment system linkage remarks] |
| 60 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.MANSION_ID, null)` [マンションID - mansion ID] |
| 61 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.CATID, null)` [CAT-ID] |
| 62 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.MKM_UK_SBT_CD, null)` [申込受付種別コード - application reception subtype code] |
| 63 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.MSKMSHO_TRAT_IF_TNTSHA_NM, null)` [申込書取扱い担当者名 - application handling party name] |
| 64 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.MSKMSHO_TRAT_IF_TELNO, null)` [申込書取扱い電話番号 - application handling phone number] |
| 65 | SET | `msg.set(EKK0011D020CBSMsg.EKK0011D020CBSMSG1LIST, new CAANMsg[] { mskmDtl })` |
| 66 | CALL | `invokedResult = invokeSvcIFSingle(msg, WRIBSVK_OPERATE_CC_EKK0011D020)` [-> WRIBSVK_OPERATE_CC_EKK0011D020 = "EKK0011D020"] |
| 67 | RETURN | `return invokedResult` |

#### Block 2.2 — IF-CASE [WRIB] (L10705)

> Service addition/change registration (追加・変更登録) flow. Sets the contract subtype to MSKM_SBT_CD_WRIB_MSKM ("00029"). Includes the v7.00.00 addition: if `umuFlg` is not empty, the multi-functional router swap request flag is set. Otherwise the flow is identical to HNSOKU.

| # | Type | Code |
|---|------|------|
| 1 | SET | `MsgEditer.set(msg, "sysid", sysid)` |
| 2 | SET | `MsgEditer.set(msg, "mskm_sbt_cd", MSKM_SBT_CD_WRIB_MSKM)` [-> MSKM_SBT_CD_WRIB_MSKM = "00029"] |
| 3 | SET | `MsgEditer.set(msg, "mskm_uk_dtm", JCCBPCommon.getOpeDateTimeStamp(null))` [v4.10.00 IT1-2012-0002298] |
| 4 | SET | `MsgEditer.set(msg, "mskm_ymd", mskmYmd)` |
| 5 | SET | `MsgEditer.set(msg, "consmbsn_mskm_stat_skbt_cd", "04")` [04 = 承認済 (Approved)] |
| 6-64 | SET | Same field initializations as Block 2.1 (all optional/nested fields set to null) — identical to HNSOKU branch |
| 65 | IF | `if (!"".equals(umuFlg))` — v7.00.00 addition: only set if umuFlg is non-empty |
| 65.1 | SET | `MsgEditer.set(mskmDtl, EKK0011D020CBSMsg1List.TAKINORT_KKN_KIBO_UM, umuFlg)` [多機能ルーター交換希望有無 - multi-functional router swap request existence] (L10806) |
| 66 | SET | `msg.set(EKK0011D020CBSMsg.EKK0011D020CBSMSG1LIST, new CAANMsg[] { mskmDtl })` |
| 67 | CALL | `invokedResult = invokeSvcIFSingle(msg, WRIBSVK_OPERATE_CC_EKK0011D020)` [-> "EKK0011D020"] |
| 68 | RETURN | `return invokedResult` |

#### Block 2.3 — ELSE [default] (L10814)

> Throws a runtime exception when `keiKind` does not match HNSOKU or WRIB. The Japanese message "対応していない割引種別コードです" translates to "Unsupported discount/service kind code."

| # | Type | Code |
|---|------|------|
| 1 | THROW | `throw new RuntimeException("対応していない割引種別コードです")` [Unsupported discount/service kind code] |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `mskm` | Abbreviation | 申込 (Application/Registration) — a core entity representing a service contract application in the Fujitsu Futurity billing system |
| `mskm_sbt_cd` | Field | Application subtype code — classifies the type of contract registration (e.g., standard vs. addition/change) |
| `MSKM_SBT_CD_HNBY_MSKM` | Constant | Contract registration application subtype = "00030" — used for the HNSOKU (契約登録 / contract registration) flow |
| `MSKM_SBT_CD_WRIB_MSKM` | Constant | Service addition/change application subtype = "00029" — used for the WRIB (追加・変更登録 / service addition/change) flow |
| `consmbsn_mskm_stat_skbt_cd` | Field | Consumption application status subtype code — "04" means 承認済 (Approved/Admitted) |
| `mskm_ymd` | Field | Application date — effective date of the application in YYYYMMDD format |
| `mskm_uk_dtm` | Field | Application unique datetime — operational timestamp for the application record, obtained via `getOpeDateTimeStamp` |
| `mskmsho_no` | Field | Application number — unique identifier for the application record |
| `mskm_dtl_sbt_cd` | Field | Application detail subtype code — further classifies the application detail |
| `KeiKind` | Enum | Service kind classification — an inner enum of `JKKWribSvcKeiOperateCC` with values: `HNSOKU` ("d"/契約登録), `WRIB` ("w"/追加・変更登録), `NULL` ("") |
| HNSOKU | Business term | 契約登録 (Contract Registration) — standard new contract registration flow |
| WRIB | Business term | 追加・変更登録 (Service Addition/Change Registration) — flow for adding or modifying existing service contracts |
| `umuFlg` | Field | Multi-functional router swap request flag (多機能ルーター交換希望有無) — when non-empty in WRIB flow, indicates a device swap is requested |
| `TAKINORT_KKN_KIBO_UM` | Field | Multi-functional router swap request existence — stores the swap request flag on the application detail |
| `takinou_rtr_chg_umu` | Field | Source of umuFlg in caller — the "router change multi" flag extracted from the contract data map |
| `EKK0011D020CBSMsg` | Class | CBS message envelope for the application content approval registration service (EKK0011D020) |
| `EKK0011D020CBSMsg1List` | Class | Child message list within the CBS envelope for application detail records |
| EKK0011D020 | SC Code | Service Component code for the WribSvcKeiOperate (サービス契約操作) — the downstream CBS that processes the approval registration |
| `invokeSvcIFSingle` | Method | Invokes a single service interface component — the core delegation mechanism for calling downstream CBS services |
| `funcCd` | Field | Function code — identifies the calling business function/screen |
| `sysid` | Field | System ID — identifies the customer/contract system entity |
| `MSKM_SBT_CD_HNBY` | Field | 申込種別コード (Application subtype code) — internal classification for application types |
| `UK_TNTSHA_SKBT_CD` | Field | 受領担当者識別コード (Receiving party identification code) — identifies the party responsible for receiving/handling the application |
| `KOJI_REQ_INFO_RRK_JIKO` | Field | 工事依頼情報連絡事故 (Work request information contact incident) — flags issues related to work request communication |
| `MSKM_ROUTE_SKBT_CD` | Field | 申込経路識別コード (Application route identification code) — identifies the channel/route through which the application was submitted |
| `KEI_HUKA_CD` | Field | 契約付加コード (Contract additional/ancillary code) — codes for contract附加 (add-on) services |
| `MANSSBSYS_RNKI_YO_KIJIRAN` | Field | マンション設備システム連携用備考欄 (Mansion equipment system linkage remarks) — remarks field for apartment/mansion equipment system integration |
| `MANSION_ID` | Field | マンションID (Mansion/apartment complex ID) — identifies the residential building for apartment contracts |
| `CATID` | Field | CAT-ID — cable television / CATV system identifier |
| `MKM_UK_SBT_CD` | Field | 申込受付種別コード (Application reception subtype code) — classifies how the application was received |
| `mskmsho_ariv_ymd` | Field | 申込書到着日 (Application receipt date) — date the application form was received |
| `tel_rrk_kibod_sbt_cd` | Field | 電話登録希望種別コード (Telephone registration desired subtype code) |
| `tel_rrk_kibo_time_cd` | Field | 電話登録希望時刻コード (Telephone registration desired time code) |
| `takcho_kibod_sbt_cd` | Field | 書類配達希望種別コード (Document delivery desired subtype code) |
| `takcho_kibo_time_cd` | Field | 書類配達希望時刻コード (Document delivery desired time code) |
| `kari_mskm_flg` | Field | 仮申込フラグ (Temporary application flag) — indicates if this is a provisional application |
| `use_svc_keizk_sbt_cd` | Field | 利用サービス継続種別コード (Service continuation subtype code) — indicates whether the customer will continue the service |
| `rrk_jiko` | Field | 登録事故 (Registration incident) — flags any issues or incidents during registration |
| `mskm_uk_tnt_user_id` | Field | 申込UK顧客ID (Application unique customer ID) |
| `shosa_bf_rrk_jiko` | Field | 調査前登録事故 (Pre-survey registration incident) — incident flagged before survey |
| `op_svc_hktgi_um` | Field | オープンサービス連携未 (Open service linkage unconfirmed/unavailable) |
| `dsl_aticle_sohu_kibo_um` | Field | DSL契約解約希望未 (DSL contract cancellation desired unconfirmed) |
| `newconst_bukken_cd` | Field | 新規契約物件コード (New contract property code) |
| `hukkat_anken_flg` | Field | 複合受付フラグ (Composite reception flag) |
| `same_equip_re_mskm_cd` | Field | 同設備再申込コード (Same equipment re-application code) |
| `hnin_cfm_aticle_sbt_cd` | Field | 契約確認契約種別コード (Contract confirmation contract subtype code) |
| `mskmsho_sbt_cd` | Field | 申込書種別コード (Application form subtype code) |
| `kcn_stb_mskm_cnt` | Field | KCN STB application count |
| `kcn_stb_kind_cd` | Field | KCN STB type code |
| `rrk_way_hoki` | Field | 登録方法方針 (Registration method policy) |
| `bmp_mskm_rrks_tln` | Field | BMP application registration phone |
| `ml_send_jgi_flg` | Field | メール送信判断フラグ (Mail send judgment flag) |
| `ml_send_jgi_rsn_memo` | Field | メール送信判断理由メモ (Mail send judgment reason memo) |
| `koji_apo_rrks_shitei_cd` | Field | 工事予約登録指定コード (Work appointment registration designation code) |
| `koji_apo_rrks_telno` | Field | 工事予約登録電話番号 (Work appointment registration phone number) |
| `takcho_kibo_apo_kigen_ymd` | Field | 書類配達希望期限日 (Document delivery desired deadline date) |
| `rrk_jiko_add_dtm` | Field | 登録事故追加日時 (Registration incident additional datetime) |
| `koji_prg_tchi_mlad` | Field | 工事連絡MLAD (Work contact MLAD) |
| `mskm_rrks_mlad` | Field | 申込登録MLAD |
| `kjsc_tch_ktai_mlad` | Field | KJSC contact mobile MLAD |
| `web_uk_no` | Field | Web unique number |
| `mskm_form_cd` | Field | 申込フォームコード (Application form code) |
| `rrks_ktai_telno` | Field | 登録携帯電話番号 (Registration mobile phone number) |
| `rrks_offc_nm` | Field | 登録Office名 (Registration office name) |
| `dt_rrks_telno` | Field | Data registration phone number |
| `new_mskm_sbt_cd` | Field | New application subtype code |
| `mskm_optnty_cd` | Field | Application option code |
| `map_temp_um` | Field | Map temporary unconfirmed |
| `kepco_custinfo_juju_doi_um` | Field | KEPCO customer information designation unconfirmed |
| `shosa_bf_rrk_jiko_yh` | Field | Pre-survey registration incident (yes/no variant) |
| `ttI_business_center_uk_no` | Field | Total business center unique number |
| `ttI_business_mskm_opt_cd` | Field | Total business application option code |
| `mskm_jssis_sbt_cd` | Field | Application JSSIS subtype code |
| `cust_yobo_jiko` | Field | Customer protection incident |
| `referer` | Field | Referrer source |
| `mskm_rrks_telno` | Field | Application registration phone number |
| `KCBP` | Abbreviation | Common business processing layer — the `JCCBPCommon` class provides shared utility methods like `getOpeDateTimeStamp` |
| `getOpeDateTimeStamp` | Method | Retrieves the operational date/time stamp — the system time at the point of operation, as opposed to the pure system clock time. Used to replace `getSysDateTimeStamp` in v4.10.00 |
| CAANMsg | Class | Central Application ANalysis Message — the generic message container class used throughout the system for inter-component communication |
| MsgEditer | Class | Message editor utility class — provides static methods for creating, setting, and retrieving message fields |
| `IRequestParameterReadWrite` | Interface | Request parameter interface — provides read/write access to inbound request parameters and context |
| `createParameter` | Method | Factory method in MsgEditer that creates a typed CAANMsg instance for a given CBS message class and function code |
| `WRIBSVK_OPERATE_CC_EKK0011D020` | Constant | Service interface identifier = "EKK0011D020" — used by `invokeSvcIFSingle` to route to the correct service component |
| `createAndFixMskmMskmDtl` | Method | Caller of this method — chains approval registration with detail verification and post-processing |
| `executeWribSvcKeiList` | Method | Higher-level CBS that iterates over contract details and calls `createAndFixMskmMskmDtl` for each |
| LOT2 | Abbreviation | LOT2 — a system migration/modification project (mentioned in 2012/09/12 comments regarding schema changes) |
| 申込内容承認登録 | Japanese | Application Content Approval Registration — the business operation performed by this method |
| 申込明細照会・後続業務依頼 | Japanese | Application Detail Inquiry and Subsequent Business Request — the operation performed by the calling method `updateMskmDtlWithShosaKzkwrkReq` |