# Business Logic — JBSbatTUBmpKojiFinTrn.insertBmpKoji() [116 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.business.service.JBSbatTUBmpKojiFinTrn` |
| Layer | Service (batch processing service) |
| Module | `service` (Package: `eo.business.service`) |

## 1. Role

### JBSbatTUBmpKojiFinTrn.insertBmpKoji()

This method performs **contract temporary gold (一時金) registration processing** as part of the batch-based telephone number assignment fee registration workflow (電話番号割当手数料登録処理). It acts as the core transactional bridge between a pre-populated temporary gold configuration table (`KK_T_ICJKN_SETTE`) and the contract temporary gold target table (`KK_T_KICJKN`), effectively materializing provisional gold configuration records into permanent contract gold records.

The method follows a **query-then-materialize** design pattern: it first selects all pending temporary gold configuration entries matching a specific telephone number assignment service code (`TEL_WARIATE_CMS = "010450026010"`), then iterates over each row to derive and write a corresponding contract temporary gold record. During materialization, it resolves business rules for temporary gold amount calculation (full / half / specified) and effective month application (this month / next month), producing the final amount, effective month, and confirmation status for each row.

Its role in the larger system is as a **batch materialization step** — the temporary gold configuration data is pre-loaded into the staging table (`KK_T_ICJKN_SETTE`) by earlier processing steps in the batch pipeline (likely the BmpKoji processing chain), and this method commits those entries into the production-level contract gold table (`KK_T_KICJKN`), then marks the staging records as completed. It is a private (non-shared) method, called exclusively by `execute()` within the same class, meaning it is a terminal processing step in the batch job flow.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["insertBmpKoji inMap"])

    START --> SET_WHERE["Set where parameters for temp gold config selection"]

    SET_WHERE --> SELECT001["executeKK_T_ICJKN_SETTE_TU_SELECT_001 whereParams"]

    SELECT001 --> FOR_LOOP["for: db_KK_T_ICJKN_SETTE.selectNext"]

    FOR_LOOP --> PROCESS["Contract temp gold registration processing"]

    PROCESS --> GEN_SEQ["Generate contract temp gold no"]

    GEN_SEQ --> BUILD_PARAMS["Build 31-element setParamKichkn array"]

    BUILD_PARAMS --> CHECK_ICJKN_CD["ICJKN_SETTE_CD check"]

    CHECK_ICJKN_CD -->|ICJKN_SETTE_CD_YK = 02 Full| USE_TMP_PAY_AMT["icjknAmnt = tmpPayPrcAmnt"]

    CHECK_ICJKN_CD -->|ICJKN_SETTE_CD_HALF = 03 Half| DIVIDE_BY_TWO["icjknAmnt = tmpPayPrcAmnt / 2 floor"]

    CHECK_ICJKN_CD -->|ICJKN_SETTE_CD_STI = 04 Specified| USE_SPECIFIED_AMT["icjknAmnt = ICJKN_SHITEI_AMNT"]

    CHECK_ICJKN_CD -->|Default| SET_ZERO["icjknAmnt = 0"]

    USE_TMP_PAY_AMT --> CHECK_HASSEI["HASSEI_CD check"]
    DIVIDE_BY_TWO --> CHECK_HASSEI
    USE_SPECIFIED_AMT --> CHECK_HASSEI
    SET_ZERO --> CHECK_HASSEI

    CHECK_HASSEI -->|HASSEI_CD_TOGTU = 01 This Month| THIS_MON["icjknSetteAplyMon = opeDate year/month"]

    CHECK_HASSEI -->|HASSEI_CD_YOKUGTU = 02 Next Month| NEXT_MON["icjknSetteAplyMon = addMonth opeDate 1 year/month"]

    THIS_MON --> BUILD_APPLY_STAT["Build applyStatCd"]
    NEXT_MON --> BUILD_APPLY_STAT

    BUILD_APPLY_STAT --> CHECK_APPLY_MON["isNotNull icjknSetteAplyMon"]

    CHECK_APPLY_MON -->|true| SET_KAKUTEI["aplyStatCd = 2 Confirmed"]

    CHECK_APPLY_MON -->|false| SET_MIKAKUTEI["aplyStatCd = 1 Unconfirmed"]

    SET_KAKUTEI --> INSERT_PK["executeKK_T_KICJKN_PKINSERT setParamKichkn"]
    SET_MIKAKUTEI --> INSERT_PK

    INSERT_PK --> UPDATE_ISETTE["executeKK_T_ICJKN_SETTE_PKUPDATE set to FIN status"]

    UPDATE_ISETTE --> SELECT_NEXT["selectNext"]

    SELECT_NEXT -->|has rows| PROCESS
    SELECT_NEXT -->|null| END_NODE(["Return"])
