# (DD22) Business Logic — JFUSvcOrderAddCC.setInMapSvcOrder() [111 LOC]

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

## 1. Role

### JFUSvcOrderAddCC.setInMapSvcOrder()

This method serves as the **upper-mapping handler for Service Order receipt processing** (サービスオーダ受付の上りマッピング処理). It constructs a `HashMap` (`inMap`) that acts as the message payload for downstream service component execution — specifically for the ESC0041D010CBS Service Order Receipt CBS (services including modification (変更), expansion (容量変更), cancellation (解約), and deletion (消去)).

The method handles **multiple request types** distinguished by the `yokyuSbtCd` (request type code) parameter:
- **New registration (`"02"`)** — Full new account provisioning with post-transform email fields, mailbox capacity, and all mail-specific settings (email alias inheritance, virus check, various settings inheritance, mail forwarding).
- **Modification (`"04"`)** — Service order receipt for change operations, primarily updating mailbox capacity with pre-change context preserved.
- **Cancellation (`"03"`)** and **Deletion (`"08"`)** — These pass through the same mapping but carry their respective request type codes for downstream CBS differentiation.

The method implements a **data assembly/builder pattern**: it gathers input parameters, applies business-specific transformations (e.g., converting `@` to `%` in email addresses for POP ID encoding), and populates a key-value map with service order header fields. It does not invoke any SC (service component) methods itself; instead, it delegates to the caller who subsequently calls `executeSC()`. Its role in the larger system is as a shared mapping utility within the `JFUSvcOrderAddCC` common component, invoked from multiple action handlers within the same class to prepare service order data before CBS invocation.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["setInMapSvcOrder params"])
    START --> S1["Line 864: setFuncCode param fixedText FUNC_CD_1=1"]
    S1 --> S2["Line 867: HashMap inMap = param.getData fixedText"]
    S2 --> S3["Line 870: inMap.put SVC_KEI_NO svcKeiNo"]
    S3 --> C1{"yokyuSbtCd equals 02 or 04?"}
    C1 -->|Yes| S4["Line 874: inMap.put OP_SVC_KEI_NO opSvcKeiNo"]
    C1 -->|No| S5["Line 880: inMap.put YOKYU_MT_APL_SBT_CD W"]
    S4 --> S5
    S5 --> S6["Line 883: inMap.put SVC_ORDER_CD 03"]
    S6 --> S7["Line 886: inMap.put SVC_ORDER_DTAIL_CD 02"]
    S7 --> S8["Line 889: inMap.put YOKYU_SBT_CD yokyuSbtCd"]
    S8 --> S9["Line 892: inMap.put SCHEDULE_YMD scheduleYmd"]
    S9 --> C2{"yokyuSbtCd equals 02 New?"}
    C2 -->|Yes| S10["POP_ID = chgAfMlad.replace at percent"]
    C2 -->|No| S11["POP_ID = chgBfMlad.replace at percent"]
    S10 --> C3{"yokyuSbtCd equals 02 New?"}
    S11 --> C3
    C3 -->|Yes| S12["Set OLD_POP_ID_PWD null POP_ID_PWD pwd OLD_MLAD null MLAD chgAfMlad"]
    C3 -->|No| S13["No additional POP Email mapping"]
    S12 --> C4{"yokyuSbtCd equals 02?"}
    S13 --> C4
    C4 -->|Yes New| S14["Set OLD_MLBOX_CAPA null MLBOX_CAPA capa"]
    C4 -->|No Change| S15["Set OLD_MLBOX_CAPA oldCapa MLBOX_CAPA capa"]
    C4 -->|No| S16["No mailbox capacity mapping"]
    S14 --> C5{"yokyuSbtCd equals 02 New?"}
    S15 --> C5
    S16 --> C5
    C5 -->|Yes New| S17["Set 12 mail-related fields CHBF_MLAD CHAF_MAIL_ACCOUNT MAILALIAS_HKTGI_FLG MLVIRUSCHK_HKTGI_FLG ML_VRSETTE_HKTGI_FLG MLAD_CHGJ_ML_TNS_FLG and 6 OLD fields"]
    C5 -->|No| S18["No mail settings mapping"]
    S17 --> END(["Return Next"])
    S18 --> END
