## 6. Per-Branch Detail Blocks

**Block 1** - [SET] `paramMap = editInMsg(param)` (L9490)

> Common area setup (共通領域の設定): Calls the parent `editInMsg` method to build the base paramMap with common data fields.

| # | Type | Code |
|---|------|------|
| 1 | CALL | `editInMsg(param)` |
| 2 | SET | `paramMap = result` (HashMap<String, Object>) |

**Block 2** - [SET] `template = new CAANMsg(EKK0251C030CBSMsg.class.getName())` (L9492)

> Template creation: Creates a new CAANMsg message object for the EKK0251C030 screen.

| # | Type | Code |
|---|------|------|
| 1 | SET | `template = new CAANMsg(EKK0251C030CBSMsg.class.getName())` |

**Block 3** - [SET] Common field population (L9494-955)

> Sets the common runtime metadata fields on the template.

| # | Type | Code |
|---|------|------|
| 1 | SET | `template.set(EKK0251C030CBSMsg.TEMPLATEID, TEMPLATE_ID_EKK0251C030="EKK0251C030")` |
| 2 | SET | `template.set(EKK0251C030CBSMsg.FUNC_CODE, "1")` |
| 3 | SET | `operatorId = param.getControlMapData(SCControlMapKeys.OPERATOR_ID)` |
| 4 | SET | `template.set(JCMConstants.OPERATOR_ID_KEY, operatorId)` |
| 5 | SET | `operateDate = param.getControlMapData(SCControlMapKeys.OPE_DATE)` |
| 6 | SET | `template.set(JCMConstants.OPERATE_DATE_KEY, operateDate)` |
| 7 | SET | `operateDateTime = param.getControlMapData(SCControlMapKeys.OPE_TIME)` |
| 8 | SET | `template.set(JCMConstants.OPERATE_DATETIME_KEY, operateDateTime)` |

**Block 4** - [SET] Data extraction from param and dataMap (L957-965)

> Extracts local variables and the child template from the request parameters.

| # | Type | Code |
|---|------|------|
| 1 | SET | `inMap = null` |
| 2 | SET | `inList = null` |
| 3 | SET | `workMap = param.getMappingWorkArea()` |
| 4 | SET | `template.set(EKK0251C030CBSMsg.FUNC_CODE, dataMap.get(JCMConstants.FUNC_CODE_KEY))` |
| 5 | SET | `childTemplate = (CAANMsg)dataMap.get("EKK0251A010CBSMSG1LIST")` |

**Block 5** - [IF-ELSE] `svc_kei_kaisen_ucwk_no` from childMap (L967-973)

> Service contract line change work number (サービス契約回線内訳変更番号): Extracted directly from childMap rather than childTemplate.

| # | Type | Code |
|---|------|------|
| 1 | IF | `"".equals(childMap.get("svc_kei_kaisen_ucwk_no"))` |
| 1.1 | ELSE | `setNull` branch |
| 1.1.1 | EXEC | `template.setNull(EKK0251C030CBSMsg.SVC_KEI_KAISEN_UCWK_NO)` |
| 1.2 | ELSE (No) | `set` branch |
| 1.2.1 | EXEC | `template.set(EKK0251C030CBSMsg.SVC_KEI_KAISEN_UCWK_NO, (String)childMap.get("svc_kei_kaisen_ucwk_no"))` |

**Block 6** - [IF-ELSE] `mskm_dtl_no` from childTemplate (L975-981)

