## 4. CRUD Operations / Called Services

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

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `callEKK0351A010SC` | EKK0351A010SC | KK_T_OP_SVC_KEI | Reads before-change option service agreement (option service contract master) |
| R | `callEKK0361A010SC` | EKK0361A010SC | KK_T_OP_SVC_KEI_ISP | Reads before-change option service contract <ISP> agreement |
| R | `callEKK0411A010SC` | EKK0411A010SC | KK_T_SBOP_SVC_KEI_ISP | Reads before-change sub-option service contract <ISP> agreement |
| R | `callEKK0401A010SC` | EKK0401A010SC | KK_T_SBOP_SVC_KEI | Reads before-change sub-option service contract agreement |
| R | `callEKK0351A010SC` | EKK0351A010SC | KK_T_OP_SVC_KEI | Reads after-change option service agreement |
| R | `callEKK0361A010SC` | EKK0361A010SC | KK_T_OP_SVC_KEI_ISP | Reads after-change option service contract <ISP> agreement |
| R | `callEKK0411A010SC` | EKK0411A010SC | KK_T_SBOP_SVC_KEI_ISP | Reads after-change sub-option service contract <ISP> agreement |
| R | `callEKK0401A010SC` | EKK0401A010SC | KK_T_SBOP_SVC_KEI | Reads after-change sub-option service contract agreement |
| C | `addSOD` | addSOD | KK_T_ODR_HAKKO_JOKEN | Creates a new order issuance option detail record |
| C | `tsuikabunAddSOD` | tsuikabunAddSOD | KK_T_ODR_HAKKO_JOKEN | Creates an additional (supplementary) order issuance option detail record |
| C | `callEKK0341A010SC` | EKK0341A010SC | KK_T_KKTK_SVC_KEI | Reads machine provision service agreement (for WARKMI assigned telephone) |
| R | `callEKK0341A010SC` | EKK0341A010SC | KK_T_KKTK_SVC_KEI | Reads machine provision service agreement |
| C | `callEKK0161A010SC` | EKK0161A010SC | KK_T_SVC_KEI_UCWK | Reads service contract detail agreement (for FIXIPAD) |
| C | `callEKK0161B004SC` | EKK0161B004SC | KK_T_SVC_KEI_UCWK | Reads service contract detail list agreement (for MLTISE, DUP) |
| C | `callEKK0351B002SC` | EKK0351B002SC | KK_T_OP_SVC_KEI | Reads option service contract list (service contract) |
| C | `callEKK0161B003SC` | EKK0161B003SC | KK_T_SVC_KEI_UCWK | Reads service contract detail list (SYSID) |
| R | `getSame_trn_no` | getSame_trn_no | KK_T_SAME_TRN_NO | Gets a same transaction number for concurrent processing identification |
| R | `callEKK0191A010SC` | EKK0191A010SC | KK_T_SVC_KEI_UCWK | Reads service contract detail for eo-telephone agreement |
| R | `callEKK1041B001SC` | EKK1041B001SC | KK_T_ORDER | Reads order setting list (Z1 order check for call forwarding) |
| R | `callEKK0251B001SC` | EKK0251B001SC | KK_T_SVC_KEI_KAISEN_UCWK | Reads service contract wiring detail list (for WARKMI VLAN-ID) |
| R | `getEKK0251B001SC` | EKK0251B001SC | KK_T_SVC_KEI_KAISEN_UCWK | Reads service contract wiring detail list |
| R | `callEKK0161B001SC` | EKK0161B001SC | KK_T_SVC_KEI_UCWK | Reads service contract detail list (SYSID) |
| R | `getOldVrsbIdgSvcDtlCd` | getOldVrsbIdgSvcDtlCd | KK_T_OLD_VRSB | Gets old VR identification judgment service detail code |
| - | `adchgMultiDslDojiJudge` | adchgMultiDslDojiJudge | - | Judges address-change multisession double processing |
| - | `chgOpsvKeiJdg` | chgOpsvKeiJdg | - | Judges option service change (before/after comparison) |
| - | `jdgOpSvcKind` | jdgOpSvcKind | - | Judges option service kind (NET/TEL) |
| - | `jdgIpv6` | jdgIpv6 | - | Judges IPv6 service (pattern determination) |
| - | `pauseJdg` | pauseJdg | - | Judges pause status (service suspension) |
| - | `sameTrnJdg` | sameTrnJdg | - | Judges whether same transaction number acquisition is needed |
| - | `isBlank` | isBlank | - | Checks if a string is blank/null |
| - | `shkkaMap` | shkkaMap | - | Sanitizes/removes null entries from a HashMap |
| - | `shkkaChr` | shkkaChr | - | Sanitizes a character string (null-to-empty) |

**How classified:**

- **C (Create)**: Methods with names starting with `callEKK*` followed by an SC code pattern, and methods with `addSOD`/`tsuikabunAddSOD` that insert records into the order issuance option detail table. The `addSOD` method specifically creates SOD (Service Order Data) documents with the specified content code.
- **R (Read)**: Methods with names starting with `callEKK*`, `get*`, or similar read patterns that query service agreement data from the database. The SC codes (e.g., EKK0351A010SC) follow the pattern `EKK<NNNN><ABC>SC` where the numeric portion corresponds to specific service component tables.

## 5. Dependency Trace

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

No screen/batch entry points found within 8 hops. Direct callers found: 10 methods.
Terminal operations from this method: `addSOD` [C], `addSOD` [C], `isBlank` [-], `jdgIpv6` [-], `jdgIpv6` [-], `jdgIpv6` [-], `isBlank` [-], `getSame_trn_no` [R], `getSame_trn_no` [R], `tsuikabunAddSOD` [-], `tsuikabunAddSOD` [-], `getSame_trn_no` [R], `getSame_trn_no` [R], `addSOD` [C], `addSOD` [C], `getSame_trn_no` [R], `getSame_trn_no` [R], `addSOD` [C], `addSOD` [C], `getSame_trn_no` [R]

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | JKKAdchgHakkoSODCC (eo-hikari mobile) | `opExecAdchgHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 2 | JKKAdchgHakkoSODCC (BBR cancellation) | `opExecAdchgHakko` -> `addSOD(ODR_NAIYO_CD_149)` / `addSOD(ODR_NAIYO_CD_150)` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 3 | JKKAdchgHakkoSODCC (WiMAX) | `opExecAdchgHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 4 | JKKAdchgHakkoSODCC (SpotWiFi) | `opExecAdchgHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 5 | JKKAdchgHakkoSODCC (forwarding trigger) | `opExecAdchgHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 6 | JKKAdchgHakkoSODCC (address-change option) | `opExecAdchgHakko` -> `edit4OpSetOdrCtrl` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 7 | JKKHakkoSODCC | `opExecHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 8 | JKKHakkoSODCC | `opExecHakko` -> `edit4OpSetOdrCtrl` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 9 | JKKHakkoSODCC (eo-telephone) | `opExecHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |
| 10 | JKKHakkoSODCC | `opExecHakko` -> `opSetOdrCtrl` | `addSOD [C] KK_T_ODR_HAKKO_JOKEN` |

**Terminal operations summary:** The method ultimately calls `addSOD` (Create) which inserts records into `KK_T_ODR_HAKKO_JOKEN` (Order Issuance Option Detail) with various `ODR_NAIYO_CD` codes (101-254). It calls `getSame_trn_no` (Read) from `KK_T_SAME_TRN_NO` for concurrent processing tracking.