```

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| 1 | `param` | `IRequestParameterReadWrite` | Request parameter interface used to retrieve and store the mapping HashMap; provides `getData()` and data storage for downstream CBS. |
| 2 | `fixedText` | `String` | Service message key used as the map key in `param.getData(fixedText)` to retrieve the in-map HashMap. Acts as the data bucket identifier. |
| 3 | `svcKeiNo` | `String` | Service contract number (サービス契約番号) — the unique identifier of the service contract line being registered. Always mapped. |
| 4 | `opSvcKeiNo` | `String` | Optional service contract number (オプションサービス契約番号) — mapped only when `yokyuSbtCd` is `"02"` (new) or `"04"` (modification). Carries the optional/add-on service contract ID. |
| 5 | `mlHktgiFlg` | `String` | Mail various settings inheritance flag (メール各種設定引継フラグ) — indicates whether to inherit existing mail settings (alias, virus check settings) during new registration. Used in Block 5. |
| 6 | `mlTnsFlg` | `String` | Mail forwarding flag when email address changes (メールアドレス変更時メール転送フラグ) — controls whether mail forwarding is enabled when email changes. Used in Block 5. |
| 7 | `chgBfMlad` | `String` | Pre-change email address (変更前メールアドレス) — used as the POP ID source for modification/cancellation/deletion; used as the pre-change email address for new registrations. |
| 8 | `chgAfMlad` | `String` | Post-change email address (変更後メールアドレス) — used as the POP ID source for new registrations; used as the post-change email for new registrations. |
| 9 | `popIdPwd` | `String` | POP ID password (POPIDパスワード) — the password associated with the POP ID. Only set in the map during new registration (`yokyuSbtCd = "02"`). |
| 10 | `oldCapa` | `String` | Previous mailbox capacity (旧容量) — the old mail bucket storage size. Only used when `yokyuSbtCd = "04"` (modification) to preserve the old value for audit/transition. |
| 11 | `capa` | `String` | Mailbox capacity (容量) — the new/current mail bucket storage size. Mapped for all cases (set as the capa value; OLD_* is set to null for new, or oldCapa for change). |
| 12 | `scheduleYmd` | `String` | Schedule date (スケジュール年月日) — the execution schedule date (YYYYMMDD format). Mapped as-is for downstream CBS. |
| 13 | `yokyuSbtCd` | `String` | Request type code (要求種別コード) — the master branching key. Values: `"02"` (new registration), `"03"` (cancellation/解約), `"04"` (modification/変更), `"08"` (deletion/消去). Drives all conditional branches. |

**External state read:**
- `JFUStrConst.CD00317_02` = `"02"` (New registration request type)
- `JFUStrConst.CD00317_04` = `"04"` (Modification request type)
- `JFUStrConst.CD00329_W` = `"W"` (Requestor application type code)
- `JFUStrConst.CD00310_03` = `"03"` (Service order code for receipt)
- `JFUStrConst.CD00315_02` = `"02"` (Service order detail code — high priority)
- `JFUStrConst.CD00002_1` = `"1"` (Mail virus check inheritance flag — always enabled for new)
- `JFUStrConst.ATMARK` = `"@"` (Email @ symbol used in string replacement for POP ID)
- `JFUStrConst.PERCENT` = `"%"` (Percent symbol replacing @ in POP ID encoding)
- `JFUStrConst.I_ZERO` = `0` (Array index zero used when splitting email)
- `JPCModelConstant.FUNC_CD_1` = `"1"` (Function code for feature identification)

## 4. CRUD Operations / Called Services

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

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| - | `JFUBaseCC.setFuncCode` | JFUBaseCC | - | Calls `setFuncCode` to set the function code for feature identification. Internal utility, no data access. |

**Analysis:** This method does **not** directly perform any Create/Read/Update/Delete operations on database entities. It is purely a **data mapping/transformation** method. The only external method call is `setFuncCode()` which sets a feature code flag (`"1"`). The `HashMap` populated by this method is consumed by the caller (typically `JFUSvcOrderAddCC.setInMapSvcOrder` caller invokes `executeSC(...)`) which handles all actual SC/CBS invocations and data persistence.

The `ESC0041D010CBS` CBS message schema is the target mapping destination, covering fields such as `SVC_KEI_NO`, `OP_SVC_KEI_NO`, `SVC_ORDER_CD`, `SVC_ORDER_DTAIL_CD`, `YOKYU_SBT_CD`, `SCHEDULE_YMD`, `POP_ID`, `MLAD`, `MLBOX_CAPA`, `CHBF_MLAD`, `CHAF_MAIL_ACCOUNT`, `MAILALIAS_HKTGI_FLG`, `MLVIRUSCHK_HKTGI_FLG`, `ML_VRSETTE_HKTGI_FLG`, `MLAD_CHGJ_ML_TNS_FLG` and their corresponding error/OLD_* fields.

## 5. Dependency Trace

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

No screen/batch entry points found within 8 hops. Direct callers found: 4 methods.
Terminal operations from this method: `setFuncCode` [-]  (the method itself performs no CRUD operations)

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | CBS: `JFUSvcOrderAddCC` (capacity change / 容量変更) | `JFUSvcOrderAddCC.processAction` (ACTION_NAME_EXPAND) -> `setInMapSvcOrder` | `executeSC` [-] `ESC0041D010CBS` |
| 2 | CBS: `JFUSvcOrderAddCC` (cancellation / 解約) | `JFUSvcOrderAddCC.processAction` (ACTION_NAME_CANCE) -> `setInMapSvcOrder` with `CD00317_03` | `executeSC` [-] `ESC0041D010CBS` |
| 3 | CBS: `JFUSvcOrderAddCC` (deletion / 消去) | `JFUSvcOrderAddCC.processAction` (ACTION_NAME_DELETE) -> `setInMapSvcOrder` with `CD00317_08` | `executeSC` [-] `ESC0041D010CBS` |
| 4 | CBS: `JFUSvcOrderAddCC` (new registration / 新規) | `JFUSvcOrderAddCC.processAction` (ACTION_NAME_REGIST) -> `setInMapSvcOrder` with `CD00317_02` | `executeSC` [-] `ESC0041D010CBS` |

All callers reside within the same class `JFUSvcOrderAddCC` and are invoked from `processAction()` (or similarly named action dispatch method). The caller passes `yokyuSbtCd` as a constant value (e.g., `JFUStrConst.CD00317_02` for new, `CD00317_03` for cancellation, `CD00317_04` for modification, `CD00317_08` for deletion). After `setInMapSvcOrder` completes, the caller invokes `executeSC()` which triggers the actual `ESC0041D010CBS` service order receipt business component.

## 6. Per-Branch Detail Blocks

**Block 1** — [EXEC] `(setFuncCode setup)` (L864)

> Sets the function code for feature identification.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `setFuncCode(param, fixedText, JPCModelConstant.FUNC_CD_1)` // Feature code 1 [-> FUNC_CD_1="1" (JPCModelConstant.java:29)] |

**Block 2** — [EXEC] `(Retrieve inMap HashMap)` (L867)

> Retrieves the mapping HashMap from the request parameter using the fixedText key.

| # | Type | Code |
|---|------|------|
| 1 | SET | `HashMap inMap = (HashMap) param.getData(fixedText)` // Data bucket retrieval |

**Block 3** — [SET] `(Service contract number)` (L870)

> Always maps the service contract number into the HashMap.

| # | Type | Code |
|---|------|------|
| 1 | SET | `inMap.put(ESC0041D010CBSMsg.SVC_KEI_NO, svcKeiNo)` // Service contract number [-> SVC_KEI_NO="svc_kei_no" (ESC0041D010CBSMsg.java:9)] |

**Block 4** — [IF] `(yokyuSbtCd = "02" or "04") Optional service contract mapping` (L873-875)

> For new (`"02"`) or modification (`"04"`) requests, the optional service contract number is also mapped.

| # | Type | Code |
|---|------|------|
| 1 | IF | `JFUStrConst.CD00317_02.equals(yokyuSbtCd) || JFUStrConst.CD00317_04.equals(yokyuSbtCd)` [-> CD00317_02="02" (JFUStrConst.java:2491), CD00317_04="04" (JFUStrConst.java:2497)] |
| 2 | SET | `inMap.put(ESC0041D010CBSMsg.OP_SVC_KEI_NO, opSvcKeiNo)` // Optional service contract number [-> OP_SVC_KEI_NO="op_svc_kei_no" (ESC0041D010CBSMsg.java:11)] |

**Block 5** — [SET] `(Requestor application type code)` (L880)

> Sets the fixed requestor application type code to "W". Previously was "B" but was changed in v33.00.00 (ANK-3227-00-00).

| # | Type | Code |
|---|------|------|
| 1 | SET | `inMap.put(ESC0041D010CBSMsg.YOKYU_MT_APL_SBT_CD, JFUStrConst.CD00329_W)` // Requestor application type [-> YOKYU_MT_APL_SBT_CD="yokyu_mt_apl_sbt_cd" (ESC0041D010CBSMsg.java:16), CD00329_W="W" (JFUStrConst.java:2527)] |

**Block 6** — [SET] `(Service order code)` (L883)

> Sets the service order code to "03" (service order receipt).

| # | Type | Code |
|---|------|------|
| 1 | SET | `inMap.put(ESC0041D010CBSMsg.SVC_ORDER_CD, JFUStrConst.CD00310_03)` // Service order code [-> SVC_ORDER_CD="svc_order_cd" (ESC0041D010CBSMsg.java:17), CD00310_03="03" (JFUStrConst.java:2437)] |

**Block 7** — [SET] `(Service order detail code - high priority)` (L886)

> Sets the service order detail code to "02" indicating high-priority processing.

| # | Type | Code |
|---|------|------|
| 1 | SET | `inMap.put(ESC0041D010CBSMsg.SVC_ORDER_DTAIL_CD, JFUStrConst.CD00315_02)` // Service order detail code [-> SVC_ORDER_DTAIL_CD="svc_order_dtail_cd" (ESC0041D010CBSMsg.java:18), CD00315_02="02" (JFUStrConst.java:2488)] |

**Block 8** — [SET] `(Request type code and schedule date)` (L889-892)

> Maps the request type code and schedule date directly into the HashMap.

| # | Type | Code |
|---|------|------|
| 1 | SET | `inMap.put(ESC0041D010CBSMsg.YOKYU_SBT_CD, yokyuSbtCd)` // Request type code [-> YOKYU_SBT_CD="yokyu_sbt_cd" (ESC0041D010CBSMsg.java:20)] |
| 2 | SET | `inMap.put(ESC0041D010CBSMsg.SCHEDULE_YMD, scheduleYmd)` // Schedule date [-> SCHEDULE_YMD="schedule_ymd" (ESC0041D010CBSMsg.java:22)] |

**Block 9** — [IF/ELSE] `(POP ID computation: new vs. non-new)` (L895-904)

> Determines which email address to use as the POP ID source. For new registration (`"02"`), uses the post-change email. For all other cases (modification, cancellation, deletion), uses the pre-change email. The `@` symbol is replaced with `%` for POP ID encoding.

| # | Type | Code |
|---|------|------|
| 1 | IF | `JFUStrConst.CD00317_02.equals(yokyuSbtCd)` [-> CD00317_02="02" (JFUStrConst.java:2491)] |
| 2 | SET | `String popId = chgAfMlad.replace(JFUStrConst.ATMARK, JFUStrConst.PERCENT)` // Post-change email to POP ID [-> ATMARK="@" (JFUStrConst.java:248), PERCENT="%" (JFUStrConst.java:245)] |
| 3 | SET | `inMap.put(ESC0041D010CBSMsg.POP_ID, popId)` // POP ID [-> POP_ID="pop_id" (ESC0041D010CBSMsg.java:31)] |
| 4 | ELSE | `else` |
| 5 | SET | `String popId = chgBfMlad.replace(JFUStrConst.ATMARK, JFUStrConst.PERCENT)` // Pre-change email to POP ID |
| 6 | SET | `inMap.put(ESC0041D010CBSMsg.POP_ID, popId)` // POP ID |

**Block 10** — [IF] `(New: POP ID Password and Email)` (L907-916)

> For new registrations only (`"02"`), maps the POP ID password, old POP ID password (null), old email (null), and the new email address.

| # | Type | Code |
|---|------|------|
| 1 | IF | `JFUStrConst.CD00317_02.equals(yokyuSbtCd)` [-> CD00317_02="02"] |
| 2 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_POP_ID_PWD, null)` // Old POP ID password [-> OLD_POP_ID_PWD="old_pop_id_pwd" (ESC0041D010CBSMsg.java:32)] |
| 3 | SET | `inMap.put(ESC0041D010CBSMsg.POP_ID_PWD, popIdPwd)` // POP ID password [-> POP_ID_PWD="pop_id_pwd" (ESC0041D010CBSMsg.java:33)] |
| 4 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_MLAD, null)` // Old email [-> OLD_MLAD="old_mlad" (ESC0041D010CBSMsg.java:34)] |
| 5 | SET | `inMap.put(ESC0041D010CBSMsg.MLAD, chgAfMlad)` // Email address [-> MLAD="mlad" (ESC0041D010CBSMsg.java:35)] |

**Block 11** — [IF/ELSE-IF] `(Mailbox capacity)` (L919-933)

> For new (`"02"`), sets old capacity to null and maps the new capacity. For modification (`"04"`), maps both the old and new capacities. Other request types skip this block.

| # | Type | Code |
|---|------|------|
| 1 | IF | `JFUStrConst.CD00317_02.equals(yokyuSbtCd)` [-> CD00317_02="02"] |
| 2 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_MLBOX_CAPA, null)` // Old mailbox capacity [-> OLD_MLBOX_CAPA="old_mlbox_capa" (ESC0041D010CBSMsg.java:39)] |
| 3 | SET | `inMap.put(ESC0041D010CBSMsg.MLBOX_CAPA, capa)` // Mailbox capacity [-> MLBOX_CAPA="mlbox_capa" (ESC0041D010CBSMsg.java:40)] |
| 4 | ELSE-IF | `JFUStrConst.CD00317_04.equals(yokyuSbtCd)` [-> CD00317_04="04"] |
| 5 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_MLBOX_CAPA, oldCapa)` // Old mailbox capacity preserved |
| 6 | SET | `inMap.put(ESC0041D010CBSMsg.MLBOX_CAPA, capa)` // New mailbox capacity |

**Block 12** — [IF] `(New: Mail settings - 12 fields)` (L936-969)

> For new registrations only (`"02"`), maps 12 mail-related fields. All OLD_* fields are set to null (no prior state for new accounts). Key mappings:
> - Pre-change email (`CHBF_MLAD`) = `chgBfMlad` (the original email before change, may differ for new)
> - Post-change email account (`CHAF_MAIL_ACCOUNT`) = first segment of `chgAfMlad.split("@")` (the local part before @)
> - Mail alias inheritance (`MAILALIAS_HKTGI_FLG`) = inherited from `mlHktgiFlg`
> - Virus check inheritance (`MLVIRUSCHK_HKTGI_FLG`) = always `"1"` (enabled for new)
> - Various settings inheritance (`ML_VRSETTE_HKTGI_FLG`) = inherited from `mlHktgiFlg`
> - Mail forwarding flag (`MLAD_CHGJ_ML_TNS_FLG`) = inherited from `mlTnsFlg`

| # | Type | Code |
|---|------|------|
| 1 | IF | `JFUStrConst.CD00317_02.equals(yokyuSbtCd)` [-> CD00317_02="02"] |
| 2 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_CHBF_MLAD, null)` // Old pre-change email [-> OLD_CHBF_MLAD="old_chbf_mlad" (ESC0041D010CBSMsg.java:177)] |
| 3 | SET | `inMap.put(ESC0041D010CBSMsg.CHBF_MLAD, chgBfMlad)` // Pre-change email [-> CHBF_MLAD="chbf_mlad" (ESC0041D010CBSMsg.java:178)] |
| 4 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_CHAF_MAIL_ACCOUNT, null)` // Old post-change account [-> OLD_CHAF_MAIL_ACCOUNT="old_chaf_mail_account" (ESC0041D010CBSMsg.java:179)] |
| 5 | SET | `inMap.put(ESC0041D010CBSMsg.CHAF_MAIL_ACCOUNT, chgAfMlad.split(JFUStrConst.ATMARK)[JFUStrConst.I_ZERO])` // Post-change email account (local part) [-> CHAF_MAIL_ACCOUNT="chaf_mail_account" (ESC0041D010CBSMsg.java:180), I_ZERO=0 (JFUStrConst.java:11437)] |
| 6 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_MAILALIAS_HKTGI_FLG, null)` // Old alias inheritance [-> OLD_MAILALIAS_HKTGI_FLG="old_mailalias_hktgi_flg" (ESC0041D010CBSMsg.java:181)] |
| 7 | SET | `inMap.put(ESC0041D010CBSMsg.MAILALIAS_HKTGI_FLG, mlHktgiFlg)` // Alias inheritance flag [-> MAILALIAS_HKTGI_FLG="mailalias_hktgi_flg" (ESC0041D010CBSMsg.java:182)] |
| 8 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_MLVIRUSCHK_HKTGI_FLG, null)` // Old virus check [-> OLD_MLVIRUSCHK_HKTGI_FLG="old_mlviruschk_hktgi_flg" (ESC0041D010CBSMsg.java:183)] |
| 9 | SET | `inMap.put(ESC0041D010CBSMsg.MLVIRUSCHK_HKTGI_FLG, JFUStrConst.CD00002_1)` // Virus check [-> MLVIRUSCHK_HKTGI_FLG="mlviruschk_hktgi_flg" (ESC0041D010CBSMsg.java:184), CD00002_1="1" (JFUStrConst.java:797)] |
| 10 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_ML_VRSETTE_HKTGI_FLG, null)` // Old various settings [-> OLD_ML_VRSETTE_HKTGI_FLG="old_ml_vrsette_hktgi_flg" (ESC0041D010CBSMsg.java:185)] |
| 11 | SET | `inMap.put(ESC0041D010CBSMsg.ML_VRSETTE_HKTGI_FLG, mlHktgiFlg)` // Various settings inheritance [-> ML_VRSETTE_HKTGI_FLG="ml_vrsette_hktgi_flg" (ESC0041D010CBSMsg.java:186)] |
| 12 | SET | `inMap.put(ESC0041D010CBSMsg.OLD_MLAD_CHGJ_ML_TNS_FLG, null)` // Old forwarding flag [-> OLD_MLAD_CHGJ_ML_TNS_FLG="old_mlad_chgj_ml_tns_flg" (ESC0041D010CBSMsg.java:187)] |
| 13 | SET | `inMap.put(ESC0041D010CBSMsg.MLAD_CHGJ_ML_TNS_FLG, mlTnsFlg)` // Forwarding flag [-> MLAD_CHGJ_ML_TNS_FLG="mlad_chgj_ml_tns_flg" (ESC0041D010CBSMsg.java:188)] |