```

**Processing Summary:**

1. **Query Phase**: Constructs a 3-element WHERE parameter array — service detail work number (from input), telephone number assignment service code (`TEL_WARIATE_CMS = "010450026010"`), and operation date — then calls `executeKK_T_ICJKN_SETTE_TU_SELECT_001` to populate the staging cursor on `db_KK_T_ICJKN_SETTE`.

2. **Materialization Loop**: Iterates over every row returned by `db_KK_T_ICJKN_SETTE.selectNext()`. For each row:
   - Generates a new 12-digit contract temporary gold number via sequence lookup (`SEQ_KICJKN_NO`).
   - Transfers 22 fields from the staging record (service contract numbers, work detail numbers, operator/sub-option numbers, etc.).
   - **Branch 1 — Temporary Gold Amount (`ICJKN_SETTE_CD`)**: Calculates the final temporary gold amount based on the setting code:
     - `02` (Full / 有): Uses the temporary payment price amount directly.
     - `03` (Half / 半額): Divides the temporary payment price amount by 2, rounding down.
     - `04` (Specified / 指定額): Uses the explicitly specified amount.
     - Default: Defaults to "0".
   - **Branch 2 — Effective Month (`HASSEI_CD`)**: Determines the application month for the temporary gold:
     - `01` (This Month / 当月): Uses the YYYYMM portion of the operation date.
     - `02` (Next Month / 翌月): Uses the YYYYMM portion of (operation date + 1 month).
     - Default: Remains null (no effective month set).
   - **Branch 3 — Application Status**: If the effective month was set, status is `2` (Confirmed / 確定); otherwise, status is `1` (Unconfirmed / 未確定).
   - Remaining fields (indices 14–17) are set to null (cancellation linkage status, occurrence reason work item number, man-shon temporary gold occurrence source contract ID, man-shon temporary gold occurrence opportunity code).

3. **Commit Phase**: After all rows are processed, returns (void). The staging records have been marked as completed (`FIN_STAT_CD_FIN = "1"`).

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `inMap` | `JBSbatServiceInterfaceMap` | Input message (入力電文) carrying the service detail work number (`SVC_KEI_UCWK_NO`). This identifies the specific service contract line item for which temporary gold configuration records should be materialized. It is the sole external input; all other data comes from the staging table. |
| — | `super.commonItem` | `JBSbatCommonDBInterface` | Inherited instance field used for operation date retrieval (`getOpeDate`) and sequence number generation (`getFormatedNextSeq`). Represents the batch job's operational context including the current operation date. |
| — | `commonItem` | `JBSbatCommonDBInterface` | Instance field (not inherited, but accessible) used for sequence number generation. Holds business parameters including the operation date. |
| — | `super.opeDate` | `String` | Inherited instance field containing the formatted operation date (YYYYMMDD...). Used for substring extraction to derive YYYYMM for effective month calculations. |
| — | `super.opeDate` | `String` | Also accessed via `super.commonItem.getOpeDate()`. Serves as the reference date for all temporal calculations (effective month derivation, sequence generation). |
| — | `db_KK_T_ICJKN_SETTE` | `JBSbatCommonDBInterface` (or DB mapper) | Instance-level data access object backed by the staging table `KK_T_ICJKN_SETTE`. Used to iterate over matching temporary gold configuration records. |

## 4. CRUD Operations / Called Services

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `executeKK_T_ICJKN_SETTE_TU_SELECT_001(whereParams)` | KICJKN | KK_T_ICJKN_SETTE | Selects pending temporary gold configuration records matching the service detail work number, telephone number assignment code, and operation date range from the staging table. |
| R | `db_KK_T.ICJKN_SETTE.selectNext()` | KICJKN | KK_T_ICJKN_SETTE | Iterates over the result cursor from the previous SELECT, row by row, for materialization. |
| C | `JPCBatCommon.getFormatedNextSeq(commonItem, SEQ_KICJKN_NO, "", 12)` | JPCBat | SEQ_KICJKN_NO | Generates a 12-digit formatted contract temporary gold number (契約一時金番号) from the sequence pool. |
| C | `executeKK_T_KICJKN_PKINSERT(setParamKichkn)` | KICJKN | KK_T_KICJKN | Inserts a new contract temporary gold record with all 31 derived fields (contract gold number, payment price number, setting number, service contract numbers, calculated amount, effective month, application status). |
| U | `executeKK_T_ICJKN_SETTE_PKUPDATE(setParamIchjknSette, whereParamIchjknSette)` | KICJKN | KK_T_ICJKN_SETTE | Updates the staging record's completion status to `"1"` (FIN / 完了) using the temporary gold setting number as the key. |
| R | `JBSbatKK_T_ICJKN_SETTE.getString(...)` | KICJKN | KK_T_ICJKN_SETTE | Reads staging record fields: TMP_PAY_PRC_NO, ICJKN_SETTE_NO, SVC_KEI_NO, SVC_KEI_UCWK_NO, KKTK_SVC_KEI_NO, OP_SVC_KEI_NO, SBOP_SVC_KEI_NO, SEIOPSVC_KEI_NO, WRIB_SVC_KEI_NO, ICJKN_SETTE_CD, ICJKN_SHITEI_AMNT. |
| R | `JBSbatKK_M_TMP_PAY_PRC.getBigDecimal(TMP_PAY_PRC_AMNT)` | KICJKN | KK_M_TMP_PAY_PRC (ref) | Reads the temporary payment price amount for full/half calculation. |
| R | `JBSbatKK_M_TMP_PAY_PRC.getString(HASSEI_CD)` | KICJKN | KK_M_TMP_PAY_PRC (ref) | Reads the occurrence code (発生コード) to determine effective month: "01" = this month, "02" = next month. |
| R | `JBSbatServiceInterfaceMap.getString(SVC_KEI_UCWK_NO)` | JBSbat | — | Reads the service detail work number from the input message map. |
| R | `JBSbatCommonDBInterface.getOpeDate()` | JBSbat | — | Reads the operation date from the common item for use as the reference date. |
| C | `JPCBatCommon.addMonth(super.opeDate, 1)` | JPCBat | — | Adds 1 month to the operation date for next-month effective date derivation. |
| R | `JPCBatCommon.isNotNull(icjknSetteAplyMon)` | JPCBat | — | Null-check utility to determine whether an effective month was set. |
| - | `String.substring(0, 6)` | — | — | Extracts the YYYYMM portion from the date string. |

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Batch: `JBSbatTUBmpKojiFinTrn.execute()` | `execute()` -> `insertBmpKoji(inMap)` | `executeKK_T_KICJKN_PKINSERT [C] KK_T_KICJKN`, `executeKK_T_ICJKN_SETTE_PKUPDATE [U] KK_T_ICJKN_SETTE`, `executeKK_T_ICJKN_SETTE_TU_SELECT_001 [R] KK_T_ICJKN_SETTE` |

**Terminal Operations from This Method:**
- `executeKK_T_ICJKN_SETTE_PKUPDATE` [U] `KK_T_ICJKN_SETTE` — Marks staging record as completed
- `executeKK_T_KICJKN_PKINSERT` [C] `KK_T_KICJKN` — Inserts contract temporary gold record
- `executeKK_T_ICJKN_SETTE_TU_SELECT_001` [R] `KK_T_ICJKN_SETTE` — Queries pending staging records

## 6. Per-Branch Detail Blocks

**Block 1** — [SET] Setup WHERE Parameters (L168–L175)

> Initializes the 3-element WHERE parameter array for selecting temporary gold configuration records from the staging table.

| # | Type | Code |
|---|------|------|
| 1 | SET | `whereParamIchjknSetteSel = new Object[3]` |
| 2 | SET | `whereParamIchjknSetteSel[0] = inMap.getString(JBSbatTU_T_BMP_KOJI.SVC_KEI_UCWK_NO)` — Service detail work number (サービス契約内容番号) |
| 3 | SET | `whereParamIchjknSetteSel[1] = JTUStrConst.TEL_WARIATE_CMS` — [-> TEL_WARIATE_CMS="010450026010"] Temporary payment price code for telephone number assignment (一時支払料金番号) |
| 4 | SET | `whereParamIchjknSetteSel[2] = super.commonItem.getOpeDate()` — Operation date (運用日) for temporal range |

**Block 2** — [CALL] Execute Staging Table SELECT (L176)

| # | Type | Code |
|---|------|------|
| 1 | CALL | `executeKK_T_ICJKN_SETTE_TU_SELECT_001(whereParamIchjknSetteSel)` — Executes the staging table cursor population with the WHERE parameters |

**Block 3** — [FOR LOOP] Iterate Over Staging Records (L178–L279)

> Outer processing loop. For each pending temporary gold configuration record, derives and materializes a contract temporary gold entry.

| # | Type | Code |
|---|------|------|
| 1 | SET | `mapIchjknSette = new JBSbatCommonDBInterface()` |
| 2 | SET | `for(mapIchjknSette = db_KK_T_ICJKN_SETTE.selectNext(); null != mapIchjknSette; mapIchjknSette = db_KK_T_ICJKN_SETTE.selectNext())` |

**Block 3.1** — [SET] Build 31-Element Contract Gold Parameter Array (L182–L211)

> Initializes the insert parameter array for the contract temporary gold record and fills the first 12 fields.

| # | Type | Code |
|---|------|------|
| 1 | SET | `setParamKichkn = new Object[31]` |
| 2 | SET | `setParamKichkn[0] = JPCBatCommon.getFormatedNextSeq(commonItem, JTUStrConst.SEQ_KICJKN_NO, "", 12)` — [-> SEQ_KICJKN_NO="SEQ_KICJKN_NO"] Contract temporary gold number (契約一時金番号), 12-digit sequence |
| 3 | SET | `setParamKichkn[1] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.TMP_PAY_PRC_NO)` — Temporary payment price number (一時支払料金番号) |
| 4 | SET | `setParamKichkn[2] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.ICJKN_SETTE_NO)` — Temporary gold setting number (一時金設定番号) |
| 5 | SET | `setParamKichkn[3] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.SVC_KEI_NO)` — Service contract number (サービス契約番号) |
| 6 | SET | `setParamKichkn[4] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.SVC_KEI_UCWK_NO)` — Service detail work number (サービス契約内容番号) |
| 7 | SET | `setParamKichkn[5] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.KKTK_SVC_KEI_NO)` — Machine provider service contract number (機器提供サービス契約番号) |
| 8 | SET | `setParamKichkn[6] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.OP_SVC_KEI_NO)` — Option service contract number (オプションサービス契約番号) |
| 9 | SET | `setParamKichkn[7] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.SBOP_SVC_KEI_NO)` — Sub-option service contract number (サブオプションサービス契約番号) |
| 10 | SET | `setParamKichkn[8] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.SEIOPSVC_KEI_NO)` — Billing option service contract number (請求オプションサービス契約番号) |
| 11 | SET | `setParamKichkn[9] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.WRIB_SVC_KEI_NO)` — Discount service contract number (割引サービス契約番号) |
| 12 | SET | `setParamKichkn[10] = null` — Order contract number (注文契約番号) |
| 13 | SET | `icjknAmnt = "0"` — Temporary gold amount default (一時金金額) |

**Block 3.2** — [IF-ELSEIF-ELSE-IF] Temporary Gold Amount Calculation (ICJKN_SETTE_CD) (L212–L227)

> Determines the temporary gold amount based on the temporary gold setting code (一時金設定コード).

| # | Type | Code |
|---|------|------|
| 1 | COND | `JTUStrConst.ICJKN_SETTE_CD_YK.equals(mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.ICJKN_SETTE_CD))` [-> ICJKN_SETTE_CD_YK="02" (Temporary Gold Set - Full / 一時金設定有)] |
| 2 | SET | `icjknAmnt = mapIchjknSette.getString(JBSbatKK_M_TMP_PAY_PRC.TMP_PAY_PRC_AMNT)` — Use full temporary payment price amount |
| 3 | COND | `else if JTUStrConst.ICJKN_SETTE_CD_HALF.equals(...)` [-> ICJKN_SETTE_CD_HALF="03" (Temporary Gold Set - Half / 半額)] |
| 4 | SET | `BigDecimal tmpPayPrcAmnt = mapIchjknSette.getBigDecimal(JBSbatKK_M_TMP_PAY_PRC.TMP_PAY_PRC_AMNT).divide(new BigDecimal("2"))` — Divide by 2 |
| 5 | SET | `icjknAmnt = tmpPayPrcAmnt.setScale(0, RoundingMode.FLOOR).toString()` — Round down to integer |
| 6 | COND | `else if JTUStrConst.ICJKN_SETTE_CD_STI.equals(...)` [-> ICJKN_SETTE_CD_STI="04" (Temporary Gold Set - Specified Amount / 指定額)] |
| 7 | SET | `icjknAmnt = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.ICJKN_SHITEI_AMNT)` — Use specified amount |
| 8 | SET | `setParamKichkn[11] = icjknAmnt` — Set temporary gold amount |

**Block 3.3** — [IF-ELSEIF] Effective Month Calculation (HASSEI_CD) (L228–L238)

> Determines when the temporary gold becomes effective based on the occurrence code (発生コード).

| # | Type | Code |
|---|------|------|
| 1 | COND | `JTUStrConst.HASSEI_CD_TOGTU.equals(mapIchjknSette.getString(JBSbatKK_M_TMP_PAY_PRC.HASSEI_CD))` [-> HASSEI_CD_TOGTU="01" (This Month / 当月)] |
| 2 | SET | `icjknSetteAplyMon = super.opeDate.substring(0, 6)` — Use YYYYMM of operation date |
| 3 | COND | `else if JTUStrConst.HASSEI_CD_YOKUGTU.equals(...)` [-> HASSEI_CD_YOKUGTU="02" (Next Month / 翌月)] |
| 4 | SET | `icjknSetteAplyMon = JPCBatCommon.addMonth(super.opeDate, 1).substring(0, 6)` — Add 1 month, then extract YYYYMM |
| 5 | SET | `setParamKichkn[12] = icjknSetteAplyMon` — Set effective month |

**Block 3.4** — [IF-ELSE] Application Status Determination (L239–L256)

> Sets the confirmation status of the application based on whether the effective month was determined.

| # | Type | Code |
|---|------|------|
| 1 | COND | `JPCBatCommon.isNotNull(icjknSetteAplyMon)` |
| 2 | SET | `aplyStatCd = JTUStrConst.TEKIYO_STAT_KAKUTE_KAKUTEI` — [-> TEKIYO_STAT_KAKUTE_KAKUTEI="2" (Confirmed / 確定)] |
| 3 | SET | `aplyStatCd = JTUStrConst.TEKIYO_STAT_KAKUTE_MIKAKUTEI` — [-> TEKIYO_STAT_KAKUTE_MIKAKUTEI="1" (Unconfirmed / 未確定)] |
| 4 | SET | `setParamKichkn[13] = aplyStatCd` — Set application status code |

**Block 3.5** — [SET] Null-Fill Remaining Fields (L257–L262)

> Fills the remaining array slots (indices 14–17) with nulls. These correspond to optional fields not used in this processing step.

| # | Type | Code |
|---|------|------|
| 1 | SET | `setParamKichkn[14] = null` — Cancellation linkage status code (取消連携手続状態コード) |
| 2 | SET | `setParamKichkn[15] = null` — Occurrence reason work item number (発生原因工事案件番号) |
| 3 | SET | `setParamKichkn[16] = null` — Man-shon temporary gold occurrence source contract ID (マンション一時金発生元契約識別コード) |
| 4 | SET | `setParamKichkn[17] = null` — Man-shon temporary gold occurrence opportunity code (マンション一時金発生機会コード) |

**Block 3.6** — [CALL] Insert Contract Temporary Gold (L264)

| # | Type | Code |
|---|------|------|
| 1 | CALL | `executeKK_T_KICJKN_PKINSERT(setParamKichkn)` — Persists the contract temporary gold record to `KK_T_KICJKN` |

**Block 3.7** — [SET] Prepare Update for Staging Completion (L267–L274)

> Marks the staging record as completed (完了) after successful materialization.

| # | Type | Code |
|---|------|------|
| 1 | SET | `setParamIchjknSette = new Object[1]` |
| 2 | SET | `setParamIchjknSette[0] = JTUStrConst.FIN_STAT_CD_FIN` — [-> FIN_STAT_CD_FIN="1" (Completion / 完了)] |
| 3 | SET | `whereParamIchjknSette = new Object[1]` |
| 4 | SET | `whereParamIchjknSette[0] = mapIchjknSette.getString(JBSbatKK_T_ICJKN_SETTE.ICJKN_SETTE_NO)` — Temporary gold setting number (一時金設定番号) as update key |

**Block 3.8** — [CALL] Update Staging Record to Completed Status (L276)

| # | Type | Code |
|---|------|------|
| 1 | CALL | `executeKK_T_ICJKN_SETTE_PKUPDATE(setParamIchjknSette, whereParamIchjknSette)` — Sets FIN_STAT_CD to "1" on the staging record |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| 一時金 (Ichikinkin) | Business term | Temporary Gold — a one-time financial concession or discount applied to customer billing, typically associated with new service subscriptions or promotional campaigns |
| 一時金設定 (ICJKN_SETTE) | Field | Temporary Gold Setting — configuration record defining the parameters of a temporary gold concession, stored in the staging table `KK_T_ICJKN_SETTE` |
| 契約一時金 (KICJKN) | Field | Contract Temporary Gold — the final, materialized temporary gold record in the contract table `KK_T_KICJKN`, derived from staging records |
| 一時金設定コード (ICJKN_SETTE_CD) | Field | Temporary Gold Setting Code — classifies the type of temporary gold: "02" = Full (有), "03" = Half (半額), "04" = Specified Amount (指定額) |
| 一時支払料金額 (TMP_PAY_PRC_AMNT) | Field | Temporary Payment Price Amount — the monetary amount of the temporary payment/concession, used as the basis for full or half amount calculation |
| 一時金指定金額 (ICJKN_SHITEI_AMNT) | Field | Temporary Gold Specified Amount — the explicitly specified amount used when ICJKN_SETTE_CD is "04" (Specified) |
| 契約一時金番号 (KICJKN_NO) | Field | Contract Temporary Gold Number — the unique 12-digit identifier for a contract temporary gold record, generated from sequence `SEQ_KICJKN_NO` |
| 発生コード (HASSEI_CD) | Field | Occurrence Code — determines the effective month of the temporary gold: "01" = This Month (当月), "02" = Next Month (翌月) |
| 適用状態コード (APLY_STAT_CD) | Field | Application Status Code — indicates whether the temporary gold application is confirmed ("2" / 確定) or unconfirmed ("1" / 未確定) |
| サービス契約内容番号 (SVC_KEI_UCWK_NO) | Field | Service Detail Work Number — internal tracking ID for a service contract line item, used to identify which temporary gold configurations to materialize |
| 一時金設定番号 (ICJKN_SETTE_NO) | Field | Temporary Gold Setting Number — unique identifier for a temporary gold configuration record in the staging table |
| 完了状態コード (FIN_STAT_CD) | Field | Completion Status Code — "1" indicates the staging record has been successfully processed and materialized |
| TEL_WARIATE_CMS | Constant | Telephone Number Assignment Service Code — "010450026010", filters staging records to only those related to telephone number assignment fee processing |
| SEQ_KICJKN_NO | Constant | Database Sequence name for generating contract temporary gold numbers |
| 電話番号割当手数料登録処理 | Business process | Telephone Number Assignment Fee Registration Processing — the overarching batch workflow in which this method serves as the materialization step |
| BmpKoji (bmp_工事) | Business term | Temporary/Provisional Construction Processing — batch processing workflow for temporary construction work orders associated with telephone number assignment |
| KK_T_ICJKN_SETTE | Table | Temporary Gold Staging Table — intermediate table holding pre-validated temporary gold configuration records awaiting materialization |
| KK_T_KICJKN | Table | Contract Temporary Gold Table — production table holding finalized temporary gold records that affect customer billing |
| KK_M_TMP_PAY_PRC | Table | Temporary Payment Price Reference Table — reference table containing payment pricing amounts and occurrence codes |