> Application detail number (申請明細番号): Detail line number for the application.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.MSKM_DTL_NO)` |
| 1.1 | ELSE | `setNull` branch: `template.setNull(EKK0251C030CBSMsg.MSKM_DTL_NO)` |
| 1.2 | ELSE (No) | `set` branch: `template.set(EKK0251C030CBSMsg.MSKM_DTL_NO, childTemplate.getString(EKK0251A010CBSMsg1List.MSKM_DTL_NO))` |

**Block 7** - [IF-ELSE] `kisn_plc_ad_mi_fix_flg` (L983-989)

> Line location address not-yet-determined flag (回線場所住所未確定フラグ): Indicates if the line location address is still pending.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KISN_PLC_AD_MI_FIX_FLG)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 8** - [IF-ELSE] `kisn_plc_ad_mi_fix_rls_ymd` (L991-997)

> Line location address not-yet-determined release date (回線場所住所未確定解除年月日): The date when pending address determination is released.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KISN_PLC_AD_MI_FIX_RLS_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 9** - [IF-ELSE] `kaisen_plc_ksh_ad_sai_flg` (L999-1005)

> Line location contract address discrepancy flag (回線場所_契約者住所差異フラグ): Indicates discrepancy between line location and contract address.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLC_KSH_AD_SAI_FLG)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 10** - [IF-ELSE] `cust_skk_ad_mi_fix_flg` (L1007-1013)

> Customer complaint address not-yet-determined flag (お客様申告住所未確定フラグcust_skk_ad_mi_fix_flg): Indicates if customer-reported address is pending.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.CUST_SKK_AD_MI_FIX_FLG)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 11** - [IF-ELSE] `cust_sos_use_um` (L1015-1021)

> Customer SOS usage indicator (お客様SOS利用有無cust_sos_use_um): Whether the customer uses SOS service.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.CUST_SOS_USE_UM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 12** - [IF-ELSE] `mansion_bukken_no` (L1023-1029)

> Mansion building number (マンション物件番号): Building/unit number for apartment/mansion addresses.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.MANSION_BUKKEN_NO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 13** - [IF-ELSE] `kaisen_place_telno` (L1031-1037)

> Line location phone number (回線場所電話番号): Phone number at the line installation location.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_TELNO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 14** - [IF-ELSE] `kaisen_plc_kana` (L1039-1045)

> Line location kana (回線場所カナ): Kana (phonetic) name for the line location address.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLC_KANA)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 15** - [IF-ELSE] `kaisen_place_ad_cd` (L1047-1053)

> Line location address code (回線場所住所コード): Postal/address code for the line installation location.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_AD_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 16** - [IF-ELSE] `kaisen_place_pcd` (L1055-1061)

> Line location postal code (回線場所郵便番号): Postal code for the line installation location.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_PCD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 17** - [IF-ELSE] `kaisen_place_state_nm` (L1063-1069)

> Line location prefecture name (回線場所都道府県名): Prefecture-level administrative area name.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_STATE_NM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 18** - [IF-ELSE] `kaisen_place_city_nm` (L1071-1077)

> Line location city/town name (回線場所市区町名): City or town administrative area name.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_CITY_NM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 19** - [IF-ELSE] `kaisen_place_oaztsu_nm` (L1079-1085)

> Line location oaza/street name (回線場所大字通称名): Large district or street name component.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_OAZTSU_NM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 20** - [IF-ELSE] `kaisen_place_azcho_nm` (L1087-1093)

> Line location cho/district name (回線場所字町名): District/cho-level administrative name.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_AZCHO_NM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 21** - [IF-ELSE] `kaisen_place_bnchigo` (L1095-1101)

> Line location lot number (回線場所番地号): Lot/sub-number within the address.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_BNCHIGO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 22** - [IF-ELSE] `kaisen_place_adrttm` (L1103-1109)

> Line location address supplement - building name (回線場所住所補足・建物名): Building name supplement.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_ADRTTM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 23** - [IF-ELSE] `kaisen_place_adrrm` (L1111-1117)

> Line location address supplement - room number (回線場所住所補足・部屋番号): Room/unit number.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_ADRRM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 24** - [IF-ELSE] `kaisen_place_no` (L1119-1125)

> Line location number (回線場所番号): Line installation location number.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KAISEN_PLACE_NO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 25** - [IF-ELSE] `kisn_plc_kkk_seiri_chu_flg` (L1127-1133)

> Line location district consolidation in-progress flag (回線場所区画整理中フラグ): Whether district consolidation work is ongoing.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KISN_PLC_KKK_SEIRI_CHU_FLG)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 26** - [IF-ELSE] `kisn_plc_hsk_cd_1` (L1135-1141)

> Line location supplementary code 1 (回線場所補足コード1): Supplementary code for line location.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KISN_PLC_HSK_CD_1)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 27** - [IF-ELSE] `kisn_plc_hsk_cd_2` (L1143-1149)

> Line location supplementary code 2 (回線場所補足コード2): Second supplementary code for line location.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KISN_PLC_HSK_CD_2)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 28** - [IF-ELSE] `kisn_plc_hsk_memo` (L1151-1157)

> Line location memo (回線場所補足メモ): Supplementary memo for line location.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KISN_PLC_HSK_MEMO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 29** - [IF-ELSE] `ad_form_cd` (L1159-1165)

> Address form code (住所形態コード): Type of address format (e.g., Japanese vs. Western).

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.AD_FORM_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 30** - [IF-ELSE] `shunko_rsv_ymd` (L1167-1173)

> Construction scheduled date (着工予定年月日): Scheduled start date for construction work.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.SHUNKO_RSV_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 31** - [IF-ELSE] `epower_soden_rsv_ymd` (L1175-1181)

> Power supply scheduled date (電力送電予定年月日): Scheduled date for power supply connection.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.EPOWER_SODEN_RSV_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 32** - [IF-ELSE] `nyukyo_rsv_ymd` (L1183-1189)

> Move-in scheduled date (入居予定年月日): Scheduled date for customer move-in.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.NYUKYO_RSV_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 33** - [IF-ELSE] `hikiwatashi_rsv_ymd` (L1191-1197)

> Handover scheduled date (引渡し予定年月日): Scheduled date for service handover.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.HIKIWATASHI_RSV_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 34** - [IF-ELSE] `hikkoshi_rsv_ymd` (L1199-1205)

> Relocation scheduled date (引越予定年月日): Scheduled date for relocation work.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.HIKKOSHI_RSV_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 35** - [IF-ELSE] `xzahyo` (L1207-1213)

> X coordinate (X座標): X-axis geographic coordinate.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.XZAHYO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 36** - [IF-ELSE] `yzahyo` (L1215-1221)

> Y coordinate (Y座標): Y-axis geographic coordinate.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.YZAHYO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 37** - [IF-ELSE] `lgtd` (L1223-1229)

> Longitude (経度): Geographic longitude coordinate.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.LGTD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 38** - [IF-ELSE] `lttp` (L1231-1237)

> Latitude (緯度): Geographic latitude coordinate.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.LTTD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 39** - [IF-ELSE] `zahyo_hosei_um` (L1239-1245)

> Coordinate correction indicator (座標補正有無): Whether coordinate correction is applied.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.ZAHYO_HOSEI_UM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 40** - [IF-ELSE] `tv_kobet_taio_cd` (L1247-1253)

> TV individual correspondence code (テレビ個別対応コード): TV service individual handling code.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.TV_KOBET_TAIO_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 41** - [IF-ELSE] `tv_antenna_um` (L1255-1261)

> TV antenna presence indicator (TVアンテナ有無): Whether a TV antenna is present.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.TV_ANTENNA_UM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 42** - [IF-ELSE] `direction_cd_1` (L1263-1269)

> Direction code 1 (方向コード1): Primary direction code for antenna installation.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.DIRECTION_CD_1)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 43** - [IF-ELSE] `direction_cd_2` (L1271-1277)

> Direction code 2 (方向コード2): Secondary direction code for antenna installation.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.DIRECTION_CD_2)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 44** - [IF-ELSE] `kodate_kcku_flr_cnt_cd` (L1279-1285)

> Apartment building floor count code (戸建建築階数コード): Floor count code for detached house construction.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KODATE_KCKU_FLR_CNT_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 45** - [IF-ELSE] `shugj_nyukyo_flr_cnt_cd` (L1287-1293)

> Apartment building resident floor count code (集合住宅入居階数コード): Floor number for apartment residents.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.SHUGJ_NYUKYO_FLR_CNT_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 46** - [IF-ELSE] `pon_sbt_cd` (L1295-1301)

> PON type code (PON種別コード): Passive Optical Network technology type code.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.PON_SBT_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 47** - [IF-ELSE] `kaisen_tk_comp_cd` from childMap (L1303-1309)

> Line telecommunication company code (回線提供会社コード): Code identifying the telecom provider. This field is extracted directly from childMap (not childTemplate).

| # | Type | Code |
|---|------|------|
| 1 | IF | `"".equals(childMap.get("kksv040325_kaisen_tk_comp_cd"))` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 48** - [IF-ELSE] `vdsl_use_tel_kisn_sbt_cd` (L1311-1317)

> VDSL usage phone line type code (VDSL利用電話回線種別コード): Type of phone line used for VDSL service.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.VDSL_USE_TEL_KISN_SBT_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 49** - [IF-ELSE] `vdsl_use_dksn_swch_rsv_ymd` (L1319-1325)

> VDSL usage phone line switch scheduled date (VDSL利用電話回線切替予定年月日): Scheduled date for switching to the VDSL phone line.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.VDSL_USE_DKSN_SWCH_RSV_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 50** - [IF-ELSE] `vdsl_use_tg_dbkdsn_sbt_cd` (L1327-1333)

> VDSL usage target phone line type code (VDSL利用対象電話番号回線種別コード): Type of phone line for VDSL target number.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.VDSL_USE_TG_DBKSN_SBT_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 51** - [IF-ELSE] `vdsl_use_tg_telno` (L1335-1341)

> VDSL usage target phone number (VDSL利用対象電話番号): Phone number targeted for VDSL service.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.VDSL_USE_TG_TELNO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 52** - [IF-ELSE] `hikkoshi_ymd` (L1343-1349)

> Relocation date (引越年月日): Actual relocation date.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.HIKKOSHI_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 53** - [IF-ELSE] `gaito_area_svc_staymd` (L1351-1357)

> Designated area service start date (該当エリアサービス開始年月日): Date when service becomes available in the designated area.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.GAITO_AREA_SVC_STAYMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 54** - [IF-ELSE] `tekkyo_koji_kibo_ymd` (L1359-1365)

> Demolition work request date (撤去工事希望年月日): Requested date for removal/demolition work.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.TEKKYO_KOJI_KIBO_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 55** - [IF-ELSE] `kiten_hdsyo_cd` (L1367-1373)

> Origin transformer code (起点変電所コード): Code of the origin/substation for power supply.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KITEN_HDSHO_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 56** - [IF-ELSE] `shykk_cd` (L1375-1381)

> Contract office code (契約局コード): Code of the contract office/branch.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.SHYAKK_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 57** - [IF-ELSE] `kepc_busioffice_cd` (L1383-1389)

> Electric power business office code (関電営業所コード): Code of the regional electric power company office.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KEPCO_BUSIOFFICE_CD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 58** - [IF-ELSE] `last_upd_dtm_svc_kei` from childMap (L1391-1397, ST3-2013-475)

> Update date/time before (更新年月日時分(更新前)): Last update timestamp before this change. This field is extracted directly from childMap.

| # | Type | Code |
|---|------|------|
| 1 | IF | `"".equals(childMap.get("last_upd_dtm_svc_kei"))` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 59** - [IF-ELSE] `sks_yo_kisn_place_ad_rm_no` (L1399-1405)

> Invoice target line location address room number (請求書用回線場所住所部屋番号): Room number for billing address.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.SKS_YO_KISN_PLACE_AD_RM_NO)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 60** - [IF-ELSE] `tel_bas_host_id` (L1407-1413)

> Telephone BAS host ID (電話BASホストID): Host identifier for the telephone BAS (Business Application System).

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.TEL_BAS_HOST_ID)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 61** - [IF-ELSE] `tel_vlan_id` (L1415-1421)

> Telephone VLAN ID (電話VLAN-ID): VLAN ID for telephone service.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.TEL_VLAN_ID)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 62** - [IF-ELSE] `vlan_id_fix_flg` (L1423-1429)

> VLAN-ID determination flag (VLAN-ID確定フラグ): Whether the VLAN ID has been finalized.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.VLAN_ID_FIX_FLG)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 63** - [IF-ELSE] `tel_vlan_id_trkm_ymd` (L1431-1437)

> Telephone VLAN-ID intake date (電話VLAN-ID取得年月日): Date when VLAN ID was obtained/intake.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.TEL_VLAN_ID_TRKM_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 64** - [IF-ELSE] `kksv040325_sks_shs_ad_chg_um` from childMap (L1439-1445)

> Invoice delivery address change indicator (請求書送付先住所変更有無): Whether the billing address is being changed.

| # | Type | Code |
|---|------|------|
| 1 | IF | `"".equals(childMap.get("kksv040325_sks_shs_ad_chg_um"))` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 65** - [IF-ELSE] `kksv040325_kshad_chg_kibo_ymd` from childMap (L1447-1453)

> Invoice delivery address change requested date (請求書送付先住所変更希望年月日): Requested date for billing address change.

| # | Type | Code |
|---|------|------|
| 1 | IF | `"".equals(childMap.get("kksv040325_kshad_chg_kibo_ymd"))` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 66** - [IF-ELSE] `kshad_chg_um` (L1455-1461)

> Contract address change indicator (契約者住所変更有無): Whether the contract holder address is being changed.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KSHAD_CHG_UM)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 67** - [IF-ELSE] `kshad_chg_kibo_ymd` (L1463-1469)

> Contract address change requested date (契約者住所変更希望年月日): Requested date for contract address change.

| # | Type | Code |
|---|------|------|
| 1 | IF | `childTemplate.isNull(EKK0251A010CBSMsg1List.KSHAD_CHG_KIBO_YMD)` |
| 1.1 | ELSE | `setNull` branch |
| 1.2 | ELSE (No) | `set` branch |

**Block 68** - [SET] Template assembly and return (L1471-1477)

> Final assembly: wraps the template in an array and puts it into the paramMap.

| # | Type | Code |
|---|------|------|
| 1 | SET | `templates = new CAANMsg[1]` |
| 2 | SET | `templates[0] = template` |
| 3 | EXEC | `paramMap.put(JCMConstants.TEMPLATE_LIST_KEY, templates)` |
| 4 | RETURN | `return paramMap` |