**Block 13** — [RETURN] `(Method completion)` (L972)

> The method returns void. Control returns to the caller (`JFUSvcOrderAddCC`) who then invokes `executeSC()` with the populated `inMap`.

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return;` // End of service order upper mapping |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `yokyuSbtCd` | Field | Request type code (要求種別コード) — classifies the service order request: "02" (new registration), "03" (cancellation/解約), "04" (modification/変更), "08" (deletion/消去) |
| `svcKeiNo` | Field | Service contract number (サービス契約番号) — unique identifier for a service contract line item |
| `opSvcKeiNo` | Field | Optional service contract number (オプションサービス契約番号) — identifier for add-on/optional service contracts |
| `mlHktgiFlg` | Field | Mail various settings inheritance flag (メール各種設定引継フラグ) — whether to carry over existing mail settings to new/changed accounts |
| `mlTnsFlg` | Field | Mail forwarding flag at email change (メールアドレス変更時メール転送フラグ) — whether emails should be forwarded when the address changes |
| `chgBfMlad` | Field | Pre-change email address (変更前メールアドレス) — email address before the change operation |
| `chgAfMlad` | Field | Post-change email address (変更後メールアドレス) — email address after the change operation |
| `popIdPwd` | Field | POP ID password (POPIDパスワード) — authentication password for the POP mail access ID |
| `oldCapa` | Field | Previous mailbox capacity (旧容量) — storage size of the mailbox before modification |
| `capa` | Field | Mailbox capacity (容量) — current/updated mailbox storage size |
| `scheduleYmd` | Field | Schedule date (スケジュール年月日) — execution date for the service order (YYYYMMDD format) |
| `SVC_KEI_NO` | Constant | Map key: "svc_kei_no" — service contract number field in ESC0041D010CBSMsg |
| `SVC_ORDER_CD` | Constant | Map key: "svc_order_cd" — service order code (value "03" = receipt/受付) |
| `SVC_ORDER_DTAIL_CD` | Constant | Map key: "svc_order_dtail_cd" — service order detail code (value "02" = high priority/優先度高) |
| `POP_ID` | Constant | Map key: "pop_id" — POP ID for mail access, encoded with "%" replacing "@" |
| `MLAD` | Constant | Map key: "mlad" — email address (メールアドレステレ) |
| `MLBOX_CAPA` | Constant | Map key: "mlbox_capa" — mailbox capacity/メールボックス容量 |
| `CHAF_MAIL_ACCOUNT` | Constant | Map key: "chaf_mail_account" — post-change mail account (local part before @) |
| `MAILALIAS_HKTGI_FLG` | Constant | Map key: "mailalias_hktgi_flg" — mail alias inheritance flag (メールエイリアス引継フラグ) |
| `MLVIRUSCHK_HKTGI_FLG` | Constant | Map key: "mlviruschk_hktgi_flg" — mail virus check inheritance flag (メールウイルスチェック引継フラグ) |
| `ML_VRSETTE_HKTGI_FLG` | Constant | Map key: "ml_vrsette_hktgi_flg" — mail various settings inheritance flag (メール各種設定引継フラグ) |
| `MLAD_CHGJ_ML_TNS_FLG` | Constant | Map key: "mlad_chgj_ml_tns_flg" — mail forwarding flag at email change (メールアドレス変更時メール転送フラグ) |
| ESC0041D010CBS | SC/CBS | Service Order Receipt CBS (サービスオーダ受付CBS) — the backend business component that processes service order registration |
| JFUSvcOrderAddCC | Class | Service Order Addition Common Component (サービスオーダ追加コモンコンポーネント) — shared utility class for service order operations |
| FUNC_CD_1 | Constant | Function code "1" — identifies this as a front-end service order registration feature |
| CD00329_W | Constant | Requestor application type "W" — fixed value for application type code (v33.00.00 update from "B") |
| CD00315_02 | Constant | Service order detail code "02" — high priority processing flag (優先度高) |
| CD00002_1 | Constant | Value "1" — virus check enabled flag (ウイルスチェック有効) |
| K-Opticom | Business term | Japanese telecom ISP provider — the service operator whose order fulfillment system this belongs to |
| SOD | Acronym | Service Order Data — the core order data entity in the system |
| CBS | Acronym | Component Business System — the backend service component layer executing business logic |
| SC | Acronym | Service Component — a specific implementation of CBS processing |
| POP | Acronym | Post Office Protocol — standard protocol for retrieving email, used here for POP ID mail access |
| @ to % | Transform | Encoding transformation — replaces "@" with "%" in email addresses for POP ID compatibility |
