# Append script for sections 6-7
path = '.codewiki/dd/FUW00927SFBean/storeModelData.md'
S = []
def w(line=''):
    S.append(line)

# ============================================================
# SECTION 6: PER-BRANCH DETAIL BLOCKS
# ============================================================
w('## 6. Per-Branch Detail Blocks')
w()
w('**Block 1** - IF (key is null) (L3427)')
w()
w('> If key is null, the method exits immediately. No processing occurs.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | RETURN | return; // key is null, abort processing |')
w()
w('**Block 2** - ELSE IF (subkey is null) (L3431)')
w()
w('> Normalize null subkey to empty string.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | SET | subkey = new String(""); // subkey is null, normalize to empty string (nullの場合、空文字列に) |')
w()
w('**Block 3** - ELSE (key is not null) (L3435)')
w()
w('> Key is non-null. Determine if this is a common info field (starts with "//").')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | SET | String keyElement; // declare keyElement variable (keyの値の最初の要素を取得) |')
w('| 2 | SET | int separaterPoint = key.indexOf("//"); // check if key relates to common info view (keyが共通情報ビューンに関する指定か否かチェック) |')
w()
w('**Block 4** - IF (separaterPoint == 0) - Common info branch (L3438)')
w()
w('> Key starts with "//" - delegate entirely to superclass for common info processing.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | CALL | super.storeCommonInfoData(key, in_value, isSetAsString); // delegate to parent class for common info (共通情報の場合) |')
w()
w('**Block 5** - ELSE - Main routing branch (L3441)')
w()
w('> Key does not start with "//". Extract the first segment of the key as the field category.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | SET | separaterPoint = key.indexOf("/"); // find first slash for hierarchical path (keyがルート指定のような場合を想定し、区切り文字を検索する) |')
w('| 2 | IF | if (separaterPoint > 0) - hierarchical path |')
w('| 2.1 | SET | keyElement = key.substring(0, separaterPoint); // extract first segment before first slash |')
w('| 2.2 | ELSE | keyElement = key; // no slash, entire key is the element |')
w()
w('**Block 6** - IF (keyElement.equals("機能コード")) - Function Code (L3453)')
w()
w('> Handle the Function Code field. Data type is String.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | IF | subkey.equalsIgnoreCase("value") |')
w('| 1.1 | CALL | setFnc_mode_value((String)in_value); // set function code value |')
w('| 2 | ELSE IF | subkey.equalsIgnoreCase("state") |')
w('| 2.1 | CALL | setFnc_mode_state((String)in_value); // cast in_value and execute setter for fieldID_state (subkeyが"state"の場合、in_valueをcastして項目ID_stateのsetterを実行する) |')
w()
w('**Block 7** - ELSE IF (keyElement.equals("画面モード")) - Screen Mode (L3460)')
w()
w('> Handle the Screen Mode field. Data type is String.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | IF | subkey.equalsIgnoreCase("value") |')
w('| 1.1 | CALL | setScreen_mode_value((String)in_value); // set screen mode value |')
w('| 2 | ELSE IF | subkey.equalsIgnoreCase("state") |')
w('| 2.1 | CALL | setScreen_mode_state((String)in_value); // cast in_value and execute setter for state |')
w()
w('**Block 8** - ELSE IF (keyElement.equals("項目コード")) - Item Code (list) (L3467)')
w()
w('> Handle repeating Item Code fields. Key format: "項目コード/index".')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | SET | keyElement = key.substring(separaterPoint + 1); // extract portion after first slash (keyElement = "koumoku_code/0"から最初の"/"より後を取得) |')
w('| 2 | SET | Integer tmpIndexInt = null; // prepare to parse index (次はリスト中のインデックスを見る) |')
w('| 3 | TRY | tmpIndexInt = Integer.valueOf(keyElement); |')
w('| 3.1 | CATCH | NumberFormatException e -> tmpIndexInt = null; // if not a numeric string, return null (インデックス値が数値文字列でない場合は、ここでnullを返す) |')
w('| 4 | IF | tmpIndexInt != null - index parsed successfully |')
w('| 4.1 | SET | int tmpIndex = tmpIndexInt.intValue(); |')
w('| 4.2 | IF | tmpIndex >= 0 && tmpIndex < koumoku_code_list.size() - within bounds |')
w('| 4.2.1 | CALL | ((X33VDataTypeStringBean)koumoku_code_list.get(tmpIndex)).storeModelData(subkey, in_value); // delegate to list item (キャスト部分は、項目定義型に応じてX33VDataTypeStringBean、X33VDataTypeLongBean、X33VDataTypeBooleanBeanのいずれか1つを指定) |')
w()
w('**Block 9** - ELSE IF (keyElement.equals("値")) - Value (list) (L3492)')
w()
w('> Handle repeating Value fields. Key format: "値/index". Same index parsing pattern as Block 8. Delegates to koumoku_value_list.')
w()
w('**Block 10** - ELSE IF (keyElement.equals("月額料金項目")) - Monthly Fee Items (list) (L3517)')
w()
w('> Handle repeating Monthly Fee Items. Key format: "月額料金項目/index". Delegates to getsu_ryokin_kmk_list.')
w()
w('**Block 11** - ELSE IF (keyElement.equals("月額料金")) - Monthly Fee (list) (L3542)')
w()
w('> Handle repeating Monthly Fee amounts. Key format: "月額料金/index". Delegates to getsu_ryokin_list.')
w()
w('**Block 12** - ELSE IF (keyElement.equals("初期費用項目")) - Initial Fee Items (list) (L3567)')
w()
w('> Handle repeating Initial Fee Items. Key format: "初期費用項目/index". Delegates to shoki_hiyo_kmk_list.')
w()
w('**Block 13** - ELSE IF (keyElement.equals("初期費用")) - Initial Fee (list) (L3592)')
w()
w('> Handle repeating Initial Fee amounts. Key format: "初期費用/index". Delegates to shoki_hiyo_list.')
w()
w('**Block 14** - ELSE IF (keyElement.equals("月額料金計")) - Monthly Fee Total (list) (L3617)')
w()
w('> Handle repeating Monthly Fee Total line items. Key format: "月額料金計/index". Delegates to getsu_ryokin_kei_list.')
w()
w('**Block 15** - ELSE IF (keyElement.equals("月額料金計（税抜）")) - Monthly Fee Total Tax Excl. (list) (L3642)')
w()
w('> Handle repeating Monthly Fee Total (tax excluded) line items. Key format: "月額料金計（税抜）/index". Delegates to getsu_ryokin_kei_zei_list.')
w()
w('**Blocks 16-52** - Simple Setter Branches (non-list fields)')
w()
w('> All follow this identical pattern: IF subkey.equalsIgnoreCase("value") -> setXxx_value((String)in_value), ELSE IF subkey.equalsIgnoreCase("state") -> setXxx_state((String)in_value).')
w()
w('| Block | keyElement (Japanese) | English Meaning | Value Setter | State Setter |')
w('|-------|----------------------|-----------------|-------------|-------------|')
w('| 16 | 初期費用計 | Initial Fee Total | setShoki_hiyo_kei_value | setShoki_hiyo_kei_state |')
w('| 17 | 初期費用計（税抜） | Initial Fee Total (tax excl.) | setShoki_hiyo_kei_zei_value | setShoki_hiyo_kei_zei_state |')
w('| 18 | モバイル月額料金計 | Mobile Monthly Fee Total | setMobile_month_value | setMobile_month_state |')
w('| 19 | モバイル初期費用計 | Mobile Initial Fee Total | setMobile_init_value | setMobile_init_state |')
w('| 20 | 月額料金文言 | Monthly Fee Statement | setGetsu_ryokin_mongon_value | setGetsu_ryokin_mongon_state |')
w('| 21 | 初期費用文言 | Initial Fee Statement | setShoki_hiyo_mongon_value | setShoki_hiyo_mongon_state |')
w('| 22 | モバイル月額料金文言 | Mobile Monthly Fee Statement | setMobile_month_mongon_value | setMobile_month_mongon_state |')
w('| 23 | モバイル初期費用文言 | Mobile Initial Fee Statement | setMobile_init_mongon_value | setMobile_init_mongon_state |')
w('| 24 | 月額料金合計 | Total with Tax | setGtgk_prc_gokei_value | setGtgk_prc_gokei_state |')
w('| 25 | 月額料金合計（税抜） | Total with Tax (tax excl.) | setGtgk_prc_gokei_zei_value | setGtgk_prc_gokei_zei_state |')
w('| 26 | 初期費用合計 | Initial Fee Total (grand) | setShkh_gokei_value | setShkh_gokei_state |')
w('| 27 | 初期費用合計（税抜） | Initial Fee Total (grand, tax excl.) | setShkh_gokei_zei_value | setShkh_gokei_zei_state |')
w('| 28 | 月額料金合計文言 | Total Statement | setGtgk_prc_gokei_mongon_value | setGtgk_prc_gokei_mongon_state |')
w('| 29 | 初期費用合計文言 | Initial Fee Total Statement | setShkh_gokei_mongon_value | setShkh_gokei_mongon_state |')
w('| 30 | 契約種別 | Contract Type | setKei_sbt_value | setKei_sbt_state |')
w('| 31 | ご契約者情報（個人）・性別 | Customer Info (Individual) - Gender | setSex_value | setSex_state |')
w('| 32 | ご本人様確認書類 | ID Proof Document | setHnin_cfm_aticle_value | setHnin_cfm_aticle_state |')
w('| 33 | ご利用箇所設置位置・形態 | Installation Location - Form | setSetplace_form_value | setSetplace_form_state |')
w('| 34 | ご利用箇所設置位置・階数 | Installation Location - Floor | setSetplace_flr_value | setSetplace_flr_state |')
w('| 35 | ご利用箇所設置位置・住所番号 | Installation Location - Address | setSetplace_bnchi_value | setSetplace_bnchi_state |')
w('| 36 | ご利用箇所設置位置・使用中のネット回線 | Installation Location - Active Network | setUse_net_ksn_value | setUse_net_ksn_state |')
w('| 37 | ご利用箇所設置位置・使用中の機器の設置場所変更予定 | Installation Location - Equipment Change | setKiki_place_chg_value | setKiki_place_chg_state |')
w('| 38 | ご利用箇所設置位置・宅内調査と工事の同日実施 | Installation Location - Same-Day Work | setTkc_koji_same_value | setTkc_koji_same_state |')
w('| 39 | 連絡先選択 | Contact Preference | setRrks_choice_value | setRrks_choice_state |')
w('| 40 | FAX連絡ご希望 | FAX Connection Request | setFax_kibo_value | setFax_kibo_state |')
w('| 41 | 同一利用箇所警告表示制御フラグ | Same Place Warning Flag | setDsp_same_use_place_kkoku_flg_value | setDsp_same_use_place_kkoku_flg_state |')
w('| 42 | 郵便番号表示制御フラグ | Postal Code Display Flag | setDsp_pcd_flg_value | setDsp_pcd_flg_state |')
w('| 43 | 閉じるボタン表示制御フラグ | Close Button Display Flag | setDsp_close_btn_flg_value | setDsp_close_btn_flg_state |')
w('| 44 | 登録して次へボタン表示フラグ | Register and Next Button Flag | setDsp_add_btn_flg_value | setDsp_add_btn_flg_state |')
w('| 45 | 次へボタン表示フラグ | Next Button Display Flag | setDsp_next_btn_flg_value | setDsp_next_btn_flg_state |')
w('| 46 | 通話料指定額到達通知指定金額 | Call Charge Limit Notification | setTwryo_stiam_ttu_tchi_stiam_value | setTwryo_stiam_ttu_tchi_stiam_state |')
w()
w('**Block 53** - ELSE IF (keyElement.equals("月額料金項目（スマートリンク）")) - Monthly Fee Items Smart Link (list) (L3745)')
w()
w('> Handle repeating Monthly Fee Items (Smart Link). Delegates to getsu_ryokin_kmk_sml_list.')
w()
w('**Block 54** - ELSE IF (keyElement.equals("月額料金（スマートリンク）")) - Monthly Fee Smart Link (list) (L3770)')
w()
w('> Handle repeating Monthly Fee (Smart Link). Delegates to getsu_ryokin_sml_list.')
w()
w('**Block 55** - ELSE IF (keyElement.equals("初期費用項目（スマートリンク）")) - Initial Fee Items Smart Link (list) (L3795)')
w()
w('> Handle repeating Initial Fee Items (Smart Link). Delegates to shoki_hiyo_kmk_sml_list.')
w()
w('**Block 56** - ELSE IF (keyElement.equals("初期費用（スマートリンク）")) - Initial Fee Smart Link (list) (L3820)')
w()
w('> Handle repeating Initial Fee (Smart Link). Delegates to shoki_hiyo_sml_list.')
w()
w('**Blocks 57-70** - Simple Setter branches for Smart Link totals and statements:')
w()
w('| Block | keyElement | Value Setter | State Setter |')
w('|-------|-----------|-------------|-------------|')
w('| 57 | 月額料金計（スマートリンク） | setGetsu_ryokin_kei_sml_value | setGetsu_ryokin_kei_sml_state |')
w('| 58 | 月額料金計（スマートリンク）（税抜） | setGetsu_ryokin_kei_sml_zei_value | setGetsu_ryokin_kei_sml_zei_state |')
w('| 59 | 初期費用計（スマートリンク） | setShoki_hiyo_kei_sml_value | setShoki_hiyo_kei_sml_state |')
w('| 60 | 初期費用計（スマートリンク）（税抜） | setShoki_hiyo_kei_sml_zei_value | setShoki_hiyo_kei_sml_zei_state |')
w('| 61 | 月額料金文言（スマートリンク） | setGetsu_ryokin_mongon_sml_value | setGetsu_ryokin_mongon_sml_state |')
w('| 62 | 初期費用文言（スマートリンク） | setShoki_hiyo_mongon_sml_value | setShoki_hiyo_mongon_sml_state |')
w('| 63 | 月額料金合計（スマートリンク） | setGtgk_prc_gokei_sml_value | setGtgk_prc_gokei_sml_state |')
w('| 64 | 月額料金合計（スマートリンク）（税抜） | setGtgk_prc_gokei_sml_zei_value | setGtgk_prc_gokei_sml_zei_state |')
w('| 65 | 初期費用合計（スマートリンク） | setShkh_gokei_sml_value | setShkh_gokei_sml_state |')
w('| 66 | 初期費用合計（スマートリンク）（税抜） | setShkh_gokei_sml_zei_value | setShkh_gokei_sml_zei_state |')
w('| 67 | 月額料金合計文言（スマートリンク） | setGtgk_prc_gokei_mongon_sml_value | setGtgk_prc_gokei_mongon_sml_state |')
w('| 68 | 初期費用合計文言（スマートリンク） | setShkh_gokei_mongon_sml_value | setShkh_gokei_mongon_sml_state |')
w()
w('**Block 71** - ELSE IF (keyElement.equals("月額料金割引文言適用期間")) - Discount Valid Period (list) (L3845)')
w()
w('> Handle repeating discount validity periods. Delegates to gtgk_wrib_mngn_tk_kikan_list.')
w()
w('**Block 72** - ELSE IF (keyElement.equals("月額料金割引文言割引名")) - Discount Name (list) (L3870)')
w()
w('> Handle repeating discount names. Delegates to gtgk_wrib_mngn_wrib_nm_list.')
w()
w('**Block 73** - ELSE IF (keyElement.equals("月額料金割引文言割引額")) - Discount Amount (list) (L3895)')
w()
w('> Handle repeating discount amounts. Delegates to gtgk_wrib_mngn_wrib_amnt_list.')
w()
w('**Block 74** - ELSE IF (keyElement.equals("月額料金割引文言備考")) - Discount Remarks (list) (L3920)')
w()
w('> Handle repeating discount remarks. Delegates to gtgk_wrib_mngn_biko_list.')
w()
w('**Block 75** - ELSE IF (keyElement.equals("月額料金表示項目")) - Monthly Fee Display Items (list) (L3945)')
w()
w('> Handle repeating monthly fee display items. Delegates to getsu_ryokin_kei_title_list.')
w()
w('**Block 76** - ELSE IF (keyElement.equals("月額料金項目（ＮＨ）")) - Monthly Fee Items NH (list) (L3970)')
w()
w('> Handle repeating Monthly Fee Items (NH). Delegates to getsu_ryokin_kmk_gh_list.')
w()
w('**Block 77** - ELSE IF (keyElement.equals("月額料金（ＮＨ）")) - Monthly Fee NH (list) (L3995)')
w()
w('> Handle repeating Monthly Fee (NH). Delegates to getsu_ryokin_gh_list.')
w()
w('**Block 78** - ELSE IF (keyElement.equals("初期費用項目（ＮＨ）")) - Initial Fee Items NH (list) (L4020)')
w()
w('> Handle repeating Initial Fee Items (NH). Delegates to shoki_hiyo_kmk_gh_list.')
w()
w('**Block 79** - ELSE IF (keyElement.equals("初期費用（ＮＨ）")) - Initial Fee NH (list) (L4045)')
w()
w('> Handle repeating Initial Fee (NH). Delegates to shoki_hiyo_gh_list.')
w()
w('**Blocks 80-92** - Simple Setter branches for NH totals and statements:')
w()
w('| Block | keyElement | Value Setter | State Setter |')
w('|-------|-----------|-------------|-------------|')
w('| 80 | 月額料金計（ＮＨ） | setGetsu_ryokin_kei_gh_value | setGetsu_ryokin_kei_gh_state |')
w('| 81 | 月額料金計（ＮＨ）（税抜） | setGetsu_ryokin_kei_gh_zei_value | setGetsu_ryokin_kei_gh_zei_state |')
w('| 82 | 初期費用計（ＮＨ） | setShoki_hiyo_kei_gh_value | setShoki_hiyo_kei_gh_state |')
w('| 83 | 初期費用計（ＮＨ）（税抜） | setShoki_hiyo_kei_gh_zei_value | setShoki_hiyo_kei_gh_zei_state |')
w('| 84 | 月額料金文言（ＮＨ） | setGetsu_ryokin_mongon_gh_value | setGetsu_ryokin_mongon_gh_state |')
w('| 85 | 初期費用文言（ＮＨ） | setShoki_hiyo_mongon_gh_value | setShoki_hiyo_mongon_gh_state |')
w('| 86 | 月額料金合計（ＮＨ） | setGtgk_prc_gokei_gh_value | setGtgk_prc_gokei_gh_state |')
w('| 87 | 月額料金合計（ＮＨ）（税抜） | setGtgk_prc_gokei_gh_zei_value | setGtgk_prc_gokei_gh_zei_state |')
w('| 88 | 初期費用合計（ＮＨ） | setShkh_gokei_gh_value | setShkh_gokei_gh_state |')
w('| 89 | 初期費用合計（ＮＨ）（税抜） | setShkh_gokei_gh_zei_value | setShkh_gokei_gh_zei_state |')
w('| 90 | 月額料金合計文言（ＮＨ） | setGtgk_prc_gokei_mongon_gh_value | setGtgk_prc_gokei_mongon_gh_state |')
w('| 91 | 初期費用合計文言（ＮＨ） | setShkh_gokei_mongon_gh_value | setShkh_gokei_mongon_gh_state |')
w()
w('**Block 92** - ELSE IF (keyElement.equals("契約中サービスエリア表示フラグ")) - Contract Service Area Flag (Boolean) (L4070)')
w()
w('> Handle the Boolean Contract Service Area Display Flag. Value setter casts to Boolean, state setter casts to String.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | IF | subkey.equalsIgnoreCase("value") - convert to Boolean and return (Booleanに変換してから返す) |')
w('| 1.1 | CALL | setKei_svc_area_dsp_flg_value((Boolean)in_value); |')
w('| 2 | ELSE IF | subkey.equalsIgnoreCase("state") |')
w('| 2.1 | CALL | setKei_svc_area_dsp_flg_state((String)in_value); |')
w()
w('**Block 93** - ELSE IF (keyElement.equals("ＣＸ案件開始フラグ")) - CX Project Start Flag (L4081)')
w()
w('> Handle the CX Project Start Flag.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | IF | subkey.equalsIgnoreCase("value") |')
w('| 1.1 | CALL | setCx_start_flg_value((String)in_value); |')
w('| 2 | ELSE IF | subkey.equalsIgnoreCase("state") |')
w('| 2.1 | CALL | setCx_start_flg_state((String)in_value); |')
w()
w('**Block 94** - ELSE IF (keyElement.equals("宅内調査のアポ架電希望表示フラグ")) - Home Survey Display Flag (L4092)')
w()
w('> Handle the Home Survey Installation Preference Display Flag.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | IF | subkey.equalsIgnoreCase("value") |')
w('| 1.1 | CALL | setTakcho_apo_kaden_kibo_um_disp_flg_value((String)in_value); |')
w('| 2 | ELSE IF | subkey.equalsIgnoreCase("state") |')
w('| 2.1 | CALL | setTakcho_apo_kaden_kibo_um_disp_flg_state((String)in_value); |')
w()
w('**Block 95** - ELSE IF (keyElement.equals("宅内調査のアポ架電希望")) - Home Survey Installation Preference (special 3-way) (L4103)')
w()
w('> Handle the Home Survey Installation Preference. This field uniquely supports THREE subkeys: "value", "enable", and "state".')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | IF | subkey.equalsIgnoreCase("value") |')
w('| 1.1 | CALL | setTakcho_apo_kaden_kibo_um_screen_value((String)in_value); |')
w('| 2 | ELSE IF | subkey.equalsIgnoreCase("enable") - set field enabled/disabled (subkeyが"enable"の場合、項目ID_enableのsetterを実行する) |')
w('| 2.1 | CALL | setTakcho_apo_kaden_kibo_um_screen_enabled((Boolean)in_value); |')
w('| 3 | ELSE IF | subkey.equalsIgnoreCase("state") |')
w('| 3.1 | CALL | setTakcho_apo_kaden_kibo_um_screen_state((String)in_value); |')
w()
w('**Block 96** - ELSE - No match (L4547-4549)')
w()
w('> No branch matched the keyElement. Fall through with no action.')
w()
w('| # | Type | Code |')
w('|---|------|------|')
w('| 1 | (implicit) | Method ends - no action taken for unrecognized keyElement |')
w()

