# Business Logic — JBSbatKKHnsokuCdIktTrkm.executeKK_T_MSKM_DTL_PKINSERT() [83 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.business.service.JBSbatKKHnsokuCdIktTrkm` |
| Layer | Service (Batch Service Component) |
| Module | `service` (Package: `eo.business.service`) |

## 1. Role

### JBSbatKKHnsokuCdIktTrkm.executeKK_T_MSKM_DTL_PKINSERT()

This method performs a **primary-key-based insert** of a subscription detail record (申込明細) into the `KK_T_MSKM_DTL` database table. It serves as the dedicated data-persistence layer within the K-Opticom customer core system's batch processing workflow for handling sales promotion code registrations. The method accepts a flat `Object[]` array containing 75 field values and maps each element to a named column via a `JBSbatCommonDBInterface` container, then delegates to `db_KK_T_MSKM_DTL.insertByPrimaryKeys()` to execute the SQL INSERT statement. It implements a **data-mapping delegation pattern**: no conditional branching, no business-rule evaluation, and no aggregation logic — its sole purpose is to translate an ordered parameter array into a structured database row and persist it. It is a private helper method called exclusively by `insertMskmDtl()`, which prepares two distinct subscription detail rows per invocation (one in "application received" status and a second in "screening completed / follow-up work requested" status), making this method the terminal write point for the subscription detail lifecycle.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["executeKK_T_MSKM_DTL_PKINSERT(params)"])
    START --> CREATE_MAP["Create JBSbatCommonDBInterface setMap
(empty container for DB row data)"]
    CREATE_MAP --> SET_1["Set indices 0-9
MSKM_DTL_NO through MSKM_FORM_CD"]
    SET_1 --> SET_2["Set indices 10-29
MSKM_DTL_SBT_CD through RRK_JIKO"]
    SET_2 --> SET_3["Set indices 30-49
RCNT_SHOKAI_YMD through MSKMSHO_SBT_CD"]
    SET_3 --> SET_4["Set indices 50-69
KEI_HUKA_CD through ADD_TRN_ID"]
    SET_4 --> SET_5["Set indices 70-74
UPD_UNYO_YMD through TAKINORT_KKN_KIBO_UM"]
    SET_5 --> EXEC_INSERT["db_KK_T_MSKM_DTL.insertByPrimaryKeys(setMap)
Terminal: INSERT into KK_T_MSKM_DTL"]
    EXEC_INSERT --> END_NODE(["Return / Next"])
```

**Processing steps:**

1. **Create map container** — Instantiates a `JBSbatCommonDBInterface` object named `setMap`, which functions as a key-value map for building a database row.
2. **Populate 75 fields** — Calls `setMap.setValue(columnName, setParam[index])` 75 times, mapping each array index to its corresponding database column name. The column names match the table `KK_T_MSKM_DTL` schema.
3. **Execute insert** — Calls `db_KK_T_MSKM_DTL.insertByPrimaryKeys(setMap)` which performs a primary-key-based INSERT into the `KK_T_MSKM_DTL` table using the populated row data.
4. **Return** — Method completes; no return value (`void`).

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `setParam` | `Object[]` | An ordered array of 75 field values representing a complete subscription detail (申込明細) record. Index 0 through index 74 map sequentially to database columns of `KK_T_MSKM_DTL`. Values may be `null` for fields not applicable to the current registration context. The array is built by `setMskmDtlParam()` which transforms a `HashMap<String, String>` into this positional format. |

**Instance fields read by this method:**

| Field | Type | Business Description |
|-------|------|---------------------|
| `db_KK_T_MSKM_DTL` | `JBSbatSQLAccess` | Database access handler for the `KK_T_MSKM_DTL` (subscription detail) table, initialized during the class constructor. |

## 4. CRUD Operations / Called Services

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

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| C | `db_KK_T_MSKM_DTL.insertByPrimaryKeys` | - | `KK_T_MSKM_DTL` | Calls `insertByPrimaryKeys` to insert a new subscription detail row using primary-key-based SQL INSERT |
| U | `JBSbatCommonDBInterface.setValue` | - | - | Calls `setValue` 75 times to populate column-name/value pairs on the `setMap` container |

**Notes on SC Code inference:**
- The `insertByPrimaryKeys` call goes through `db_KK_T_MSKM_DTL`, which is a `JBSbatSQLAccess` instance configured with the table name `KK_T_MSKM_DTL` (constant `D_TBL_NAME_KK_T_MSKM_DTL`). No intermediate SC wrapper is used — the SQL access layer handles the INSERT directly.

## 5. Dependency Trace

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

No screen/batch entry points found within 8 hops. Direct callers found: 1 methods.

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Batch: JBSbatKKHnsokuCdIktTrkm.insertMskmDtl | `JBSbatKKHnsokuCdIktTrkm.insertMskmDtl(svcKeiMap, mskmNo, mskmDtlNo)` -> `setMskmDtlParam(paramMap)` -> `JBSbatKKHnsokuCdIktTrkm.executeKK_T_MSKM_DTL_PKINSERT(setParam)` | `insertByPrimaryKeys [C] KK_T_MSKM_DTL` |

**Caller detail — `insertMskmDtl`:**

The `insertMskmDtl` method is the direct and exclusive caller. It builds subscription detail data in two phases:

- **Phase 1 — Application Received (申込受付済):** Creates a `paramMap` with `MSKM_DTL_STAT = "010"` (MSKM_DTL_STAT_UKETSUKEZUMI), sets the application date, service ID, and other core fields, then calls `setMskmDtlParam()` to convert it to `Object[]` and passes it to `executeKK_T_MSKM_DTL_PKINSERT()`.
- **Phase 2 — Screening Completed / Follow-up Work Requested (照査済・後続業務依頼済):** Creates a new `paramMap` with `MSKM_DTL_STAT = "100"` (MSKM_DTL_STAT_KOUGYM_IRAIZUMI), increments the generation timestamp (世代登録年月日時分秒), sets the screening timestamp via `JKKBatCommon.getOpeDateTimeStamp()`, and calls `executeKK_T_MSKM_DTL_PKINSERT()` again with the same `setMskmDtlParam()` transformation.

Thus, each invocation of `insertMskmDtl()` results in **two INSERT operations** into `KK_T_MSKM_DTL`.

## 6. Per-Branch Detail Blocks

**Block 1** — [CREATION] (L2536)

> Creates the database row container object.

| # | Type | Code |
|---|------|------|
| 1 | SET | `setMap = new JBSbatCommonDBInterface()` // Create empty map for DB row data |

**Block 2** — [EXEC: FIELD SETS 0-9] (L2537-L2546)

> Populates the first 10 fields of the subscription detail record.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `setMap.setValue("MSKM_DTL_NO", setParam[0])` // Subscription Detail Number |
| 2 | EXEC | `setMap.setValue("GENE_ADD_DTM", setParam[1])` // Generation Registration Timestamp |
| 3 | EXEC | `setMap.setValue("MSKM_DTL_STAT", setParam[2])` // Subscription Detail Status |
| 4 | EXEC | `setMap.setValue("MSKM_NO", setParam[3])` // Subscription Number |
| 5 | EXEC | `setMap.setValue("MSKMSHO_NO", setParam[4])` // Application Form Number |
| 6 | EXEC | `setMap.setValue("MSKMSHO_DTL_NO", setParam[5])` // Application Form Detail Number |
| 7 | EXEC | `setMap.setValue("MSKM_YMD", setParam[6])` // Subscription Year-Month-Day |
| 8 | EXEC | `setMap.setValue("SYSID", setParam[7])` // System ID |
| 9 | EXEC | `setMap.setValue("WEB_UK_NO", setParam[8])` // Web Receipt Number |
| 10 | EXEC | `setMap.setValue("MSKM_FORM_CD", setParam[9])` // Subscription Form Code |

**Block 3** — [EXEC: FIELD SETS 10-29] (L2547-L2566)

> Populates fields 10 through 29 covering subscription type codes, contact information, and operational timestamps.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `setMap.setValue("MSKM_DTL_SBT_CD", setParam[10])` // Subscription Detail Type Code |
| 2 | EXEC | `setMap.setValue("RRKS_KTAI_TELNO", setParam[11])` // Contact Mobile Phone Number |
| 3 | EXEC | `setMap.setValue("RRKS_OFFC_NM", setParam[12])` // Contact Employer Name |
| 4 | EXEC | `setMap.setValue("DT_RRKS_TELNO", setParam[13])` // Daytime Contact Phone Number |
| 5 | EXEC | `setMap.setValue("NEW_MSKM_SBT_CD", setParam[14])` // New Subscription Type Code |
| 6 | EXEC | `setMap.setValue("MSKM_OPTNTY_CD", setParam[15])` // Subscription Trigger Code |
| 7 | EXEC | `setMap.setValue("TAKCHO_KIBO_APO_KIGEN_YMD", setParam[16])` // Home Survey Desired Appt Deadline YMD |
| 8 | EXEC | `setMap.setValue("KOJI_APO_RRKS_SHITEI_CD", setParam[17])` // Construction Appt Contact Designation Code |
| 9 | EXEC | `setMap.setValue("KOJI_APO_RRKS_TELNO", setParam[18])` // Construction Appt Contact Phone Number |
| 10 | EXEC | `setMap.setValue("RRK_JIKO_ADD_DTM", setParam[19])` // Contact Item Registration Timestamp |
| 11 | EXEC | `setMap.setValue("MSKM_DTL_SHOSA_DTM", setParam[20])` // Subscription Detail Screening Timestamp |
| 12 | EXEC | `setMap.setValue("MSKM_DTL_SHOSA_CL_YMD", setParam[21])` // Subscription Detail Screening Cancellation YMD |
| 13 | EXEC | `setMap.setValue("KZKWRK_REQYMD", setParam[22])` // Follow-up Work Request YMD |
| 14 | EXEC | `setMap.setValue("MSKM_DTL_CANCEL_YMD", setParam[23])` // Subscription Detail Cancellation YMD |
| 15 | EXEC | `setMap.setValue("MSKM_DTL_CANCEL_RSN_CD", setParam[24])` // Subscription Detail Cancellation Reason Code |
| 16 | EXEC | `setMap.setValue("MSKM_DTL_CANCEL_RSN_MEMO", setParam[25])` // Subscription Detail Cancellation Reason Memo |
| 17 | EXEC | `setMap.setValue("MSKM_DTL_CANCEL_CL_YMD", setParam[26])` // Subscription Detail Cancellation Cancellation YMD |
| 18 | EXEC | `setMap.setValue("MSKM_RRKS_MLAD", setParam[27])` // Subscription Contact Email Address |
| 19 | EXEC | `setMap.setValue("KOJI_PRG_TCHI_MLAD", setParam[28])` // Construction Progress Notification Email Address |
| 20 | EXEC | `setMap.setValue("RRK_JIKO", setParam[29])` // Contact Notes |

**Block 4** — [EXEC: FIELD SETS 30-49] (L2567-L2586)

> Populates fields 30 through 49 covering inquiry counters, notification email addresses, optional services, and contract additions.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `setMap.setValue("RCNT_SHOKAI_YMD", setParam[30])` // Latest Inquiry YMD |
| 2 | EXEC | `setMap.setValue("WEB_SHOKAI_CNT", setParam[31])` // Web Inquiry Count |
| 3 | EXEC | `setMap.setValue("PC_SHOKAI_CNT", setParam[32])` // PC Inquiry Count |
| 4 | EXEC | `setMap.setValue("KTAI_SHOKAI_CNT", setParam[33])` // Mobile Inquiry Count |
| 5 | EXEC | `setMap.setValue("KJSC_TCH_KTAI_MLAD", setParam[34])` // Progress Notification Mobile Email |
| 6 | EXEC | `setMap.setValue("KJSC_TCH_PC_MLAD_CHG_YMD", setParam[35])` // PC Email Change YMD |
| 7 | EXEC | `setMap.setValue("KJSC_TCH_KTAI_MLAD_CHG_YMD", setParam[36])` // Mobile Email Change YMD |
| 8 | EXEC | `setMap.setValue("PRG_ML_LAST_SEND_DTM", setParam[37])` // Progress Email Last Send DTM |
| 9 | EXEC | `setMap.setValue("ML_SEND_JGI_FLG", setParam[38])` // Email Send Exclusion Flag |
| 10 | EXEC | `setMap.setValue("ML_SEND_JGI_RSN_MEMO", setParam[39])` // Email Send Exclusion Reason Memo |
| 11 | EXEC | `setMap.setValue("BMP_MSKM_RRKS_TLN", setParam[40])` // Banner Post Subscription Contact Phone |
| 12 | EXEC | `setMap.setValue("OP_SVC_HKTGI_UM", setParam[41])` // Optional Service Continuation Presence |
| 13 | EXEC | `setMap.setValue("DSL_ATICLE_SOHU_KIBO_UM", setParam[42])` // Contract Document Mailing Desired |
| 14 | EXEC | `setMap.setValue("RRK_WAY_HOKI", setParam[43])` // Contact Method Supplementary Notes |
| 15 | EXEC | `setMap.setValue("NEWCONST_BUKKEN_CD", setParam[44])` // New Construction Property Code |
| 16 | EXEC | `setMap.setValue("HUKKAT_ANKEN_FLG", setParam[45])` // Reactivation Case Flag |
| 17 | EXEC | `setMap.setValue("SAME_EQUIP_RE_MSKM_CD", setParam[46])` // Same Equipment Re-Subscription Code |
| 18 | EXEC | `setMap.setValue("HNIN_CFM_ATICLE_SBT_CD", setParam[47])` // ID Document Type Code |
| 19 | EXEC | `setMap.setValue("HNIN_CFM_ATICLE_NM", setParam[48])` // ID Document Name |
| 20 | EXEC | `setMap.setValue("MSKMSHO_SBT_CD", setParam[49])` // Application Form Type Code |

**Block 5** — [EXEC: FIELD SETS 50-74] (L2587-L2610)

> Populates fields 50 through 74 covering map attachments, set-top box info, apartment integration, audit columns, and administrative flags.

| # | Type | Code |
|---|------|------|
| 1 | EXEC | `setMap.setValue("MAP_TEMP_UM", setParam[50])` // Map Attachment Presence |
| 2 | EXEC | `setMap.setValue("KCN_STB_MSKM_CNT", setParam[51])` // KCN STB Subscription Count |
| 3 | EXEC | `setMap.setValue("KCN_STB_KIND_CD", setParam[52])` // KCN STB Kind Code |
| 4 | EXEC | `setMap.setValue("MANSSBSYS_RNKI_YO_KIJIRAN", setParam[53])` // Apartment System Integration Remarks |
| 5 | EXEC | `setMap.setValue("MANSION_ID", setParam[54])` // Mansion ID |
| 6 | EXEC | `setMap.setValue("CATID", setParam[55])` // CAT-ID |
| 7 | EXEC | `setMap.setValue("MKM_UK_SBT_CD", setParam[56])` // Subscription Receipt Type Code |
| 8 | EXEC | `setMap.setValue("MSKMSHO_TRAT_IF_TNTSHA_NM", setParam[57])` // Application Form Handler Name |
| 9 | EXEC | `setMap.setValue("MSKMSHO_TRAT_IF_TELNO", setParam[58])` // Application Form Handler Phone |
| 10 | EXEC | `setMap.setValue("WRIB_AUTO_APLY_TG_GAI_FLG", setParam[59])` // Discount Auto-Apply Exclusion Flag [-> `TG_GAI_FLG_TG = "0"`] |
| 11 | EXEC | `setMap.setValue("ADD_DTM", setParam[61])` // Registration Timestamp |
| 12 | EXEC | `setMap.setValue("ADD_OPEACNT", setParam[62])` // Registration Operator Account |
| 13 | EXEC | `setMap.setValue("UPD_DTM", setParam[63])` // Update Timestamp |
| 14 | EXEC | `setMap.setValue("UPD_OPEACNT", setParam[64])` // Update Operator Account |
| 15 | EXEC | `setMap.setValue("DEL_DTM", setParam[65])` // Deletion Timestamp |
| 16 | EXEC | `setMap.setValue("DEL_OPEACNT", setParam[66])` // Deletion Operator Account |
| 17 | EXEC | `setMap.setValue("MK_FLG", setParam[67])` // Inactive Flag [-> `S_MK_FLG = "0"`] |
| 18 | EXEC | `setMap.setValue("ADD_UNYO_YMD", setParam[68])` // Registration Operation YMD |
| 19 | EXEC | `setMap.setValue("ADD_TRN_ID", setParam[69])` // Registration Process ID |
| 20 | EXEC | `setMap.setValue("UPD_UNYO_YMD", setParam[70])` // Update Operation YMD |
| 21 | EXEC | `setMap.setValue("UPD_TRN_ID", setParam[71])` // Update Process ID |
| 22 | EXEC | `setMap.setValue("DEL_UNYO_YMD", setParam[72])` // Deletion Operation YMD |
| 23 | EXEC | `setMap.setValue("DEL_TRN_ID", setParam[73])` // Deletion Process ID |
| 24 | EXEC | `setMap.setValue("TAKINORT_KKN_KIBO_UM", setParam[74])` // Multifunction Router Exchange Desired |

**Block 3** — [EXEC] (L2614)

> Executes the primary-key-based database insert for the fully populated subscription detail row.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `db_KK_T_MSKM_DTL.insertByPrimaryKeys(setMap)` // Insert row into KK_T_MSKM_DTL table |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `KK_T_MSKM_DTL` | DB Table | Subscription Detail Table — core table storing individual subscription line-item records |
| `MSKM_DTL_NO` | Field | Subscription Detail Number — unique sequence number identifying a subscription detail record |
| `GENE_ADD_DTM` | Field | Generation Registration Timestamp — monotonic counter used as a version/revision timestamp for optimistic concurrency control |
| `MSKM_DTL_STAT` | Field | Subscription Detail Status — indicates current lifecycle stage of the detail record. Values: `"010"` = Application Received (申込受付済), `"020"` = Screening Completed (照査済), `"100"` = Follow-up Work Requested (後続業務依頼済) |
| `MSKM_NO` | Field | Subscription Number — parent FK linking this detail to its subscription header |
| `MSKM_YMD` | Field | Subscription Year-Month-Day — date of the subscription |
| `MSKM_FORM_CD` | Field | Subscription Form Code — classifies the subscription channel/form type |
| `MSKM_DTL_SBT_CD` | Field | Subscription Detail Type Code — classifies the type of subscription detail |
| `NEW_MSKM_SBT_CD` | Field | New Subscription Type Code — identifies the type of new subscription being registered |
| `MSKM_OPTNTY_CD` | Field | Subscription Trigger Code — identifies how the subscription was initiated (e.g., web, phone) |
| `SYSID` | Field | System ID — identifier of the originating system |
| `WEB_UK_NO` | Field | Web Receipt Number — unique identifier for web-based subscriptions |
| `RRKS_KTAI_TELNO` | Field | Contact Mobile Phone Number |
| `RRKS_OFFC_NM` | Field | Contact Employer Name |
| `DT_RRKS_TELNO` | Field | Daytime Contact Phone Number |
| `RRK_JIKO` | Field | Contact Notes — free-text notes from the contact process |
| `RRK_JIKO_ADD_DTM` | Field | Contact Item Registration Timestamp |
| `MSKM_DTL_SHOSA_DTM` | Field | Subscription Detail Screening Timestamp — when the detail record was screened/verified |
| `MSKM_DTL_SHOSA_CL_YMD` | Field | Subscription Detail Screening Cancellation YMD |
| `KZKWRK_REQYMD` | Field | Follow-up Work Request YMD — date when follow-up business tasks are requested |
| `MSKM_DTL_CANCEL_YMD` | Field | Subscription Detail Cancellation YMD |
| `MSKM_DTL_CANCEL_RSN_CD` | Field | Subscription Detail Cancellation Reason Code |
| `MSKM_DTL_CANCEL_RSN_MEMO` | Field | Subscription Detail Cancellation Reason Memo |
| `MSKM_DTL_CANCEL_CL_YMD` | Field | Subscription Detail Cancellation Cancellation YMD |
| `MSKM_RRKS_MLAD` | Field | Subscription Contact Email Address |
| `KOJI_PRG_TCHI_MLAD` | Field | Construction Progress Notification Email Address |
| `RCNT_SHOKAI_YMD` | Field | Latest Inquiry YMD — most recent date the record was viewed |
| `WEB_SHOKAI_CNT` | Field | Web Inquiry Count — number of times viewed via web |
| `PC_SHOKAI_CNT` | Field | PC Inquiry Count — number of times viewed via PC |
| `KTAI_SHOKAI_CNT` | Field | Mobile Inquiry Count — number of times viewed via mobile |
| `KJSC_TCH_KTAI_MLAD` | Field | Construction Progress Notification Mobile Email |
| `KJSC_TCH_PC_MLAD_CHG_YMD` | Field | PC Notification Email Change YMD |
| `KJSC_TCH_KTAI_MLAD_CHG_YMD` | Field | Mobile Notification Email Change YMD |
| `PRG_ML_LAST_SEND_DTM` | Field | Progress Email Last Send Timestamp |
| `ML_SEND_JGI_FLG` | Field | Email Send Exclusion Flag — when set, prevents email notifications |
| `ML_SEND_JGI_RSN_MEMO` | Field | Email Send Exclusion Reason Memo |
| `BMP_MSKM_RRKS_TLN` | Field | Banner Post Subscription Contact Phone Number |
| `OP_SVC_HKTGI_UM` | Field | Optional Service Continuation Presence — whether optional services are carried over (`"0"` = No, via `CD_DIV_UM_NASHI`) |
| `DSL_ATICLE_SOHU_KIBO_UM` | Field | Contract Document Mailing Desired — whether the customer wants contract documents mailed |
| `RRK_WAY_HOKI` | Field | Contact Method Supplementary Notes |
| `NEWCONST_BUKKEN_CD` | Field | New Construction Property Code |
| `HUKKAT_ANKEN_FLG` | Field | Reactivation Case Flag — indicates if this is a reactivated case |
| `SAME_EQUIP_RE_MSKM_CD` | Field | Same Equipment Re-Subscription Code |
| `HNIN_CFM_ATICLE_SBT_CD` | Field | ID Document Type Code |
| `HNIN_CFM_ATICLE_NM` | Field | ID Document Name |
| `MSKMSHO_SBT_CD` | Field | Application Form Type Code |
| `KEI_HUKA_CD` | Field | Contract Addition Code — additional contract codes attached |
| `MAP_TEMP_UM` | Field | Map Attachment Presence — whether a map is attached |
| `KCN_STB_MSKM_CNT` | Field | KCN STB Subscription Count |
| `KCN_STB_KIND_CD` | Field | KCN STB Kind Code |
| `MANSSBSYS_RNKI_YO_KIJIRAN` | Field | Apartment System Integration Remarks column |
| `MANSION_ID` | Field | Mansion ID — identifier for apartment/mansion-linked subscriptions |
| `CATID` | Field | CAT-ID — category identifier |
| `MKM_UK_SBT_CD` | Field | Subscription Receipt Type Code |
| `MSKMSHO_TRAT_IF_TNTSHA_NM` | Field | Application Form Handler Name |
| `MSKMSHO_TRAT_IF_TELNO` | Field | Application Form Handler Phone Number |
| `WRIB_AUTO_APLY_TG_GAI_FLG` | Field | Discount Auto-Apply Exclusion Flag — when set, excludes this record from automatic discount application (`"0"` = target/excluded, via `TG_GAI_FLG_TG`) |
| `ADD_DTM` | Field | Registration Timestamp |
| `ADD_OPEACNT` | Field | Registration Operator Account |
| `UPD_DTM` | Field | Update Timestamp |
| `UPD_OPEACNT` | Field | Update Operator Account |
| `DEL_DTM` | Field | Deletion Timestamp |
| `DEL_OPEACNT` | Field | Deletion Operator Account |
| `MK_FLG` | Field | Inactive Flag — soft-delete indicator (`"0"` = active, via `S_MK_FLG`) |
| `ADD_UNYO_YMD` | Field | Registration Operation YMD |
| `ADD_TRN_ID` | Field | Registration Process ID |
| `UPD_UNYO_YMD` | Field | Update Operation YMD |
| `UPD_TRN_ID` | Field | Update Process ID |
| `DEL_UNYO_YMD` | Field | Deletion Operation YMD |
| `DEL_TRN_ID` | Field | Deletion Process ID |
| `TAKINORT_KKN_KIBO_UM` | Field | Multifunction Router Exchange Desired — whether customer requests router replacement |
| `KK_T_MSKM_DTL` | DB Entity | Subscription Detail table — stores individual line items for customer subscriptions |
| `insertByPrimaryKeys` | Method | Inserts a record using primary-key-based SQL generation |
| `JBSbatCommonDBInterface` | Class | Key-value map container for building database row data |
| `JBSbatSQLAccess` | Class | Database access abstraction layer for executing SQL operations |
| `MSKM_DTL_STAT_UKETSUKEZUMI` | Constant | Status code `"010"` — Application Received (申込受付済) |
| `MSKM_DTL_STAT_KOUGYM_IRAIZUMI` | Constant | Status code `"100"` — Follow-up Work Requested (後続業務依頼済) |
| `CD_DIV_UM_NASHI` | Constant | String `"0"` — No / Absent, used for optional service continuation flag |
| `TG_GAI_FLG_TG` | Constant | String `"0"` — Target/Excluded, used for discount auto-apply exclusion flag |
| `S_MK_FLG` | Constant | String `"0"` — Active (valid), used for inactive/marking flag |
| `JCCBatCommon` | Class | Common batch utility providing system timestamp generation (`getSysDateTimeStamp`) |
| `JKKBatCommon` | Class | Batch common utility providing operation timestamp generation (`getOpeDateTimeStamp`) |
| K-Opticom | Business | Japanese telecommunications provider — the domain for this customer core system |
| 申込明細 (Shinmon Meisai) | Domain | Subscription Detail — individual line-item records within a customer subscription contract |
| 世代 (Sedai) | Domain | Generation — a version/revision sequence counter used for optimistic concurrency |