# ============================================================
# SECTION 7: GLOSSARY
# ============================================================
w('## 7. Glossary')
w()
w('### Japanese Field Names with English Meanings')
w()
w('| Term | Type | Business Meaning |')
w('|------|------|------------------|')
w('| `fnc_mode` | Field | Function Code - internal code identifying the UI function being invoked |')
w('| `screen_mode` | Field | Screen Mode - identifies the current screen display mode |')
w('| `koumoku_code_list` | Field | Item Code List - list of repeating item definition codes |')
w('| `koumoku_value_list` | Field | Value List - list of repeating item values |')
w('| `getsu_ryokin_kmk_list` | Field | Monthly Fee Items List - list of repeating monthly fee line item definitions |')
w('| `getsu_ryokin_list` | Field | Monthly Fee List - list of repeating monthly fee amounts |')
w('| `shoki_hiyo_kmk_list` | Field | Initial Fee Items List - list of repeating initial fee line item definitions |')
w('| `shoki_hiyo_list` | Field | Initial Fee List - list of repeating initial fee amounts |')
w('| `getsu_ryokin_kei_list` | Field | Monthly Fee Total List - list of repeating monthly fee total line items |')
w('| `getsu_ryokin_kei_zei_list` | Field | Monthly Fee Total (Tax Excl.) List - list of repeating monthly fee totals excluding tax |')
w('| `shoki_hiyo_kei_value` | Field | Initial Fee Total - total of all initial fee amounts |')
w('| `shoki_hiyo_kei_zei_value` | Field | Initial Fee Total (Tax Excl.) - initial fee total excluding tax |')
w('| `mobile_month_value` | Field | Mobile Monthly Fee Total - total mobile/telecom monthly fee |')
w('| `mobile_init_value` | Field | Mobile Initial Fee Total - one-time mobile/telecom initial fee |')
w('| `getsu_ryokin_mongon_value` | Field | Monthly Fee Statement - display text for monthly fee breakdown |')
w('| `shoki_hiyo_mongon_value` | Field | Initial Fee Statement - display text for initial fee breakdown |')
w('| `mobile_month_mongon_value` | Field | Mobile Monthly Fee Statement - display text for mobile fee breakdown |')
w('| `mobile_init_mongon_value` | Field | Mobile Initial Fee Statement - display text for mobile initial fee |')
w('| `gtgk_prc_gokei_value` | Field | Total with Tax - grand total including tax |')
w('| `gtgk_prc_gokei_zei_value` | Field | Total with Tax (Tax Excl.) - grand total excluding tax |')
w('| `shkh_gokei_value` | Field | Initial Fee Total (Grand) - grand total of all initial fees |')
w('| `shkh_gokei_zei_value` | Field | Initial Fee Total (Grand, Tax Excl.) - grand initial fee excluding tax |')
w('| `gtgk_prc_gokei_mongon_value` | Field | Total Statement - display text for grand total |')
w('| `shkh_gokei_mongon_value` | Field | Initial Fee Total Statement - display text for grand initial fee |')
w('| `kei_sbt_value` | Field | Contract Type - classification of the service contract (e.g., new, change) |')
w('| `sex_value` | Field | Customer Info (Individual) - Gender - gender of the individual customer |')
w('| `hnin_cfm_aticle_value` | Field | ID Proof Document - type of identification document submitted |')
w('| `setplace_form_value` | Field | Installation Location - Form - form of the installation location (e.g., detached, apartment) |')
w('| `setplace_flr_value` | Field | Installation Location - Floor - floor number of the installation location |')
w('| `setplace_bnchi_value` | Field | Installation Location - Address - property/address number |')
w('| `use_net_ksn_value` | Field | Installation Location - Active Network - current network service in use |')
w('| `kiki_place_chg_value` | Field | Installation Location - Equipment Change - whether existing equipment location will change |')
w('| `tkc_koji_same_value` | Field | Installation Location - Same-Day Work - whether home survey and installation are on the same day |')
w('| `rrks_choice_value` | Field | Contact Preference - preferred contact method |')
w('| `fax_kibo_value` | Field | FAX Connection Request - request for FAX-based connection |')
w('| `dsp_same_use_place_kkoku_flg_value` | Field | Same Place Warning Flag - flag to display warning for same installation place |')
w('| `dsp_pcd_flg_value` | Field | Postal Code Display Flag - flag to display postal code input |')
w('| `dsp_close_btn_flg_value` | Field | Close Button Display Flag - flag to show/hide the close button |')
w('| `dsp_add_btn_flg_value` | Field | Register and Next Button Flag - flag to show/hide the register-and-next button |')
w('| `dsp_next_btn_flg_value` | Field | Next Button Display Flag - flag to show/hide the next button |')
w('| `twryo_stiam_ttu_tchi_stiam_value` | Field | Call Charge Limit Notification - threshold-based alert system for monitoring phone usage charges |')
w('| `kei_svc_area_dsp_flg_value` | Field | Contract Service Area Display Flag - flag indicating if contracted service area is displayed (Boolean) |')
w('| `cx_start_flg_value` | Field | CX Project Start Flag - flag indicating CX (customer experience) project initiation |')
w('| `takcho_apo_kaden_kibo_um_disp_flg_value` | Field | Home Survey Installation Preference Display Flag - display flag for appointment scheduling preference |')
w('| `takcho_apo_kaden_kibo_um_screen_value` | Field | Home Survey Installation Preference - customer\'s scheduling preference for home survey (supports value, enable, state subkeys) |')
w('| `getsu_ryokin_kmk_sml_list` | Field | Monthly Fee Items (Smart Link) List - Smart Link product monthly fee items |')
w('| `getsu_ryokin_sml_list` | Field | Monthly Fee (Smart Link) List - Smart Link product monthly fees |')
w('| `shoki_hiyo_kmk_sml_list` | Field | Initial Fee Items (Smart Link) List - Smart Link product initial fee items |')
w('| `shoki_hiyo_sml_list` | Field | Initial Fee (Smart Link) List - Smart Link product initial fees |')
w('| `getsu_ryokin_kei_sml_value` | Field | Monthly Fee Total (Smart Link) - total Smart Link monthly fees |')
w('| `shoki_hiyo_kei_sml_value` | Field | Initial Fee Total (Smart Link) - total Smart Link initial fees |')
w('| `gtgk_prc_gokei_sml_value` | Field | Total (Smart Link) - grand total for Smart Link products |')
w('| `gtgk_wrib_mngn_tk_kikan_list` | Field | Discount Valid Period List - list of discount statement validity periods |')
w('| `gtgk_wrib_mngn_wrib_nm_list` | Field | Discount Name List - list of discount statement discount names |')
w('| `gtgk_wrib_mngn_wrib_amnt_list` | Field | Discount Amount List - list of discount statement discount amounts |')
w('| `gtgk_wrib_mngn_biko_list` | Field | Discount Remarks List - list of discount statement remarks |')
w('| `getsu_ryokin_kei_title_list` | Field | Monthly Fee Display Items List - list of display item titles for monthly fee |')
w('| `getsu_ryokin_kmk_gh_list` | Field | Monthly Fee Items (NH) List - NH (Nippon Hoso / NHK) related monthly fee items |')
w('| `getsu_ryokin_gh_list` | Field | Monthly Fee (NH) List - NH related monthly fees |')
w('| `shoki_hiyo_kmk_gh_list` | Field | Initial Fee Items (NH) List - NH related initial fee items |')
w('| `shoki_hiyo_gh_list` | Field | Initial Fee (NH) List - NH related initial fees |')
w('| `getsu_ryokin_kei_gh_value` | Field | Monthly Fee Total (NH) - total NH monthly fees |')
w('| `shoki_hiyo_kei_gh_value` | Field | Initial Fee Total (NH) - total NH initial fees |')
w('| `gtgk_prc_gokei_gh_value` | Field | Total (NH) - grand total including NH fees |')
w()
w('### Acronyms')
w()
w('| Term | Type | Business Meaning |')
w('|------|------|------------------|')
w('| FTTH | Business term | Fiber To The Home - fiber-optic broadband internet service offered by K-Opticom |')
w('| CX | Acronym | Customer Experience - customer-focused project/initiative indicator |')
w('| NH / NHK | Acronym | Nippon Hoso Kyokai (Japan Broadcasting Corporation) - NHK public broadcaster; NH-related fees for TV reception in Japanese telecom services |')
w('| SML | Acronym | Smart Link - K-Opticom\'s bundled mobile/telecom service add-on |')
w('| SC | Acronym | Service Component - server-side business logic component in the K-Opticom architecture |')
w('| CBS | Acronym | Common Business Service - shared service component in the K-Opticom architecture |')
w('| DAO | Acronym | Data Access Object - database access layer component |')
w('| POJO | Acronym | Plain Old Java Object - simple Java beans used for data transfer |')
w('| X33V | Acronym | K-Opticom web framework type identifier - indicates a typed data bean (String/Long/Boolean variant) |')
w()
w('### Business Concepts')
w()
w('| Term | Type | Business Meaning |')
w('|------|------|------------------|')
w('| FUW00927SF | Screen/Module | Input Content Confirmation (Sales/Delivery) screen - the FTTH new subscription order confirmation page where customers review their service selection, pricing, and installation details |')
w('| Monthly Fee (月額料金) | Business concept | The recurring monthly charge for the FTTH service, including base rate, optional add-ons, and associated fees |')
w('| Initial Fee (初期費用) | Business concept | One-time charges for service installation, equipment setup, and contract processing |')
w('| Monthly Fee Total (月額料金計) | Business concept | The sum of all monthly charges for the service period |')
w('| Monthly Fee Total (tax excl.) (月額料金計（税抜）) | Business concept | Monthly fee total before 8% consumption tax |')
w('| Initial Fee Total (初期費用計) | Business concept | The sum of all one-time initial charges |')
w('| Initial Fee Total (tax excl.) (初期費用計（税抜）) | Business concept | Initial fee total before tax |')
w('| Grand Total with Tax (月額料金合計) | Business concept | The complete amount including all monthly fees, initial fees, and consumption tax |')
w('| Discount Statement (割引文言) | Business concept | Promotional discount messaging and details applied to the monthly fee |')
w('| Discount Valid Period (割引適用期間) | Business concept | The time window during which the promotional discount applies |')
w('| Customer Info (ご契約者情報) | Business concept | Personal data of the subscribing customer including individual vs. corporate classification |')
w('| Identity Verification Document (ご本人様確認書類) | Business concept | Proof of identity document submitted for contract verification (e.g., driver\'s license, passport) |')
w('| Installation Location (ご利用箇所設置位置) | Business concept | The physical address and details where the FTTH service will be installed |')
w('| Home Survey (宅内調査) | Business concept | In-person assessment of the installation location before FTTH installation |')
w('| Appointment Scheduling Preference (アポ架電希望) | Business concept | Customer\'s preferred method and timing for the home survey appointment call |')
w('| Contracted Service Area (契約中サービスエリア) | Business concept | The geographic coverage area available to the customer under their current contract |')
w('| Function Code (機能コード) | Business concept | Internal identifier for the UI function or screen mode being invoked |')
w('| Screen Mode (画面モード) | Business concept | Determines how the screen is displayed (e.g., registration, confirmation, edit mode) |')
w('| Item Code (項目コード) | Business concept | Identifier for a specific line item in the service order |')
w('| Call Charge Limit Notification (通話料指定額到達通知) | Business concept | Threshold-based alert system for monitoring phone usage charges |')
w('| Common Information (共通情報) | Business concept | Shared screen-level metadata handled by the superclass, not specific to this bean |')
w()

with open(path, 'a', encoding='utf-8') as f:
    f.write('
'.join(S) + '
')
print('Parts 6-7 written, appended', len(S), 'lines')
