delete from T070CodMst where syscode1 = 'エラー内容種別' and code_no = '52'
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and code_no = '53'
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and code_no = '54'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','52','','設定された分割位置では区切れませんでした。')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','53','','設定された分割位置では区切れませんでした。')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','54','','設定された分割位置では区切れませんでした。')
go
drop table T070XclCtl
go
create table T070XclCtl (
 pc_hanbetsu_cd char(8) not null
,com_member_id  char(8) not null
,com_pc_id      char(4) not null
,login_group_id char(30) not null
,login_user_id  char(30) not null
,shori_id       char(30) not null
,shori_sub_id   char(3) not null
,shori_kbn      char(1) not null
,kanri_no_from  char(24) not null
,kanri_no_to    char(24) not null
,shori_date     datetime not null
,machine_nm     nvarchar(50) not null
constraint PK_T070XclCtl PRIMARY KEY(pc_hanbetsu_cd,com_member_id,com_pc_id,login_group_id,login_user_id,shori_id,shori_sub_id)
)
go
delete from T070MsgMst where message_id = 'E0742019067'
go
insert into T070MsgMst values ('E0742019067', '他端末[{0}]でデータ取込中です。他端末のデータ取込終了後に実行してください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019068'
go
insert into T070MsgMst values ('E0742019068', '他端末[{0}]で送り状レイアウト変更中です。他端末の変更終了後に実行してください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019069'
go
insert into T070MsgMst values ('E0742019069', '他端末で送り状レイアウトが変更された可能性があります。ゆうプリＲを再起動してから印刷してください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019070'
go
insert into T070MsgMst values ('E0742019070', 'メールアドレスにカンマが含まれています。', null, null)
go
delete from T070MsgMst where message_id = 'I0742010028'
go
insert into T070MsgMst values ('I0742010028', 'データベースのバックアップ処理を行いますが、よろしいですか？', null, null)
go
alter table T070MstPrintrStg add machine_id nvarchar(30) not null default ''
go
alter table T070MstPrintrStg drop constraint PK_T070MstPrintrStg
go
alter table T070MstPrintrStg add constraint PK_T070MstPrintrStg primary key clustered
(com_member_id,com_pc_id,login_group_id,login_user_id,machine_id,comprint_no,comprint_eda_no)
go
delete from T070VerInf where ver_sbt = '01' and table_name = 'T021AddressKajo'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','AT','','保冷種別が冷凍の場合、25kg超重量物区分は指定出来ません。')
go
drop table T070SigStgMst1
go
select distinct * into T070SigStgMst1 from T070SigStgMst 
go
delete from T070SigStgMst
go
alter table T070SigStgMst add constraint PK_T070SigStgMst primary key clustered(sys_code_id,code_no)
go
insert into T070SigStgMst select * from T070SigStgMst1
go
drop table T070SigStgMst1
go
alter table T021PostalCodeList add constraint PK_T021PostalCodeList primary key clustered(PslNum,PslNumSNo,RcdAplSttYmd)
go
update T070DpcPlnTrxHer_1 set
 todoke_kokyaku_jis = left(todoke_kokyaku_jis,5) + '000000'
,goirai_kokyaku_jis = left(goirai_kokyaku_jis,5) + '000000'
go
update T070DpcPlnTrxHer_2 set
 syuka_kokyaku_jis = left(syuka_kokyaku_jis,5) + '000000'
go
update T070DTplpcPlnTrxHer_1 set
 todoke_kokyaku_jis = left(todoke_kokyaku_jis,5) + '000000'
,goirai_kokyaku_jis = left(goirai_kokyaku_jis,5) + '000000'
go
update T070DTplpcPlnTrxHer_2 set
 syuka_kokyaku_jis = left(syuka_kokyaku_jis,5) + '000000'
go
update T070CliMst set
 kokyaku_jis = left(kokyaku_jis,5) + '000000'
go
alter table T070MstBkupRestore add hoji_date numeric(2, 0) null
go
update T070MstBkupRestore set hoji_date = 5
go
update T070SigStgMst set constant04 ='3' where sys_code_id = '33' and code_no = '0'
go
update T070SigStgMst set constant04 ='30000' where sys_code_id = '33' and code_no = '1'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '2'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '3'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '4'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '5'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '6'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '7'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '8'
go
update T070SigStgMst set constant04 ='30000' where sys_code_id = '33' and code_no = '9'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '10'
go
update T070SigStgMst set constant04 ='30000' where sys_code_id = '33' and code_no = '11'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '12'
go
update T070SigStgMst set constant04 ='600000' where sys_code_id = '33' and code_no = '13'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','AU','','お問い合わせ番号は数字のみ有効です。')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','AV','','お問い合わせ番号のチェックディジットが不正です。')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','AW','','※配達指定時間帯郵便対応で使用予定')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','AX','','※配達指定時間帯郵便対応で使用予定')
go
delete from T070MsgMst where message_id = 'E0742019071'
go
insert into T070MsgMst values ('E0742019071', 'サーバとの通信でエラーとなりました。再度通信を行いますか？', null, null)
go
delete from T070MsgMst where message_id = 'E0742019072'
go
insert into T070MsgMst values ('E0742019072', 'オフラインの暫定ご利用期間は終了いたしました。
対処方法は、ゆうプリＲ会員ページをご覧ください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019073'
go
insert into T070MsgMst values ('E0742019073', 'センターサーバからの応答がないため、オンラインでの起動が出来ません。
暫定としてオフラインで起動します。
※オフラインの暫定ご利用期間は３日間です。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019074'
go
insert into T070MsgMst values ('E0742019074', 'オフラインの暫定ご利用期間は終了いたしました。
インターネット環境をご確認ください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019075'
go
insert into T070MsgMst values ('E0742019075', 'インターネットに接続出来ません。お客さまのインターネット環境をご確認してください。
暫定としてオフラインで起動します。
※オフラインの暫定ご利用期間は３日間です。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019076'
go
insert into T070MsgMst values ('E0742019076', '配達希望日が過去日です。印刷を中断します。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019077'
go
insert into T070MsgMst values ('E0742019077', '出荷元から指示データのキャンセルを受信しました。印刷を中断します。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019078'
go
insert into T070MsgMst values ('E0742019078', '出荷元から指示データのキャンセルを受信したため、プレビュー表示できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019079'
go
insert into T070MsgMst values ('E0742019079', '出荷先で印刷済みのため元に戻せません。', null, null)
go
update T070SigStgMst set
 CONSTANT09 = '20000101'
,CONSTANT10 = '20140331'
where SYS_CODE_ID = '13'
and CODE_NO in ('01','02')
go
update T070SigStgMst set
 CONSTANT09 = '20000101'
,CONSTANT10 = '99991231'
where SYS_CODE_ID = '13'
and CODE_NO in ('03','04','05','06','07','08','09','10','11','12','13','14','15')
go
delete from T070SigStgMst
where SYS_CODE_ID = '13'
and CODE_NO in ('16','17')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT09,CONSTANT10)values('13','16','0','0','49999','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT09,CONSTANT10)values('13','17','200','50000','1000000','20140401','99991231')
go
update T070SigStgMst set
 CONSTANT09 = '20000101'
,CONSTANT10 = '20140331'
where SYS_CODE_ID = '14'
and CODE_NO in ('01','02','03','04','05','06','07','08')
go
delete from T070SigStgMst
where SYS_CODE_ID = '14'
and CODE_NO in ('09','10','11','12','13','14','15','16')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','09','430','0','49999','1','普通為替','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','10','650','50000','9999999999','1','普通為替','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','11','130','0','49999','2','通常払込振替口座','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','12','340','50000','9999999999','2','通常払込振替口座','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','13','540','0','49999','3','電信払込振替口座','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','14','756','50000','9999999999','3','電信払込振替口座','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','15','540','0','49999','4','電信払込総合口座','20140401','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','16','756','50000','9999999999','4','電信払込総合口座','20140401','99991231')
go
delete from T070FormSetting where method_nm = 'RePrint'
go
insert into T070FormSetting( form_id, form_nm, object_kbn, menu_kbn, button_panel_id, button_panel_nm, button_panel_layer, button_alliment, button_enable, method_nm, sort, button_nm, button_nm2, method_nm2, icon_nm) 
values ( '420107M01P02V01', '発送履歴データ照会', '1', 'T', '', '', null, '0', '1', 'RePrint', 6, '送り状再印刷', 'Ctrl+R', '', 'Print') 
go
delete from T070MsgMst where message_id = 'E0742019080'
go
insert into T070MsgMst values ('E0742019080', '複数の送り状種別の選択はできません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019081'
go
insert into T070MsgMst values ('E0742019081', 'お問い合わせ番号が採番済の送り状は再印刷できません。', null, null)
go
update T070CodMst set code_nm = 'お届け先住所から配達店が特定できないため、仕分番号の符番ができません。' where syscode1 = 'エラー内容種別' and code_no = '06'
go
update T070CodMst set code_nm = '金額（代金引換金額等）の上限を超えています。' where syscode1 = 'エラー内容種別' and code_no = 'A9'
go
update T070CodMst set code_nm = '代金引換金額はゼロで設定できません。' where syscode1 = 'エラー内容種別' and code_no = 'AA'
go
update T070CodMst set code_nm = '複数個口の場合、代金引換金額の合計は2,000,000円以内です。' where syscode1 = 'エラー内容種別' and code_no = 'AB'
go
update T070CodMst set code_nm = 'お問い合わせ番号付データ取込時は送り状種別も指定してください。' where syscode1 = 'エラー内容種別' and code_no = 'AH'
go
update T070CodMst set code_nm = '会員情報設定にて、お問い合わせ番号付データの取込設定がされていないため、取り込みできません。' where syscode1 = 'エラー内容種別' and code_no = 'AI'
go
update T070CodMst set code_nm = 'この商品は会員情報設定にて利用設定されていないため取り込めません。' where syscode1 = 'エラー内容種別' and code_no = 'AL'
go
alter table T070MstStgInpOupHer add format_sbt nvarchar(20) 
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','00','','フリーフォーマット')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','01','','楽天')
go
delete from T070SigStgMst where SYS_CODE_ID = '64'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','00','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','01','RAKUTEN_TSUJO')
go                                                                          
update T999ZIPSUM set RcdAplTmtYmd = '20140331', Upd_ymd = '2014-03-14 10:00:00.0000000' where RcdAplSttYmd = '20120901'
go
delete from T999ZIPSUM where RcdAplSttYmd = '20140401'
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律','150','180','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律','250','215','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律','500','300','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律','1000','350','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律','2000','460','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律','3000','610','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00010000','代引','0','全国一律','0','0','0','260','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00100000','簡易書留','0','全国一律','0','0','50000','310','0','0','50000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00200000','書留','0','全国一律','0','0','100000','370','50000','21','5000000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00300000','特定記録','0','全国一律','0','0','0','160','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000000','速達','0','全国一律','2000','0','0','320','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000000','速達','0','全国一律','3000','0','0','470','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','02000000','配達日指定','0','全国一律','0','0','0','51','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','200','98','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','400','139','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','600','170','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','800','206','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','1000','237','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','2000','262','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','1','差出店が配達支店','3000','365','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','200','103','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','400','154','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','600','185','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','800','221','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','1000','257','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','2000','283','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','2','同一県内配達','3000','386','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','200','113','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','400','165','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','600','211','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','800','252','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','1000','293','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','2000','324','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','10000000','特別運賃1','3','県外配達','3000','447','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','200','67','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','400','108','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','600','139','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','800','170','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','1000','195','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','2000','211','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','1','差出店が配達支店','3000','293','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','200','72','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','400','113','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','600','144','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','800','175','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','1000','206','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','2000','226','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','2','同一県内配達','3000','309','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','200','82','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','400','123','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','600','154','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','800','190','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','1000','221','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','2000','257','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','20000000','特別運賃2','3','県外配達','3000','360','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00000000','普通','0','全国一律','25','82','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00000000','普通','0','全国一律','50','92','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00010000','代引','0','全国一律','0','0','0','260','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00100000','簡易書留','0','全国一律','0','0','50000','310','0','0','50000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00200000','書留','0','全国一律','0','0','100000','430','50000','21','5000000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00300000','特定記録','0','全国一律','0','0','0','160','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','01000000','速達','0','全国一律','0','0','0','280','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','02000000','配達日指定','0','全国一律','0','0','0','31','0','179','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','05000000','新特急','0','全国一律（条件付）','0','0','0','822','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','50','120','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','100','140','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','150','205','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','250','250','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','500','400','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','1000','600','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','2000','870','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','3000','1180','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律','4000','1180','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00010000','代引','0','全国一律','0','0','0','260','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00100000','簡易書留','0','全国一律','0','0','50000','310','0','0','50000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00200000','書留','0','全国一律','0','0','100000','430','50000','21','5000000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00300000','特定記録','0','全国一律','0','0','0','160','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律','250','0','0','280','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律','1000','0','0','380','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律','4000','0','0','650','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','02000000','配達日指定','0','全国一律','0','0','0','31','0','179','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','05000000','新特急','0','全国一律（条件付）','0','0','0','822','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','5','ポスパケット','00000000','普通','0','全国一律','1000','360','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00000000','普通','0','全国一律','25','82','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00000000','普通','0','全国一律','50','92','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00200000','書留','0','全国一律','0','0','100000','430','50000','21','5000000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）','250','0','0','320','0','0','0','0','20140401','99991231','0','2014-03-14 09:00:00.0000000','2014-03-14 09:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）','1000','0','0','430','0','0','0','0','20140401','99991231','0','2014-03-14 09:00:00.0000000','2014-03-14 09:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）','4000','0','0','700','0','0','0','0','20140401','99991231','0','2014-03-14 09:00:00.0000000','2014-03-14 09:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','50','120','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','100','140','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','150','205','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','250','250','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','500','400','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','1000','600','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','2000','870','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','3000','1180','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律','4000','1180','0','0','0','0','0','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00200000','書留','0','全国一律','0','0','100000','430','50000','21','5000000','0','20140401','99991231','0','2014-03-13 18:00:00.0000000','2014-03-13 18:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）','250','0','0','330','0','0','0','0','20140401','99991231','0','2014-03-14 09:00:00.0000000','2014-03-14 09:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）','1000','0','0','430','0','0','0','0','20140401','99991231','0','2014-03-14 09:00:00.0000000','2014-03-14 09:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
insert into T999ZIPSUM(com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id) values ('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）','4000','0','0','700','0','0','0','0','20140401','99991231','0','2014-03-14 09:00:00.0000000','2014-03-14 09:00:00.0000000','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
delete from T070CodMst where syscode1 = '郵便種別' and syscode2 = '' and syscode3 = '' and code_no = '7'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('郵便種別','','','7','','配時指定(定形)','配時指定(定形)')
go
delete from T070CodMst where syscode1 = '郵便種別' and syscode2 = '' and syscode3 = '' and code_no = '8'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('郵便種別','','','8','','配時指定(定形外)','配時指定(定形外)')
go
delete from T070CodMst where syscode1 = '配達時間帯区分（郵便）' and syscode2 = '' and syscode3 = '' and code_no = '61'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('配達時間帯区分（郵便）','','','61','','08〜12時','08〜12時')
go
delete from T070CodMst where syscode1 = '配達時間帯区分（郵便）' and syscode2 = '' and syscode3 = '' and code_no = '62'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('配達時間帯区分（郵便）','','','62','','12〜17時','12〜17時')
go
delete from T070CodMst where syscode1 = '配達時間帯区分（郵便）' and syscode2 = '' and syscode3 = '' and code_no = '63'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('配達時間帯区分（郵便）','','','63','','17〜21時','17〜21時')
go
delete from T070CodMst where syscode1 = '配達時間帯区分（郵便）表示用' and syscode2 = '' and syscode3 = '' and code_no = '61'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('配達時間帯区分（郵便）表示用','','','61','','08〜12時 （郵便用）','08〜12時 （郵便用）')
go
delete from T070CodMst where syscode1 = '配達時間帯区分（郵便）表示用' and syscode2 = '' and syscode3 = '' and code_no = '62'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('配達時間帯区分（郵便）表示用','','','62','','12〜17時 （郵便用）','12〜17時 （郵便用）')
go
delete from T070CodMst where syscode1 = '配達時間帯区分（郵便）表示用' and syscode2 = '' and syscode3 = '' and code_no = '63'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('配達時間帯区分（郵便）表示用','','','63','','17〜21時 （郵便用）','17〜21時 （郵便用）')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'AW'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','AW','','配達時間帯指定郵便の場合は配達指定日は必須です。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'AX'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','AX','','配達時間帯指定郵便の場合は配達指定時間帯は必須です。','')
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '2'
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '3'
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '4'
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '5'
go

delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '208'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('36','208','ゆうびん　−　配達時間帯指定郵便（普通）','2','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '209'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('36','209','ゆうびん　−　配達時間帯指定郵便（書留）','1','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '42' and CODE_NO = '420107I01R14'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('42','420107I01R14','配達時間帯指定郵便控','0','1','12','0','1','9','9','9','0')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '091'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','091','420107I01R14','配達時間帯指定郵便控','発送日','hassou_ymd','01','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '092'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','092','420107I01R14','配達時間帯指定郵便控','発送予定日','haisoyoteidd_ymd','02','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '093'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','093','420107I01R14','配達時間帯指定郵便控','お問い合わせ番号','tsuiseki_no','03','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '094'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','094','420107I01R14','配達時間帯指定郵便控','お客様側管理番号','okyakusama_kanri_no','04','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '095'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','095','420107I01R14','配達時間帯指定郵便控','配達希望日','haitatsushitei_ymd','05','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '096'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','096','420107I01R14','配達時間帯指定郵便控','配達希望時間帯','haitatsushitei_zon_kbn','06','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '097'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','097','420107I01R14','配達時間帯指定郵便控','お届け先名称','todoke_kokyaku1_nm','07','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '098'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','098','420107I01R14','配達時間帯指定郵便控','お届け先住所','todoke_kokyaku_adr1','08','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '43' and CODE_NO = '099'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('43','099','420107I01R14','配達時間帯指定郵便控','登録日','toroku_ymd','09','','','','','')
go

update T070MstDefInpOupDbs set field_janm = '速達種別' where filter_sbt = '1' and field_nm = 'haitatsushitei_sbt'
go
update T070MstDefInpOupDbs set field_janm = '速達種別' where filter_sbt = '2' and field_nm = 'haitatsushitei_sbt'
go
update T070MstDefInpOupDbs set field_janm = '配達希望日' where filter_sbt = '1' and field_nm = 'haitatsushitei_ymd'
go
update T070MstDefInpOupDbs set field_janm = '配達希望日' where filter_sbt = '2' and field_nm = 'haitatsushitei_ymd'
go
update T070MstDefInpOupDbs set field_janm = '配達時間帯区分' where filter_sbt = '3' and field_nm = 'haitatsujikan_kbn'
go

update T070PrtLblCnfMst set haitatsushitei_zon_shitei_kbn = '0' where comprint_no <> '1100280' and comprint_no <> '1100290'
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1100300',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','1','4-4-4','12','7','2','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100300',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','1','4-4-4','12','7','2','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1100310',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','1','1','3-4-4','11','7','2','0','0','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100310',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','1','1','3-4-4','11','7','2','0','0','1','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1700800001',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800001',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1700800002',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800002',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1700800003',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800003',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1700800004',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800004',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1700800005',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800005',0,'0','0','0','1','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','4','3-4-4','11','7','1','0','0','1','0','','20120101','99991231'
from T070UsrLinMst
go

delete from T070DefLdgShtMst where comprint_no = '1100300'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1100300', '配達時間帯指定郵便ラベル（普通）（ュ00300）', '420107P02R30.rpx', 2, 0, 1, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '1100310'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1100310', '配達時間帯指定郵便ラベル（書留）（ュ00310）', '420107P02R31.rpx', 2, 0, 1, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '1700800001'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1700800001', '配達時間帯指定用 2×4 エーワン(60208〜76208)', '420107P02R30001.rpx', 0, 0, 8, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '1700800002'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1700800002', '配達時間帯指定用 2×4 コクヨ(KJ-8165〜LBP-7165N)', '420107P02R30002.rpx', 0, 0, 8, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '1700800003'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1700800003', '配達時間帯指定用 2×4 マクセル(L7165-20A)', '420107P02R30003.rpx', 0, 0, 8, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '1700800004'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1700800004', '配達時間帯指定用 2×4 ヒサゴ(ELM005)', '420107P02R30004.rpx', 0, 0, 8, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '1700800005'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1700800005', '配達時間帯指定用 2×4 エーワン(31314)', '420107P02R30005.rpx', 0, 0, 8, 0, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070DefLdgShtMst where comprint_no = '420107I01R14'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'420107I01R14', '配達時間帯指定郵便控', '420107I01R14.rpx', 0, 0, 0, 0, 0, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1100300' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100300',0,'0','配達時間帯指定郵便ラベル（普通）（ュ00300）','420107P02R30.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100300',0,'0','配達時間帯指定郵便ラベル（普通）（ュ00300）','420107P02R30.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1100310' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100310',0,'0','配達時間帯指定郵便ラベル（書留）（ュ00310）','420107P02R31.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100310',0,'0','配達時間帯指定郵便ラベル（書留）（ュ00310）','420107P02R31.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1700800001' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1700800001',0,'0','配達時間帯指定用 2×4 エーワン(60208〜76208)','420107P02R30001.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800001',0,'0','配達時間帯指定用 2×4 エーワン(60208〜76208)','420107P02R30001.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1700800002' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1700800002',0,'0','配達時間帯指定用 2×4 コクヨ(KJ-8165〜LBP-7165N)','420107P02R30002.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800002',0,'0','配達時間帯指定用 2×4 コクヨ(KJ-8165〜LBP-7165N)','420107P02R30002.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1700800003' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1700800003',0,'0','配達時間帯指定用 2×4 マクセル(L7165-20A)','420107P02R30003.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800003',0,'0','配達時間帯指定用 2×4 マクセル(L7165-20A)','420107P02R30003.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1700800004' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1700800004',0,'0','配達時間帯指定用 2×4 ヒサゴ(ELM005)','420107P02R30004.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800004',0,'0','配達時間帯指定用 2×4 ヒサゴ(ELM005)','420107P02R30004.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1700800005' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1700800005',0,'0','配達時間帯指定用 2×4 エーワン(31314)','420107P02R30005.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1700800005',0,'0','配達時間帯指定用 2×4 エーワン(31314)','420107P02R30005.rpx','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstHer where comprint_no = '420107I01R14' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','420107I01R14',0,'0','配達時間帯指定郵便控','420107I01R14.rpx','','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'420107I01R14',0,'0','配達時間帯指定郵便控','420107I01R14.rpx','','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstBDw where comreport_no = '1100300' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100300',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100300',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100300',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100300',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstBDw where comreport_no = '1100310' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100310',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100310',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100310',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100310',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070MstKnrPrtNo where comprint_no = '420107I01R14'
go
insert into T070MstKnrPrtNo(comprint_no,print_name) values ('420107I01R14','配達時間帯指定郵便控')
go

delete from T070ConvrnPslClaCgoPdt where yubin_sbt = '7'
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'7','0','0','0','0','0','0','0','0','1','3','','0','0','0','2','63','208','10100','999','99','11650','0000000000000000','20120401','99991231',''
)
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'7','0','0','0','2','0','0','0','0','1','3','','0','0','0','1','10','209','10100','999','99','11650','1000000000000000','20120401','99991231',''
)
go

delete from T070ConvrnPslClaCgoPdt where yubin_sbt = '8'
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'8','0','0','0','0','0','0','0','0','1','3','','0','0','0','2','63','208','10100','999','99','11660','0000000000000000','20120401','99991231',''
)
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'8','0','0','0','2','0','0','0','0','1','3','','0','0','0','1','10','209','10100','999','99','11660','1000000000000000','20120401','99991231',''
)
go

update T999ZIPSUM set kihon_warimasi = 330 where yubin_sbt = '7' and yubin_kbn = '03000000' and jyuryo = 250
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1100740001',0,'0','1','0','0','0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0','0','0','0','1','1','4-4-4','12','7','2','1','0','0','1','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100740001',0,'0','1','0','0','0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0','0','0','0','1','1','4-4-4','12','7','2','1','0','0','1','','20120101','99991231'
from T070UsrLinMst
go

delete from T070DefLdgShtMst where comprint_no = '1100740001'
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1100740001', '代引ゆうパックラベル(一般･通常)（ュ00740）', '420107P01R05001.rpx', 1, 0, 1, 2, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00'
)
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1100740001' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100740001',0,'0','代引ゆうパックラベル(一般･通常)（ュ00740）','420107P01R05001.rpx','0','2','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100740001',0,'0','代引ゆうパックラベル(一般･通常)（ュ00740）','420107P01R05001.rpx','0','2','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstBDw where comreport_no = '1100740001' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100740001',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100740001',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100740001',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100740001',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

update T070DefLdgShtMst set report_type_nm = '（旧）代引ゆうパックラベル(一般･通常)（ュ00740）' where comprint_no = '1100740'
go
update T070SepDefLdgShtMstHer set report_nm = '（旧）代引ゆうパックラベル(一般･通常)（ュ00740）' where comprint_no = '1100740'
go

insert into T070Numbering(com_member_id,com_pc_id,kanri_cd,kanri_no)
select distinct com_member_id,com_pc_id,'013',0 from T070Numbering
go

delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '02'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','02','','e-決済')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '02'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','02','EKESSAI')
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '03'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','03','','YAHOO')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '03'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','03','YAHOO')
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '04'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','04','','AMAZON')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '04'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','04','AMAZON')
go
delete from T070MsgMst where message_id = 'I0742010216'
go
insert into T070MsgMst values ('I0742010216', '顧客マスタの記事を反映しますか？', null, null)
go
delete from T070DefLdgShtMst where comprint_no = 'SHITENRENKEI'
go
insert into T070DefLdgShtMst(comprint_no,report_type_nm,report_file_nm,free_item_cnt,nifuda_cnt,print_cnt,item_cnt,print_misc_kb) values ('SHITENRENKEI','支店連携','X',1,0,2,5,'1')
go
insert into T070PrtLblCnfMst(com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd)
select distinct com_member_id,com_pc_id,login_group_id,login_user_id,'SHITENRENKEI',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','2','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'from T070PrtLblCnfMst
go
delete from T070SepDefLdgShtMstHer where comprint_no = 'SHITENRENKEI'
go
insert into T070SepDefLdgShtMstHer(com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd)
select distinct com_member_id,com_pc_id,login_group_id,login_user_id,'SHITENRENKEI',0,0,'支店連携','X','0',0,getdate(),getdate() from T070SepDefLdgShtMstHer
go
delete from T070MsgMst where message_id = 'E0742019082'
go
insert into T070MsgMst values ('E0742019082', 'ユーザ登録できるのは最大99人までです。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019083'
go
insert into T070MsgMst values ('E0742019083', '枚数は1枚〜{0}枚で指示してください。', null, null)
go
delete from T070SigStgMst where SYS_CODE_ID = '16' and CODE_NO = '36'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values('16','36','MM/DD','','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '16' and CODE_NO = '37'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values('16','37','YYYY年MM月DD日','','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '16' and CODE_NO = '38'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values('16','38','YY年MM月DD日','','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '16' and CODE_NO = '39'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values('16','39','MM月DD日','','','','','','','','','')
go
update T070CodMst set code_nm = '代金引換金額を確認してください。' where syscode1 = 'エラー内容種別' and code_no = 'AA'
go
alter table T070DpcPlnTrxHer_1 alter column moto_zip varchar(8)
go
alter table T070DpcPlnTrxHer_1 alter column moto_tel varchar(20)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_group_cd varchar(15)
go
alter table T070DpcPlnTrxHer_1 alter column okyakusama_kanri_no varchar(15)
go
alter table T070DpcPlnTrxHer_1 alter column tsuiseki_no varchar(20)
go
alter table T070DpcPlnTrxHer_1 alter column daihyo_tsuiseki_no varchar(20)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_kokyaku_key_cd varchar(15)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_kokyaku_zip varchar(8)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_kokyaku_tel varchar(20)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_mail1_adr varchar(100)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_mail2_adr varchar(100)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_kyokudome_zip varchar(8)
go
alter table T070DpcPlnTrxHer_1 alter column todoke_customerbar_cd varchar(20)
go
alter table T070DpcPlnTrxHer_1 alter column goirai_kokyaku_key_cd varchar(15)
go
alter table T070DpcPlnTrxHer_1 alter column goirai_kokyaku_zip varchar(8)
go
alter table T070DpcPlnTrxHer_1 alter column goirai_kokyaku_tel varchar(20)
go
alter table T070DpcPlnTrxHer_1 alter column goirai_mail1_adr varchar(100)
go
alter table T070DpcPlnTrxHer_1 alter column goirai_mail2_adr varchar(100)
go
alter table T070DpcPlnTrxHer_1 alter column goirai_customerbar_cd varchar(20)
go

alter table T070DpcPlnTrxHer_2 alter column syuka_kokyaku_key_cd varchar(15)
go
alter table T070DpcPlnTrxHer_2 alter column syuka_kokyaku_zip varchar(8)
go
alter table T070DpcPlnTrxHer_2 alter column syuka_kokyaku_tel varchar(20)
go
alter table T070DpcPlnTrxHer_2 alter column jyuchu_no varchar(10)
go
alter table T070DpcPlnTrxHer_2 alter column setshohin_cd varchar(20)
go
alter table T070DpcPlnTrxHer_2 alter column saki_zip varchar(8)
go
alter table T070DpcPlnTrxHer_2 alter column saki_tel varchar(15)
go
alter table T070DpcPlnTrxHer_2 alter column saki_okuri_inf_mail_adr varchar(100)
go

alter table T070DpcPlnTrxHer_3 alter column shiwake_no varchar(7)
go

alter table T070DpcPlnTrxBDw alter column shohin_cd varchar(20)
go

alter table T070DTplpcPlnTrxHer_1 alter column moto_zip varchar(8)
go
alter table T070DTplpcPlnTrxHer_1 alter column moto_tel varchar(20)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_group_cd varchar(15)
go
alter table T070DTplpcPlnTrxHer_1 alter column okyakusama_kanri_no varchar(15)
go
alter table T070DTplpcPlnTrxHer_1 alter column tsuiseki_no varchar(20)
go
alter table T070DTplpcPlnTrxHer_1 alter column daihyo_tsuiseki_no varchar(20)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_kokyaku_key_cd varchar(15)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_kokyaku_zip varchar(8)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_kokyaku_tel varchar(20)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_mail1_adr varchar(100)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_mail2_adr varchar(100)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_kyokudome_zip varchar(8)
go
alter table T070DTplpcPlnTrxHer_1 alter column todoke_customerbar_cd varchar(20)
go
alter table T070DTplpcPlnTrxHer_1 alter column goirai_kokyaku_key_cd varchar(15)
go
alter table T070DTplpcPlnTrxHer_1 alter column goirai_kokyaku_zip varchar(8)
go
alter table T070DTplpcPlnTrxHer_1 alter column goirai_kokyaku_tel varchar(20)
go
alter table T070DTplpcPlnTrxHer_1 alter column goirai_mail1_adr varchar(100)
go
alter table T070DTplpcPlnTrxHer_1 alter column goirai_mail2_adr varchar(100)
go
alter table T070DTplpcPlnTrxHer_1 alter column goirai_customerbar_cd varchar(20)
go

alter table T070DTplpcPlnTrxHer_2 alter column syuka_kokyaku_key_cd varchar(15)
go
alter table T070DTplpcPlnTrxHer_2 alter column syuka_kokyaku_zip varchar(8)
go
alter table T070DTplpcPlnTrxHer_2 alter column syuka_kokyaku_tel varchar(20)
go
alter table T070DTplpcPlnTrxHer_2 alter column jyuchu_no varchar(10)
go
alter table T070DTplpcPlnTrxHer_2 alter column setshohin_cd varchar(20)
go
alter table T070DTplpcPlnTrxHer_2 alter column saki_zip varchar(8)
go
alter table T070DTplpcPlnTrxHer_2 alter column saki_tel varchar(15)
go
alter table T070DTplpcPlnTrxHer_2 alter column saki_okuri_inf_mail_adr varchar(100)
go

alter table T070DTplpcPlnTrxHer_3 alter column shiwake_no varchar(7)
go

alter table T070TplDpcPlnTrxBDw alter column shohin_cd varchar(20)
go

alter table T070CliMst alter column kokyaku_tel varchar(20)
go
alter table T070CliMst alter column kokyaku_zip varchar(8)
go
alter table T070CliMst alter column kokyaku_intel varchar(6)
go
alter table T070CliMst alter column kokyaku_fax varchar(20)
go
alter table T070CliMst alter column mail1_adr varchar(100)
go
alter table T070CliMst alter column mail2_adr varchar(100)
go
alter table T070CliMst alter column kokyaku_key_cd varchar(15)
go

alter table T070GrpDlivryPlcMst drop constraint PK_emktodokegroup
go
alter table T070GrpDlivryPlcMst alter column todoke_group_cd varchar(15) not null
go
alter table T070GrpDlivryPlcMst add constraint PK_emktodokegroup primary key(com_member_id,com_pc_id,login_group_id,login_user_id,todoke_group_cd,kokyaku_long_cd)
go

alter table T070AtcMst drop constraint PK_T070AtcMst
go
alter table T070AtcMst alter column kiji_cd varchar(15) not null
go
alter table T070AtcMst add constraint PK_T070AtcMst primary key(com_member_id,com_pc_id,login_group_id,login_user_id,kiji_cd,kiji_nm)
go

alter table T070PdtMst drop constraint PK_emkshohin
go
alter table T070PdtMst alter column shohin_cd varchar(20) not null
go
alter table T070PdtMst add constraint PK_emkshohin primary key(com_member_id,com_pc_id,login_group_id,login_user_id,shohin_cd)
go

alter table T070GrpPdtMst drop constraint PK_emksetshohin
go
alter table T070GrpPdtMst alter column setshohin_cd varchar(20) not null
go
alter table T070GrpPdtMst alter column shohin_cd varchar(20) not null
go
alter table T070GrpPdtMst add constraint PK_emksetshohin primary key(com_member_id,com_pc_id,login_group_id,login_user_id,setshohin_cd,shohin_cd)
go

alter table T070PodStg alter column furikae_account1 varchar(5)
go
alter table T070PodStg alter column furikae_account2 varchar(1)
go
alter table T070PodStg alter column furikae_account3 varchar(8)
go
alter table T070PodStg alter column sogo_account1 varchar(5)
go
alter table T070PodStg alter column sogo_account2 varchar(1)
go
alter table T070PodStg alter column sogo_account3 varchar(8)
go

alter table T070WrkTblPriIvc alter column kokyaku_tel varchar(20)
go
alter table T070WrkTblPriIvc alter column kokyaku_zip varchar(8)
go
alter table T070WrkTblPriIvc alter column receiver_tel varchar(20)
go
alter table T070WrkTblPriIvc alter column receiver_zip varchar(8)
go
alter table T070WrkTblPriIvc alter column shiwake_no varchar(6)
go
alter table T070WrkTblPriIvc alter column delivery_tel varchar(20)
go
alter table T070WrkTblPriIvc alter column transfar_account1 varchar(5)
go
alter table T070WrkTblPriIvc alter column transfar_account2 varchar(1)
go
alter table T070WrkTblPriIvc alter column transfar_account3 varchar(8)
go
alter table T070WrkTblPriIvc alter column multi_account1 varchar(5)
go
alter table T070WrkTblPriIvc alter column multi_account2 varchar(1)
go
alter table T070WrkTblPriIvc alter column multi_account3 varchar(8)
go
alter table T070WrkTblPriIvc alter column payment_bulk_barcode varchar(30)
go
alter table T070WrkTblPriIvc alter column helpdesk_tel varchar(20)
go
alter table T070WrkTblPriIvc alter column kokyaku_com_member_id_barcode varchar(16)
go
alter table T070WrkTblPriIvc alter column order_no varchar(10)
go
alter table T070WrkTblPriIvc alter column shiwake_no_barcode varchar(7)
go
alter table T070WrkTblPriIvc alter column shohin_cd varchar(20)
go
alter table T070WrkTblPriIvc alter column uketsuke_tel varchar(20)
go
delete from T070MstDefInpOupDbs where io_kbn = '2' and field_nm = 'user_haiso_sbt'
go
delete from T070MstStgAuxInpOupBDw where io_kbn = '2' and field_nm = 'user_haiso_sbt'
go
delete from T070MstStgInpOupBDw where io_kbn = '2' and field_nm = 'user_haiso_sbt'
go
delete from T070MsgMst where message_id = 'E0742019084'
go
insert into T070MsgMst values ('E0742019084', '支店連携で都度代の場合は代引きデータを登録することはできません。', null, null)
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'AY'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','AY','','支店連携で都度代の場合は代引きデータを登録することはできません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'AZ'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','AZ','','集荷日は本日以降で本日＋１００日以内の日付を指定してください。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B0'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B0','','配達指定日は集荷日以降で集荷日＋１４日以内の日付を指定してください。','')
go
update T070MstKnrPrtNo set print_name = '都道府県別発送実績表' where comprint_no = '420107I01R10'
go
update T070SigStgMst set CONSTANT01 = '都道府県別発送実績表' where SYS_CODE_ID = '42' and CODE_NO ='420107I01R10'
go
update T070CodMst set code_no = rtrim(code_no) where syscode1 = '文字コード区分'
go
update T070MstStgInpOupHer set charset = '1' where io_kbn = '2' and charset is not null and charset <> '1'
go
delete from T070MsgMst where message_id = 'I0742010217'
go
insert into T070MsgMst values ('I0742010217', '指定のフォルダへ「{0}」を出力しました。', null, null)
go
delete from T070MsgMst where message_id = 'I0742010218'
go
insert into T070MsgMst values ('I0742010218', '指定のフォルダへ「{0}」を出力しました。端末情報をサーバへ送信してもよろしいですか？', null, null)
go
delete from T070MsgMst where message_id = 'I0742010219'
go
insert into T070MsgMst values ('I0742010219', '端末情報をサーバへ送信してもよろしいですか？', null, null)
go

delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B1'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B1','','厚さを決定できませんでした。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B2'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B2','','ゆうパケット配達日指定サービスの場合は必須です。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B3'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B3','','ゆうパケット配達日指定サービスの場合は発送予定日の翌々日から10日以内で指定してください。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B4'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B4','','ゆうパケット配達日指定サービスの場合のみ指定可能です。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B5'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B5','','ゆうパケット付加サービスを決定できませんでした。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B6'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B6','','ゆうパケットの場合、商品厚さ区分が必須です。','')
go
delete from T070CodMst where syscode1 = '郵便種別' and syscode2 = '' and syscode3 = '' and code_no = '9'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('郵便種別','','','9','','ゆうパケット','ゆうパケット')
go
delete from T070CodMst where syscode1 = '商品厚さ区分' and syscode2 = '' and syscode3 = '' and code_no = '05'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('商品厚さ区分','','','05','','0.5cm','0.5cm')
go
delete from T070CodMst where syscode1 = '商品厚さ区分' and syscode2 = '' and syscode3 = '' and code_no = '10'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('商品厚さ区分','','','10','','1.0cm','1.0cm')
go
delete from T070CodMst where syscode1 = '商品厚さ区分' and syscode2 = '' and syscode3 = '' and code_no = '15'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('商品厚さ区分','','','15','','1.5cm','1.5cm')
go
delete from T070CodMst where syscode1 = '商品厚さ区分' and syscode2 = '' and syscode3 = '' and code_no = '20'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('商品厚さ区分','','','20','','2.0cm','2.0cm')
go
delete from T070CodMst where syscode1 = '商品厚さ区分' and syscode2 = '' and syscode3 = '' and code_no = '25'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('商品厚さ区分','','','25','','2.5cm','2.5cm')
go
delete from T070CodMst where syscode1 = '商品厚さ区分' and syscode2 = '' and syscode3 = '' and code_no = '30'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('商品厚さ区分','','','30','','3.0cm','3.0cm')
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '6'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('速達・配達日指定種別','','','6','','配達日指定','配達日指定')
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '7'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('速達・配達日指定種別','','','7','','翌配ワイド','翌配ワイド')
go
delete from T070CodMst where syscode1 = '速達・配達日指定種別' and syscode2 = '' and syscode3 = '' and code_no = '8'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('速達・配達日指定種別','','','8','','当日配達','当日配達')
go

delete from T070MsgMst where message_id = 'E0742019085'
go
insert into T070MsgMst values ('E0742019085', 'ゆうパケット配達日指定サービスの場合は配達指定日を発送予定日の翌々日から10日以内で指定してください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019086'
go
insert into T070MsgMst values ('E0742019086', 'ゆうパケット配達日指定サービスの場合のみ配達指定日を指定できます。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019088'
go
insert into T070MsgMst values ('E0742019088', 'ゆうパケットの付加サービスが使用できない設定です。', null, null)
go

delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '104'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('36','104','ゆうパケット　−　通常','2','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '105'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('36','105','ゆうパケット　−　付加サービス','2','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '65' and CODE_NO = '05'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('65','05','1')
go
delete from T070SigStgMst where SYS_CODE_ID = '65' and CODE_NO = '10'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('65','10','2')
go
delete from T070SigStgMst where SYS_CODE_ID = '65' and CODE_NO = '15'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('65','15','3')
go
delete from T070SigStgMst where SYS_CODE_ID = '65' and CODE_NO = '20'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('65','20','4')
go
delete from T070SigStgMst where SYS_CODE_ID = '65' and CODE_NO = '25'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('65','25','5')
go
delete from T070SigStgMst where SYS_CODE_ID = '65' and CODE_NO = '30'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('65','30','6')
go

update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M01P01V01_0' and columnnm = '商品サイズ区分'
go
update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M01P01V01_1' and columnnm = '商品サイズ区分'
go
update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M01P01V01_2' and columnnm = '商品サイズ区分'
go
update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M01P02V01_0' and columnnm = '商品サイズ区分'
go
update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M01P02V01_1' and columnnm = '商品サイズ区分'
go
update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M01P02V01_2' and columnnm = '商品サイズ区分'
go
update T070DispColumnChange set columnnm = '商品サイズ／厚さ区分' where pgid = '420107M02P01V01' and columnnm = '商品サイズ区分'
go

update T070MstDefInpOupDbs set field_janm = '商品サイズ／厚さ区分' where filter_sbt = '1' and field_nm = 'size_kbn'
go
update T070MstDefInpOupDbs set field_janm = '商品サイズ／厚さ区分' where filter_sbt = '2' and field_nm = 'size_kbn'
go
update T070MstDefInpOupDbs set field_janm = '商品サイズ／厚さ区分' where filter_sbt = '4' and field_nm = 'size_kbn'
go
update T070MstDefInpOupDbs set field_janm = '速達／配達指定日種別' where filter_sbt = '1' and field_nm = 'haitatsushitei_sbt'
go
update T070MstDefInpOupDbs set field_janm = '速達／配達指定日種別' where filter_sbt = '2' and field_nm = 'haitatsushitei_sbt'
go

alter table T070PrtLblCnfMst add yupacket_shitei_kbn nvarchar(1)
go
update T070PrtLblCnfMst set yupacket_shitei_kbn = '0' where comprint_no not in ('1800800001','1800800002','1800800003','1800800004','1800800005','1800800006','1800800007','1800800008','1800800009','1800800010','1800800011')
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800001',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800001',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800002',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800002',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800003',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800003',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800004',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800004',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800005',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800005',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800006',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800006',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800007',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800007',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800008',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800008',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800009',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800009',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800010',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800010',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800011',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800011',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','4','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800001', 'ゆうパケットタックシール（ュ00582）', '420107P02R40001.rpx', 0, 0, 10, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800002', 'ゆうパケット用 2×4 エーワン(60208〜76208)', '420107P02R40002.rpx', 0, 0, 8, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800003', 'ゆうパケット用 2×4 コクヨ(KJ-8165〜LBP-7165N)', '420107P02R40003.rpx', 0, 0, 8, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800004', 'ゆうパケット用 2×4 マクセル(L7165-20A)', '420107P02R40004.rpx', 0, 0, 8, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800005', 'ゆうパケット用 2×4 ヒサゴ(ELM005)', '420107P02R40005.rpx', 0, 0, 8, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800006', 'ゆうパケット用 2×4 エーワン(31314)', '420107P02R40006.rpx', 0, 0, 8, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800007', 'ゆうパケット用 2×5 エーワン(28367)', '420107P02R40007.rpx', 0, 0, 10, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800008', 'ゆうパケット用 2×5 コクヨ(KPC-SK110-20)', '420107P02R40008.rpx', 0, 0, 10, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800009', 'ゆうパケット用 2×5 エレコム(DET-TMEX10)', '420107P02R40009.rpx', 0, 0, 10, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800010', 'ゆうパケット用 2×5 エーワン(28177)', '420107P02R40010.rpx', 0, 0, 10, 1, 1, '20140801', '20140801'
)
go
insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd
) values (
'1800800011', 'ゆうパケット用 2×5 エーワン(28313)', '420107P02R40011.rpx', 0, 0, 10, 1, 1, '20140801', '20140801'
)
go

insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800001',0,'0','ゆうパケットタックシール（ュ00582）','420107P02R40001.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800001',0,'0','ゆうパケットタックシール（ュ00582）','420107P02R40001.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800002',0,'0','ゆうパケット用 2×4 エーワン(60208〜76208)','420107P02R40002.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800002',0,'0','ゆうパケット用 2×4 エーワン(60208〜76208)','420107P02R40002.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800003',0,'0','ゆうパケット用 2×4 コクヨ(KJ-8165〜LBP-7165N)','420107P02R40003.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800003',0,'0','ゆうパケット用 2×4 コクヨ(KJ-8165〜LBP-7165N)','420107P02R40003.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800004',0,'0','ゆうパケット用 2×4 マクセル(L7165-20A)','420107P02R40004.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800004',0,'0','ゆうパケット用 2×4 マクセル(L7165-20A)','420107P02R40004.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800005',0,'0','ゆうパケット用 2×4 ヒサゴ(ELM005)','420107P02R40005.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800005',0,'0','ゆうパケット用 2×4 ヒサゴ(ELM005)','420107P02R40005.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800006',0,'0','ゆうパケット用 2×4 エーワン(31314)','420107P02R40006.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800006',0,'0','ゆうパケット用 2×4 エーワン(31314)','420107P02R40006.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800007',0,'0','ゆうパケット用 2×5 エーワン(28367)','420107P02R40007.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800007',0,'0','ゆうパケット用 2×5 エーワン(28367)','420107P02R40007.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800008',0,'0','ゆうパケット用 2×5 コクヨ(KPC-SK110-20)','420107P02R40008.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800008',0,'0','ゆうパケット用 2×5 コクヨ(KPC-SK110-20)','420107P02R40008.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800009',0,'0','ゆうパケット用 2×5 エレコム(EDT-TMEX10)','420107P02R40009.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800009',0,'0','ゆうパケット用 2×5 エレコム(EDT-TMEX10)','420107P02R40009.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800010',0,'0','ゆうパケット用 2×5 エーワン(28177)','420107P02R40010.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800010',0,'0','ゆうパケット用 2×5 エーワン(28177)','420107P02R40010.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800011',0,'0','ゆうパケット用 2×5 エーワン(28313)','420107P02R40011.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800011',0,'0','ゆうパケット用 2×5 エーワン(28313)','420107P02R40011.rpx','0',1,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go

delete from T070ConvrnPslClaCgoPdt where yubin_sbt = '9'
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'9','0','0','0','0','0','0','0','0','0','0','','0','0','0','2','54','104','00300','999','99','21010','0000000000000000','20120401','99991231',''
)
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'9','0','0','0','0','0','0','0','0','0','6','','0','0','0','2','54','105','00400','999','99','21010','0000000000000000','20120401','99991231',''
)
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'9','0','0','0','0','0','0','0','0','0','7','','0','0','0','2','54','105','00400','999','99','21010','0000000000000000','20120401','99991231',''
)
go
insert into T070ConvrnPslClaCgoPdt(
yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,koshin_login_group_id
) values (
'9','0','0','0','0','0','0','0','0','0','8','','0','0','0','2','54','105','00400','999','99','21010','0000000000000000','20120401','99991231',''
)
go

delete from T999ZIPSUM where yubin_sbt = '9'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','00001000','普通（厚さ0.5cm）','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','00002000','普通（厚さ1.0cm）','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','00003000','普通（厚さ1.5cm）','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','00004000','普通（厚さ2.0cm）','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','00005000','普通（厚さ2.5cm）','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','00006000','普通（厚さ3.0cm）','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','06000000','配達日指定','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','07000000','翌配ワイド','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','9','ゆうパケット','08000000','当日配達','0','全国一律',0,0,0,0,0,0,0,0,'20140601','99991231','0','2014/08/01','2014/08/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
delete from T070FormSetting where form_id  = '420107M01P01V01' and method_nm = 'UpdateDB'
go
delete from T070FormSetting where form_id  = '420107M01P01V01_1' and method_nm = 'UpdateDB'
go
delete from T070FormSetting where form_id  = '420107M01P01V01_2' and method_nm = 'UpdateDB'
go
delete from T070FormSetting where form_id  = '420107M02P01V01' and method_nm = 'UpdateDB'
go
delete from T070FormSetting where form_id  = '420107M03P01V01' and method_nm = 'UpdateDB'
go
delete from T070FormSetting where form_id  = '420107M12P01V01' and method_nm = 'UpdateDB'
go
update T070CodMst set syscode1 = rtrim(syscode1), code_nm = '正常', code_ryaku_nm = '正常' where syscode1 = '入力補助区分' and code_no = '0'
go
update T070CodMst set syscode1 = rtrim(syscode1), code_nm = '取込エラー', code_ryaku_nm = '取込エラー' where syscode1 = '入力補助区分' and code_no = '1'
go
update T070CodMst set syscode1 = rtrim(syscode1), code_nm = 'エラー修正済', code_ryaku_nm = 'エラー修正済' where syscode1 = '入力補助区分' and code_no = '2'
go
update T070DpcPlnTrxHer_3 set input_hojo_kbn ='0' where input_hojo_kbn is null
go
delete from T070FormSetting where form_id = '420107M28P01V01' and method_nm = 'Copy'
go
delete from T070FormSetting where form_id = '420107M28P01V01' and method_nm = 'Delete'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M28P01V01','送り状印字項目設定一覧','0','','grp2','データ編集','1','0','0','Copy','6','コピー作成','','','OrderCopy')
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M28P01V01','送り状印字項目設定一覧','0','','grp2','データ編集','1','0','0','Delete','7','削除','','','Delete')
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M28P01V01','送り状印字項目設定一覧','1','E',null,null,null,'0','0','Copy','6','コピー作成','Ctrl+C',null,'OrderCopy')
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M28P01V01','送り状印字項目設定一覧','1','E',null,null,null,'0','0','Delete','7','削除','Ctrl+D',null,'Delete')
go
delete from T070MsgMst where message_id = 'E0742019087'
go
insert into T070MsgMst values ('E0742019087', 'コピー回数の上限に達しているためコピーできません。', null, null)
go

update T070TsuisekiNo set tsuiseki_no_now = cast(TsuisekiNoTo AS NUMERIC) + 1  ,conp_ymd = '20140805' where TsuisekiNoShikibetsuCD = '2' and KamotsuShohinCD = '104'
go
update T070TsuisekiNo set tsuiseki_no_now = cast(TsuisekiNoTo AS NUMERIC) + 1  ,conp_ymd = '20140805' where TsuisekiNoShikibetsuCD = '2' and KamotsuShohinCD = '105'
go

update T070MsgMst set  message_nm = 'ユーザーが存在しません。' where message_id = 'E0742019017'
go
update T070MsgMst set  message_nm = 'ログインユーザーを選択してください。' where message_id = 'E0742019019'
go
update T070MsgMst set  message_nm = 'ユーザーが登録されていません。「適用」ボタンを押した後にボタンを押してください。' where message_id = 'E0742019032'
go
update T070MsgMst set  message_nm = 'ユーザーマスタに{0}が設定されていません。{0}の設定をしてください。' where message_id = 'E0742019038'
go
update T070MsgMst set  message_nm = '「お届け先向けメール設定」がされていません。ユーザー管理マスタから「お届け先向けメール設定」をして下さい。' where message_id = 'E0742019042'
go
update T070MsgMst set  message_nm = 'ユーザーを全て削除する事はできません。' where message_id = 'E0742019052'
go
update T070MsgMst set  message_nm = 'ログインを行っているグループの削除は出来ません。グループに所属していないユーザーでログインして削除を行うか、別グループでログインして削除して下さい。' where message_id = 'E0742019053'
go
update T070MsgMst set  message_nm = 'ユーザーの指示により中止しました。' where message_id = 'I0742010021'
go
update T070MsgMst set  message_nm = 'ユーザー登録できるのは最大99人までです。' where message_id = 'E0742019082'
go

update T070DispColumnChange set columnnm = '出荷元ログインユーザーID' where pgid = '420107M01P01V01_0' and columnnm = '出荷元ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザーID' where pgid = '420107M01P01V01_1' and columnnm = '出荷元ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザーID' where pgid = '420107M01P01V01_2' and columnnm = '出荷元ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザーID' where pgid = '420107M01P02V01_0' and columnnm = '出荷元ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザーID' where pgid = '420107M01P02V01_1' and columnnm = '出荷元ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザーID' where pgid = '420107M01P02V01_2' and columnnm = '出荷元ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザー名称' where pgid = '420107M01P01V01_0' and columnnm = '出荷元ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザー名称' where pgid = '420107M01P01V01_1' and columnnm = '出荷元ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザー名称' where pgid = '420107M01P01V01_2' and columnnm = '出荷元ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザー名称' where pgid = '420107M01P02V01_0' and columnnm = '出荷元ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザー名称' where pgid = '420107M01P02V01_1' and columnnm = '出荷元ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷元ログインユーザー名称' where pgid = '420107M01P02V01_2' and columnnm = '出荷元ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザーID' where pgid = '420107M01P01V01_0' and columnnm = '出荷先ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザーID' where pgid = '420107M01P01V01_1' and columnnm = '出荷先ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザーID' where pgid = '420107M01P01V01_2' and columnnm = '出荷先ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザーID' where pgid = '420107M01P02V01_0' and columnnm = '出荷先ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザーID' where pgid = '420107M01P02V01_1' and columnnm = '出荷先ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザーID' where pgid = '420107M01P02V01_2' and columnnm = '出荷先ログインユーザID'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザー名称' where pgid = '420107M01P01V01_0' and columnnm = '出荷先ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザー名称' where pgid = '420107M01P01V01_1' and columnnm = '出荷先ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザー名称' where pgid = '420107M01P01V01_2' and columnnm = '出荷先ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザー名称' where pgid = '420107M01P02V01_0' and columnnm = '出荷先ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザー名称' where pgid = '420107M01P02V01_1' and columnnm = '出荷先ログインユーザ名称'
go
update T070DispColumnChange set columnnm = '出荷先ログインユーザー名称' where pgid = '420107M01P02V01_2' and columnnm = '出荷先ログインユーザ名称'
go

update T070PodStg set del_kbn = '0', matome_use = '0', hasso_kbn = '1' where del_kbn is null
go

update T070MstDefInpOupDbs set field_janm = '出荷元ログインユーザーID' where field_nm = 'moto_login_user_id'
go
update T070MstDefInpOupDbs set field_janm = '出荷元ログインユーザー名称' where field_nm = 'moto_login_user_nm'
go
update T070MstDefInpOupDbs set field_janm = '出荷先ログインユーザーID' where field_nm = 'saki_login_user_id'
go
update T070MstDefInpOupDbs set field_janm = '出荷先ログインユーザー名称' where field_nm = 'saki_login_user_nm'
go
update T070MstDefInpOupDbs set field_janm = '更新ログインユーザーID' where field_nm = 'koshin_login_user_id'
go
update T070MstDefInpOupDbs set field_janm = 'ログインユーザーID' where field_nm = 'login_user_id'
go

update T070VerInf set table_name_jp = 'ラベル印字会員ユーザー情報' where table_name = 'T060LPMemberUsrIfm'
go

update T070DpcPlnTrxHer_3 set oguchifdmake_ymd = '2014/08/01 12:00:00' where oguchifdmake_ymd is null and yoyakumake_ymd is not null
go
delete from T070MsgMst where message_id = 'I0742010029'
go
insert into T070MsgMst values ('I0742010029', '{0}データが存在します。該当データは更新対象外となりますがよろしいですか？', null, null)
go
delete from T070MsgMst where message_id = 'I0742010030'
go
insert into T070MsgMst values ('I0742010030', '{0}件のデータを修正しました。
(選択件数:{1}件　修正出来なかった件数:{2}件)', null, null)
go
delete from T070MsgMst where message_id = 'I0742010031'
go
insert into T070MsgMst values ('I0742010031', '一括変更を行います。よろしいですか？', null, null)
go
delete from T070MsgMst where message_id = 'I0742010032'
go
insert into T070MsgMst values ('I0742010032', '{0}において、{1}が設定されていませんが、更新前の状態を保持しますか？', null, null)
go
delete from T070MsgMst where message_id = 'E0742019089'
go
insert into T070MsgMst values ('E0742019089', 'お問い合わせ番号つきデータの送り状種別の一括変更はできません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019090'
go
insert into T070MsgMst values ('E0742019090', 'ゆうパック→郵便、または郵便→ゆうパックへの変更はできません。', null, null)
go
delete from T070FormSetting where method_nm = 'PackageUpdate'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P01V01','発送予定データ照会','1','T',null,null,null,'0','1','PackageUpdate','4','一括変更','Ctrl+P',null,'更新')
go

UPDATE T070DTplpcPlnTrxHer_1 SET todoke_keisho_kbn = '0' WHERE tpl_id NOT IN (0, 1, 2, 3, 4, 5) AND (todoke_keisho_kbn IS NULL OR todoke_keisho_kbn = '')
go
UPDATE T070DTplpcPlnTrxHer_1 SET goirai_keisho_kbn = '0' WHERE tpl_id NOT IN (0, 1, 2, 3, 4, 5) AND (goirai_keisho_kbn IS NULL OR goirai_keisho_kbn = '')
go
delete from T070DispColumnChange where rtrim(columnnm) = ''
go

delete from T070CodMst where syscode1 = 'ラベル印字商品コード' and syscode2 = '' and syscode3 = '' and code_no = '00300'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('ラベル印字商品コード','','','00300','','ゆうパケット 通常','ゆうパケット 通常')
go
delete from T070CodMst where syscode1 = 'ラベル印字商品コード' and syscode2 = '' and syscode3 = '' and code_no = '00400'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('ラベル印字商品コード','','','00400','','ゆうパケット 付加サービス','ゆうパケット 付加サービス')
go
update T070MstPrintrStg set
 yohaku_top = 0
,yohaku_left = 0
where comprint_no = '1100570'
and exists(
select * from sys.columns
inner join sys.objects on
sys.objects.object_id = sys.columns.object_id
inner join sys.types on
sys.types.user_type_id = sys.columns.user_type_id
where sys.objects.name ='T070MstPrintrStg'
and sys.columns.name = 'tray_cd'
and sys.types.name = 'char'
)
go
alter table T070MstPrintrStg alter column tray_cd varchar(3) not null
go
alter table T060LPMemberBchShpLnkage drop constraint PK_T060LPMemberBchShpLnkage
go
alter table T060LPMemberBchShpLnkage add constraint PK_T060LPMemberBchShpLnkage primary key clustered (LblPrtMemberNum ,ClientPslCptIds ,ClientUsPIds ,shinnsei116 ,RcdAplSttYmd)
go
UPDATE T070DpcPlnTrxBDw
SET 
 kanri_no = B.moto_commember_id + B.moto_pc_id + right(U.kanri_no,12)
from T070DpcPlnTrxBDw as U
 INNER JOIN T070DpcPlnTrxHer_1 AS B
 ON (B.com_member_id  = U.com_member_id 
 AND B.com_pc_id      = U.com_pc_id 
 AND B.login_group_id = U.login_group_id 
 AND B.login_user_id  = U.login_user_id 
 AND B.kanri_no       = U.kanri_no 
 AND B.meisai_no      = U.meisai_no 
 )
where not B.moto_commember_id is null
go
UPDATE T070DpcPlnTrxHer_3 
SET 
 kanri_no = B.moto_commember_id + B.moto_pc_id + right(U.kanri_no,12)
from T070DpcPlnTrxHer_3 as U
 INNER JOIN T070DpcPlnTrxHer_1 AS B
 ON (B.com_member_id  = U.com_member_id 
 AND B.com_pc_id      = U.com_pc_id 
 AND B.login_group_id = U.login_group_id 
 AND B.login_user_id  = U.login_user_id 
 AND B.kanri_no       = U.kanri_no 
 AND B.meisai_no      = U.meisai_no 
 AND B.meisai_eda_no  = U.meisai_eda_no 
 )
where not B.moto_commember_id is null
go
UPDATE T070DpcPlnTrxHer_2
SET 
 kanri_no = B.moto_commember_id + B.moto_pc_id + right(U.kanri_no,12)
from T070DpcPlnTrxHer_2 as U
 INNER JOIN T070DpcPlnTrxHer_1 AS B
 ON (B.com_member_id  = U.com_member_id 
 AND B.com_pc_id      = U.com_pc_id 
 AND B.login_group_id = U.login_group_id 
 AND B.login_user_id  = U.login_user_id 
 AND B.kanri_no       = U.kanri_no 
 AND B.meisai_no      = U.meisai_no 
 AND B.meisai_eda_no  = U.meisai_eda_no 
 )
where not B.moto_commember_id is null
go
UPDATE T070DpcPlnTrxHer_2
SET 
 yuso_kosu_syuyaku_no = B.moto_commember_id + B.moto_pc_id + right(U.yuso_kosu_syuyaku_no,12)
from T070DpcPlnTrxHer_2 as U
 INNER JOIN T070DpcPlnTrxHer_1 AS B
 ON (B.com_member_id  = U.com_member_id 
 AND B.com_pc_id      = U.com_pc_id 
 AND B.login_group_id = U.login_group_id 
 AND B.login_user_id  = U.login_user_id 
 AND B.kanri_no       = U.kanri_no 
 AND B.meisai_no      = U.meisai_no 
 AND B.meisai_eda_no  = U.meisai_eda_no 
 )
where not B.moto_commember_id is null
and not U.yuso_kosu_syuyaku_no is null and U.yuso_kosu_syuyaku_no <> ''
go
UPDATE T070DpcPlnTrxHer_1
SET 
 kanri_no = moto_commember_id + moto_pc_id + right(kanri_no,12)
where not moto_commember_id is null
go
UPDATE T070DpcPlnTrxHer_1
SET 
 syuyaku_kanri_no = moto_commember_id + moto_pc_id + right(syuyaku_kanri_no,12)
where not moto_commember_id is null
and not syuyaku_kanri_no is null and syuyaku_kanri_no <> ''
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B7'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B7','','出荷先連携の場合は出荷先を指定してください。','')
go
delete from T070SigStgMst where SYS_CODE_ID = '66'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','1','2','54','104','324000000004','324999999995','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','2','2','54','104','424000000001','424499999991','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','3','2','54','104','424500000002','424999999992','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','4','2','54','104','524000000005','524999999996','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','5','2','54','104','624000000002','624499999992','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','6','2','54','104','624500000003','624999999993','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','7','2','54','104','724000000006','724999999990','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','8','2','54','104','824000000003','824999999994','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','9','2','54','104','924000000000','924499999990','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','10','2','54','104','924500000001','924999999991','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','11','2','54','105','324000000004','324999999995','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','12','2','54','105','424000000001','424499999991','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','13','2','54','105','424500000002','424999999992','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','14','2','54','105','524000000005','524999999996','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','15','2','54','105','624000000002','624499999992','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','16','2','54','105','624500000003','624999999993','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','17','2','54','105','724000000006','724999999990','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','18','2','54','105','824000000003','824999999994','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','19','2','54','105','924000000000','924499999990','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','20','2','54','105','924500000001','924999999991','','','','','')
go
alter table T070DefLdgShtMst add pos_select char(1)
go
update T070DefLdgShtMst set pos_select = '0'
go
update T070DefLdgShtMst set pos_select = '1' where print_cnt >= 6
go
alter table T070MstStgInpOupHer add output_meisai char(1)
go
update T070MstStgInpOupHer set output_meisai = '0' where io_kbn = '2' and output_meisai is null and filter_sbt = '2'
go
update T070MstStgInpOupHer set output_meisai = '0' where io_kbn = '2' and output_meisai is null and filter_sbt = '1'
go
delete from T070CodMst where syscode1 = '明細数分出力' and syscode2 = '' and syscode3 = ''
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('明細数分出力','','','0','','しない','しない')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('明細数分出力','','','1','','する','する')
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd,yupacket_shitei_kbn
) values (
'0','0','0','0','1100510',0,'0','1','0','0','0','0','0','0','0','1','0','1','1','1','0','0','0','0','0','0','0','0','0','1','2','4-4-4','12','7','1','1','0','0','0','','20120101','99991231',0
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd,yupacket_shitei_kbn
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100510',0,'0','1','0','0','0','0','0','0','0','1','0','1','1','1','0','0','0','0','0','0','0','0','0','1','2','4-4-4','12','7','1','1','0','0','0','','20120101','99991231',0
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','1800800012',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','3','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800012',0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','3','4-4-4','12','7','1','0','0','0','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) values (
'0','0','0','0','7P02R08002',0,'0','0','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','1','1','0','0','3','3-2-5-1','11','7','1','0','1','1','0','','20120101','99991231'
)
go
insert into T070PrtLblCnfMst(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yupacket_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'7P02R08002',0,'0','0','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','1','1','0','0','3','3-2-5-1','11','7','1','0','1','1','0','','20120101','99991231'
from T070UsrLinMst
go

insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd,pos_select
) values (
'1100510', 'リターンパックラベル（ュ00510）', '420107P01R18.rpx', 4, 0, 2, 3, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00','0'
)
go

insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd,pos_select
) values (
'1800800012', 'ゆうパケットサーマルラベル（ュ00585）', '420107P02R40012.rpx', 0, 0, 1, 0, 0, '2014-01-01 00:00:00', '2014-01-01 00:00:00','0'
)
go

insert into T070DefLdgShtMst (
comprint_no, report_type_nm, report_file_nm, free_item_cnt, nifuda_cnt, print_cnt, item_cnt, print_misc_kb, ins_ymd, upd_ymd,pos_select
) values (
'7P02R08002', 'ゆうメールサーマルラベル（ュ00585）', '420107P02R09.rpx', 0, 0, 1, 0, 0, '2014-01-01 00:00:00', '2014-01-01 00:00:00','0'
)
go

insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100510',0,'0','リターンパックラベル（ュ00510）','420107P01R18.rpx','0',3,'1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100510',0,'0','リターンパックラベル（ュ00510）','420107P01R18.rpx','0',3,'1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go

insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','1800800012',0,'0','ゆうパケットサーマルラベル（ュ00585）','420107P02R40012.rpx','0',0,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1800800012',0,'0','ゆうパケットサーマルラベル（ュ00585）','420107P02R40012.rpx','0',0,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go

insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) values (
'0','0','0','0','7P02R08002',0,'0','ゆうメールサーマルラベル（ュ00585）','420107P02R09.rpx','0',0,'2014/08/01 00:00:00','2014/08/01 00:00:00'
)
go
insert into T070SepDefLdgShtMstHer(
com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'7P02R08002',0,'0','ゆうメールサーマルラベル（ュ00585）','420107P02R09.rpx','0',0,'2014/08/01 00:00:00','2014/08/01 00:00:00'
from T070UsrLinMst
go

delete from T070SepDefLdgShtMstBDw where comreport_no = '1100510' and comprint_eda_no = 0
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100510',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100510',0,'0',1,'1','free01','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100510',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100510',0,'1',1,'1','free02','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100510',0,'2',1,'1','free03','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100510',0,'2',1,'1','free03','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) values (
'0','0','0','0','1100510',0,'3',1,'1','free04','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
)
go
insert into T070SepDefLdgShtMstBDw(
com_member_id,com_pc_id,login_group_id,login_user_id,comreport_no,comprint_eda_no,group_no,group_eda_no,edit_kbn,datafield,item_map_nm01,item_leteral01,break_kbn01,item_map_nm02,item_leteral02,break_kbn02,item_map_nm03,item_leteral03,break_kbn03,item_map_nm04,item_leteral04,font_nm,font_size,bold_kbn,underline_kbn,italic_kbn,ins_ymd,upd_ymd
) select
com_member_id,com_pc_id,login_group_id,login_user_id,'1100510',0,'3',1,'1','free04','','','0','','','0','','','0','','','ＭＳ ゴシック',6.75,'0','0','0','1900-01-01 00:00:00.0000000','1900-01-01 00:00:00.0000000'
from T070UsrLinMst
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '05'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','05','','みずほファクター')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '05'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','05','MIZUHO')
go
delete from T070MsgMst where message_id = 'I0742010035'
go
insert into T070MsgMst values ('I0742010035', '複数個口データの一部が選択されていません。
選択されていないその他の複数個口データも印刷されますがよろしいですか？', null, null)
go
UPDATE T070DefLdgShtMst
SET 
 item_cnt = 1, print_misc_kb = 1
where comprint_no = '1800800012'
go
UPDATE T070SepDefLdgShtMstHer
SET 
 item_cnt = 1
where comprint_no = '1800800012'
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B8'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B8','','存在しない送り状種別です。','')
go
update T070CodMst set code_nm = '市区町村名称検索' ,code_ryaku_nm = '市区町村名称検索' where syscode1 ='検索文字種別' and code_no = '0'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '1100782' or comprint_no like '1100782#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08227' or comprint_no like '420107P02R08227#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08228' or comprint_no like '420107P02R08228#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08229' or comprint_no like '420107P02R08229#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08230' or comprint_no like '420107P02R08230#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08231' or comprint_no like '420107P02R08231#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08232' or comprint_no like '420107P02R08232#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08233' or comprint_no like '420107P02R08233#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08234' or comprint_no like '420107P02R08234#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08235' or comprint_no like '420107P02R08235#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08236' or comprint_no like '420107P02R08236#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08237' or comprint_no like '420107P02R08237#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08296' or comprint_no like '420107P02R08296#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08297' or comprint_no like '420107P02R08297#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08298' or comprint_no like '420107P02R08298#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08299' or comprint_no like '420107P02R08299#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08300' or comprint_no like '420107P02R08300#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08301' or comprint_no like '420107P02R08301#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08302' or comprint_no like '420107P02R08302#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08303' or comprint_no like '420107P02R08303#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08304' or comprint_no like '420107P02R08304#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08305' or comprint_no like '420107P02R08305#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08306' or comprint_no like '420107P02R08306#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08307' or comprint_no like '420107P02R08307#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08308' or comprint_no like '420107P02R08308#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08309' or comprint_no like '420107P02R08309#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08310' or comprint_no like '420107P02R08310#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08311' or comprint_no like '420107P02R08311#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08312' or comprint_no like '420107P02R08312#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08313' or comprint_no like '420107P02R08313#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08314' or comprint_no like '420107P02R08314#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08315' or comprint_no like '420107P02R08315#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08316' or comprint_no like '420107P02R08316#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08317' or comprint_no like '420107P02R08317#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08318' or comprint_no like '420107P02R08318#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08319' or comprint_no like '420107P02R08319#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08320' or comprint_no like '420107P02R08320#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08321' or comprint_no like '420107P02R08321#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08322' or comprint_no like '420107P02R08322#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08323' or comprint_no like '420107P02R08323#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08324' or comprint_no like '420107P02R08324#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08325' or comprint_no like '420107P02R08325#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08326' or comprint_no like '420107P02R08326#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08327' or comprint_no like '420107P02R08327#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '420107P02R08328' or comprint_no like '420107P02R08328#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '7P02R08001' or comprint_no like '7P02R08001#%'
go
update T070PrtLblCnfMst set yobi7_kbn = '0' where comprint_no = '7P02R08002' or comprint_no like '7P02R08002#%'
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '06'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','06','','YAHOO Ver2.8')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '06'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','06','YAHOO_V2_8')
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '07'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','07','','ビッダーズ')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '07'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','07','BIDDERS')
go
delete from T070SigStgMst where SYS_CODE_ID = '67'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('67','1','https://trackings.post.japanpost.jp/services/srv/search/direct','?locale=ja','reqCodeNo','','','','','','','')
go
update T070FormSetting set button_nm = '配達状況@1照会' where button_nm = '配達状況@1ネット照会'
go
update T070FormSetting set button_nm = '配達状況照会' where button_nm = '配達状況ネット照会'
go
update T070FormSetting set sort = 4 where form_id = '420107M01P01V01_1' and object_kbn = '1' and button_nm = '閉じる'
go
delete from T070FormSetting where form_id = '420107M01P01V01_1' and object_kbn = '1' and button_nm = '出荷先連携データ送信'
go
insert into T070FormSetting (form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) 
values ('420107M01P01V01_1','発送予定データ照会（出荷先連携）','1','F','','',null,'0','0','Print',3,'出荷先連携データ送信','Ctrl+R','','Print')
go
update T070FormSetting set sort = 4 where form_id = '420107M01P01V01' and object_kbn = '1' and button_nm = '閉じる'
go
delete from T070FormSetting where form_id = '420107M01P01V01' and object_kbn = '1' and button_nm = '出荷先連携データ送受信'
go
insert into T070FormSetting (form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) 
values ('420107M01P01V01','発送予定データ照会','1','F','','',null,'0','0','SakiDataRecv',3,'出荷先連携データ送受信','Ctrl+R','','Print')
go
delete from T070MsgMst where message_id = 'I0742010036'
go
insert into T070MsgMst values ('I0742010036', '出荷先連携データ送受信を行います。よろしいですか？', null, null)
go
delete from T070MsgMst where message_id = 'I0742010037'
go
insert into T070MsgMst values ('I0742010037', '新たな出荷先連携データはありませんでした。', null, null)
go
delete from T070MsgMst where message_id = 'I0742010038'
go
insert into T070MsgMst values ('I0742010038', '出荷先連携データを受信しました。一覧画面で確認してください。', null, null)
go
delete from T070CodMst where syscode1 = '入力補助区分' and code_no = '0'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('入力補助区分','','','0','','エラーなし','エラーなし')
go
delete from T070CodMst where syscode1 = '入力補助区分' and code_no = '1'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('入力補助区分','','','1','','警告エラー','警告エラー')
go
delete from T070CodMst where syscode1 = '入力補助区分' and code_no = '2'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('入力補助区分','','','2','','確認必須','確認必須')
go
delete from T070CodMst where syscode1 = '入力補助区分' and code_no = '3'
go
update T070CodMst set code_nm = '警告' where syscode1 = 'エラー修正区分' and code_no = '2'
go
UPDATE T070DpcPlnTrxHer_3 SET input_hojo_kbn = '0'
go
delete from T070SigStgMst where SYS_CODE_ID = '68'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('68','1','1100747001','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('68','2','1100748001','','','','','','','','','')
go
delete from T070CodMst where syscode1 = '代引送金方法区分' and code_no = '1'
go
update T070PodStg set daibiki_sokin_kbn = '0' where daibiki_sokin_kbn = '1'
go
alter table T070ConvrnPslClaCgoPdt drop constraint pkey_T070ConvrnPslClaCgoPdt
go
alter table T070ConvrnPslClaCgoPdt add  constraint pkey_T070ConvrnPslClaCgoPdt primary key clustered (yubin_sbt ,horei_sbt ,motochaku_sbt ,daibiki_sbt ,kakitome_security_sbt ,yupack_oufuk_kbn ,kukoriyo_kbn ,leisure_kbn ,over_25kg_kbn ,haitatsu_zon_shiteiyubin_sbt ,haitatsushitei_sbt ,haitatsushitei_yobi_sbt ,jigyoshoshishobako_kbn ,daibiki_matome_kbn ,yumail_spsiyo_kbn ,yuubin_bunrui_cd )
go
delete from T070ConvrnPslClaCgoPdt where yuubin_bunrui_cd = '102' and label_print_shohin_cd = '00201'
go
update T070ConvrnPslClaCgoPdt set label_print_shohin_cd = '00200' where yubin_sbt = '0' and motochaku_sbt = '1' and leisure_kbn = '0' and horei_sbt <> '0' and label_print_shohin_cd = '00201'
go
update T070ConvrnPslClaCgoPdt set no_shohin_cd ='41' ,  yuubin_bunrui_cd = '101' where yubin_sbt = '0' and motochaku_sbt = '0' and kakitome_security_sbt = '2' and yuubin_bunrui_cd = '102'
go
insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id) values ('0','0','0','1','0','0','0','0','0','0','0',' ','0','2','0','2','47','102','00201','601','00','50010','0000000080000000','20120401','99991231',NULL,NULL,NULL)
go
insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id) values ('0','0','0','1','0','0','0','0','1','0','0',' ','0','2','0','2','47','102','00201','601','05','50010','0000000084000000','20120401','99991231',NULL,NULL,NULL)
go
insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id) values ('0','0','0','1','2','0','0','0','0','0','0',' ','0','2','0','2','47','102','00201','601','01','50010','00000000C0000000','20120401','99991231',NULL,NULL,NULL)
go
insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id) values ('0','0','0','1','2','0','0','0','1','0','0',' ','0','2','0','2','47','102','00201','601','06','50010','00000000C4000000','20120401','99991231',NULL,NULL,NULL)
go
delete from T070SigStgMst where SYS_CODE_ID = '66' and CODE_NO = '21'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('66','21','2','47','102','358000000002','358499999992','','','','','')
go
delete from T070MsgMst where message_id = 'E0742019091'
go
insert into T070MsgMst values ('E0742019091', '現在の会員申込では、ゆうメール 代引まとめはご利用できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019092'
go
insert into T070MsgMst values ('E0742019092', '修正時、{0}から{1}への変更はできません。', null, null)
go

insert into T070DefLdgShtMst(comprint_no,report_type_nm,report_file_nm,free_item_cnt,nifuda_cnt,print_cnt,item_cnt,print_misc_kb,ins_ymd,upd_ymd,pos_select) values ('1100747001','ゆうメール代引まとめシート(A4･2宛分)（ュ00747）','420107P01R15001.rpx','1','0','2','3','1','','','0')
go

insert into T070DefLdgShtMst(comprint_no,report_type_nm,report_file_nm,free_item_cnt,nifuda_cnt,print_cnt,item_cnt,print_misc_kb,ins_ymd,upd_ymd,pos_select) values ('1100748001','ゆうメール代引まとめシート(A5)（ュ00748）','420107P01R16001.rpx','1','0','1','3','1','','','0')
go

insert into T070PrtLblCnfMst(com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id,koshin_login_user_id,yupacket_shitei_kbn) values ('0','0','0','0','1100747001','0','0','1','0','0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0','0','0','0','0','0','2','4-4-4','12','7','1','0','0','0','2','','20120101','99991231',null,null,null,null,'0')
go
insert into T070PrtLblCnfMst
select T070UsrLinMst.com_member_id,T070UsrLinMst.com_pc_id,T070UsrLinMst.login_group_id,T070UsrLinMst.login_user_id
,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd,T070PrtLblCnfMst.koshin_ymd,T070PrtLblCnfMst.koshin_login_group_id,T070PrtLblCnfMst.koshin_login_user_id,yupacket_shitei_kbn
from T070PrtLblCnfMst ,T070UsrLinMst where T070PrtLblCnfMst.com_member_id = '0' and comprint_no = '1100747001'
go

insert into T070PrtLblCnfMst(com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id,koshin_login_user_id,yupacket_shitei_kbn) values ('0','0','0','0','1100748001','0','0','1','0','0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0','0','0','0','0','0','2','4-4-4','12','7','1','0','0','0','2','','20120101','99991231',null,null,null,null,'0')
go
insert into T070PrtLblCnfMst
select T070UsrLinMst.com_member_id,T070UsrLinMst.com_pc_id,T070UsrLinMst.login_group_id,T070UsrLinMst.login_user_id
,comprint_no,comprint_eda_no,use_kbn,yupac_shitei_kbn,yubin_mail_shitei_kbn,teikei_yubin_shitei_kbn,teikeigai_yubin_shitei_kbn,haitatsushitei_zon_shitei_kbn,pospacket_shitei_kbn,atena_label_shitei_kbn,yupac_motobarai_shitei_kbn,yupac_chakubarai_shitei_kbn,yupac_daibiki_shitei_kbn,yupac_security_shitei_kbn,yupac_child_shitei_kbn,yupac_reizo_shitei_kbn,yupac_ofuku_shitei_kbn,yupac_kuko_shitei_kbn,yupac_golf_shitei_kbn,yupac_ski_shitei_kbn,yupac_hagaki_shitei_kbn,yubin_daibiki_shitei_kbn,yubin_kakitome_shitei_kbn,yubin_kani_kakitome_shitei_kbn,yubin_tkiroku_shitei_kbn,uketen_hikae_shitei_kbn,yobi1_kbn,yobi2_kbn,yobi3_kbn,yobi4_kbn,yobi5_kbn,yobi6_kbn,yobi7_kbn,yobi8_kbn,yobi9_kbn,yobi10_kbn,RcdAplSttYmd,RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd,T070PrtLblCnfMst.koshin_ymd,T070PrtLblCnfMst.koshin_login_group_id,T070PrtLblCnfMst.koshin_login_user_id,yupacket_shitei_kbn
from T070PrtLblCnfMst ,T070UsrLinMst where T070PrtLblCnfMst.com_member_id = '0' and comprint_no = '1100748001'
go

insert into T070SepDefLdgShtMstHer(com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd) values ('0','0','0','0','1100747001','0','0','ゆうメール代引まとめシート(A4･2宛分)（ュ00747）','420107P01R15001.rpx','0','3','2012/11/01 10:26:07','2012/11/01 10:26:07')
go
insert into T070SepDefLdgShtMstHer
select T070UsrLinMst.com_member_id,T070UsrLinMst.com_pc_id,T070UsrLinMst.login_group_id,T070UsrLinMst.login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
from T070SepDefLdgShtMstHer ,T070UsrLinMst where T070SepDefLdgShtMstHer.com_member_id = '0' and comprint_no = '1100747001'
go

insert into T070SepDefLdgShtMstHer(com_member_id,com_pc_id,login_group_id,login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd) values ('0','0','0','0','1100748001','0','0','ゆうメール代引まとめシート(A5)（ュ00748）','420107P01R16001.rpx','0','3','2012/11/01 10:26:07','2012/11/01 10:26:07')
go
insert into T070SepDefLdgShtMstHer
select T070UsrLinMst.com_member_id,T070UsrLinMst.com_pc_id,T070UsrLinMst.login_group_id,T070UsrLinMst.login_user_id,comprint_no,comprint_eda_no,copy_no,report_nm,report_file_nm,edit_kbn,item_cnt,ins_ymd,upd_ymd
from T070SepDefLdgShtMstHer ,T070UsrLinMst where T070SepDefLdgShtMstHer.com_member_id = '0' and comprint_no = '1100748001'
go
update T070TsuisekiNo set tsuiseki_no_now = convert(char, convert(decimal,TsuisekiNoTo) + 1) where TsuisekiNoShikibetsuCD = '2' and KamotsuShohinCD = '102'
go
update T070CodMst set code_nm = 'ゆうパック 代引まとめ' ,code_ryaku_nm = 'ゆうパック 代引まとめ' where T070CodMst.syscode1 = 'ラベル印字商品コード' and T070CodMst.code_no = '00110'
go
update T070CodMst set code_nm = 'ゆうパック 代引まとめチルド' ,code_ryaku_nm = 'ゆうパック 代引まとめチルド' where T070CodMst.syscode1 = 'ラベル印字商品コード' and T070CodMst.code_no = '00111'
go
update T070CodMst set code_nm = 'ゆうメール 代引まとめ' ,code_ryaku_nm = 'ゆうメール 代引まとめ' where T070CodMst.syscode1 = 'ラベル印字商品コード' and T070CodMst.code_no = '00201'
go
update T070SigStgMst set CONSTANT01 = 'ゆうメール　−　代引まとめ' where SYS_CODE_ID = '36' and CODE_NO = '102'
go
update T070SigStgMst set CONSTANT01 = 'ゆうパック　−　代引（都度送金）' where SYS_CODE_ID = '36' and CODE_NO = '107'
go
update T070SepDefLdgShtMstHer set report_nm = 'ゆうパック代引まとめシート(A4･2宛分)（ュ00747）' where comprint_no = '1100747'
go
update T070SepDefLdgShtMstHer set report_nm = 'ゆうパック代引まとめシート(A5)（ュ00748）' where comprint_no = '1100748'
go
update T070DefLdgShtMst set report_type_nm = 'ゆうパック代引まとめシート(A4･2宛分)（ュ00747）' where comprint_no = '1100747'
go
update T070DefLdgShtMst set report_type_nm = 'ゆうパック代引まとめシート(A5)（ュ00748）' where comprint_no = '1100748'
go
alter table T050SpcialHdl drop constraint PK_T050SpcialHdl
go
alter table T050SpcialHdl add constraint PK_T050SpcialHdl primary key (SpcialHdlCod,SpcialHdlDiv,RcdAplSttYmd)
go
delete from T070CodMst where syscode1 = '対応内容種別' and syscode2 = '' and syscode3 = '' and code_no = '11'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('対応内容種別','','','11','','住所から取得した郵便番号に置き換えました。','')
go
delete from T070MsgMst where message_id = 'I0742010039'
go
insert into T070MsgMst values ('I0742010039', '出力項目が変更されました。このままの内容で更新しますか？', null, null)
go
alter table T070MstStgAuxInpOupBDw add column_len int NULL,column_row_no int NULL,column_split_no int NULL,format_kbn char(2) NULL,trim_kbn char(1) NULL
go
delete from T070FormSetting where form_id = '420107M01P01V01_2' and object_kbn = '1' and button_nm = '依頼先変更'
go
insert into T070FormSetting (form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) 
values ('420107M01P01V01_2','発送予定データ照会（支店連携）','1','T','','',null,'0','1','ChangeIraisaki',4,'依頼先変更','Ctrl+P','','更新')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別' and code_no = '00'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) 
values ('出力フィルタフォーマット種別','','','00','','フリーフォーマット')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別' and code_no = '21'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) 
values ('出力フィルタフォーマット種別','','','21','','e-発行Business(CSV)')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '21'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','21','O_E-BUSINESS')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_E-BUSINESS'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','1','01','','タイトル 全ての出荷一覧')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','01','','発行種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','02','','状態')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','03','','受託日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','04','','配達完了日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','05','','送り状種類')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','06','','セキュリティ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','07','','個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','08','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','09','','お届け先名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','10','','お届け先名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','11','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','12','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','13','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','14','','荷送人名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','15','','荷送人名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','16','','荷送人電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','17','','荷送人郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','18','','荷送人住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','19','','荷送人担当者・部門(名称)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','20','','荷送人担当者・部門(連絡先)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','21','','品名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','22','','数量１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','23','','品名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','24','','数量２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','25','','品名３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','26','','数量３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','27','','品名４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','28','','数量４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','29','','品名５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','30','','数量５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','31','','荷物価格')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','32','','荷扱い種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','33','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','34','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','35','','お客様番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','36','','出荷予定日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','37','','配達希望日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','38','','配達希望日(終了)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','39','','配達希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','40','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','41','','品代金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','42','','配達完了通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','43','','配達完了通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','44','','配達予定通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','45','','配達予定通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','46','','配達店止め')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','47','','配達店コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','48','','運賃')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS','2','49','','登録日')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別' and code_no = '22'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) 
values ('出力フィルタフォーマット種別','','','22','','e-発行Business(Excel)')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '22'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','22','O_E-BUSINESS_E')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_E-BUSINESS_E'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','1','01','','タイトル 全ての出荷一覧')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','01','','発行種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','02','','状態')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','03','','受託日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','04','','配達完了日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','05','','送り状種類')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','06','','セキュリティ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','07','','個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','08','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','09','','お届け先名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','10','','お届け先名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','11','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','12','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','13','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','14','','荷送人名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','15','','荷送人名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','16','','荷送人電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','17','','荷送人郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','18','','荷送人住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','19','','荷送人担当者・部門(名称)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','20','','荷送人担当者・部門(連絡先)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','21','','品名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','22','','数量１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','23','','品名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','24','','数量２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','25','','品名３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','26','','数量３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','27','','品名４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','28','','数量４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','29','','品名５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','30','','数量５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','31','','荷物価格')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','32','','荷扱い種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','33','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','34','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','35','','お客様番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','36','','出荷予定日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','37','','配達希望日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','38','','配達希望日(終了)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','39','','配達希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','40','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','41','','品代金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','42','','配達完了通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','43','','配達完了通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','44','','配達予定通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','45','','配達予定通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','46','','配達店止め')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','47','','配達店コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','48','','運賃')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_E','2','49','','登録日')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別' and code_no = '23'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) 
values ('出力フィルタフォーマット種別','','','23','','DENFD予約')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '23'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','23','O_DENFD_YOYAKU')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_DENFD_YOYAKU'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','01','','ファイル識別コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','02','','発送予定日')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','03','','商品種別コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','04','','注意コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','05','','伝票個数')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','06','','お問い合わせ番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','07','','お客様側管理番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','08','','複数個口代表お問い合わせ番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','09','','ゆうびんビズカードお客さま番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','10','','旧ＪＰＥｘ顧客コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','11','','ご依頼主名')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','12','','ご依頼主名１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','13','','ご依頼主名２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','14','','ご依頼主電話番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','15','','ご依頼主郵便番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','16','','ご依頼主住所')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','17','','ご依頼主住所１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','18','','ご依頼主住所２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','19','','ご依頼主住所３')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','20','','お届け先名')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','21','','お届け先名１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','22','','お届け先名２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','23','','お届け先電話番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','24','','お届け先郵便番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','25','','お届け先住所')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','26','','お届け先住所１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','27','','お届け先住所２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','28','','お届け先住所３')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','29','','お届け先住所コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','30','','お届け希望年月日')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','31','','お届け希望時間帯')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','32','','以降配達コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','33','','代金引換金額')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','34','','消費税額等')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','35','','品名')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','36','','品名１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','37','','品名２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','38','','品名３')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','39','','損害要償額')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','40','','サイズ')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','41','','記事')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','42','','記事１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','43','','記事２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','44','','復路集荷先電話番号')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','45','','復路集荷日')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','46','','発送予定会社コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','47','','発送予定局コード')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','48','','配達予告メールサービス')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','49','','配達完了メールサービス')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','50','','不在持戻メールサービス')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','51','','郵便局留めメールサービス')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','52','','配達予告メールアドレス')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','53','','配達完了メールアドレス１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','54','','配達完了メールアドレス２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','55','','配達完了メールアドレス３')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','56','','配達完了メールアドレス４')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','57','','配達完了メールアドレス５')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','58','','不在持戻通知先メールアドレス')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','59','','郵便局留め通知メールアドレス１')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','60','','郵便局留め通知メールアドレス２')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','61','','配達希望日前倒し')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','62','','商品表示')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','63','','プレー日／搭乗日')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','64','','搭乗便名')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','65','','割引パターン')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','66','','受付店控え')
go                                                                                                                                             
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_YOYAKU','1','67','','自由使用欄')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'B9'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','B9','','商品の個数を入れてください。','')
go
update T070VerInf set update_ver = '20150102000000' , before_check_date = '20150102000000' where ver_sbt = 'AB'
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別' and code_no = '24'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) 
values ('出力フィルタフォーマット種別','','','24','','e-発行Business(CSV･ﾌﾘｰ)')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '24'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','24','O_E-BUSINESS_F')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_E-BUSINESS_F'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','1','01','','タイトル 全ての出荷一覧')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','01','','発行種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','02','','状態')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','03','','受託日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','04','','配達完了日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','05','','送り状種類')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','06','','セキュリティ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','07','','個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','08','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','09','','お届け先名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','10','','お届け先名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','11','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','12','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','13','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','14','','荷送人名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','15','','荷送人名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','16','','荷送人電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','17','','荷送人郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','18','','荷送人住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','19','','荷送人担当者・部門(名称)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','20','','荷送人担当者・部門(連絡先)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','21','','フリー項目１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','22','','フリー項目２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','23','','フリー項目３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','24','','フリー項目４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','25','','フリー項目５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','26','','フリー項目６')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','27','','フリー項目７')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','28','','フリー項目８')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','29','','フリー項目９')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','30','','フリー項目１０')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','31','','荷物価格')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','32','','荷扱い種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','33','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','34','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','35','','お客様番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','36','','出荷予定日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','37','','配達希望日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','38','','配達希望日(終了)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','39','','配達希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','40','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','41','','品代金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','42','','配達完了通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','43','','配達完了通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','44','','配達予定通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','45','','配達予定通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','46','','配達店止め')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','47','','配達店コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','48','','運賃')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F','2','49','','登録日')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別' and code_no = '25'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) 
values ('出力フィルタフォーマット種別','','','25','','e-発行Business(Excel･ﾌﾘｰ)')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '25'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','25','O_E-BUSINESS_F_E')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_E-BUSINESS_F_E'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','1','01','','タイトル 全ての出荷一覧')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','01','','発行種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','02','','状態')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','03','','受託日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','04','','配達完了日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','05','','送り状種類')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','06','','セキュリティ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','07','','個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','08','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','09','','お届け先名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','10','','お届け先名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','11','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','12','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','13','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','14','','荷送人名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','15','','荷送人名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','16','','荷送人電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','17','','荷送人郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','18','','荷送人住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','19','','荷送人担当者・部門(名称)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','20','','荷送人担当者・部門(連絡先)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','21','','フリー項目１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','22','','フリー項目２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','23','','フリー項目３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','24','','フリー項目４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','25','','フリー項目５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','26','','フリー項目６')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','27','','フリー項目７')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','28','','フリー項目８')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','29','','フリー項目９')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','30','','フリー項目１０')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','31','','荷物価格')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','32','','荷扱い種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','33','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','34','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','35','','お客様番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','36','','出荷予定日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','37','','配達希望日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','38','','配達希望日(終了)')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','39','','配達希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','40','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','41','','品代金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','42','','配達完了通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','43','','配達完了通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','44','','配達予定通知')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','45','','配達予定通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','46','','配達店止め')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','47','','配達店コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','48','','運賃')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_E-BUSINESS_F_E','2','49','','登録日')
go
delete from T070SigStgMst where SYS_CODE_ID = '69'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','1','1100422','0','2','0','0','601','16011')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','2','1100422','0','2','1','0','603','16031')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','3','1100422','0','2','2','0','605','16051')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','4','1100510','0','1','0','0','201','12011')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','5','1100510','0','1','1','0','202','12021')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','6','1100510','0','1','2','0','203','12031')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','7','1100570','0','0','0','0','101','11014')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','8','1100570','0','0','1','0','103','11034')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','9','1100570','0','0','2','0','105','11054')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','10','1100570','0','2','0','0','601','16014')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','11','1100570','0','2','1','0','603','16034')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','12','1100570','0','2','2','0','605','16054')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','13','1100571','0','0','0','0','101','11014')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','14','1100571','0','0','1','0','103','11034')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','15','1100571','0','0','2','0','105','11054')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','16','1100661','0','0','0','0','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','17','1100661','0','0','1','0','103','11035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','18','1100661','0','0','2','0','105','11055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','19','1100701','0','0','0','0','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','20','1100701','0','0','1','0','103','11035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','21','1100701','0','0','2','0','105','11055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','22','1100706','0','0','0','0','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','23','1100706','0','0','1','0','103','11035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','24','1100706','0','0','2','0','105','11055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','25','1100725','0','0','0','0','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','26','1100725','0','0','1','0','103','11035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','27','1100725','0','0','2','0','105','11055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','28','1100726','0','0','0','1','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','29','1100727','0','0','0','1','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','30','1100728','0','1','0','0','201','12015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','31','1100728','0','1','1','0','202','12025')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','32','1100728','0','1','2','0','203','12035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','33','1100740','0','2','0','0','601','16015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','34','1100740','0','2','1','0','603','16035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','35','1100740','0','2','2','0','605','16055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','36','1100740001','0','2','0','0','601','16015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','37','1100740001','0','2','1','0','603','16035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','38','1100740001','0','2','2','0','605','16055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','39','1100741','0','2','0','0','601','16015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','40','1100741','0','2','1','0','603','16035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','41','1100741','0','2','2','0','605','16055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','42','1100747','0','2','0','0','601','16011')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','43','1100747','0','2','1','0','603','16031')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','44','1100747','0','2','2','0','605','16051')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','45','1100748','0','2','0','0','601','16012')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','46','1100748','0','2','1','0','603','16032')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','47','1100748','0','2','2','0','605','16052')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','48','1100780','0','0','0','0','101','11011')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','49','1100780','0','0','1','0','103','11031')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','50','1100780','0','0','2','0','105','11051')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','51','1100782','0','0','0','0','101','11011')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','52','1100782','0','0','1','0','103','11031')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','53','1100782','0','0','2','0','105','11051')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','54','1100783001','0','0','0','0','101','11013')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','55','1100783001','0','0','1','0','103','11033')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','56','1100783001','0','0','2','0','105','11053')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','57','1100783002','0','1','0','0','201','12013')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','58','1100783002','0','1','1','0','202','12023')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','59','1100783002','0','1','2','0','203','12033')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','60','1100783003','0','2','0','0','601','16013')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','61','1100783003','0','2','1','0','603','16033')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','62','1100783003','0','2','2','0','605','16053')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','63','1100784','0','0','0','0','101','11011')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','64','1100784','0','0','1','0','103','11031')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','65','1100784','0','0','2','0','105','11051')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','66','1100785','0','0','0','0','101','11012')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','67','1100785','0','0','1','0','103','11032')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','68','1100785','0','0','2','0','105','11052')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','69','1150651','0','0','0','0','101','11015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','70','1150651','0','0','1','0','103','11035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','71','1150651','0','0','2','0','105','11055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','72','1150740','0','2','0','0','601','16015')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','73','1150740','0','2','1','0','603','16035')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','74','1150740','0','2','2','0','605','16055')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07) values('69','75','ZZZZZZZZZZ','Z','Z','Z','Z','ZZZ','ZZZZZ')
go
delete from T070MsgMst where message_id = 'I0742010040'
go
insert into T070MsgMst values ('I0742010040', '{0}に{1}件の出荷先連携データを受信しました。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019093'
go
insert into T070MsgMst values ('E0742019093', '出荷先連携データ受信処理中です。しばらく時間をおいてから実行してください。', null, null)
go
delete from T070SigStgMst where SYS_CODE_ID = '70' and CODE_NO = '0'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('70','0','0','1','alarm.wav','','','','','','','')
go
update T070ConvrnPslClaCgoPdt set no_shohin_cd = '69' where no_shohin_cd = '47'
go
update T070SigStgMst set CONSTANT02 = '69' where SYS_CODE_ID = '66' and CODE_NO = '21'
go
update T070SigStgMst set CONSTANT04 = '60' where SYS_CODE_ID = '51' and CODE_NO = '51'
go
update T070SigStgMst set CONSTANT04 = '62' where SYS_CODE_ID = '51' and CODE_NO = '52'
go
update T070SigStgMst set CONSTANT04 = '63' where SYS_CODE_ID = '51' and CODE_NO = '53'
go
update T070SigStgMst set CONSTANT04 = '64' where SYS_CODE_ID = '51' and CODE_NO = '54'
go
update T070SigStgMst set CONSTANT04 = '65' where SYS_CODE_ID = '51' and CODE_NO = '55'
go
update T070SigStgMst set CONSTANT04 = '66' where SYS_CODE_ID = '51' and CODE_NO = '56'
go
delete from T070SigStgMst where SYS_CODE_ID = '71'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100271','5','1','8','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100272','5','1','7','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100273','5','1','8','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100274','5','1','7','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100422','5','1','7','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100740','5','1','7','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100740001','5','1','7','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('71','1100741','5','1','8','','','','','','','')
go
delete from T070FormSetting where form_id = '420107M01P02V01' and method_nm = 'SyuyakuSyori'
go
delete from T070MsgMst where message_id = 'I0742010041'
go
insert into T070MsgMst values ('I0742010041', '運賃計算を行いますが、よろしいですか？', null, null)
go
delete from T070MsgMst where message_id = 'I0742010042'
go
insert into T070MsgMst values ('I0742010042', '運賃計算が終了しました。
計算結果は参考となりますので、実際の料金は最寄りの差出局までお問い合わせください。

　　選択件数：　{0}件
　　　　正常終了件数：　{1}件
　　　　計算不可件数：　{2}件', null, null)
go
delete from T070FormSetting where form_id = '420107M01P01V01' and method_nm = 'UnchinUpdate'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P01V01','発送予定データ照会','1','T','','',null,'0','1','UnchinUpdate','5','運賃一括計算','Ctrl+Q','','処理')
go
delete from T070FormSetting where form_id = '420107M01P01V01_1' and method_nm = 'UnchinUpdate'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P01V01_1','発送予定データ照会（出荷先連携）','1','T','','',null,'0','1','UnchinUpdate','5','運賃一括計算','Ctrl+Q','','処理')
go
delete from T070FormSetting where form_id = '420107M01P02V01' and method_nm = 'UnchinUpdate'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P02V01','発送履歴データ照会','1','T','','',null,'0','1','UnchinUpdate','5','運賃一括計算','Ctrl+Q','','処理')
go
delete from T070SigStgMst where SYS_CODE_ID = '72'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021Airport'             ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021Area'                ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021Calendar'            ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021Company'             ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021CompCalendar'        ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021DeliveryArea'        ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021DeliveryDays'        ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021DelvDaysExpArea'     ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021ExciseRate'          ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021HQBO'                ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021Office'              ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021PostalCodeList'      ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021PostalZone'          ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T021SortNo'              ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T040MTrcNoRangeSymCpy'   ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T040MTrcStatus'          ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T040MTrcStatusAssist'    ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050PslCla'              ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050SpcialHdl'           ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050YpkCgoPdt'           ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050YpkDscFee'           ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050YpkPdtCla'           ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050YpkSiz'              ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050YpkSpcialHdl'        ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T050YpkXraFee'           ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060AirPrtAddInf'        ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060HndlngPlcRlt'        ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPCliCodLinkng'      ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPCliCodLinkngPdtLst','1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMember'            ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMemberBchShpLnkage','2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMemberBscIfm'      ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMemberCgoPdtCod'   ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMemberCliCodLst'   ,'0','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMemberTmlIfm'      ,'1','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMemberUsrIfm'      ,'2','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('72','T060LPMmbrBchShpLkPdtLst','1','','','','','','','','','')
go
delete from T070VerInf where table_name = 'T030CmnAppliRpayMst'
go
delete from T070VerInf where table_name = 'T030CmnRpyNameAddrMst'
go
delete from T070VerInf where table_name = 'T021OfficeExp'
go
delete from T070VerInf where table_name = 'T021OfficePhoneNumber'
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BA'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BA','','代引消費税金額が代引金額を超えています。','')
go
delete from T070MsgMst where message_id = 'I0742010043'
go
insert into T070MsgMst values ('I0742010043', '送り状番号枠が少なくなってきています。
送り状番号を追加取得する場合は、ゆうプリRをお申込みされた郵便局までお問い合わせください。', null, null)
go
update T070MenuSetting set button_nm = 'オフライン用マスタ取込' where pg_id = '420107C07P01V01'
go
delete from T070FormSetting where form_id = '420107M01P01V01' and method_nm = 'ChangeYusoKosu'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P01V01','発送予定データ照会','1','T','','',null,'0','1','ChangeYusoKosu','6','複数個作成','Ctrl+F','','OrderCopy')
go
delete from T070FormSetting where form_id = '420107M01P01V01_1' and method_nm = 'ChangeYusoKosu'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P01V01_1','発送予定データ照会（出荷先連携）','1','T','','',null,'0','1','ChangeYusoKosu','6','複数個作成','Ctrl+F','','OrderCopy')
go
delete from T070FormSetting where form_id = '420107M01P01V01_2' and method_nm = 'ChangeYusoKosu'
go
insert into T070FormSetting(form_id,form_nm,object_kbn,menu_kbn,button_panel_id,button_panel_nm,button_panel_layer,button_alliment,button_enable,method_nm,sort,button_nm,button_nm2,method_nm2,icon_nm) values ('420107M01P01V01_2','発送予定データ照会（支店連携）','1','T','','',null,'0','1','ChangeYusoKosu','6','複数個作成','Ctrl+F','','OrderCopy')
go
update T070FormSetting set button_panel_id = '' where button_panel_id is null
go
delete from T070MsgMst where message_id = 'E0742019094'
go
insert into T070MsgMst values ('E0742019094', '複数個処理を実行する際は、対象データを1件だけ選択してください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019095'
go
insert into T070MsgMst values ('E0742019095', '複数個口のデータのため、複数個作成機能は使用できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019096'
go
insert into T070MsgMst values ('E0742019096', 'ゆうパック以外のデータは変更できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019097'
go
insert into T070MsgMst values ('E0742019097', '都度代引の場合は複数個に変更できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019098'
go
insert into T070MsgMst values ('E0742019098', '代引きまとめゆうメールの送り状が選択されている場合は複数個に変更できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019099'
go
insert into T070MsgMst values ('E0742019099', '集約されているデータは変更できません。集約を解除してから変更を行ってください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019100'
go
insert into T070MsgMst values ('E0742019100', 'お問い合わせ番号が入っているデータは変更できません。', null, null)
go
update T070CodMst set code_nm = 'http://map.japanpost.jp/pc/' where syscode1 = '郵便局名URL'
go
update T070MstStgInpOupHer set header_umu = '0',charset = '1' where format_sbt = 'O_DENFD_YOYAKU'
go
delete from T070WrkTblPriIvc
go
alter table T070WrkTblPriIvc add com_member_id char(8) NULL,com_pc_id char(4) NULL,login_group_id char(30) NULL,login_user_id char(30) NULL,report_type_nm nvarchar(50) NULL
go
insert into T070WrkTblPriIvc (machine_id,seq_no,okurijyo_no,shuyaku_no,meisai_no,meisai_eda_no,uketsuke_ymd,syuka_ymd,tracking_no,kokyaku_senyo_no,comprint_no,comprint_eda_no,kokyaku_long_cd,kokyaku_nm,kokyaku_nm_1,kokyaku_nm_2,kokyaku_kn,kokyaku_kn_1,kokyaku_kn_2,kokyaku_adr,kokyaku_adr_1,kokyaku_adr_2,kokyaku_adr_3,kokyaku_tel,kokyaku_zip,kokyaku_com_member_id,receiver_nm,receiver_nm_1,receiver_nm_2,receiver_kn,receiver_kn_1,receiver_kn_2,receiver_adr,receiver_adr_1,receiver_adr_2,receiver_adr_3,receiver_tel,receiver_zip,receiver_member_id,shiwake_no,branch_nm,delivery_appoint_ymd,delivery_appoint_time,delivery_tel,payment_transfar_type,payment_amt,payment_tax,payment_taxable_amt,payment_stamp_tax,payment_fee,sender_type,horei_sbt,mochikomi_syuka_kbn,waremono_kbn,namamono_kbn,binrui_kbn,sakasama_ng_kbn,shitadumi_ng_kbn,discount_kbn,post_amt,registered_amt,damaged_amt,receipt_amt,todokehagaki_kbn,todokemail_kbn,transfar_account1,transfar_account2,transfar_account3,multi_account1,multi_account2,multi_account3,payment_bulk_barcode,payment_bulk_stamp_tax,item_name,item_size,item_cnt_bunshi,item_cnt_bunbo,free01,free02,free03,free04,free05,free06,free07,free08,free09,free10,transfar_amt,waribiki_tracking_no,yubin_sbt,kitte_amt,nifuda_cnt,daibiki_fee,daibiki_sec_amt,goirainushi_no,haitatsuten_nm,helpdesk_tel,horei_amt,koguchi_amt,item_value,kanyusha_nm,kokyaku_cd,kokyaku_com_member_id_barcode,koufu_sbt,leteral1,leteral2,leteral3,leteral4,matome_payment_cd,order_no,print_date,security_amt,shiharai_houhou_kbn,shiwake_no_barcode,shohin_amt,shohin_cd,shohin_color,shohin_nm,shohin_size_kbn,shohin_tanka,shohin_cnt,size_kbn,sonota_amt,tanto_nm,thirty,toriatsukai_place,toriatsukai_store,tracking_no_barcode,trans_member_id,tyakubarai_kbn,uketsuke_store_nm,uketsuke_tel,waribiki_amt,weight,yupack_douitsu_wari_kbn,yupack_fukusuwari_kbn,yupack_ofukuwari_kbn,receiver_keisho_kbn,kokyaku_keisho_kbn,tomeoki_kikan,kiji_nm_1,kiji_nm_2,ent_cod,bes_cod,dep001_cod,dep002_cod,kamotsu_shohin_cd,label_yuukou_ymd,kakitome_security_sbt,daibiki_sbt,daibiki_matome_kbn,over_25kg_kbn,kanri_no,leteral5,leteral7,leteral8,leteral9,leteral10,lbl_prt_member_pay_cd,leisure_kbn,fukurosyuka_ymd,leteral6,yobi01,yobi02,yobi03,yobi04,yobi05,yobi06,yobi07,yobi08,yobi09,yobi10,play_ymd,play_hh,club_honsu,kukoriyo_kbn,kokusya_nm,riyobin_nm,yoyakumake_ymd,fukurounchin_amt,haitatsushitei_sbt,fukuro_tracking_no,fukuro_tracking_no_barcode,label_print_shohin_cd,todoke_kyokudome_kbn,todoke_kyokudome_shiten_nm,free11,free12,free13,free14,free15,free16,free17,free18,free19,free20,com_member_id,com_pc_id,login_group_id,login_user_id,report_type_nm)
 values ('printpreviewdata','1','XXXXXXXXXXXX',' ','1','1','2013/02/28','2013/04/01','XXXXXXXXXXXX','900000000000009','1100570','1',NULL,NULL,'ご依頼主名称１','ご依頼主名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','99-9999-9999        ','1000001 ',NULL,NULL,'お届け先名称１','お届け先名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','88-8888-8888        ','1000001 ',NULL,'351099',NULL,'2013/04/06','60',NULL,NULL,'50000','2500','47500','200','0',' ','0',' ','0','0','0','0','0',NULL,NULL,NULL,'1500',NULL,'0','0','     ',' ','        ','     ',' ','        ',NULL,NULL,NULL,NULL,'1','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'49800',NULL,'0',NULL,NULL,NULL,NULL,NULL,'銀座郵便局',NULL,NULL,'1',NULL,NULL,NULL,'001',' ','YR01','Y','TEL:','-',NULL,'1000000001',NULL,NULL,NULL,'351099 ','0','item0001            ',NULL,'商品名称1',NULL,'100','5','060 ',NULL,NULL,NULL,NULL,NULL,'AXXXXXXXXXXXXA',NULL,'0','東久留米郵便局',NULL,NULL,NULL,'0',NULL,NULL,'0','0',NULL,'記事１','記事２','1000000000','000001','0000000001','000001','101','20130429','2','1','1','0','001     0000000000011081','0120-2328-86','100-8798','東京都千代田区霞が関一丁目３番２号','WY01',NULL,'1 ','0','        ','日本郵便株式会社',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'        ','  ','    ','0',NULL,NULL,NULL,NULL,' ','XXXXXXXXXXXX','AXXXXXXXXXXXXA','00100','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','','','')
go
insert into T070WrkTblPriIvc (machine_id,seq_no,okurijyo_no,shuyaku_no,meisai_no,meisai_eda_no,uketsuke_ymd,syuka_ymd,tracking_no,kokyaku_senyo_no,comprint_no,comprint_eda_no,kokyaku_long_cd,kokyaku_nm,kokyaku_nm_1,kokyaku_nm_2,kokyaku_kn,kokyaku_kn_1,kokyaku_kn_2,kokyaku_adr,kokyaku_adr_1,kokyaku_adr_2,kokyaku_adr_3,kokyaku_tel,kokyaku_zip,kokyaku_com_member_id,receiver_nm,receiver_nm_1,receiver_nm_2,receiver_kn,receiver_kn_1,receiver_kn_2,receiver_adr,receiver_adr_1,receiver_adr_2,receiver_adr_3,receiver_tel,receiver_zip,receiver_member_id,shiwake_no,branch_nm,delivery_appoint_ymd,delivery_appoint_time,delivery_tel,payment_transfar_type,payment_amt,payment_tax,payment_taxable_amt,payment_stamp_tax,payment_fee,sender_type,horei_sbt,mochikomi_syuka_kbn,waremono_kbn,namamono_kbn,binrui_kbn,sakasama_ng_kbn,shitadumi_ng_kbn,discount_kbn,post_amt,registered_amt,damaged_amt,receipt_amt,todokehagaki_kbn,todokemail_kbn,transfar_account1,transfar_account2,transfar_account3,multi_account1,multi_account2,multi_account3,payment_bulk_barcode,payment_bulk_stamp_tax,item_name,item_size,item_cnt_bunshi,item_cnt_bunbo,free01,free02,free03,free04,free05,free06,free07,free08,free09,free10,transfar_amt,waribiki_tracking_no,yubin_sbt,kitte_amt,nifuda_cnt,daibiki_fee,daibiki_sec_amt,goirainushi_no,haitatsuten_nm,helpdesk_tel,horei_amt,koguchi_amt,item_value,kanyusha_nm,kokyaku_cd,kokyaku_com_member_id_barcode,koufu_sbt,leteral1,leteral2,leteral3,leteral4,matome_payment_cd,order_no,print_date,security_amt,shiharai_houhou_kbn,shiwake_no_barcode,shohin_amt,shohin_cd,shohin_color,shohin_nm,shohin_size_kbn,shohin_tanka,shohin_cnt,size_kbn,sonota_amt,tanto_nm,thirty,toriatsukai_place,toriatsukai_store,tracking_no_barcode,trans_member_id,tyakubarai_kbn,uketsuke_store_nm,uketsuke_tel,waribiki_amt,weight,yupack_douitsu_wari_kbn,yupack_fukusuwari_kbn,yupack_ofukuwari_kbn,receiver_keisho_kbn,kokyaku_keisho_kbn,tomeoki_kikan,kiji_nm_1,kiji_nm_2,ent_cod,bes_cod,dep001_cod,dep002_cod,kamotsu_shohin_cd,label_yuukou_ymd,kakitome_security_sbt,daibiki_sbt,daibiki_matome_kbn,over_25kg_kbn,kanri_no,leteral5,leteral7,leteral8,leteral9,leteral10,lbl_prt_member_pay_cd,leisure_kbn,fukurosyuka_ymd,leteral6,yobi01,yobi02,yobi03,yobi04,yobi05,yobi06,yobi07,yobi08,yobi09,yobi10,play_ymd,play_hh,club_honsu,kukoriyo_kbn,kokusya_nm,riyobin_nm,yoyakumake_ymd,fukurounchin_amt,haitatsushitei_sbt,fukuro_tracking_no,fukuro_tracking_no_barcode,label_print_shohin_cd,todoke_kyokudome_kbn,todoke_kyokudome_shiten_nm,free11,free12,free13,free14,free15,free16,free17,free18,free19,free20,com_member_id,com_pc_id,login_group_id,login_user_id,report_type_nm)
 values ('printpreviewdata','2','XXXXXXXXXXXX',' ','1','1','2013/02/28','2013/04/01','XXXXXXXXXXXX','900000000000009','1100570','1',NULL,NULL,'ご依頼主名称１','ご依頼主名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','99-9999-9999        ','1000001 ',NULL,NULL,'お届け先名称１','お届け先名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','88-8888-8888        ','1000001 ',NULL,'351099',NULL,'2013/04/06','60',NULL,NULL,'50000','2500','47500','200','0',' ','0',' ','0','0','0','0','0',NULL,NULL,NULL,'1500',NULL,'0','0','     ',' ','        ','     ',' ','        ',NULL,NULL,NULL,NULL,'1','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'49800',NULL,'0',NULL,NULL,NULL,NULL,NULL,'銀座郵便局',NULL,NULL,'1',NULL,NULL,NULL,'001',' ','YR01','Y','TEL:','-',NULL,'1000000001',NULL,NULL,NULL,'351099 ','0','item0002            ',NULL,'商品名称2',NULL,'0','1','060 ',NULL,NULL,NULL,NULL,NULL,'AXXXXXXXXXXXXA',NULL,'0','東久留米郵便局',NULL,NULL,NULL,'0',NULL,NULL,'0','0',NULL,'記事１','記事２','1000000000','000001','0000000001','000001','101','20130429','2','1','1','0','001     0000000000011081','0120-2328-86','100-8798','東京都千代田区霞が関一丁目３番２号','WY01',NULL,'1 ','0','        ','日本郵便株式会社',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'        ','  ','    ','0',NULL,NULL,NULL,NULL,' ','XXXXXXXXXXXX','AXXXXXXXXXXXXA','00100','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','','','')
go
insert into T070WrkTblPriIvc (machine_id,seq_no,okurijyo_no,shuyaku_no,meisai_no,meisai_eda_no,uketsuke_ymd,syuka_ymd,tracking_no,kokyaku_senyo_no,comprint_no,comprint_eda_no,kokyaku_long_cd,kokyaku_nm,kokyaku_nm_1,kokyaku_nm_2,kokyaku_kn,kokyaku_kn_1,kokyaku_kn_2,kokyaku_adr,kokyaku_adr_1,kokyaku_adr_2,kokyaku_adr_3,kokyaku_tel,kokyaku_zip,kokyaku_com_member_id,receiver_nm,receiver_nm_1,receiver_nm_2,receiver_kn,receiver_kn_1,receiver_kn_2,receiver_adr,receiver_adr_1,receiver_adr_2,receiver_adr_3,receiver_tel,receiver_zip,receiver_member_id,shiwake_no,branch_nm,delivery_appoint_ymd,delivery_appoint_time,delivery_tel,payment_transfar_type,payment_amt,payment_tax,payment_taxable_amt,payment_stamp_tax,payment_fee,sender_type,horei_sbt,mochikomi_syuka_kbn,waremono_kbn,namamono_kbn,binrui_kbn,sakasama_ng_kbn,shitadumi_ng_kbn,discount_kbn,post_amt,registered_amt,damaged_amt,receipt_amt,todokehagaki_kbn,todokemail_kbn,transfar_account1,transfar_account2,transfar_account3,multi_account1,multi_account2,multi_account3,payment_bulk_barcode,payment_bulk_stamp_tax,item_name,item_size,item_cnt_bunshi,item_cnt_bunbo,free01,free02,free03,free04,free05,free06,free07,free08,free09,free10,transfar_amt,waribiki_tracking_no,yubin_sbt,kitte_amt,nifuda_cnt,daibiki_fee,daibiki_sec_amt,goirainushi_no,haitatsuten_nm,helpdesk_tel,horei_amt,koguchi_amt,item_value,kanyusha_nm,kokyaku_cd,kokyaku_com_member_id_barcode,koufu_sbt,leteral1,leteral2,leteral3,leteral4,matome_payment_cd,order_no,print_date,security_amt,shiharai_houhou_kbn,shiwake_no_barcode,shohin_amt,shohin_cd,shohin_color,shohin_nm,shohin_size_kbn,shohin_tanka,shohin_cnt,size_kbn,sonota_amt,tanto_nm,thirty,toriatsukai_place,toriatsukai_store,tracking_no_barcode,trans_member_id,tyakubarai_kbn,uketsuke_store_nm,uketsuke_tel,waribiki_amt,weight,yupack_douitsu_wari_kbn,yupack_fukusuwari_kbn,yupack_ofukuwari_kbn,receiver_keisho_kbn,kokyaku_keisho_kbn,tomeoki_kikan,kiji_nm_1,kiji_nm_2,ent_cod,bes_cod,dep001_cod,dep002_cod,kamotsu_shohin_cd,label_yuukou_ymd,kakitome_security_sbt,daibiki_sbt,daibiki_matome_kbn,over_25kg_kbn,kanri_no,leteral5,leteral7,leteral8,leteral9,leteral10,lbl_prt_member_pay_cd,leisure_kbn,fukurosyuka_ymd,leteral6,yobi01,yobi02,yobi03,yobi04,yobi05,yobi06,yobi07,yobi08,yobi09,yobi10,play_ymd,play_hh,club_honsu,kukoriyo_kbn,kokusya_nm,riyobin_nm,yoyakumake_ymd,fukurounchin_amt,haitatsushitei_sbt,fukuro_tracking_no,fukuro_tracking_no_barcode,label_print_shohin_cd,todoke_kyokudome_kbn,todoke_kyokudome_shiten_nm,free11,free12,free13,free14,free15,free16,free17,free18,free19,free20,com_member_id,com_pc_id,login_group_id,login_user_id,report_type_nm)
 values ('printpreviewdata','3','XXXXXXXXXXXX',' ','1','1','2013/02/28','2013/04/01','XXXXXXXXXXXX','900000000000009','1100570','1',NULL,NULL,'ご依頼主名称１','ご依頼主名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','99-9999-9999        ','1000001 ',NULL,NULL,'お届け先名称１','お届け先名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','88-8888-8888        ','1000001 ',NULL,'351099',NULL,'2013/04/06','60',NULL,NULL,'50000','2500','47500','200','0',' ','0',' ','0','0','0','0','0',NULL,NULL,NULL,'1500',NULL,'0','0','     ',' ','        ','     ',' ','        ',NULL,NULL,NULL,NULL,'1','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'49800',NULL,'0',NULL,NULL,NULL,NULL,NULL,'銀座郵便局',NULL,NULL,'1',NULL,NULL,NULL,'001',' ','YR01','Y','TEL:','-',NULL,'1000000001',NULL,NULL,NULL,'351099 ','0','item0003            ',NULL,'商品名称3',NULL,'0','1','060 ',NULL,NULL,NULL,NULL,NULL,'AXXXXXXXXXXXXA',NULL,'0','東久留米郵便局',NULL,NULL,NULL,'0',NULL,NULL,'0','0',NULL,'記事１','記事２','1000000000','000001','0000000001','000001','101','20130429','2','1','1','0','001     0000000000011081','0120-2328-86','100-8798','東京都千代田区霞が関一丁目３番２号','WY01',NULL,'1 ','0','        ','日本郵便株式会社',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'        ','  ','    ','0',NULL,NULL,NULL,NULL,' ','XXXXXXXXXXXX','AXXXXXXXXXXXXA','00100','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','','','')
go
insert into T070WrkTblPriIvc (machine_id,seq_no,okurijyo_no,shuyaku_no,meisai_no,meisai_eda_no,uketsuke_ymd,syuka_ymd,tracking_no,kokyaku_senyo_no,comprint_no,comprint_eda_no,kokyaku_long_cd,kokyaku_nm,kokyaku_nm_1,kokyaku_nm_2,kokyaku_kn,kokyaku_kn_1,kokyaku_kn_2,kokyaku_adr,kokyaku_adr_1,kokyaku_adr_2,kokyaku_adr_3,kokyaku_tel,kokyaku_zip,kokyaku_com_member_id,receiver_nm,receiver_nm_1,receiver_nm_2,receiver_kn,receiver_kn_1,receiver_kn_2,receiver_adr,receiver_adr_1,receiver_adr_2,receiver_adr_3,receiver_tel,receiver_zip,receiver_member_id,shiwake_no,branch_nm,delivery_appoint_ymd,delivery_appoint_time,delivery_tel,payment_transfar_type,payment_amt,payment_tax,payment_taxable_amt,payment_stamp_tax,payment_fee,sender_type,horei_sbt,mochikomi_syuka_kbn,waremono_kbn,namamono_kbn,binrui_kbn,sakasama_ng_kbn,shitadumi_ng_kbn,discount_kbn,post_amt,registered_amt,damaged_amt,receipt_amt,todokehagaki_kbn,todokemail_kbn,transfar_account1,transfar_account2,transfar_account3,multi_account1,multi_account2,multi_account3,payment_bulk_barcode,payment_bulk_stamp_tax,item_name,item_size,item_cnt_bunshi,item_cnt_bunbo,free01,free02,free03,free04,free05,free06,free07,free08,free09,free10,transfar_amt,waribiki_tracking_no,yubin_sbt,kitte_amt,nifuda_cnt,daibiki_fee,daibiki_sec_amt,goirainushi_no,haitatsuten_nm,helpdesk_tel,horei_amt,koguchi_amt,item_value,kanyusha_nm,kokyaku_cd,kokyaku_com_member_id_barcode,koufu_sbt,leteral1,leteral2,leteral3,leteral4,matome_payment_cd,order_no,print_date,security_amt,shiharai_houhou_kbn,shiwake_no_barcode,shohin_amt,shohin_cd,shohin_color,shohin_nm,shohin_size_kbn,shohin_tanka,shohin_cnt,size_kbn,sonota_amt,tanto_nm,thirty,toriatsukai_place,toriatsukai_store,tracking_no_barcode,trans_member_id,tyakubarai_kbn,uketsuke_store_nm,uketsuke_tel,waribiki_amt,weight,yupack_douitsu_wari_kbn,yupack_fukusuwari_kbn,yupack_ofukuwari_kbn,receiver_keisho_kbn,kokyaku_keisho_kbn,tomeoki_kikan,kiji_nm_1,kiji_nm_2,ent_cod,bes_cod,dep001_cod,dep002_cod,kamotsu_shohin_cd,label_yuukou_ymd,kakitome_security_sbt,daibiki_sbt,daibiki_matome_kbn,over_25kg_kbn,kanri_no,leteral5,leteral7,leteral8,leteral9,leteral10,lbl_prt_member_pay_cd,leisure_kbn,fukurosyuka_ymd,leteral6,yobi01,yobi02,yobi03,yobi04,yobi05,yobi06,yobi07,yobi08,yobi09,yobi10,play_ymd,play_hh,club_honsu,kukoriyo_kbn,kokusya_nm,riyobin_nm,yoyakumake_ymd,fukurounchin_amt,haitatsushitei_sbt,fukuro_tracking_no,fukuro_tracking_no_barcode,label_print_shohin_cd,todoke_kyokudome_kbn,todoke_kyokudome_shiten_nm,free11,free12,free13,free14,free15,free16,free17,free18,free19,free20,com_member_id,com_pc_id,login_group_id,login_user_id,report_type_nm)
 values ('printpreviewdata','4','XXXXXXXXXXXX',' ','1','1','2013/02/28','2013/04/01','XXXXXXXXXXXX','900000000000009','1100570','1',NULL,NULL,'ご依頼主名称１','ご依頼主名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','99-9999-9999        ','1000001 ',NULL,NULL,'お届け先名称１','お届け先名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','88-8888-8888        ','1000001 ',NULL,'351099',NULL,'2013/04/06','60',NULL,NULL,'50000','2500','47500','200','0',' ','0',' ','0','0','0','0','0',NULL,NULL,NULL,'1500',NULL,'0','0','     ',' ','        ','     ',' ','        ',NULL,NULL,NULL,NULL,'1','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'49800',NULL,'0',NULL,NULL,NULL,NULL,NULL,'銀座郵便局',NULL,NULL,'1',NULL,NULL,NULL,'001',' ','YR01','Y','TEL:','-',NULL,'1000000001',NULL,NULL,NULL,'351099 ','0','item0004            ',NULL,'商品名称4',NULL,'0','1','060 ',NULL,NULL,NULL,NULL,NULL,'AXXXXXXXXXXXXA',NULL,'0','東久留米郵便局',NULL,NULL,NULL,'0',NULL,NULL,'0','0',NULL,'記事１','記事２','1000000000','000001','0000000001','000001','101','20130429','2','1','1','0','001     0000000000011081','0120-2328-86','100-8798','東京都千代田区霞が関一丁目３番２号','WY01',NULL,'1 ','0','        ','日本郵便株式会社',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'        ','  ','    ','0',NULL,NULL,NULL,NULL,' ','XXXXXXXXXXXX','AXXXXXXXXXXXXA','00100','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','','','')
go
insert into T070WrkTblPriIvc (machine_id,seq_no,okurijyo_no,shuyaku_no,meisai_no,meisai_eda_no,uketsuke_ymd,syuka_ymd,tracking_no,kokyaku_senyo_no,comprint_no,comprint_eda_no,kokyaku_long_cd,kokyaku_nm,kokyaku_nm_1,kokyaku_nm_2,kokyaku_kn,kokyaku_kn_1,kokyaku_kn_2,kokyaku_adr,kokyaku_adr_1,kokyaku_adr_2,kokyaku_adr_3,kokyaku_tel,kokyaku_zip,kokyaku_com_member_id,receiver_nm,receiver_nm_1,receiver_nm_2,receiver_kn,receiver_kn_1,receiver_kn_2,receiver_adr,receiver_adr_1,receiver_adr_2,receiver_adr_3,receiver_tel,receiver_zip,receiver_member_id,shiwake_no,branch_nm,delivery_appoint_ymd,delivery_appoint_time,delivery_tel,payment_transfar_type,payment_amt,payment_tax,payment_taxable_amt,payment_stamp_tax,payment_fee,sender_type,horei_sbt,mochikomi_syuka_kbn,waremono_kbn,namamono_kbn,binrui_kbn,sakasama_ng_kbn,shitadumi_ng_kbn,discount_kbn,post_amt,registered_amt,damaged_amt,receipt_amt,todokehagaki_kbn,todokemail_kbn,transfar_account1,transfar_account2,transfar_account3,multi_account1,multi_account2,multi_account3,payment_bulk_barcode,payment_bulk_stamp_tax,item_name,item_size,item_cnt_bunshi,item_cnt_bunbo,free01,free02,free03,free04,free05,free06,free07,free08,free09,free10,transfar_amt,waribiki_tracking_no,yubin_sbt,kitte_amt,nifuda_cnt,daibiki_fee,daibiki_sec_amt,goirainushi_no,haitatsuten_nm,helpdesk_tel,horei_amt,koguchi_amt,item_value,kanyusha_nm,kokyaku_cd,kokyaku_com_member_id_barcode,koufu_sbt,leteral1,leteral2,leteral3,leteral4,matome_payment_cd,order_no,print_date,security_amt,shiharai_houhou_kbn,shiwake_no_barcode,shohin_amt,shohin_cd,shohin_color,shohin_nm,shohin_size_kbn,shohin_tanka,shohin_cnt,size_kbn,sonota_amt,tanto_nm,thirty,toriatsukai_place,toriatsukai_store,tracking_no_barcode,trans_member_id,tyakubarai_kbn,uketsuke_store_nm,uketsuke_tel,waribiki_amt,weight,yupack_douitsu_wari_kbn,yupack_fukusuwari_kbn,yupack_ofukuwari_kbn,receiver_keisho_kbn,kokyaku_keisho_kbn,tomeoki_kikan,kiji_nm_1,kiji_nm_2,ent_cod,bes_cod,dep001_cod,dep002_cod,kamotsu_shohin_cd,label_yuukou_ymd,kakitome_security_sbt,daibiki_sbt,daibiki_matome_kbn,over_25kg_kbn,kanri_no,leteral5,leteral7,leteral8,leteral9,leteral10,lbl_prt_member_pay_cd,leisure_kbn,fukurosyuka_ymd,leteral6,yobi01,yobi02,yobi03,yobi04,yobi05,yobi06,yobi07,yobi08,yobi09,yobi10,play_ymd,play_hh,club_honsu,kukoriyo_kbn,kokusya_nm,riyobin_nm,yoyakumake_ymd,fukurounchin_amt,haitatsushitei_sbt,fukuro_tracking_no,fukuro_tracking_no_barcode,label_print_shohin_cd,todoke_kyokudome_kbn,todoke_kyokudome_shiten_nm,free11,free12,free13,free14,free15,free16,free17,free18,free19,free20,com_member_id,com_pc_id,login_group_id,login_user_id,report_type_nm)
 values ('printpreviewdata','5','XXXXXXXXXXXX',' ','1','1','2013/02/28','2013/04/01','XXXXXXXXXXXX','900000000000009','1100570','1',NULL,NULL,'ご依頼主名称１','ご依頼主名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','99-9999-9999        ','1000001 ',NULL,NULL,'お届け先名称１','お届け先名称２',NULL,NULL,NULL,NULL,'東京都千代田区','千代田','１−１−１','88-8888-8888        ','1000001 ',NULL,'351099',NULL,'2013/04/06','60',NULL,NULL,'50000','2500','47500','200','0',' ','0',' ','0','0','0','0','0',NULL,NULL,NULL,'1500',NULL,'0','0','     ',' ','        ','     ',' ','        ',NULL,NULL,NULL,NULL,'1','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'49800',NULL,'0',NULL,NULL,NULL,NULL,NULL,'銀座郵便局',NULL,NULL,'1',NULL,NULL,NULL,'001',' ','YR01','Y','TEL:','-',NULL,'1000000001',NULL,NULL,NULL,'351099 ','0','item0005            ',NULL,'商品名称5',NULL,'0','1','060 ',NULL,NULL,NULL,NULL,NULL,'AXXXXXXXXXXXXA',NULL,'0','東久留米郵便局',NULL,NULL,NULL,'0',NULL,NULL,'0','0',NULL,'記事１','記事２','1000000000','000001','0000000001','000001','101','20130429','2','1','1','0','001     0000000000011081','0120-2328-86','100-8798','東京都千代田区霞が関一丁目３番２号','WY01',NULL,'1 ','0','        ','日本郵便株式会社',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'        ','  ','    ','0',NULL,NULL,NULL,NULL,' ','XXXXXXXXXXXX','AXXXXXXXXXXXXA','00100','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','','','')
go
alter table T070UsrLinMst add hassomoto1 nvarchar(60) NULL,hassomoto2 nvarchar(60) NULL,goirai_same_flg char(1) NULL
go
update T070UsrLinMst set goirai_same_flg = '1' where goirai_same_flg is null
go

insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100783006'
,'コンビニ受取用ゆうパックシート無地(A4･2宛分)（ュ00783）'
,'420107P01R12006.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,1
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783001'
go
alter table T070PrtLblCnfMst add convenience_uketori_kbn char(1) NULL
go

update T070PrtLblCnfMst set convenience_uketori_kbn = '0' where convenience_uketori_kbn is null
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783006'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100783006'
go

insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783006'
,comprint_eda_no
,copy_no
,'コンビニ受取用ゆうパックシート無地(A4･2宛分)（ュ00783）'
,'420107P01R12006.rpx'
,edit_kbn
,1
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100783006'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100783006'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783006'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783001'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100783006'
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '08'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','08','','楽天(コンビニ受取対応)')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '08'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','08','RAKUTEN_CONVENIENCE')
go
delete from T070SigStgMst where SYS_CODE_ID = '73'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('73','148','101','301')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('73','348','101','301')
go
delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '301'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('36','301','ゆうパック　−　コンビニ受取','2')
go
delete from T070MsgMst where message_id = 'E0742019101'
go
insert into T070MsgMst values ('E0742019101', 'コンビニ受取用の送り状が選択されている場合は複写は利用できません。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019102'
go
insert into T070MsgMst values ('E0742019102', 'コンビニ受取用の送り状が選択されている場合は複数個に変更できません。', null, null)
go
delete from T070SigStgMst where SYS_CODE_ID = '74'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('74','1','ミニストップ')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('74','2','ローソン')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BB'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BB','','コンビニ受取のコンビニ名が正しくありません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BC'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BC','','コンビニ受取のコンビニコード・店舗コードが正しくありません。','')
go
UPDATE T070TsuisekiNo SET KamotsuShohinCD = '301' WHERE KamotsuShohinCD = '101' AND (TsuisekiNoFrom LIKE '148%' OR TsuisekiNoFrom LIKE '348%')
go
delete from T070DefLdgShtMst where comprint_no = '1100520001'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100520001'
,'ゆうパック一体型ラベル(A4)（ュ00520）'
,'420107P01R27001.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783001'
go
delete from T070DefLdgShtMst where comprint_no = '1100520002'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100520002'
,'代引ゆうパック一体型ラベル(A4)（ュ00520）'
,'420107P01R27002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100520001'
go
alter table T070PrtLblCnfMst add ittai_picking_kbn char(1) NULL
go
update T070PrtLblCnfMst set ittai_picking_kbn = '0' where ittai_picking_kbn is null
go
alter table T070PrtLblCnfMst add ittai_paid_kbn char(1) NULL
go
update T070PrtLblCnfMst set ittai_paid_kbn = '0' where ittai_paid_kbn is null
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100520001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,'1'
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100520001'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100520002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,'1'
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783003'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100520002'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100520001'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100520001'
,comprint_eda_no
,copy_no
,'ゆうパック一体型ラベル(A4)（ュ00520）'
,'420107P01R27001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100520001'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100520002'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100520002'
,comprint_eda_no
,copy_no
,'代引ゆうパック一体型ラベル(A4)（ュ00520）'
,'420107P01R27002.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783003'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100520002'
go
delete from T070MsgMst where message_id = 'E0742019103'
go
insert into T070MsgMst values ('E0742019103', '一体型ラベル→通常の送り状、または通常の送り状→一体型ラベルへの変更はできません。', null, null)
go
update T070WrkTblPriIvc set shohin_amt = 500 where machine_id = 'printpreviewdata' and seq_no = 1
go
delete from T070DefLdgShtMst where comprint_no = '420107P01R01001'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '420107P01R01001'
,'0×0 ＨＡＭ'
,'420107P01R01001.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783006'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'420107P01R01001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783006'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '420107P01R01001'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '420107P01R01001'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'420107P01R01001'
,comprint_eda_no
,copy_no
,'0×0 ＨＡＭ'
,'420107P01R01001.rpx'
,edit_kbn
,1
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783006'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '420107P01R01001'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '420107P01R01001'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'420107P01R01001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783006'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '420107P01R01001'
go
delete from T070SigStgMst where SYS_CODE_ID = '74' and CODE_NO = '3'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('74','3','ファミリーマート')
go
UPDATE T070ConvrnPslClaCgoPdt SET no_shohin_cd = '80' WHERE no_shohin_cd = '54' AND (yuubin_bunrui_cd LIKE '104%' OR yuubin_bunrui_cd LIKE '105%')
go
UPDATE T070SigStgMst SET CONSTANT02 = '80' WHERE SYS_CODE_ID = '66' AND CONSTANT02 = '54'
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'free_biko09') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 33)
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'free_biko09'
  , T070MstStgAuxInpOupBDw.renban
  , 33
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
delete from T070DefLdgShtMst where comprint_no = '1100521'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100521'
,'ゆうパック一体型(払込取扱票付)ラベル(A4)（ュ00521）'
,'420107P01R28.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783001'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100521'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,'1'
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100521'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100521'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100521'
,comprint_eda_no
,copy_no
,'ゆうパック一体型(払込取扱票付)ラベル(A4)（ュ00521）'
,'420107P01R28.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100521'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100521'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100521'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100271'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100521'
go
alter table T070UsrLinMst add seikyu_tax_kbn char(1) NULL,seikyu_tax_calc_kbn char(1) NULL,haraikomi_ent_cd varchar(5) NULL,haraikomi_kanri_cd varchar(3) NULL,shiharai_kigen_flg char(1) NULL,shiharai_kigen int NULL,hyojisya_nm nvarchar(100) NULL,okyaku_tracking_tel varchar(20) NULL
go
update T070UsrLinMst set seikyu_tax_kbn = '1',seikyu_tax_calc_kbn = '0',shiharai_kigen = 0,shiharai_kigen_flg = '0' where shiharai_kigen_flg is null
go
update T070MstDefInpOupDbs set field_janm = '請求金額',order_no = 183 where field_nm = 'nimotsu_amn' and order_no = 104
go
update T070MstDefInpOupDbs set field_janm = '請求金額内消費税',order_no = 184 where field_nm = 'shizai_amn' and order_no = 179
go
update T070MstDefInpOupDbs set order_no = 104 where field_janm = '書留 損害要償額' and order_no = 105
go
update T070MstDefInpOupDbs set order_no = 105 where field_janm = '速達／配達指定日種別' and order_no = 106
go
update T070MstDefInpOupDbs set order_no = 106 where field_janm = '配達希望日' and order_no = 107
go
update T070MstDefInpOupDbs set order_no = 107 where field_janm = '配達指定日曜日種別' and order_no = 108
go
update T070MstDefInpOupDbs set order_no = 108 where field_janm = '配達時間帯区分' and order_no = 109
go
update T070MstDefInpOupDbs set order_no = 109 where field_janm = '差出方法区分' and order_no = 110
go
update T070MstDefInpOupDbs set order_no = 110 where field_janm = 'ゆうパック往復割引' and order_no = 111
go
update T070MstDefInpOupDbs set order_no = 111 where field_janm = 'ゆうパック数量割引' and order_no = 112
go
update T070MstDefInpOupDbs set order_no = 112 where field_janm = 'ゆうパック複数個割引' and order_no = 113
go
update T070MstDefInpOupDbs set order_no = 113 where field_janm = 'ゆうパック同一割引' and order_no = 114
go
update T070MstDefInpOupDbs set order_no = 114 where field_janm = 'ゆうパック政策運賃割引' and order_no = 115
go
update T070MstDefInpOupDbs set order_no = 115 where field_janm = 'セット商品コード' and order_no = 116
go
update T070MstDefInpOupDbs set order_no = 116 where field_janm = 'セット品名ラベル印字区分' and order_no = 117
go
update T070MstDefInpOupDbs set order_no = 117 where field_janm = '複数個口数' and order_no = 119
go
update T070MstDefInpOupDbs set order_no = 119 where field_janm = '記事名１' and order_no = 120
go
update T070MstDefInpOupDbs set order_no = 120 where field_janm = '記事名２' and order_no = 121
go
update T070MstDefInpOupDbs set order_no = 121 where field_janm = 'フリー項目０１' and order_no = 122
go
update T070MstDefInpOupDbs set order_no = 122 where field_janm = 'フリー項目０２' and order_no = 123
go
update T070MstDefInpOupDbs set order_no = 123 where field_janm = 'フリー項目０３' and order_no = 124
go
update T070MstDefInpOupDbs set order_no = 124 where field_janm = 'フリー項目０４' and order_no = 125
go
update T070MstDefInpOupDbs set order_no = 125 where field_janm = 'フリー項目０５' and order_no = 126
go
update T070MstDefInpOupDbs set order_no = 126 where field_janm = 'フリー項目０６' and order_no = 127
go
update T070MstDefInpOupDbs set order_no = 127 where field_janm = 'フリー項目０７' and order_no = 128
go
update T070MstDefInpOupDbs set order_no = 128 where field_janm = 'フリー項目０８' and order_no = 129
go
update T070MstDefInpOupDbs set order_no = 129 where field_janm = 'フリー項目０９' and order_no = 130
go
update T070MstDefInpOupDbs set order_no = 130 where field_janm = 'フリー項目１０' and order_no = 131
go
update T070MstDefInpOupDbs set order_no = 131 where field_janm = '空港利用区分' and order_no = 132
go
update T070MstDefInpOupDbs set order_no = 132 where field_janm = '空港送達日数利用マップID' and order_no = 133
go
update T070MstDefInpOupDbs set order_no = 133 where field_janm = '空港送達日数郵便番号' and order_no = 134
go
update T070MstDefInpOupDbs set order_no = 134 where field_janm = '空港送達日数局／支店コード' and order_no = 135
go
update T070MstDefInpOupDbs set order_no = 135 where field_janm = '航空会社名' and order_no = 136
go
update T070MstDefInpOupDbs set order_no = 136 where field_janm = '利用便名' and order_no = 137
go
update T070MstDefInpOupDbs set order_no = 137 where field_janm = 'レジャー区分' and order_no = 138
go
update T070MstDefInpOupDbs set order_no = 138 where field_janm = 'プレー・搭乗日' and order_no = 139
go
update T070MstDefInpOupDbs set order_no = 139 where field_janm = 'プレー・搭乗時間' and order_no = 140
go
update T070MstDefInpOupDbs set order_no = 140 where field_janm = 'クラブ本数' and order_no = 141
go
update T070MstDefInpOupDbs set order_no = 141 where field_janm = '復路集貨日' and order_no = 142
go
update T070MstDefInpOupDbs set order_no = 142 where field_janm = '送状発行場所区分' and order_no = 143
go
update T070MstDefInpOupDbs set order_no = 143 where field_janm = '出荷先会員番号' and order_no = 144
go
update T070MstDefInpOupDbs set order_no = 144 where field_janm = '出荷先PC ID' and order_no = 145
go
update T070MstDefInpOupDbs set order_no = 145 where field_janm = '出荷先ログイングループID' and order_no = 146
go
update T070MstDefInpOupDbs set order_no = 146 where field_janm = '出荷先ログインユーザーID' and order_no = 147
go
update T070MstDefInpOupDbs set order_no = 147 where field_janm = '出荷先ログイングループ名称' and order_no = 148
go
update T070MstDefInpOupDbs set order_no = 148 where field_janm = '出荷先ログインユーザー名称' and order_no = 149
go
update T070MstDefInpOupDbs set order_no = 149 where field_janm = '出荷先郵便番号' and order_no = 150
go
update T070MstDefInpOupDbs set order_no = 150 where field_janm = '出荷先電話番号' and order_no = 151
go
update T070MstDefInpOupDbs set order_no = 151 where field_janm = '出荷先住所-JIS１１' and order_no = 152
go
update T070MstDefInpOupDbs set order_no = 152 where field_janm = '出荷先住所-番地' and order_no = 153
go
update T070MstDefInpOupDbs set order_no = 153 where field_janm = '出荷先住所-号' and order_no = 154
go
update T070MstDefInpOupDbs set order_no = 154 where field_janm = '出荷先住所-ビル名' and order_no = 155
go
update T070MstDefInpOupDbs set order_no = 155 where field_janm = '出荷先送状発行通知区分' and order_no = 156
go
update T070MstDefInpOupDbs set order_no = 156 where field_janm = '出荷先送状発行通知メールアドレス' and order_no = 157
go
update T070MstDefInpOupDbs set order_no = 157 where field_janm = '集荷希望区分' and order_no = 158
go
update T070MstDefInpOupDbs set order_no = 158 where field_janm = '集荷日付' and order_no = 159
go
update T070MstDefInpOupDbs set order_no = 159 where field_janm = '集荷時間帯区分' and order_no = 160
go
update T070MstDefInpOupDbs set order_no = 160 where field_janm = '支店連携区分' and order_no = 161
go
update T070MstDefInpOupDbs set order_no = 161 where field_janm = '代引金額' and order_no = 162
go
update T070MstDefInpOupDbs set order_no = 162 where field_janm = '代引消費税金額' and order_no = 163
go
update T070MstDefInpOupDbs set order_no = 163 where field_janm = '代引課税対象額' and order_no = 164
go
update T070MstDefInpOupDbs set order_no = 164 where field_janm = '代引印紙税額' and order_no = 165
go
update T070MstDefInpOupDbs set order_no = 165 where field_janm = '代引送金手数料' and order_no = 166
go
update T070MstDefInpOupDbs set order_no = 166 where field_janm = '代引送金金額' and order_no = 167
go
update T070MstDefInpOupDbs set order_no = 167 where field_janm = '代引まとめ区分' and order_no = 168
go
update T070MstDefInpOupDbs set order_no = 168 where field_janm = '代引送金方法区分' and order_no = 169
go
update T070MstDefInpOupDbs set order_no = 169 where field_janm = '往路運賃' and order_no = 170
go
update T070MstDefInpOupDbs set order_no = 170 where field_janm = '復路運賃' and order_no = 171
go
update T070MstDefInpOupDbs set order_no = 171 where field_janm = '基本料金小計' and order_no = 172
go
update T070MstDefInpOupDbs set order_no = 172 where field_janm = '割増金額' and order_no = 173
go
update T070MstDefInpOupDbs set order_no = 173 where field_janm = '速達・配達日指定料金内訳' and order_no = 174
go
update T070MstDefInpOupDbs set order_no = 174 where field_janm = '保冷料金内訳' and order_no = 175
go
update T070MstDefInpOupDbs set order_no = 175 where field_janm = '割引金額' and order_no = 176
go
update T070MstDefInpOupDbs set order_no = 176 where field_janm = '郵便料金小計' and order_no = 177
go
update T070MstDefInpOupDbs set order_no = 177 where field_janm = '書留料金' and order_no = 178
go
update T070MstDefInpOupDbs set order_no = 178 where field_janm = '代引引換手数料' and order_no = 180
go
update T070MstDefInpOupDbs set order_no = 179 where field_janm = '調整額' and order_no = 181
go
update T070MstDefInpOupDbs set order_no = 180 where field_janm = 'その他料金小計' and order_no = 182
go
update T070MstDefInpOupDbs set order_no = 181 where field_janm = '運賃消費税(外税)' and order_no = 183
go
update T070MstDefInpOupDbs set order_no = 182 where field_janm = '領収金額計' and order_no = 184
go
update T070WrkTblPriIvc set shohin_amt = 200,shohin_tanka = 200 where machine_id = 'printpreviewdata' and seq_no = 2
go
update T070WrkTblPriIvc set shohin_amt = 300,shohin_tanka = 300 where machine_id = 'printpreviewdata' and seq_no = 3
go
update T070WrkTblPriIvc set shohin_amt = 400,shohin_tanka = 400 where machine_id = 'printpreviewdata' and seq_no = 4
go
update T070WrkTblPriIvc set shohin_amt = 500,shohin_tanka = 500 where machine_id = 'printpreviewdata' and seq_no = 5
go
delete from T070SigStgMst where SYS_CODE_ID = '56' and CODE_NO = '13'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('56','13','300000','請求金額　ゆうパック')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BD'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BD','','商品の単価を入れてください。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BE'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BE','','請求金額の上限を超えています。','')
go
delete from T070MsgMst where message_id = 'E0742019105'
go
insert into T070MsgMst values ('E0742019105', '{0}を行ってください。', null, null)
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '09'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','09','','一体型払込票印字テスト用')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '09'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','09','ITTAI_MT')
go
DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'free_biko09') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 33)
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'free_biko09'
  , T070MstStgAuxInpOupBDw.renban
  , 33
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
delete from T070MsgMst where message_id = 'E0742019106'
go
insert into T070MsgMst values ('E0742019106', '{0}にマイナスは使用できません。', null, null)
go
delete from T070DefLdgShtMst where comprint_no = '1100742'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100742'
,'（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06001.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100741'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,'0'
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100741'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100742'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100742'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742'
,comprint_eda_no
,copy_no
,'（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100741'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100742'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100742'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100741'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100742'
go
delete from T070DefLdgShtMst where comprint_no = '1100424'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100424'
,'（新）代引シート(一般･通常)（ュ00424）'
,'420107P01R17001.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100422'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100424'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,'0'
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100422'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100424'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100424'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100424'
,comprint_eda_no
,copy_no
,'（新）代引シート(一般･通常)（ュ00424）'
,'420107P01R17001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100422'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100424'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100424'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100424'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100422'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100424'
go
delete from T070DefLdgShtMst where comprint_no = '1100275'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100275'
,'（新）代引郵便ラベル(通常･電信)（ュ00275）'
,'420107P02R04001.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100271'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100275'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,'0'
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100271'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100275'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100275'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100275'
,comprint_eda_no
,copy_no
,'（新）代引郵便ラベル(通常･電信)（ュ00275）'
,'420107P02R04001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100271'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100275'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100275'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100275'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100271'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100275'
go
delete from T070DefLdgShtMst where comprint_no = '1100276'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100276'
,'（新）代引書留郵便ラベル(通常･電信)（ュ00276）'
,'420107P02R05001.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100273'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100276'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,'0'
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100273'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100276'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100276'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100276'
,comprint_eda_no
,copy_no
,'（新）代引書留郵便ラベル(通常･電信)（ュ00276）'
,'420107P02R05001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100273'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100276'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100276'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100276'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100273'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100276'
go
alter table T070PodStg add kanyusha_kn1 varchar(15) NULL,kanyusha_kn2 varchar(15) NULL,sokin_kbn char(1) NULL,kinyukikan_cd varchar(4) NULL,kinyukikan_nm varchar(40) NULL,kinyukikan_sbt char(1) NULL,bank_account_sbt char(1)NULL,bank_account varchar(7) NULL,shiten_cd varchar(3) NULL,shiten_nm varchar(40) NULL
go
update T070PodStg set sokin_kbn = '0' where sokin_kbn is null
go
delete from T070CodMst where syscode1 = '金融機関種別'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('金融機関種別','','','1','','銀行','銀行')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('金融機関種別','','','2','','信金','信金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('金融機関種別','','','3','','信組','信組')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('金融機関種別','','','4','','労金','労金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('金融機関種別','','','5','','農協','農協')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('金融機関種別','','','6','','その他','その他')
go
delete from T070CodMst where syscode1 = '口座種別'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('口座種別','','','1','','普通','普通')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('口座種別','','','2','','当座','当座')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('口座種別','','','4','','貯蓄','貯蓄')
go
alter table T070WrkTblPriIvc add kanyusha_kn1 varchar(15) NULL,kanyusha_kn2 varchar(15) NULL,sokin_kbn char(1) NULL,kinyukikan_cd varchar(4) NULL,kinyukikan_nm varchar(40) NULL,kinyukikan_sbt char(1) NULL,bank_account_sbt char(1)NULL,bank_account varchar(7) NULL,shiten_cd varchar(3) NULL,shiten_nm varchar(40) NULL
go
delete from T070SigStgMst where SYS_CODE_ID = '75'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('75','1','1100742')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('75','2','1100275')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('75','3','1100276')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('75','4','1100424')
go
delete from T070SigStgMst where SYS_CODE_ID = '71' and CODE_NO = '1100742'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03) values('71','1100742','5','1','8')
go
delete from T070SigStgMst where SYS_CODE_ID = '71' and CODE_NO = '1100275'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03) values('71','1100275','5','1','8')
go
delete from T070SigStgMst where SYS_CODE_ID = '71' and CODE_NO = '1100276'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03) values('71','1100276','5','1','8')
go
delete from T070SigStgMst where SYS_CODE_ID = '71' and CODE_NO = '1100424'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03) values('71','1100424','5','1','8')
go
update T070CodMst set code_nm = '希望しない', code_ryaku_nm = '希望しない' where syscode1 = '配達時間帯区分' and code_no = '00'
go
update T070PrtLblCnfMst set yupac_security_shitei_kbn = '1' where comprint_no = '1100780' or comprint_no = '1100782'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','22','2','80','104','329000000000','329999999991')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','23','2','80','104','425000000003','425999999994')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','24','2','80','104','429000000004','429999999995')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','25','2','80','104','525000000000','525999999991')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','26','2','80','104','529000000001','529999999992')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','27','2','80','104','625000000004','625999999995')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','28','2','80','104','629000000005','629999999996')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','29','2','80','104','725000000001','725999999992')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','30','2','80','104','729000000002','729999999993')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','31','2','80','104','825000000005','825999999996')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','32','2','80','104','829000000006','829999999990')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','33','2','80','104','929000000003','929999999994')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','34','2','80','105','329000000000','329999999991')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','35','2','80','105','425000000003','425999999994')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','36','2','80','105','429000000004','429999999995')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','37','2','80','105','525000000000','525999999991')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','38','2','80','105','529000000001','529999999992')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','39','2','80','105','625000000004','625999999995')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','40','2','80','105','629000000005','629999999996')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','41','2','80','105','725000000001','725999999992')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','42','2','80','105','729000000002','729999999993')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','43','2','80','105','825000000005','825999999996')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','44','2','80','105','829000000006','829999999990')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05) values('66','45','2','80','105','929000000003','929999999994')
go
insert into T070MsgMst values ('E0742019107', '{0}は{1}で入力してください。', null, null)
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100424'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100424'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1150740'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100424'
go
update T070SigStgMst set CONSTANT02 = '0' where SYS_CODE_ID = '75' and CODE_NO <> '4'
go
update T070SigStgMst set CONSTANT02 = '1' where SYS_CODE_ID = '75' and CODE_NO = '4'
go
alter table T070DpcPlnTrxHer_3 add yoyaku_shikibetsu_cd varchar(10) NULL, cvs_hanbetsu_cd char(1) NULL, cvs_gyosya_cd varchar(6) NULL, cvs_cvs_cd varchar(4) NULL, cvs_cvs_nm nvarchar(40) NULL, cvs_tenpo_cd varchar(6) NULL, cvs_tenpo_nm nvarchar(50) NULL, cvs_ninsho_no varchar(20) NULL, matome_shinadai_kingaku int NULL, matome_shinashohizei_kingaku int NULL, matome_shinainshizei_kingaku int NULL, matome_shinakazei_kingaku int NULL, field_yobi01 nvarchar(20) NULL, field_yobi02 nvarchar(20) NULL, field_yobi03 nvarchar(20) NULL, field_yobi04 nvarchar(20) NULL, field_yobi05 nvarchar(20) NULL, field_yobi06 nvarchar(20) NULL, field_yobi07 nvarchar(20) NULL, field_yobi08 nvarchar(20) NULL, field_yobi09 nvarchar(20) NULL, field_yobi10 nvarchar(20) NULL
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','yoyaku_shikibetsu_cd','1','1','10',0,'予約・確定識別コード',270,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_hanbetsu_cd','1','1','1',0,'コンビニ等判別コード',271,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_gyosya_cd','1','1','6',0,'コンビニ等受取 通販業者コード',272,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_cvs_cd','1','1','4',0,'コンビニ等受取 コンビニコード',273,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_cvs_nm','1','1','40',0,'コンビニ等受取 コンビニ名',274,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_tenpo_cd','1','1','6',0,'コンビニ等受取 店舗コード',275,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_tenpo_nm','1','1','50',0,'コンビニ等受取 店舗名',276,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_ninsho_no','1','1','20',0,'コンビニ等受取 認証番号',277,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinadai_kingaku','1','2','9',0,'代引まとめ精算 代引金額',278,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinashohizei_kingaku','1','2','9',0,'代引まとめ精算 代引消費税金額',279,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinainshizei_kingaku','1','2','9',0,'代引まとめ精算 代引印紙税額',280,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinakazei_kingaku','1','2','9',0,'代引まとめ精算 代引課税対象額',281,'出荷予定トラン')
go

insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','yoyaku_shikibetsu_cd','2','1','10',0,'予約・確定識別コード',270,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_hanbetsu_cd','2','1','1',0,'コンビニ等判別コード',271,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_gyosya_cd','2','1','6',0,'コンビニ等受取 通販業者コード',272,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_cvs_cd','2','1','4',0,'コンビニ等受取 コンビニコード',273,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_cvs_nm','2','1','40',0,'コンビニ等受取 コンビニ名',274,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_tenpo_cd','2','1','6',0,'コンビニ等受取 店舗コード',275,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_tenpo_nm','2','1','50',0,'コンビニ等受取 店舗名',276,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','cvs_ninsho_no','2','1','20',0,'コンビニ等受取 認証番号',277,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinadai_kingaku','2','2','9',0,'代引まとめ精算 代引金額',278,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinashohizei_kingaku','2','2','9',0,'代引まとめ精算 代引消費税金額',279,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinainshizei_kingaku','2','2','9',0,'代引まとめ精算 代引印紙税額',280,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','matome_shinakazei_kingaku','2','2','9',0,'代引まとめ精算 代引課税対象額',281,'出荷予定トラン')
go

insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','yoyaku_shikibetsu_cd','1','1','10',0,'予約・確定識別コード',270,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_hanbetsu_cd','1','1','1',0,'コンビニ等判別コード',271,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_gyosya_cd','1','1','6',0,'コンビニ等受取 通販業者コード',272,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_cvs_cd','1','1','4',0,'コンビニ等受取 コンビニコード',273,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_cvs_nm','1','1','40',0,'コンビニ等受取 コンビニ名',274,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_tenpo_cd','1','1','6',0,'コンビニ等受取 店舗コード',275,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_tenpo_nm','1','1','50',0,'コンビニ等受取 店舗名',276,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_ninsho_no','1','1','20',0,'コンビニ等受取 認証番号',277,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinadai_kingaku','1','2','9',0,'代引まとめ精算 代引金額',278,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinashohizei_kingaku','1','2','9',0,'代引まとめ精算 代引消費税金額',279,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinainshizei_kingaku','1','2','9',0,'代引まとめ精算 代引印紙税額',280,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinakazei_kingaku','1','2','9',0,'代引まとめ精算 代引課税対象額',281,'出荷履歴トラン')
go

insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','yoyaku_shikibetsu_cd','2','1','10',0,'予約・確定識別コード',270,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_hanbetsu_cd','2','1','1',0,'コンビニ等判別コード',271,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_gyosya_cd','2','1','6',0,'コンビニ等受取 通販業者コード',272,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_cvs_cd','2','1','4',0,'コンビニ等受取 コンビニコード',273,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_cvs_nm','2','1','40',0,'コンビニ等受取 コンビニ名',274,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_tenpo_cd','2','1','6',0,'コンビニ等受取 店舗コード',275,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_tenpo_nm','2','1','50',0,'コンビニ等受取 店舗名',276,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','cvs_ninsho_no','2','1','20',0,'コンビニ等受取 認証番号',277,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinadai_kingaku','2','2','9',0,'代引まとめ精算 代引金額',278,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinashohizei_kingaku','2','2','9',0,'代引まとめ精算 代引消費税金額',279,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinainshizei_kingaku','2','2','9',0,'代引まとめ精算 代引印紙税額',280,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','matome_shinakazei_kingaku','2','2','9',0,'代引まとめ精算 代引課税対象額',281,'出荷履歴トラン')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm)
values ('出力フィルタフォーマット種別','','','26','','ゆうプリ出荷予定/実績データ')
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01) 
values('64','26','O_YU-PRINT_SYUKKA')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','001','','レコード番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','002','','ユーザーコード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','003','','料金計算区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','004','','料金計算フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','005','','料金計算エラーフラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','006','','お届け先 郵便番号エラー')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','007','','お届け先 顧客コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','008','','お届け先 郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','009','','お届け先 住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','010','','お届け先 都道府県コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','011','','お届け先 市区町村コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','012','','お届け先 カスタマバーコード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','013','','お届け先 氏名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','014','','お届け先 カナ名称')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','015','','お届け先 敬称')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','016','','お届け先 電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','017','','お届け先 メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','018','','お届け先 会員番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','019','','ご依頼主 郵便番号エラー')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','020','','ご依頼主 顧客コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','021','','ご依頼主 郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','022','','ご依頼主 住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','023','','ご依頼主 カスタマバーコード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','024','','ご依頼主 氏名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','025','','ご依頼主 カナ名称')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','026','','ご依頼主 敬称')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','027','','ご依頼主 電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','028','','ご依頼主 メール利用フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','029','','ご依頼主 メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','030','','ご依頼主 会員番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','031','','お届け先/ご依頼主同一フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','032','','ご依頼主/ユーザー同一フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','033','','郵便種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','034','','送り状コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','035','','お届け通知ハガキ使用フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','036','','お届け通知メール使用フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','037','','商品番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','038','','商品名称')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','039','','商品金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','040','','こわれもの')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','041','','なまもの')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','042','','ビン類')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','043','','逆さま厳禁')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','044','','不在留め置き期間')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','045','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','046','','商品重量（単位:ｇ）')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','047','','閾値重量（単位:ｇ）')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','048','','支払方法区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','049','','適用特別料金種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','050','','料金体系')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','051','','料金計算用サイズまたは重量')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','052','','郵便番号エラー')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','053','','差出／集荷局 郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','054','','差出／集荷地 都道府県コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','055','','差出／集荷地 市区町村コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','056','','地帯番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','057','','速達・配達日指定種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','058','','配達指定日／希望日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','059','','配達指定日曜日種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','060','','配達希望時間')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','061','','書留/セキュリティ種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','062','','保冷種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','063','','元／着払い種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','064','','差出方法')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','065','','割引区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','066','','書留/セキュリティ 損害要償額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','067','','基本料金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','068','','速達・配達日指定料金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','069','','保冷料金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','070','','割引金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','071','','運賃等')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','072','','書留/セキュリティ料金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','073','','代引引換手数料')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','074','','その他料金')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','075','','領収金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','076','','代引利用区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','077','','消費税課税負担者フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','078','','消費税計算区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','079','','交付種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','080','','代引種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','081','','代引送金方法')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','082','','代引金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','083','','代引消費税金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','084','','代引課税対象額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','085','','代引印紙税額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','086','','代引送金手数料')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','087','','代引送金金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','088','','加入者名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','089','','振替口座1')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','090','','振替口座2')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','091','','振替口座3')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','092','','総合口座1')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','093','','総合口座2')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','094','','総合口座3')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','095','','データ通知サービス利用区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','096','','コマーシャルデータ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','097','','受注番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','098','','代引まとめ利用区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','099','','代引まとめバーコード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','100','','代引まとめ精算 代引金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','101','','代引まとめ精算 代引消費税金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','102','','代引まとめ精算 代引課税対象額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','103','','代引まとめ精算 代引印紙税額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','104','','代引まとめ精算 代引送金手数料')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','105','','代引まとめ精算 代引送金金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','106','','代引まとめ差出データ作成済フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','107','','代引まとめ精算データ書き込み日付')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','108','','代引まとめ 代金入金日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','109','','代引まとめ 計理日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','110','','代引まとめ決済手段コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','111','','配達ステータス集約コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','112','','配達ステータス明細コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','113','','フリー項目１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','114','','フリー項目２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','115','','フリー項目３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','116','','フリー項目４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','117','','フリー項目５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','118','','日付 出荷予定日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','119','','日付 出荷日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','120','','日付 出荷予定データ作成日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','121','','日付 大口FD出力日付')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','122','','料金印刷指示フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','123','','大口FD出力フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','124','','お届け先 メール作成済フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','125','','ご依頼主 メール送信済フラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','126','','テストＩＤフラグ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','127','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','128','','データ種別')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','129','','出荷予定データ作成日時')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','130','','送り状印刷日時')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','131','','下積み厳禁')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_YU-PRINT_SYUKKA','2','132','','仕分けコード')
go
insert into T070MsgMst values ('E0742019104', '{0}の出力対象はゆうパックのみです。', null, null)
go

insert 
into T070FormSetting( 
  form_id
  , form_nm
  , object_kbn
  , menu_kbn
  , button_panel_id
  , button_panel_nm
  , button_panel_layer
  , button_alliment
  , button_enable
  , method_nm
  , sort
  , button_nm
  , button_nm2
  , method_nm2
  , icon_nm
) 
values ( 
  '420107M01P02V01'
  , '発送履歴データ照会'
  , '1'
  , 'T'
  , ''
  , ''
  , null
  , '0'
  , '1'
  , 'ImportMatomeSeisan'
  , '7'
  , '代引まとめ精算データ取込'
  , 'Ctrl+B'
  , ''
  , '処理'
) 
go

update T070MstDefInpOupDbs set order_no = 211 where field_janm = '代引まとめ精算 代引金額' and order_no = 278
go
update T070MstDefInpOupDbs set order_no = 212 where field_janm = '代引まとめ精算 代引消費税金額' and order_no = 279
go
update T070MstDefInpOupDbs set order_no = 214 where field_janm = '代引まとめ精算 代引印紙税額' and order_no = 280
go
update T070MstDefInpOupDbs set order_no = 213 where field_janm = '代引まとめ精算 代引課税対象額' and order_no = 281
go

update T070MstDefInpOupDbs set order_no = 215 where field_janm = '代引まとめ精算 代引送金手数料' and order_no = 211
go
update T070MstDefInpOupDbs set order_no = 216 where field_janm = '代引まとめ精算 代引送金金額' and order_no = 212
go
update T070MstDefInpOupDbs set order_no = 217 where field_janm = '代引まとめ精算データ書き込み日付' and order_no = 213
go
update T070MstDefInpOupDbs set order_no = 218 where field_janm = '代引まとめ 代金入金日付' and order_no = 214
go
update T070MstDefInpOupDbs set order_no = 219 where field_janm = '代引まとめ 計理日付' and order_no = 215
go
update T070MstDefInpOupDbs set order_no = 220 where field_janm = '代引まとめ決済種別' and order_no = 216
go
update T070MstDefInpOupDbs set order_no = 221 where field_janm = '外部データ取込年月日' and order_no = 217
go
update T070MstDefInpOupDbs set order_no = 222 where field_janm = '連携データ受信年月日' and order_no = 218
go
update T070MstDefInpOupDbs set order_no = 223 where field_janm = '集約年月日' and order_no = 219
go
update T070MstDefInpOupDbs set order_no = 224 where field_janm = '連携データ年月日' and order_no = 220
go
update T070MstDefInpOupDbs set order_no = 225 where field_janm = '送り状発行年月日' and order_no = 221
go
update T070MstDefInpOupDbs set order_no = 226 where field_janm = '受付店控え印刷年月日' and order_no = 222
go
update T070MstDefInpOupDbs set order_no = 227 where field_janm = '発送予約データ作成年月日' and order_no = 223
go
update T070MstDefInpOupDbs set order_no = 228 where field_janm = '追跡番号付番年月日' and order_no = 223
go
update T070MstDefInpOupDbs set order_no = 229 where field_janm = '仮引受データ作成年月日' and order_no = 224
go
update T070MstDefInpOupDbs set order_no = 230 where field_janm = '運賃計算年月日' and order_no = 225
go
update T070MstDefInpOupDbs set order_no = 231 where field_janm = 'お届け先 メール作成年月日' and order_no = 226
go
update T070MstDefInpOupDbs set order_no = 232 where field_janm = 'ご依頼主 メール送信年月日' and order_no = 227
go
update T070MstDefInpOupDbs set order_no = 233 where field_janm = '差出票印刷年月日' and order_no = 228
go
update T070MstDefInpOupDbs set order_no = 234 where field_janm = '受領書印刷年月日' and order_no = 229
go
update T070MstDefInpOupDbs set order_no = 235 where field_janm = '大口FD出力年月日' and order_no = 230
go
update T070MstDefInpOupDbs set order_no = 236 where field_janm = 'プレ印字年月日' and order_no = 231
go
update T070MstDefInpOupDbs set order_no = 237 where field_janm = '仮引受確定作業年月日' and order_no = 232
go
update T070MstDefInpOupDbs set order_no = 238 where field_janm = '配送完了作業年月日' and order_no = 233
go
update T070MstDefInpOupDbs set order_no = 239 where field_janm = '事故完了作業年月日' and order_no = 234
go
update T070MstDefInpOupDbs set order_no = 240 where field_janm = '代引送金完了作業年月日' and order_no = 235
go
update T070MstDefInpOupDbs set order_no = 241 where field_janm = '配達ステータス集約コード' and order_no = 236
go
update T070MstDefInpOupDbs set order_no = 242 where field_janm = '配達ステータス明細コード' and order_no = 237
go
update T070MstDefInpOupDbs set order_no = 243 where field_janm = '出荷元先区分' and order_no = 238
go
update T070MstDefInpOupDbs set order_no = 244 where field_janm = '入力区分' and order_no = 239
go
update T070MstDefInpOupDbs set order_no = 245 where field_janm = '入力補助区分' and order_no = 240
go
update T070MstDefInpOupDbs set order_no = 246 where field_janm = '運賃使用区分' and order_no = 241
go
update T070MstDefInpOupDbs set order_no = 247 where field_janm = 'ゆうメール特別(承認)使用区分' and order_no = 242
go
update T070MstDefInpOupDbs set order_no = 248 where field_janm = '総個数（集約前）' and order_no = 243
go
update T070MstDefInpOupDbs set order_no = 249 where field_janm = '複数個口数・荷札枚数（集約前）' and order_no = 244
go
update T070MstDefInpOupDbs set order_no = 250 where field_janm = '代引金額（集約前）' and order_no = 245
go
update T070MstDefInpOupDbs set order_no = 251 where field_janm = '代引消費税金額（集約前）' and order_no = 246
go
update T070MstDefInpOupDbs set order_no = 252 where field_janm = '貨物価格（集約前）' and order_no = 247
go
update T070MstDefInpOupDbs set order_no = 253 where field_janm = '重量（ｇ）（集約前）' and order_no = 248
go
update T070MstDefInpOupDbs set order_no = 254 where field_janm = '閾値重量（ｇ）（集約前）' and order_no = 249
go
update T070MstDefInpOupDbs set order_no = 255 where field_janm = '書留 損害要償額（集約前）' and order_no = 250
go
update T070MstDefInpOupDbs set order_no = 256 where field_janm = '商品番号' and order_no = 251
go
update T070MstDefInpOupDbs set order_no = 257 where field_janm = '品名' and order_no = 252
go
update T070MstDefInpOupDbs set order_no = 258 where field_janm = '個数' and order_no = 253
go
update T070MstDefInpOupDbs set order_no = 259 where field_janm = '重量（ｇ）' and order_no = 254
go
update T070MstDefInpOupDbs set order_no = 260 where field_janm = '単価' and order_no = 255
go
update T070MstDefInpOupDbs set order_no = 261 where field_janm = '金額' and order_no = 256
go
update T070MstDefInpOupDbs set order_no = 262 where field_janm = '商品備考０１' and order_no = 257
go
update T070MstDefInpOupDbs set order_no = 263 where field_janm = '商品備考０２' and order_no = 258
go
update T070MstDefInpOupDbs set order_no = 264 where field_janm = '商品備考０３' and order_no = 259
go
update T070MstDefInpOupDbs set order_no = 265 where field_janm = '商品備考０４' and order_no = 260
go
update T070MstDefInpOupDbs set order_no = 266 where field_janm = '商品備考０５' and order_no = 261
go
update T070MstDefInpOupDbs set order_no = 267 where field_janm = '商品備考０６' and order_no = 262
go
update T070MstDefInpOupDbs set order_no = 268 where field_janm = '商品備考０７' and order_no = 263
go
update T070MstDefInpOupDbs set order_no = 269 where field_janm = '商品備考０８' and order_no = 264
go
update T070MstDefInpOupDbs set order_no = 270 where field_janm = '商品備考０９' and order_no = 265
go
update T070MstDefInpOupDbs set order_no = 271 where field_janm = '商品備考１０' and order_no = 266
go
update T070MstDefInpOupDbs set order_no = 274 where field_janm = 'お客様指定配送種類' and order_no = 269
go
update T070MstDefInpOupDbs set order_no = 275 where field_janm = '予約・確定識別コード' and order_no = 270
go
update T070MstDefInpOupDbs set order_no = 276 where field_janm = 'コンビニ等判別コード' and order_no = 271
go
update T070MstDefInpOupDbs set order_no = 277 where field_janm = 'コンビニ等受取 通販業者コード' and order_no = 272
go
update T070MstDefInpOupDbs set order_no = 278 where field_janm = 'コンビニ等受取 コンビニコード' and order_no = 273
go
update T070MstDefInpOupDbs set order_no = 279 where field_janm = 'コンビニ等受取 コンビニ名' and order_no = 274
go
update T070MstDefInpOupDbs set order_no = 280 where field_janm = 'コンビニ等受取 店舗コード' and order_no = 275
go
update T070MstDefInpOupDbs set order_no = 281 where field_janm = 'コンビニ等受取 店舗名' and order_no = 276
go
update T070MstDefInpOupDbs set order_no = 282 where field_janm = 'コンビニ等受取 認証番号' and order_no = 277
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','1','1101','01')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','2','1102','01')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','3','1106','01')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','4','1107','01')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','5','1214','02')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','6','1215','03')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','7','1319','04')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','8','3000','05')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','9','5001','06')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','10','5002','06')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','11','5130','07')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','12','5131','07')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','13','5132','07')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','14','5133','08')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','15','5201','10')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','16','5231','10')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','17','5232','10')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','18','5234','10')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','19','5235','10')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','20','5337','30')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','21','5338','10')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','22','6048','41')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','23','6049','42')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','24','6050','41')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','25','6077','43')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','26','6099','44')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','27','6151','45')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','28','6152','45')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','29','6153','45')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','30','6154','45')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','31','6155','45')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','32','6179','45')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','33','6244','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','34','6256','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','35','6257','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','36','6258','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','37','6259','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','38','6260','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','39','6261','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','40','6262','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','41','6263','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','42','6264','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','43','6265','60')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','44','6266','70')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','45','6276','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','46','6279','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','47','6367','81')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','48','6378','82')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','49','6369','83')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','50','6473','44')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','51','6474','44')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','52','6475','44')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','53','6479','44')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','54','6544','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','55','6556','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','56','6558','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','57','6559','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','58','6560','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','59','6561','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','60','6564','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','61','6576','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','62','6579','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','63','6580','91')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('76','64','','00')
go

insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','1','1100272','15')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','2','1100274','16')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','3','1100271','19')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','4','1100273','20')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','5','1100780','21')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','6','1100782','23')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','7','1100422','24')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','8','1100747','30')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','9','420107P02R08','31')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','10','1100800','32')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','11','7P02R08001','35')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','12','1100701','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','13','1100706','51')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','14','1100728','52')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','15','1100725','53')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','16','1100740','54')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('77','17','1100741','58')
go

INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_hanbetsu_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 34
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_gyosya_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 35
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_cvs_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 36
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_cvs_nm'
  , T070MstStgAuxInpOupBDw.renban
  , 37
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_tenpo_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 38
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_tenpo_nm'
  , T070MstStgAuxInpOupBDw.renban
  , 39
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_ninsho_no'
  , T070MstStgAuxInpOupBDw.renban
  , 40
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

UPDATE T070DpcPlnTrxHer_3 
SET
  T070DpcPlnTrxHer_3.cvs_hanbetsu_cd = '2' , T070DpcPlnTrxHer_3.cvs_gyosya_cd = '510001'
FROM (T070DpcPlnTrxHer_3
    INNER JOIN T070DpcPlnTrxHer_1 
      ON (T070DpcPlnTrxHer_3.meisai_eda_no = T070DpcPlnTrxHer_1.meisai_eda_no) 
      AND (T070DpcPlnTrxHer_3.meisai_no = T070DpcPlnTrxHer_1.meisai_no) 
      AND (T070DpcPlnTrxHer_3.kanri_no = T070DpcPlnTrxHer_1.kanri_no) 
      AND (T070DpcPlnTrxHer_3.login_user_id = T070DpcPlnTrxHer_1.login_user_id) 
      AND (T070DpcPlnTrxHer_3.login_group_id = T070DpcPlnTrxHer_1.login_group_id) 
      AND (T070DpcPlnTrxHer_3.com_pc_id = T070DpcPlnTrxHer_1.com_pc_id) 
      AND (T070DpcPlnTrxHer_3.com_member_id = T070DpcPlnTrxHer_1.com_member_id)) 
    INNER JOIN T070PrtLblCnfMst 
      ON (T070PrtLblCnfMst.login_user_id = T070DpcPlnTrxHer_1.login_user_id) 
      AND (T070PrtLblCnfMst.login_group_id = T070DpcPlnTrxHer_1.login_group_id) 
      AND (T070PrtLblCnfMst.com_pc_id = T070DpcPlnTrxHer_1.com_pc_id) 
      AND (T070PrtLblCnfMst.com_member_id = T070DpcPlnTrxHer_1.com_member_id) 
      AND (T070DpcPlnTrxHer_1.print_no = T070PrtLblCnfMst.comprint_no) 
WHERE
  (T070PrtLblCnfMst.convenience_uketori_kbn = '1'
    AND T070DpcPlnTrxHer_3.cvs_hanbetsu_cd is null)
go
UPDATE T070DpcPlnTrxHer_3 
SET
  T070DpcPlnTrxHer_3.cvs_hanbetsu_cd = '0'
WHERE
  (T070DpcPlnTrxHer_3.cvs_hanbetsu_cd is null)
go

update T070SigStgMst set CONSTANT01 = 'ＣＶＳ等引渡' where SYS_CODE_ID = '34' and CODE_NO = '1216'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','BF','','コンビニ受取の店舗名は必須項目です。')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','BG','','コンビニ受取の認証番号が正しくありません。')
go
alter table T070WrkTblPriIvc add cvs_hanbetsu_cd char(1) NULL,cvs_gyosya_cd varchar(6) NULL
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('78','1','510001','楽 天')
go

delete from T070SigStgMst where SYS_CODE_ID = '14' and CODE_NO in ('01','02','03','04','05','06','07','08')
go
update T070SigStgMst set CONSTANT10 = '20160131' where SYS_CODE_ID = '14' and CODE_NO in ('09','10','11','12','13','14','15','16')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','17','130','1','49999','0','ゆうちょ銀行','20160201','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','18','340','50000','9999999999','0','ゆうちょ銀行','20160201','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','19','216','1','49999','1','ゆうちょ銀行以外','20160201','99991231')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT09,CONSTANT10)values('14','20','432','50000','9999999999','1','ゆうちょ銀行以外','20160201','99991231')
go

INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'yoyaku_shikibetsu_cd'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_hanbetsu_cd'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_gyosya_cd'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_cvs_cd'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_cvs_nm'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_tenpo_cd'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_tenpo_nm'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'cvs_ninsho_no'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'matome_shinadai_kingaku'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'matome_shinashohizei_kingaku'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'matome_shinainshizei_kingaku'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'matome_shinakazei_kingaku'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

update T070WrkTblPriIvc set cvs_hanbetsu_cd = '0' where machine_id = 'printpreviewdata'
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '10'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','10','','ゆうパック標準取込')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '10'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','10','YUPA_STANDARD')
go

delete from T070DefLdgShtMst where comprint_no = '1100783007'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100783007'
,'局窓用(店頭決済あり)ゆうパック無地(A4･2宛分)（ュ00783）'
,'420107P01R12007.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,3
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783003'
go
delete from T070DefLdgShtMst where comprint_no = '1100783008'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100783008'
,'局窓用(店頭決済なし)ゆうパック無地(A4･2宛分)（ュ00783）'
,'420107P01R12008.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,3
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783001'
go

insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783007'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783003'
go

insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100783007'
go

insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783008'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783001'
go

insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100783008'
go

delete from T070SepDefLdgShtMstHer where comprint_no = '1100783007'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783007'
,comprint_eda_no
,copy_no
,'局窓用(店頭決済あり)ゆうパック無地(A4･2宛分)（ュ00783）'
,'420107P01R12007.rpx'
,edit_kbn
,3
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783003'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100783007'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100783008'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783008'
,comprint_eda_no
,copy_no
,'局窓用(店頭決済なし)ゆうパック無地(A4･2宛分)（ュ00783）'
,'420107P01R12008.rpx'
,edit_kbn
,3
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783001'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100783008'
go

delete from T070SepDefLdgShtMstBDw where comreport_no = '1100783007'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783007'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783003'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100783007'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100783008'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100783008'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783001'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100783008'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '7P02R08001'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'7P02R08001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100727'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '7P02R08001'
go

delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BH'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BH','','コンビニ等受取の通販業者コードが正しくありません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BI'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BI','','コンビニ等受取の受注番号が正しくありません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BJ'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BJ','','値が正しくありません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BK'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BK','','配達希望日は指定できません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BL'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BL','','配達希望時間帯は指定できません。','')
go

delete from T070SigStgMst where SYS_CODE_ID = '79'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','1','1','1100783006')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','2','2','1100783006')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','3','2','420107P01R01001')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','4','3','1100783007')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','5','4','1100783008')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','6','5','1100783008')
go

alter table T070MstConvrnDlvCla drop constraint PK_T070MstConvrnDlvCla
go
alter table T070MstConvrnDlvCla alter column haiso_sbt char(20) not null
go
alter table T070MstConvrnDlvCla add constraint PK_T070MstConvrnDlvCla primary key(com_member_id,com_pc_id,login_group_id,login_user_id,filter_nm,exchange_sbt,haiso_sbt)
go

update T070MstDefInpOupDbs set field_size_sys = 20 where field_janm = 'お客様指定配送種類' and order_no = 274
go

delete from T070SigStgMst where SYS_CODE_ID = '80'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','1100783006','0','0','0','0')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','420107P01R01001','0','0','0','0')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','1100783007','0','0','2','0')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','1100783008','0','0','0','0')
go

update T070SigStgMst set CONSTANT02 = '楽天市場' where SYS_CODE_ID = '78' and CODE_NO = '1'
go

delete from T070SigStgMst where SYS_CODE_ID = '78' and CODE_NO = '2'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('78','2','380001','Ｑｏｏ１０')
go

update T070MsgMst set message_nm = 'コンビニ等受取用の送り状が選択されている場合は複写は利用できません。' where message_id = 'E0742019101' 
go
update T070MsgMst set message_nm = 'コンビニ等受取用の送り状が選択されている場合は複数個に変更できません。' where message_id = 'E0742019102' 
go
update T070CodMst set code_nm = 'コンビニ等受取のコンビニ名が正しくありません。' where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BB'
go
update T070CodMst set code_nm = 'コンビニ等受取のコンビニコード・店舗コードが正しくありません。' where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BC'
go
update T070CodMst set code_nm = 'コンビニ等受取の店舗名は必須項目です。' where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BF'
go
update T070CodMst set code_nm = 'コンビニ等受取の認証番号が正しくありません。' where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BG'
go

UPDATE T070DpcPlnTrxHer_3 
SET
  T070DpcPlnTrxHer_3.cvs_hanbetsu_cd = '0' ,T070DpcPlnTrxHer_3.cvs_gyosya_cd = '',T070DpcPlnTrxHer_3.cvs_cvs_cd = '',T070DpcPlnTrxHer_3.cvs_cvs_nm = '',T070DpcPlnTrxHer_3.cvs_tenpo_cd = '',T070DpcPlnTrxHer_3.cvs_tenpo_nm = '',T070DpcPlnTrxHer_3.cvs_ninsho_no = '' 
FROM (T070DpcPlnTrxHer_3 
    INNER JOIN T070DpcPlnTrxHer_1 
      ON (T070DpcPlnTrxHer_3.meisai_eda_no = T070DpcPlnTrxHer_1.meisai_eda_no) 
      AND (T070DpcPlnTrxHer_3.meisai_no = T070DpcPlnTrxHer_1.meisai_no) 
      AND (T070DpcPlnTrxHer_3.kanri_no = T070DpcPlnTrxHer_1.kanri_no) 
      AND (T070DpcPlnTrxHer_3.login_user_id = T070DpcPlnTrxHer_1.login_user_id) 
      AND (T070DpcPlnTrxHer_3.login_group_id = T070DpcPlnTrxHer_1.login_group_id) 
      AND (T070DpcPlnTrxHer_3.com_pc_id = T070DpcPlnTrxHer_1.com_pc_id) 
      AND (T070DpcPlnTrxHer_3.com_member_id = T070DpcPlnTrxHer_1.com_member_id)) 
WHERE
  (T070DpcPlnTrxHer_1.print_no is null 
  AND T070DpcPlnTrxHer_3.cvs_hanbetsu_cd <> '0')
go

UPDATE T070DpcPlnTrxHer_3 
SET
  T070DpcPlnTrxHer_3.cvs_hanbetsu_cd = '0' ,T070DpcPlnTrxHer_3.cvs_gyosya_cd = '',T070DpcPlnTrxHer_3.cvs_cvs_cd = '',T070DpcPlnTrxHer_3.cvs_cvs_nm = '',T070DpcPlnTrxHer_3.cvs_tenpo_cd = '',T070DpcPlnTrxHer_3.cvs_tenpo_nm = '',T070DpcPlnTrxHer_3.cvs_ninsho_no = '' 
FROM (T070DpcPlnTrxHer_3 
    INNER JOIN T070DpcPlnTrxHer_1 
      ON (T070DpcPlnTrxHer_3.meisai_eda_no = T070DpcPlnTrxHer_1.meisai_eda_no) 
      AND (T070DpcPlnTrxHer_3.meisai_no = T070DpcPlnTrxHer_1.meisai_no) 
      AND (T070DpcPlnTrxHer_3.kanri_no = T070DpcPlnTrxHer_1.kanri_no) 
      AND (T070DpcPlnTrxHer_3.login_user_id = T070DpcPlnTrxHer_1.login_user_id) 
      AND (T070DpcPlnTrxHer_3.login_group_id = T070DpcPlnTrxHer_1.login_group_id) 
      AND (T070DpcPlnTrxHer_3.com_pc_id = T070DpcPlnTrxHer_1.com_pc_id) 
      AND (T070DpcPlnTrxHer_3.com_member_id = T070DpcPlnTrxHer_1.com_member_id)) 
    INNER JOIN T070PrtLblCnfMst 
      ON (T070PrtLblCnfMst.login_user_id = T070DpcPlnTrxHer_1.login_user_id) 
      AND (T070PrtLblCnfMst.login_group_id = T070DpcPlnTrxHer_1.login_group_id) 
      AND (T070PrtLblCnfMst.com_pc_id = T070DpcPlnTrxHer_1.com_pc_id) 
      AND (T070PrtLblCnfMst.com_member_id = T070DpcPlnTrxHer_1.com_member_id) 
      AND (T070DpcPlnTrxHer_1.print_no = T070PrtLblCnfMst.comprint_no) 
WHERE
  (T070PrtLblCnfMst.convenience_uketori_kbn = '0' 
  AND T070DpcPlnTrxHer_3.cvs_hanbetsu_cd <> '0')
go

delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BM'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BM','','保冷種別が冷凍の場合、セキュリティありは指定出来ません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BN'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BN','','複数個口数にマイナスデータが入っています。','')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別'and code_no = '27'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm)
values ('出力フィルタフォーマット種別','','','27','','DENFD確定')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '27'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01)
values('64','27','O_DENFD_KAKUTEI')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_DENFD_KAKUTEI'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','01','','ファイル識別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','02','','発送日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','03','','発送時刻')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','04','','商品種別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','05','','注意コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','06','','伝票個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','07','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','08','','お客様側管理番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','09','','複数個口代表お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','10','','ゆうびんビズカードお客さま番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','11','','旧ＪＰＥｘ顧客コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','12','','ご依頼主名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','13','','ご依頼主名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','14','','ご依頼主名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','15','','ご依頼主電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','16','','ご依頼主郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','17','','ご依頼主住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','18','','ご依頼主住所１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','19','','ご依頼主住所2')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','20','','ご依頼主住所3')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','21','','お届け先名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','22','','お届け先名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','23','','お届け先名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','24','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','25','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','26','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','27','','お届け先住所1')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','28','','お届け先住所2')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','29','','お届け先住所3')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','30','','お届け先住所コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','31','','お届け希望年月日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','32','','お届け希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','33','','以降配達コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','34','','代金引換金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','35','','消費税額等')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','36','','品名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','37','','品名1')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','38','','品名2')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','39','','品名3')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','40','','損害要償額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','41','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','42','','記事')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','43','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','44','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','45','','復路集荷先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','46','','復路集荷日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','47','','発送会社コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','48','','発送局コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','49','','配達予告メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','50','','配達完了メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','51','','不在持戻メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','52','','郵便局留めメールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','53','','配達予告メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','54','','配達完了メールアドレス１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','55','','配達完了メールアドレス２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','56','','配達完了メールアドレス３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','57','','配達完了メールアドレス４')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','58','','配達完了メールアドレス５')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','59','','不在持戻通知先メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','60','','郵便局留め通知メールアドレス１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','61','','郵便局留め通知メールアドレス２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','62','','配達希望日前倒し')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','63','','商品表示')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','64','','集荷持込区分')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','65','','プレー日／搭乗日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','66','','搭乗便名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','67','','割引パターン')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','68','','受付店控え')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_DENFD_KAKUTEI','1','69','','自由使用欄')
go
delete from T070MstDefInpOupDbs where filter_sbt = '9' and field_nm = 'receiver_long_cd'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('9','receiver_long_cd','2','1','0',0,'お届け先 顧客コード',293,'送り状印刷用')
go
update T070MstDefInpOupDbs set order_no = 43 where field_janm = 'お届け先 名称' and order_no = 42
go
update T070MstDefInpOupDbs set order_no = 44 where field_janm = 'お届け先 名称１' and order_no = 43
go
update T070MstDefInpOupDbs set order_no = 45 where field_janm = 'お届け先 名称２' and order_no = 44
go
update T070MstDefInpOupDbs set order_no = 46 where field_nm = 'todoke_keisho_kbn' and field_janm = 'お届け先 敬称区分' and order_no = 45
go
update T070MstDefInpOupDbs set order_no = 47 where field_nm = 'todoke_keisho_kbn_nm' and field_janm = 'お届け先 敬称区分' and order_no = 46
go
update T070MstDefInpOupDbs set order_no = 48 where field_janm = 'お届け先 カナ名称' and order_no = 47
go
update T070MstDefInpOupDbs set order_no = 49 where field_janm = 'お届け先 カナ名称１' and order_no = 48
go
update T070MstDefInpOupDbs set order_no = 50 where field_janm = 'お届け先 カナ名称２' and order_no = 49
go
update T070MstDefInpOupDbs set order_no = 51 where field_janm = 'お届け先 住所' and order_no = 50
go
update T070MstDefInpOupDbs set order_no = 52 where field_janm = 'お届け先 住所１' and order_no = 51
go
update T070MstDefInpOupDbs set order_no = 53 where field_janm = 'お届け先 住所２' and order_no = 52
go
update T070MstDefInpOupDbs set order_no = 54 where field_janm = 'お届け先 住所３' and order_no = 53
go
update T070MstDefInpOupDbs set order_no = 55 where field_janm = 'お届け先 電話番号' and order_no = 54
go
update T070MstDefInpOupDbs set order_no = 56 where field_janm = 'お届け先 郵便番号' and order_no = 55
go
update T070MstDefInpOupDbs set order_no = 57 where field_janm = 'お届け先 郵便番号_1桁目' and order_no = 56
go
update T070MstDefInpOupDbs set order_no = 58 where field_janm = 'お届け先 郵便番号_2桁目' and order_no = 57
go
update T070MstDefInpOupDbs set order_no = 59 where field_janm = 'お届け先 郵便番号_3桁目' and order_no = 58
go
update T070MstDefInpOupDbs set order_no = 60 where field_janm = 'お届け先 郵便番号_4桁目' and order_no = 59
go
update T070MstDefInpOupDbs set order_no = 61 where field_janm = 'お届け先 郵便番号_5桁目' and order_no = 60
go
update T070MstDefInpOupDbs set order_no = 62 where field_janm = 'お届け先 郵便番号_6桁目' and order_no = 61
go
update T070MstDefInpOupDbs set order_no = 63 where field_janm = 'お届け先 郵便番号_7桁目' and order_no = 62
go
update T070MstDefInpOupDbs set order_no = 64 where field_janm = 'お届け先 会員番号' and order_no = 63
go
update T070MstDefInpOupDbs set order_no = 65 where field_janm = 'カスタマバーコード' and order_no = 64
go
update T070MstDefInpOupDbs set order_no = 66 where field_janm = '仕分番号' and order_no = 65
go
update T070MstDefInpOupDbs set order_no = 67 where field_janm = '仕分番号（ハイフン付）' and order_no = 66
go
update T070MstDefInpOupDbs set order_no = 68 where field_janm = '仕分番号（バーコード）' and order_no = 67
go
update T070MstDefInpOupDbs set order_no = 69 where field_janm = '配達指定日／希望日' and order_no = 68
go
update T070MstDefInpOupDbs set order_no = 70 where field_janm = '配達指定日／希望日_年' and order_no = 69
go
update T070MstDefInpOupDbs set order_no = 71 where field_janm = '配達指定日／希望日_月' and order_no = 70
go
update T070MstDefInpOupDbs set order_no = 72 where field_janm = '配達指定日／希望日_日' and order_no = 71
go
update T070MstDefInpOupDbs set order_no = 73 where field_janm = '配達指定日／希望日_曜日' and order_no = 72
go
update T070MstDefInpOupDbs set order_no = 74 where field_janm = '配達指定日／希望日(mm/dd形式)' and order_no = 73
go
update T070MstDefInpOupDbs set order_no = 75 where field_janm = '配達希望時間' and order_no = 74
go
update T070MstDefInpOupDbs set order_no = 76 where field_janm = '配達希望時間名称' and order_no = 75
go
update T070MstDefInpOupDbs set order_no = 77 where field_janm = '配達店電話番号' and order_no = 76
go
update T070MstDefInpOupDbs set order_no = 78 where field_janm = '代引送金方法' and order_no = 77
go
update T070MstDefInpOupDbs set order_no = 79 where field_janm = '代引送金方法名称' and order_no = 78
go
update T070MstDefInpOupDbs set order_no = 80 where field_janm = '代引金額' and order_no = 79
go
update T070MstDefInpOupDbs set order_no = 81 where field_janm = '代引金額_1桁目' and order_no = 80
go
update T070MstDefInpOupDbs set order_no = 82 where field_janm = '代引金額_2桁目' and order_no = 81
go
update T070MstDefInpOupDbs set order_no = 83 where field_janm = '代引金額_3桁目' and order_no = 82
go
update T070MstDefInpOupDbs set order_no = 84 where field_janm = '代引金額_4桁目' and order_no = 83
go
update T070MstDefInpOupDbs set order_no = 85 where field_janm = '代引金額_5桁目' and order_no = 84
go
update T070MstDefInpOupDbs set order_no = 86 where field_janm = '代引金額_6桁目' and order_no = 85
go
update T070MstDefInpOupDbs set order_no = 87 where field_janm = '代引金額_7桁目' and order_no = 86
go
update T070MstDefInpOupDbs set order_no = 88 where field_janm = '代引消費税金額' and order_no = 87
go
update T070MstDefInpOupDbs set order_no = 89 where field_janm = '代引消費税金額_1桁目' and order_no = 88
go
update T070MstDefInpOupDbs set order_no = 90 where field_janm = '代引消費税金額_2桁目' and order_no = 89
go
update T070MstDefInpOupDbs set order_no = 91 where field_janm = '代引消費税金額_3桁目' and order_no = 90
go
update T070MstDefInpOupDbs set order_no = 92 where field_janm = '代引消費税金額_4桁目' and order_no = 91
go
update T070MstDefInpOupDbs set order_no = 93 where field_janm = '代引消費税金額_5桁目' and order_no = 92
go
update T070MstDefInpOupDbs set order_no = 94 where field_janm = '代引消費税金額_6桁目' and order_no = 93
go
update T070MstDefInpOupDbs set order_no = 95 where field_janm = '代引消費税金額_7桁目' and order_no = 94
go
update T070MstDefInpOupDbs set order_no = 96 where field_janm = '代引課税対象額' and order_no = 95
go
update T070MstDefInpOupDbs set order_no = 97 where field_janm = '代引印紙税額' and order_no = 96
go
update T070MstDefInpOupDbs set order_no = 98 where field_janm = '代引印紙税額名称' and order_no = 97
go
update T070MstDefInpOupDbs set order_no = 99 where field_janm = '代引送金手数料' and order_no = 98
go
update T070MstDefInpOupDbs set order_no = 100 where field_janm = '保冷種別' and order_no = 99
go
update T070MstDefInpOupDbs set order_no = 101 where field_janm = '保冷種別名称' and order_no = 100
go
update T070MstDefInpOupDbs set order_no = 102 where field_janm = '持込・集荷区分' and order_no = 101
go
update T070MstDefInpOupDbs set order_no = 103 where field_janm = '持込・集荷区分名称' and order_no = 102
go
update T070MstDefInpOupDbs set order_no = 104 where field_janm = 'こわれもの区分' and order_no = 103
go
update T070MstDefInpOupDbs set order_no = 105 where field_janm = 'こわれもの区分名称' and order_no = 104
go
update T070MstDefInpOupDbs set order_no = 106 where field_janm = 'なまもの区分' and order_no = 105
go
update T070MstDefInpOupDbs set order_no = 107 where field_janm = 'なまもの区分名称' and order_no = 106
go
update T070MstDefInpOupDbs set order_no = 108 where field_janm = 'ビン類区分' and order_no = 107
go
update T070MstDefInpOupDbs set order_no = 109 where field_janm = 'ビン類区分名称' and order_no = 108
go
update T070MstDefInpOupDbs set order_no = 110 where field_janm = '逆さま厳禁区分' and order_no = 109
go
update T070MstDefInpOupDbs set order_no = 111 where field_janm = '逆さま厳禁区分名称' and order_no = 110
go
update T070MstDefInpOupDbs set order_no = 112 where field_janm = '下積み厳禁区分' and order_no = 111
go
update T070MstDefInpOupDbs set order_no = 113 where field_janm = '下積み厳禁区分名称' and order_no = 112
go
update T070MstDefInpOupDbs set order_no = 114 where field_janm = '割引区分' and order_no = 113
go
update T070MstDefInpOupDbs set order_no = 115 where field_janm = '割引区分名称' and order_no = 114
go
update T070MstDefInpOupDbs set order_no = 116 where field_janm = '郵便料金' and order_no = 115
go
update T070MstDefInpOupDbs set order_no = 117 where field_janm = '書留料金' and order_no = 116
go
update T070MstDefInpOupDbs set order_no = 118 where field_janm = '書留 損害要償額' and order_no = 117
go
update T070MstDefInpOupDbs set order_no = 119 where field_janm = '領収金額' and order_no = 118
go
update T070MstDefInpOupDbs set order_no = 120 where field_janm = 'お届け通知ハガキ使用種別' and order_no = 119
go
update T070MstDefInpOupDbs set order_no = 121 where field_janm = 'お届け通知メール使用種別' and order_no = 120
go
update T070MstDefInpOupDbs set order_no = 122 where field_janm = '振替口座1' and order_no = 121
go
update T070MstDefInpOupDbs set order_no = 123 where field_janm = '振替口座1_1桁目' and order_no = 122
go
update T070MstDefInpOupDbs set order_no = 124 where field_janm = '振替口座1_2桁目' and order_no = 123
go
update T070MstDefInpOupDbs set order_no = 125 where field_janm = '振替口座1_3桁目' and order_no = 124
go
update T070MstDefInpOupDbs set order_no = 126 where field_janm = '振替口座1_4桁目' and order_no = 125
go
update T070MstDefInpOupDbs set order_no = 127 where field_janm = '振替口座1_5桁目' and order_no = 126
go
update T070MstDefInpOupDbs set order_no = 128 where field_janm = '振替口座2' and order_no = 127
go
update T070MstDefInpOupDbs set order_no = 129 where field_janm = '振替口座3' and order_no = 128
go
update T070MstDefInpOupDbs set order_no = 130 where field_janm = '振替口座3_1桁目' and order_no = 129
go
update T070MstDefInpOupDbs set order_no = 131 where field_janm = '振替口座3_2桁目' and order_no = 130
go
update T070MstDefInpOupDbs set order_no = 132 where field_janm = '振替口座3_3桁目' and order_no = 131
go
update T070MstDefInpOupDbs set order_no = 133 where field_janm = '振替口座3_4桁目' and order_no = 132
go
update T070MstDefInpOupDbs set order_no = 134 where field_janm = '振替口座3_5桁目' and order_no = 133
go
update T070MstDefInpOupDbs set order_no = 135 where field_janm = '振替口座3_6桁目' and order_no = 134
go
update T070MstDefInpOupDbs set order_no = 136 where field_janm = '振替口座3_7桁目' and order_no = 135
go
update T070MstDefInpOupDbs set order_no = 137 where field_janm = '振替口座3_8桁目' and order_no = 136
go
update T070MstDefInpOupDbs set order_no = 138 where field_janm = '総合口座1' and order_no = 137
go
update T070MstDefInpOupDbs set order_no = 139 where field_janm = '総合口座1_1桁目' and order_no = 138
go
update T070MstDefInpOupDbs set order_no = 140 where field_janm = '総合口座1_2桁目' and order_no = 139
go
update T070MstDefInpOupDbs set order_no = 141 where field_janm = '総合口座1_3桁目' and order_no = 140
go
update T070MstDefInpOupDbs set order_no = 142 where field_janm = '総合口座1_4桁目' and order_no = 141
go
update T070MstDefInpOupDbs set order_no = 143 where field_janm = '総合口座1_5桁目' and order_no = 142
go
update T070MstDefInpOupDbs set order_no = 144 where field_janm = '総合口座2' and order_no = 143
go
update T070MstDefInpOupDbs set order_no = 145 where field_janm = '総合口座3' and order_no = 144
go
update T070MstDefInpOupDbs set order_no = 146 where field_janm = '総合口座3_1桁目' and order_no = 145
go
update T070MstDefInpOupDbs set order_no = 147 where field_janm = '総合口座3_2桁目' and order_no = 146
go
update T070MstDefInpOupDbs set order_no = 148 where field_janm = '総合口座3_3桁目' and order_no = 147
go
update T070MstDefInpOupDbs set order_no = 149 where field_janm = '総合口座3_4桁目' and order_no = 148
go
update T070MstDefInpOupDbs set order_no = 150 where field_janm = '総合口座3_5桁目' and order_no = 149
go
update T070MstDefInpOupDbs set order_no = 151 where field_janm = '総合口座3_6桁目' and order_no = 150
go
update T070MstDefInpOupDbs set order_no = 152 where field_janm = '総合口座3_7桁目' and order_no = 151
go
update T070MstDefInpOupDbs set order_no = 153 where field_janm = '総合口座3_8桁目' and order_no = 152
go
update T070MstDefInpOupDbs set order_no = 154 where field_janm = '代引まとめ　バーコード' and order_no = 153
go
update T070MstDefInpOupDbs set order_no = 155 where field_janm = '代引まとめ精算 代引印紙税額' and order_no = 154
go
update T070MstDefInpOupDbs set order_no = 156 where field_janm = '品名' and order_no = 155
go
update T070MstDefInpOupDbs set order_no = 157 where field_janm = '個数（分子）' and order_no = 156
go
update T070MstDefInpOupDbs set order_no = 158 where field_janm = '個数（分母）' and order_no = 157
go
update T070MstDefInpOupDbs set order_no = 159 where field_janm = 'フリー項目１' and order_no = 158
go
update T070MstDefInpOupDbs set order_no = 160 where field_janm = 'フリー項目２' and order_no = 159
go
update T070MstDefInpOupDbs set order_no = 161 where field_janm = 'フリー項目３' and order_no = 160
go
update T070MstDefInpOupDbs set order_no = 162 where field_janm = 'フリー項目４' and order_no = 161
go
update T070MstDefInpOupDbs set order_no = 163 where field_janm = 'フリー項目５' and order_no = 162
go
update T070MstDefInpOupDbs set order_no = 164 where field_janm = 'フリー項目６' and order_no = 163
go
update T070MstDefInpOupDbs set order_no = 165 where field_janm = 'フリー項目７' and order_no = 164
go
update T070MstDefInpOupDbs set order_no = 166 where field_janm = 'フリー項目８' and order_no = 165
go
update T070MstDefInpOupDbs set order_no = 167 where field_janm = 'フリー項目９' and order_no = 166
go
update T070MstDefInpOupDbs set order_no = 168 where field_janm = 'フリー項目１０' and order_no = 167
go

update T070MstDefInpOupDbs set order_no = 42 where field_janm = 'お届け先 顧客コード' and order_no = 293
go
alter table T070WrkTblPriIvc add receiver_long_cd varchar(20) NULL
go
alter table T070UsrLinMst add branch_kokyaku_key_cd varchar(15) NULL,branchshop_kbn char(1) NULL
go
update T070UsrLinMst set branchshop_kbn = '0' where branchshop_kbn is null
go

delete from T070DefLdgShtMst where comprint_no = '1100572001'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100572001'
,'コンビニ受取用ゆうパックサーマル(共用・Ｌ版)（ュ00572）'
,'420107P01R29.rpx'
,free_item_cnt
,nifuda_cnt
,1
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783006'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,3
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783006'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100572001'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100572001'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572001'
,comprint_eda_no
,copy_no
,'コンビニ受取用ゆうパックサーマル(共用・Ｌ版)（ュ00572）'
,'420107P01R29.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783006'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100572001'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100572001'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783006'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100572001'
go
delete from T070DefLdgShtMst where comprint_no = '1100572002'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100572002'
,'局窓用(店頭決済あり)ゆうパックサーマル(共用・Ｌ版)（ュ00572）'
,'420107P01R30.rpx'
,free_item_cnt
,nifuda_cnt
,1
,1
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783007'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,3
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783007'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100572002'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100572002'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572002'
,comprint_eda_no
,copy_no
,'局窓用(店頭決済あり)ゆうパックサーマル(共用・Ｌ版)（ュ00572）'
,'420107P01R30.rpx'
,edit_kbn
,1
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783007'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100572002'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100572002'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783007'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100572002'
go
delete from T070DefLdgShtMst where comprint_no = '1100572003'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100572003'
,'局窓用(店頭決済なし)ゆうパックサーマル(共用・Ｌ版)（ュ00572）'
,'420107P01R31.rpx'
,free_item_cnt
,nifuda_cnt
,1
,1
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100783008'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572003'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,3
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100783008'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100572003'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100572003'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572003'
,comprint_eda_no
,copy_no
,'局窓用(店頭決済なし)ゆうパックサーマル(共用・Ｌ版)（ュ00572）'
,'420107P01R31.rpx'
,edit_kbn
,1
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100783008'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100572003'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100572003'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100572003'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100783008'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100572003'
go
delete from T070DefLdgShtMst where comprint_no = '1100511'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1100511'
,'リターンパックラベル（A4縦）（ュ00511）'
,'420107P01R32.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100510'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100511'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1100510'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1100511'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1100511'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100511'
,comprint_eda_no
,copy_no
,'リターンパックラベル（A4縦）（ュ00511）'
,'420107P01R32.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100510'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1100511'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1100511'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100511'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw 
where login_user_id = '0' and comreport_no = '1100510'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1100511'
go
delete from T070SigStgMst where SYS_CODE_ID = '79' and CODE_NO = '7'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','7','1','1100572001')
go
delete from T070SigStgMst where SYS_CODE_ID = '79' and CODE_NO = '8'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','8','2','1100572001')
go
delete from T070SigStgMst where SYS_CODE_ID = '79' and CODE_NO = '9'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','9','3','1100572002')
go
delete from T070SigStgMst where SYS_CODE_ID = '79' and CODE_NO = '10'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','10','4','1100572003')
go
delete from T070SigStgMst where SYS_CODE_ID = '79' and CODE_NO = '11'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('79','11','5','1100572003')
go
delete from T070SigStgMst where SYS_CODE_ID = '80' and CODE_NO = '1100572001'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','1100572001','0','0','0','0')
go
delete from T070SigStgMst where SYS_CODE_ID = '80' and CODE_NO = '1100572002'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','1100572002','0','0','2','0')
go
delete from T070SigStgMst where SYS_CODE_ID = '80' and CODE_NO = '1100572003'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('80','1100572003','0','0','0','0')
go
delete from T070CodMst where syscode1 = '取込フィルタフォーマット種別' and code_no = '11'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('取込フィルタフォーマット種別','','','11','','郵便・ゆうパック標準取込')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '11'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('64','11','YUPA_STANDARD2')
go

delete from T070TsuisekiNo where KamotsuShohinCD = '206'
go
delete from T070TsuisekiNo where KamotsuShohinCD = '207'
go
update T070ConvrnPslClaCgoPdt set yubin_sbt_cd = '27010' where yubin_sbt = '9'
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BO'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','BO','','ポスパケットの取込はできません。')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and syscode2 = '' and syscode3 = '' and code_no = 'BP'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('エラー内容種別','','','BP','','追跡番号付ゆうメールの取込はできません。')
go
delete from T070MsgMst where message_id = 'E0742019108'
go
insert into T070MsgMst values ('E0742019108', 'ポスパケットは、2016年9月30日をもちましてサービスを終了致しました。
他の商品を選択し直してから取込を実施してください。
ご不明な点については、弊社担当にお問い合わせください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019109'
go
insert into T070MsgMst values ('E0742019109', 'ポスパケットは、2016年9月30日をもちましてサービスを終了致しました。
他の商品を選択し直して登録してください。
ご不明な点については、弊社担当にお問い合わせください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019110'
go
insert into T070MsgMst values ('E0742019110', 'ポスパケットは、2016年9月30日をもちましてサービスを終了致しました。
他の商品に切り替えてから送り状印刷を実行してください。
ご不明な点については、弊社担当にお問い合わせください。', null, null)
go
delete from T070MsgMst where message_id = 'E0742019111'
go
insert into T070MsgMst values ('E0742019111', '追跡番号付きゆうメールは、2016年9月30日をもちましてサービスを終了致しました。
他の商品に切り替えてから送り状印刷を実行してください。
ご不明な点については、弊社担当にお問い合わせください。', null, null)
go
delete from T070SigStgMst where SYS_CODE_ID = '66'
go
update T070CodMst set code_nm = 'ゆうびん 郵便物等', code_ryaku_nm = 'ゆうびん 郵便物等' where syscode1 = 'ラベル印字商品コード' and code_no = '10100'
go

alter table T070DpcPlnTrxHer_3 alter column field_yobi01 nvarchar(200)
go
alter table T070DpcPlnTrxHer_3 alter column field_yobi02 nvarchar(200)
go

delete from T070MstDefInpOupDbs where filter_sbt = '1' and (field_nm = 'field_yobi01' or field_nm = 'field_yobi02')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi01','1','1','200',0,'コンビニ等受取 備考１',283,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi02','1','1','200',0,'コンビニ等受取 備考２',284,'出荷予定トラン')
go

insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi01','2','1','200',0,'コンビニ等受取 備考１',283,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi02','2','1','200',0,'コンビニ等受取 備考２',284,'出荷予定トラン')
go

delete from T070MstDefInpOupDbs where filter_sbt = '2' and (field_nm = 'field_yobi01' or field_nm = 'field_yobi02')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi01','1','1','200',0,'コンビニ等受取 備考１',283,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi02','1','1','200',0,'コンビニ等受取 備考２',284,'出荷履歴トラン')
go

insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi01','2','1','200',0,'コンビニ等受取 備考１',283,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi02','2','1','200',0,'コンビニ等受取 備考２',284,'出荷履歴トラン')
go

delete from T070FormSetting where form_id = '420107M01P02V01' and object_kbn = '1' and button_nm = 'お届け先情報登録'
go
insert 
into T070FormSetting( 
  form_id
  , form_nm
  , object_kbn
  , menu_kbn
  , button_panel_id
  , button_panel_nm
  , button_panel_layer
  , button_alliment
  , button_enable
  , method_nm
  , sort
  , button_nm
  , button_nm2
  , method_nm2
  , icon_nm
) 
values ( 
  '420107M01P02V01'
  , '発送履歴データ照会'
  , '1'
  , 'T'
  , ''
  , ''
  , null
  , '0'
  , '1'
  , 'OtodokeInformationInsert'
  , '8'
  , 'お届け先情報登録'
  , 'Ctrl+P'
  , ''
  , 'Insert'
) 
go
delete from T070MsgMst where message_id = 'I0742010044'
go
insert into T070MsgMst values ('I0742010044', '選択された発送履歴データのお届け先情報を顧客マスタに登録しますが、よろしいですか？', null, null)
go
delete from T070MsgMst where message_id = 'E0742019112'
go
insert into T070MsgMst values ('E0742019112', '選択された発送履歴データ内に同一の顧客コードが存在しています。
同一の顧客コードは顧客マスタに登録できません。', null, null)
go
delete from T070MsgMst where message_id = 'I0742010045'
go
insert into T070MsgMst values ('I0742010045', '{0}件の発送履歴データのお届け先情報を顧客マスタに登録しました。
(選択件数:{1}件　登録出来なかった件数:{2}件)', null, null)
go
delete from T070MsgMst where message_id = 'E0742019113'
go
insert into T070MsgMst values ('E0742019113', '選択された発送履歴データはすでに顧客マスタに登録済みです。', null, null)
go
delete from T070MsgMst where message_id = 'I0742010046'
go
insert into T070MsgMst values ('I0742010046', '顧客マスタにすでに登録済みの顧客コードが存在します。
選択している発送履歴データの情報で顧客マスタを更新する場合は
｢はい｣を、更新しない場合は｢いいえ｣を選択してください。', null, null)
go
delete from T070DefLdgShtMst where comprint_no = '1800800013'
go
insert into T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) select
 '1800800013'
,'ゆうパケット用あて名シール（ュ00801）'
,'420107P02R40013.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
from T070DefLdgShtMst where comprint_no = '1100800'
go
alter table T070PrtLblCnfMst add fuka_service_kbn char(1) NULL
go
update T070PrtLblCnfMst set fuka_service_kbn = '0' where comprint_no like '1800800013%' or yupacket_shitei_kbn <> '1'
go
update T070PrtLblCnfMst set fuka_service_kbn = '1' where comprint_no not like '1800800013%' and yupacket_shitei_kbn = '1'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1800800013'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,2
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,2
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,0
from T070PrtLblCnfMst 
where login_user_id = '0' and comprint_no = '1800800012'
go
insert into T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) select 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
from T070PrtLblCnfMst,T070UsrLinMst 
where T070PrtLblCnfMst.login_user_id = '0' and T070PrtLblCnfMst.comprint_no = '1800800013'
go
delete from T070SepDefLdgShtMstHer where comprint_no = '1800800013'
go
insert into T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1800800013'
,comprint_eda_no
,copy_no
,'ゆうパケット用あて名シール（ュ00801）'
,'420107P02R40013.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstHer 
where login_user_id = '0' and comprint_no = '1100800'
go
insert into T070SepDefLdgShtMstHer select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
from T070SepDefLdgShtMstHer,T070UsrLinMst 
where T070SepDefLdgShtMstHer.login_user_id = '0' and T070SepDefLdgShtMstHer.comprint_no = '1800800013'
go
delete from T070SepDefLdgShtMstBDw where comreport_no = '1800800013'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1800800013'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
from T070SepDefLdgShtMstBDw
where login_user_id = '0' and comreport_no = '1100800'
go
insert into T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) select
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
from T070SepDefLdgShtMstBDw,T070UsrLinMst 
where T070SepDefLdgShtMstBDw.login_user_id = '0' and T070SepDefLdgShtMstBDw.comreport_no = '1800800013'
go
delete from T070MsgMst where message_id = 'E0742019114'
go
insert into T070MsgMst values ('E0742019114', 'フォーマット種別が郵便・ゆうパック標準取込の場合、
明細数は30以下で入力してください。', null, null)
go

INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi01'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi02'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_cd') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_cd'
  , ''
  , 82
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_nm') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_nm'
  , ''
  , 83
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_suryo') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_suryo'
  , ''
  , 84
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_tanka') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_tanka'
  , ''
  , 85
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_kingaku') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_kingaku'
  , ''
  , 86
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 82) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_nm') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 83) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_suryo') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 84) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_tanka') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 85) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_kingaku') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 86) 
  ) 
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'field_yobi01') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 78)
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'field_yobi01'
  , T070MstStgAuxInpOupBDw.renban
  , 78
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'field_yobi02') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 79)
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'field_yobi02'
  , T070MstStgAuxInpOupBDw.renban
  , 79
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_cd') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_cd'
  , ''
  , 30
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_nm') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_nm'
  , ''
  , 31
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_suryo') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_suryo'
  , ''
  , 32
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 30) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_nm') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 31) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_suryo') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 32) 
  ) 
go

DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_cd') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_cd'
  , ''
  , 29
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_nm') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_nm'
  , ''
  , 30
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgInpOupBDw.field_nm = 'shohin_suryo') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'shohin_suryo'
  , ''
  , 31
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 29) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_nm') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 30) 
  ) 
go
DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'shohin_suryo') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 31) 
  ) 
go

delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別'and code_no = '28'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm)
values ('出力フィルタフォーマット種別','','','28','','新DENFD予約')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '28'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01)
values('64','28','O_SINDENFD_YOYAKU')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_SINDENFD_YOYAKU'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','01','','予約確定識別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','02','','発送日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','03','','発送時刻')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','04','','商品種別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','05','','注意コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','06','','伝票個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','07','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','08','','お客様側管理番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','09','','複数個口代表お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','10','','ゆうびんビズカードお客さま番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','11','','ご依頼主名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','12','','ご依頼主電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','13','','ご依頼主郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','14','','ご依頼主住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','15','','お届け先名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','16','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','17','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','18','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','19','','お届け希望年月日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','20','','お届け希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','21','','代金引換金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','22','','消費税額等')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','23','','品名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','24','','品名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','25','','品名３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','26','','損害要償額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','27','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','28','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','29','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','30','','発送会社コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','31','','発送局コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','32','','配達予告メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','33','','配達完了メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','34','','不在持戻メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','35','','郵便局留めメールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','36','','配達予告メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','37','','配達完了メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','38','','不在持戻通知先メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','39','','郵便局留め通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','40','','配達希望日前倒し')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','41','','商品表示')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','42','','自由使用欄')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','43','','コンビニ等判別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','44','','通販業者コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','45','','コンビニ等コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','46','','コンビニ事業者名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','47','','コンビニ店舗コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','48','','コンビニ等店舗名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','49','','認証番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_YOYAKU','1','50','','予備')
go
delete from T070CodMst where syscode1 = '出力フィルタフォーマット種別'and code_no = '29'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm)
values ('出力フィルタフォーマット種別','','','29','','新DENFD確定')
go
delete from T070SigStgMst where SYS_CODE_ID = '64' and CODE_NO = '29'
go
insert into T070SigStgMst(SYS_CODE_ID,code_no,CONSTANT01)
values('64','29','O_SINDENFD_KAKUTEI')
go
delete from T070CodMst where syscode1 = 'フォーマット種別別見出し' and syscode2 = 'O_SINDENFD_KAKUTEI'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','01','','予約確定識別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','02','','発送日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','03','','発送時刻')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','04','','商品種別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','05','','注意コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','06','','伝票個数')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','07','','お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','08','','お客様側管理番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','09','','複数個口代表お問い合わせ番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','10','','ゆうびんビズカードお客さま番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','11','','ご依頼主名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','12','','ご依頼主電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','13','','ご依頼主郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','14','','ご依頼主住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','15','','お届け先名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','16','','お届け先電話番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','17','','お届け先郵便番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','18','','お届け先住所')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','19','','お届け希望年月日')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','20','','お届け希望時間帯')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','21','','代金引換金額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','22','','消費税額等')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','23','','品名１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','24','','品名２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','25','','品名３')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','26','','損害要償額')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','27','','サイズ')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','28','','記事１')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','29','','記事２')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','30','','発送会社コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','31','','発送局コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','32','','配達予告メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','33','','配達完了メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','34','','不在持戻メールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','35','','郵便局留めメールサービス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','36','','配達予告メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','37','','配達完了メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','38','','不在持戻通知先メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','39','','郵便局留め通知メールアドレス')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','40','','配達希望日前倒し')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','41','','商品表示')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','42','','自由使用欄')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','43','','コンビニ等判別コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','44','','通販業者コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','45','','コンビニ等コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','46','','コンビニ事業者名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','47','','コンビニ店舗コード')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','48','','コンビニ等店舗名')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','49','','認証番号')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm) values ('フォーマット種別別見出し','O_SINDENFD_KAKUTEI','1','50','','予備')
go
delete from T070SigStgMst where SYS_CODE_ID = '82'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('82','0','https://www.post.japanpost.jp/yu-packprint-r/member/index.html','','','','','','','','','')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04,CONSTANT05,CONSTANT06,CONSTANT07,CONSTANT08,CONSTANT09,CONSTANT10) values ('82','1','https://www.post.japanpost.jp/yu-packprint-r/member/sql/index.html','','','','','','','','','')
go
delete from T070SigStgMst where SYS_CODE_ID = '31' and CODE_NO = '1'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01) values('31','1','1')
go
delete from T070SigStgMst where SYS_CODE_ID = '33' and CODE_NO = '15'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04) values('33','15','https://mtts.post.japanpost.jp','','/customer2/customerInfo/','600000')
go

DELETE T070MstStgInpOupBDw 
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgInpOupBDw.field_nm = 'goirai_kokyaku_key_cd') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'goirai_kokyaku_key_cd'
  , ''
  , 29
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'goirai_kokyaku_key_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 29) 
  ) 
go

UPDATE T070CodMst SET code_nm = '可能(直接指示)', code_ryaku_nm = '可能(直接指示)' WHERE syscode1 = '支店連携可否区分' AND code_no = '1'
go
UPDATE T070CodMst SET code_nm = '可能(全国指示)', code_ryaku_nm = '可能(全国指示)' WHERE syscode1 = '支店連携可否区分' AND code_no = '2'
go
UPDATE T070MenuSetting SET button_nm = '発送管理@1R-PS連携' WHERE pg_id = '420107M01P01V01' AND object_kbn = '0' AND sort = 0
go
UPDATE T070MenuSetting SET button_nm = '発送管理@1出荷先発行' WHERE pg_id = '420107M01P01V01' AND object_kbn = '0' AND sort = 1
go
UPDATE T070MenuSetting SET button_nm = '発送管理出荷先発行' WHERE pg_id = '420107M01P01V01' AND object_kbn = '1' AND sort= 1
go
UPDATE T070MenuSetting SET button_nm = '発送管理R-PS連携' WHERE pg_id = '420107M01P01V01' AND object_kbn = '1' AND sort = 2
go
UPDATE T070SepDefLdgShtMstHer SET report_nm = 'R-PS連携' WHERE comprint_no = 'SHITENRENKEI'
go
UPDATE T070DefLdgShtMst SET report_type_nm = 'R-PS連携' WHERE comprint_no = 'SHITENRENKEI'
go
UPDATE T070MstDefInpOupDbs SET field_janm = 'R-PS連携区分' WHERE field_nm = 'shiten_renkei_kbn'
go
UPDATE T070FormSetting SET button_nm = '出荷先発行データ送受信' WHERE form_id = '420107M01P01V01' AND method_nm = 'SakiDataRecv'
go
UPDATE T070FormSetting SET button_nm = '出荷先発行データ送信' WHERE form_id = '420107M01P01V01_1' AND object_kbn = '1' AND method_nm = 'Print'
go
UPDATE T070MsgMst SET message_nm = '会員台帳支店連携に集荷先（R-PS連携）のデータがありません。処理を終了します。' WHERE message_id = 'E0742019026'
go
UPDATE T070MsgMst SET message_nm = 'R-PS連携で都度代の場合は代引きデータを登録することはできません。' WHERE message_id = 'E0742019084'
go
UPDATE T070MsgMst SET message_nm = '出荷先発行データ受信処理中です。しばらく時間をおいてから実行してください。' WHERE message_id = 'E0742019093'
go
UPDATE T070MsgMst SET message_nm = '出荷先発行データ送受信を行います。よろしいですか？' WHERE message_id = 'I0742010036'
go
UPDATE T070MsgMst SET message_nm = '新たな出荷先発行データはありませんでした。' WHERE message_id = 'I0742010037'
go
UPDATE T070MsgMst SET message_nm = '出荷先発行データを受信しました。一覧画面で確認してください。' WHERE message_id = 'I0742010038'
go
UPDATE T070MsgMst SET message_nm = '{0}に{1}件の出荷先発行データを受信しました。' WHERE message_id = 'I0742010040'
go
update T070PrtLblCnfMst set haitatsushitei_zon_shitei_kbn = '1' where comprint_no like '1100300%' or comprint_no like '1100310%' or comprint_no like '1700800001%' or comprint_no like '1700800002%' or comprint_no like '1700800003%' or comprint_no like '1700800004%' or comprint_no like '1700800005%'
go
DELETE FROM T070MsgMst WHERE message_id =  'I0742010047'
go
INSERT INTO T070MsgMst(message_id,message_nm)
VALUES('I0742010047','複数個口データの一部が選択されていません。
選択されていないその他の複数個口データも送信されますがよろしいですか？')
go
UPDATE T070MstDefInpOupDbs SET field_janm = '出荷元パソコンID' WHERE field_nm = 'moto_pc_id'
go
UPDATE T070MstDefInpOupDbs SET field_janm = '出荷先パソコンID' WHERE field_nm = 'saki_com_pc_id' and (filter_sbt = '1' or filter_sbt = '2')
go
UPDATE T070MstDefInpOupDbs SET field_janm = 'パソコンID' WHERE field_nm = 'com_pc_id'
go
UPDATE T070MstDefInpOupDbs SET field_janm = '出荷先発行指示パソコンID' WHERE field_nm = 'saki_com_pc_id' and filter_sbt = '3'
go
UPDATE T070MstDefInpOupDbs SET field_janm = '出荷先発行指示パソコンID' WHERE field_nm = 'saki_pc_id'
go
UPDATE T070CodMst SET code_nm = '発送予定データの種類（通常、R-PS連携、出荷先発行）が判別できません。' WHERE syscode1 = 'エラー内容種別' AND code_no = 'A8'
go
UPDATE T070CodMst SET code_nm = 'R-PS連携で都度代の場合は代引きデータを登録することはできません。' WHERE syscode1 = 'エラー内容種別' AND code_no = 'AY'
go
UPDATE T070CodMst SET code_nm = '出荷先発行の場合は出荷先を指定してください。' WHERE syscode1 = 'エラー内容種別' AND code_no = 'B7'
go

delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '302'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('36','302','ゆうパック　−　局受取（店頭決済あり）','2')
go
delete from T070SigStgMst where SYS_CODE_ID = '36' and CODE_NO = '303'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('36','303','ゆうパック　−　局受取（店頭決済なし）・はこぽす受取','2')
go
delete from T070CodMst where syscode1 = '定形外郵便物規格設定区分'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('定形外郵便物規格設定区分','','','0','','規格内','規格内')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('定形外郵便物規格設定区分','','','1','','規格外','規格外')
go

delete from T070MstDefInpOupDbs where filter_sbt = '1' and field_nm = 'field_yobi03'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi03','1','1','1',0,'定形外郵便物規格設定区分',285,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi03','2','1','1',0,'定形外郵便物規格設定区分',285,'出荷予定トラン')
go

delete from T070MstDefInpOupDbs where filter_sbt = '2' and field_nm = 'field_yobi03'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi03','1','1','1',0,'定形外郵便物規格設定区分',285,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi03','2','1','1',0,'定形外郵便物規格設定区分',285,'出荷履歴トラン')
go

update T070MstDefInpOupDbs set order_no = 102 where field_janm = '定形外郵便物規格設定区分' and order_no = 285
go

update T070MstDefInpOupDbs set order_no = 103 where field_janm = '閾値重量（ｇ）' and order_no = 102
go
update T070MstDefInpOupDbs set order_no = 104 where field_janm = '25kg超重量物区分' and order_no = 103
go
update T070MstDefInpOupDbs set order_no = 105 where field_janm = '書留 損害要償額' and order_no = 104
go
update T070MstDefInpOupDbs set order_no = 106 where field_janm = '速達／配達指定日種別' and order_no = 105
go
update T070MstDefInpOupDbs set order_no = 107 where field_janm = '配達希望日' and order_no = 106
go
update T070MstDefInpOupDbs set order_no = 108 where field_janm = '配達指定日曜日種別' and order_no = 107
go
update T070MstDefInpOupDbs set order_no = 109 where field_janm = '配達時間帯区分' and order_no = 108
go
update T070MstDefInpOupDbs set order_no = 110 where field_janm = '差出方法区分' and order_no = 109
go
update T070MstDefInpOupDbs set order_no = 111 where field_janm = 'ゆうパック往復割引' and order_no = 110
go

update T070MstDefInpOupDbs set order_no = 112 where field_janm = 'ゆうパック数量割引' and order_no = 111
go
update T070MstDefInpOupDbs set order_no = 113 where field_janm = 'ゆうパック複数個割引' and order_no = 112
go
update T070MstDefInpOupDbs set order_no = 114 where field_janm = 'ゆうパック同一割引' and order_no = 113
go
update T070MstDefInpOupDbs set order_no = 115 where field_janm = 'ゆうパック政策運賃割引' and order_no = 114
go
update T070MstDefInpOupDbs set order_no = 116 where field_janm = 'セット商品コード' and order_no = 115
go
update T070MstDefInpOupDbs set order_no = 117 where field_janm = 'セット品名ラベル印字区分' and order_no = 116
go
update T070MstDefInpOupDbs set order_no = 118 where field_janm = '複数個口数' and order_no = 117
go

update T070MstDefInpOupDbs set order_no = 120 where field_janm = '記事名１' and order_no = 119
go
update T070MstDefInpOupDbs set order_no = 121 where field_janm = '記事名２' and order_no = 120
go
update T070MstDefInpOupDbs set order_no = 122 where field_janm = 'フリー項目０１' and order_no = 121
go
update T070MstDefInpOupDbs set order_no = 123 where field_janm = 'フリー項目０２' and order_no = 122
go
update T070MstDefInpOupDbs set order_no = 124 where field_janm = 'フリー項目０３' and order_no = 123
go
update T070MstDefInpOupDbs set order_no = 125 where field_janm = 'フリー項目０４' and order_no = 124
go
update T070MstDefInpOupDbs set order_no = 126 where field_janm = 'フリー項目０５' and order_no = 125
go
update T070MstDefInpOupDbs set order_no = 127 where field_janm = 'フリー項目０６' and order_no = 126
go
update T070MstDefInpOupDbs set order_no = 128 where field_janm = 'フリー項目０７' and order_no = 127
go
update T070MstDefInpOupDbs set order_no = 129 where field_janm = 'フリー項目０８' and order_no = 128
go
update T070MstDefInpOupDbs set order_no = 130 where field_janm = 'フリー項目０９' and order_no = 129
go
update T070MstDefInpOupDbs set order_no = 131 where field_janm = 'フリー項目１０' and order_no = 130
go

update T070MstDefInpOupDbs set order_no = 132 where field_janm = '空港利用区分' and order_no = 131
go
update T070MstDefInpOupDbs set order_no = 133 where field_janm = '空港送達日数利用マップID' and order_no = 132
go
update T070MstDefInpOupDbs set order_no = 134 where field_janm = '空港送達日数郵便番号' and order_no = 133
go
update T070MstDefInpOupDbs set order_no = 135 where field_janm = '空港送達日数局／支店コード' and order_no = 134
go
update T070MstDefInpOupDbs set order_no = 136 where field_janm = '航空会社名' and order_no = 135
go
update T070MstDefInpOupDbs set order_no = 137 where field_janm = '利用便名' and order_no = 136
go
update T070MstDefInpOupDbs set order_no = 138 where field_janm = 'レジャー区分' and order_no = 137
go
update T070MstDefInpOupDbs set order_no = 139 where field_janm = 'プレー・搭乗日' and order_no = 138
go
update T070MstDefInpOupDbs set order_no = 140 where field_janm = 'プレー・搭乗時間' and order_no = 139
go
update T070MstDefInpOupDbs set order_no = 141 where field_janm = 'クラブ本数' and order_no = 140
go

update T070MstDefInpOupDbs set order_no = 142 where field_janm = '復路集貨日' and order_no = 141
go
update T070MstDefInpOupDbs set order_no = 143 where field_janm = '送状発行場所区分' and order_no = 142
go
update T070MstDefInpOupDbs set order_no = 144 where field_janm = '出荷先会員番号' and order_no = 143
go
update T070MstDefInpOupDbs set order_no = 145 where field_janm = '出荷先パソコンID' and order_no = 144
go
update T070MstDefInpOupDbs set order_no = 146 where field_janm = '出荷先ログイングループID' and order_no = 145
go
update T070MstDefInpOupDbs set order_no = 147 where field_janm = '出荷先ログインユーザーID' and order_no = 146
go
update T070MstDefInpOupDbs set order_no = 148 where field_janm = '出荷先ログイングループ名称' and order_no = 147
go
update T070MstDefInpOupDbs set order_no = 149 where field_janm = '出荷先ログインユーザー名称' and order_no = 148
go
update T070MstDefInpOupDbs set order_no = 150 where field_janm = '出荷先郵便番号' and order_no = 149
go
update T070MstDefInpOupDbs set order_no = 151 where field_janm = '出荷先電話番号' and order_no = 150
go

update T070MstDefInpOupDbs set order_no = 152 where field_janm = '出荷先住所-JIS１１' and order_no = 151
go
update T070MstDefInpOupDbs set order_no = 153 where field_janm = '出荷先住所-番地' and order_no = 152
go
update T070MstDefInpOupDbs set order_no = 154 where field_janm = '出荷先住所-号' and order_no = 153
go
update T070MstDefInpOupDbs set order_no = 155 where field_janm = '出荷先住所-ビル名' and order_no = 154
go
update T070MstDefInpOupDbs set order_no = 156 where field_janm = '出荷先送状発行通知区分' and order_no = 155
go
update T070MstDefInpOupDbs set order_no = 157 where field_janm = '出荷先送状発行通知メールアドレス' and order_no = 156
go
update T070MstDefInpOupDbs set order_no = 158 where field_janm = '集荷希望区分' and order_no = 157
go
update T070MstDefInpOupDbs set order_no = 159 where field_janm = '集荷日付' and order_no = 158
go
update T070MstDefInpOupDbs set order_no = 160 where field_janm = '集荷時間帯区分' and order_no = 159
go
update T070MstDefInpOupDbs set order_no = 161 where field_janm = 'R-PS連携区分' and order_no = 160
go

update T070MstDefInpOupDbs set order_no = 162 where field_janm = '代引金額' and order_no = 161
go
update T070MstDefInpOupDbs set order_no = 163 where field_janm = '代引消費税金額' and order_no = 162
go
update T070MstDefInpOupDbs set order_no = 164 where field_janm = '代引課税対象額' and order_no = 163
go
update T070MstDefInpOupDbs set order_no = 165 where field_janm = '代引印紙税額' and order_no = 164
go
update T070MstDefInpOupDbs set order_no = 166 where field_janm = '代引送金手数料' and order_no = 165
go
update T070MstDefInpOupDbs set order_no = 167 where field_janm = '代引送金金額' and order_no = 166
go
update T070MstDefInpOupDbs set order_no = 168 where field_janm = '代引まとめ区分' and order_no = 167
go
update T070MstDefInpOupDbs set order_no = 169 where field_janm = '代引送金方法区分' and order_no = 168
go
update T070MstDefInpOupDbs set order_no = 170 where field_janm = '往路運賃' and order_no = 169
go
update T070MstDefInpOupDbs set order_no = 171 where field_janm = '復路運賃' and order_no = 170
go

update T070MstDefInpOupDbs set order_no = 172 where field_janm = '基本料金小計' and order_no = 171
go
update T070MstDefInpOupDbs set order_no = 173 where field_janm = '割増金額' and order_no = 172
go
update T070MstDefInpOupDbs set order_no = 174 where field_janm = '速達・配達日指定料金内訳' and order_no = 173
go
update T070MstDefInpOupDbs set order_no = 175 where field_janm = '保冷料金内訳' and order_no = 174
go
update T070MstDefInpOupDbs set order_no = 176 where field_janm = '割引金額' and order_no = 175
go
update T070MstDefInpOupDbs set order_no = 177 where field_janm = '郵便料金小計' and order_no = 176
go
update T070MstDefInpOupDbs set order_no = 178 where field_janm = '書留料金' and order_no = 177
go
update T070MstDefInpOupDbs set order_no = 179 where field_janm = '代引引換手数料' and order_no = 178
go
update T070MstDefInpOupDbs set order_no = 180 where field_janm = '調整額' and order_no = 179
go
update T070MstDefInpOupDbs set order_no = 181 where field_janm = 'その他料金小計' and order_no = 180
go

update T070MstDefInpOupDbs set order_no = 182 where field_janm = '運賃消費税(外税)' and order_no = 181
go
update T070MstDefInpOupDbs set order_no = 183 where field_janm = '領収金額計' and order_no = 182
go
update T070MstDefInpOupDbs set order_no = 184 where field_janm = '請求金額' and order_no = 183
go
update T070MstDefInpOupDbs set order_no = 185 where field_janm = '請求金額内消費税' and order_no = 184
go
update T070MstDefInpOupDbs set order_no = 186 where field_janm = '不在留め置き期間' and order_no = 185
go
update T070MstDefInpOupDbs set order_no = 187 where field_janm = '郵便番号エラー区分' and order_no = 186
go
update T070MstDefInpOupDbs set order_no = 188 where field_janm = '業種区分' and order_no = 187
go
update T070MstDefInpOupDbs set order_no = 189 where field_janm = '貨物商品コード' and order_no = 188
go
update T070MstDefInpOupDbs set order_no = 190 where field_janm = '特殊輸送区分' and order_no = 189
go
update T070MstDefInpOupDbs set order_no = 191 where field_janm = '仕分番号' and order_no = 190
go

update T070MstDefInpOupDbs set order_no = 192 where field_janm = '配達店コード' and order_no = 191
go
update T070MstDefInpOupDbs set order_no = 193 where field_janm = '事業所私書箱区分' and order_no = 192
go
update T070MstDefInpOupDbs set order_no = 194 where field_janm = '着運賃ブロック' and order_no = 193
go
update T070MstDefInpOupDbs set order_no = 195 where field_janm = '支払方法区分' and order_no = 194
go
update T070MstDefInpOupDbs set order_no = 196 where field_janm = '適用特別料金種別' and order_no = 195
go
update T070MstDefInpOupDbs set order_no = 197 where field_janm = '料金体系区分' and order_no = 196
go
update T070MstDefInpOupDbs set order_no = 198 where field_janm = '料金計算用サイズまたは重量' and order_no = 197
go
update T070MstDefInpOupDbs set order_no = 199 where field_janm = '料金計算区分' and order_no = 198
go
update T070MstDefInpOupDbs set order_no = 200 where field_janm = '料金計算エラー区分' and order_no = 199
go
update T070MstDefInpOupDbs set order_no = 201 where field_janm = '消費税課税負担者区分' and order_no = 200
go

update T070MstDefInpOupDbs set order_no = 202 where field_janm = '消費税計算区分' and order_no = 201
go
update T070MstDefInpOupDbs set order_no = 203 where field_janm = '引換金計算種別' and order_no = 202
go
update T070MstDefInpOupDbs set order_no = 204 where field_janm = '差出／集荷局 郵便番号' and order_no = 203
go
update T070MstDefInpOupDbs set order_no = 205 where field_janm = '差出／集荷地 都道府県コード' and order_no = 204
go
update T070MstDefInpOupDbs set order_no = 206 where field_janm = '差出／集荷地 市区町村コード' and order_no = 205
go
update T070MstDefInpOupDbs set order_no = 207 where field_janm = '地帯区分' and order_no = 206
go
update T070MstDefInpOupDbs set order_no = 208 where field_janm = '交付種別' and order_no = 207
go
update T070MstDefInpOupDbs set order_no = 209 where field_janm = '加入者名' and order_no = 208
go
update T070MstDefInpOupDbs set order_no = 210 where field_janm = '振替口座' and order_no = 209
go
update T070MstDefInpOupDbs set order_no = 211 where field_janm = '総合口座' and order_no = 210
go

update T070MstDefInpOupDbs set order_no = 212 where field_janm = '代引まとめ精算 代引金額' and order_no = 211
go
update T070MstDefInpOupDbs set order_no = 213 where field_janm = '代引まとめ精算 代引消費税金額' and order_no = 212
go
update T070MstDefInpOupDbs set order_no = 214 where field_janm = '代引まとめ精算 代引課税対象額' and order_no = 213
go
update T070MstDefInpOupDbs set order_no = 215 where field_janm = '代引まとめ精算 印紙税相当額' and order_no = 214
go
update T070MstDefInpOupDbs set order_no = 216 where field_janm = '代引まとめ精算 代引送金手数料' and order_no = 215
go
update T070MstDefInpOupDbs set order_no = 217 where field_janm = '代引まとめ精算 代引送金金額' and order_no = 216
go
update T070MstDefInpOupDbs set order_no = 218 where field_janm = '代引まとめ精算データ書き込み日付' and order_no = 217
go
update T070MstDefInpOupDbs set order_no = 219 where field_janm = '代引まとめ 代金入金日付' and order_no = 218
go
update T070MstDefInpOupDbs set order_no = 220 where field_janm = '代引まとめ 計理日付' and order_no = 219
go
update T070MstDefInpOupDbs set order_no = 221 where field_janm = '代引まとめ決済種別' and order_no = 220
go

update T070MstDefInpOupDbs set order_no = 222 where field_janm = '外部データ取込年月日' and order_no = 221
go
update T070MstDefInpOupDbs set order_no = 223 where field_janm = '連携データ受信年月日' and order_no = 222
go
update T070MstDefInpOupDbs set order_no = 224 where field_janm = '集約年月日' and order_no = 223
go
update T070MstDefInpOupDbs set order_no = 225 where field_janm = '連携データ年月日' and order_no = 224
go
update T070MstDefInpOupDbs set order_no = 226 where field_janm = '送り状発行年月日' and order_no = 225
go
update T070MstDefInpOupDbs set order_no = 227 where field_janm = '受付店控え印刷年月日' and order_no = 226
go
update T070MstDefInpOupDbs set order_no = 228 where field_janm = '発送予約データ作成年月日' and order_no = 227
go
update T070MstDefInpOupDbs set order_no = 229 where field_janm = '追跡番号付番年月日' and order_no = 228
go
update T070MstDefInpOupDbs set order_no = 230 where field_janm = '仮引受データ作成年月日' and order_no = 229
go
update T070MstDefInpOupDbs set order_no = 231 where field_janm = '運賃計算年月日' and order_no = 230
go

update T070MstDefInpOupDbs set order_no = 232 where field_janm = 'お届け先 メール作成年月日' and order_no = 231
go
update T070MstDefInpOupDbs set order_no = 233 where field_janm = 'ご依頼主 メール送信年月日' and order_no = 232
go
update T070MstDefInpOupDbs set order_no = 234 where field_janm = '差出票印刷年月日' and order_no = 233
go
update T070MstDefInpOupDbs set order_no = 235 where field_janm = '受領書印刷年月日' and order_no = 234
go
update T070MstDefInpOupDbs set order_no = 236 where field_janm = '大口FD出力年月日' and order_no = 235
go
update T070MstDefInpOupDbs set order_no = 237 where field_janm = 'プレ印字年月日' and order_no = 236
go
update T070MstDefInpOupDbs set order_no = 238 where field_janm = '仮引受確定作業年月日' and order_no = 237
go
update T070MstDefInpOupDbs set order_no = 239 where field_janm = '配送完了作業年月日' and order_no = 238
go
update T070MstDefInpOupDbs set order_no = 240 where field_janm = '事故完了作業年月日' and order_no = 239
go
update T070MstDefInpOupDbs set order_no = 241 where field_janm = '代引送金完了作業年月日' and order_no = 240
go

update T070MstDefInpOupDbs set order_no = 242 where field_janm = '配達ステータス集約コード' and order_no = 241
go
update T070MstDefInpOupDbs set order_no = 243 where field_janm = '配達ステータス明細コード' and order_no = 242
go
update T070MstDefInpOupDbs set order_no = 244 where field_janm = '出荷元先区分' and order_no = 243
go
update T070MstDefInpOupDbs set order_no = 245 where field_janm = '入力区分' and order_no = 244
go
update T070MstDefInpOupDbs set order_no = 246 where field_janm = '入力補助区分' and order_no = 245
go
update T070MstDefInpOupDbs set order_no = 247 where field_janm = '運賃使用区分' and order_no = 246
go
update T070MstDefInpOupDbs set order_no = 248 where field_janm = 'ゆうメール特別(承認)使用区分' and order_no = 247
go
update T070MstDefInpOupDbs set order_no = 249 where field_janm = '総個数（集約前）' and order_no = 248
go
update T070MstDefInpOupDbs set order_no = 250 where field_janm = '複数個口数・荷札枚数（集約前）' and order_no = 249
go
update T070MstDefInpOupDbs set order_no = 251 where field_janm = '代引金額（集約前）' and order_no = 250
go

update T070MstDefInpOupDbs set order_no = 252 where field_janm = '代引消費税金額（集約前）' and order_no = 251
go
update T070MstDefInpOupDbs set order_no = 253 where field_janm = '貨物価格（集約前）' and order_no = 252
go
update T070MstDefInpOupDbs set order_no = 254 where field_janm = '重量（ｇ）（集約前）' and order_no = 253
go
update T070MstDefInpOupDbs set order_no = 255 where field_janm = '閾値重量（ｇ）（集約前）' and order_no = 254
go
update T070MstDefInpOupDbs set order_no = 256 where field_janm = '書留 損害要償額（集約前）' and order_no = 255
go
update T070MstDefInpOupDbs set order_no = 257 where field_janm = '商品番号' and order_no = 256
go
update T070MstDefInpOupDbs set order_no = 258 where field_janm = '品名' and order_no = 257
go
update T070MstDefInpOupDbs set order_no = 259 where field_janm = '個数' and order_no = 258
go
update T070MstDefInpOupDbs set order_no = 260 where field_janm = '重量（ｇ）' and order_no = 259
go
update T070MstDefInpOupDbs set order_no = 261 where field_janm = '単価' and order_no = 260
go

update T070MstDefInpOupDbs set order_no = 262 where field_janm = '金額' and order_no = 261
go
update T070MstDefInpOupDbs set order_no = 263 where field_janm = '商品備考０１' and order_no = 262
go
update T070MstDefInpOupDbs set order_no = 264 where field_janm = '商品備考０２' and order_no = 263
go
update T070MstDefInpOupDbs set order_no = 265 where field_janm = '商品備考０３' and order_no = 264
go
update T070MstDefInpOupDbs set order_no = 266 where field_janm = '商品備考０４' and order_no = 265
go
update T070MstDefInpOupDbs set order_no = 267 where field_janm = '商品備考０５' and order_no = 266
go
update T070MstDefInpOupDbs set order_no = 268 where field_janm = '商品備考０６' and order_no = 267
go
update T070MstDefInpOupDbs set order_no = 269 where field_janm = '商品備考０７' and order_no = 268
go
update T070MstDefInpOupDbs set order_no = 270 where field_janm = '商品備考０８' and order_no = 269
go
update T070MstDefInpOupDbs set order_no = 271 where field_janm = '商品備考０９' and order_no = 270
go
update T070MstDefInpOupDbs set order_no = 272 where field_janm = '商品備考１０' and order_no = 271
go

update T070MstDefInpOupDbs set order_no = 275 where field_janm = 'お客様指定配送種類' and order_no = 274
go
update T070MstDefInpOupDbs set order_no = 276 where field_janm = '予約・確定識別コード' and order_no = 275
go
update T070MstDefInpOupDbs set order_no = 277 where field_janm = 'コンビニ等判別コード' and order_no = 276
go
update T070MstDefInpOupDbs set order_no = 278 where field_janm = 'コンビニ等受取 通販業者コード' and order_no = 277
go
update T070MstDefInpOupDbs set order_no = 279 where field_janm = 'コンビニ等受取 コンビニコード' and order_no = 278
go
update T070MstDefInpOupDbs set order_no = 280 where field_janm = 'コンビニ等受取 コンビニ名' and order_no = 279
go
update T070MstDefInpOupDbs set order_no = 281 where field_janm = 'コンビニ等受取 店舗コード' and order_no = 280
go

update T070MstDefInpOupDbs set order_no = 282 where field_janm = 'コンビニ等受取 店舗名' and order_no = 281
go
update T070MstDefInpOupDbs set order_no = 283 where field_janm = 'コンビニ等受取 認証番号' and order_no = 282
go
update T070MstDefInpOupDbs set order_no = 284 where field_janm = 'コンビニ等受取 備考１' and order_no = 283
go
update T070MstDefInpOupDbs set order_no = 285 where field_janm = 'コンビニ等受取 備考２' and order_no = 284
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and RcdAplSttYmd ='20120901' and RcdAplTmtYmd ='20140331'
go
delete from T999ZIPSUM where yubin_sbt = '2' and yubin_sbt_nm = '定形郵便' and RcdAplSttYmd ='20120901' and RcdAplTmtYmd ='20140331'
go
delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and RcdAplSttYmd ='20120901' and RcdAplTmtYmd ='20140331'
go
delete from T999ZIPSUM where yubin_sbt = '5' and yubin_sbt_nm = 'ポスパケット' and RcdAplSttYmd ='20120901' and RcdAplTmtYmd ='20140331'
go

update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 2000 and kihon_kin = 460 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 3000 and kihon_kin = 610 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn ='01000000' and yubin_kbn_nm ='速達' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 2000 and kihon_kin = 0 and kihon_gaku = 0 and kihon_warimasi = 320 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn ='01000000' and yubin_kbn_nm ='速達' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 3000 and kihon_kin = 0 and kihon_gaku = 0 and kihon_warimasi = 470 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 500 and kihon_kin = 400 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 1000 and kihon_kin = 600 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 2000 and kihon_kin = 870 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 3000 and kihon_kin = 1180 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 4000 and kihon_kin = 1180 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn ='01000000' and yubin_kbn_nm ='速達' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 4000 and kihon_kin = 0 and kihon_gaku = 0 and kihon_warimasi = 650 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 500 and kihon_kin = 400 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531', Upd_ymd ='2017/04/01' where  yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 1000 and kihon_kin = 600 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 2000 and kihon_kin = 870 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 3000 and kihon_kin = 1180 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go
update T999ZIPSUM set RcdAplTmtYmd ='20170531',Upd_ymd ='2017/04/01' where  yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn ='00000000' and yubin_kbn_nm ='普通' and haiten_area ='0' and haiten_area_nm ='全国一律' and jyuryo = 4000 and kihon_kin = 1180 and kihon_gaku = 0 and kihon_warimasi = 0 and option_gaku = 0 and option_warimasi = 0 and jyogen_gaku = 0 and option_waribiki = 0
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='速達' and RcdAplSttYmd = '20170601' and RcdAplTmtYmd = '99991231'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000000','速達','0','全国一律',1000,0,0,320,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000100','規格外','0','全国一律',150,265,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000100','規格外','0','全国一律',250,305,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000100','規格外','0','全国一律',500,400,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000100','規格外','0','全国一律',1000,450,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000100','規格外','0','全国一律',2000,560,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000100','規格外','0','全国一律',3000,710,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外代引'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00010100','規格外代引','0','全国一律',0,0,0,260,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外簡易書留'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00100100','規格外簡易書留','0','全国一律',0,0,50000,310,0,0,50000,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外書留'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00200100','規格外書留','0','全国一律',0,0,100000,370,50000,21,5000000,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外特定記録'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00300100','規格外特定記録','0','全国一律',0,0,0,160,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外速達'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000100','規格外速達','0','全国一律',2000,0,0,320,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000100','規格外速達','0','全国一律',3000,0,0,470,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '1' and yubin_sbt_nm = 'ゆうメール' and yubin_kbn_nm ='規格外配達日指定'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','02000100','規格外配達日指定','0','全国一律',0,0,0,51,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='普通' and RcdAplSttYmd = '20170601' and RcdAplTmtYmd = '99991231'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律',500,380,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律',1000,570,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',50,200,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',100,220,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',150,290,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',250,340,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',500,500,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',1000,700,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',2000,1020,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',3000,1330,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',4000,1330,0,0,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外代引'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00010100','規格外代引','0','全国一律',0,0,0,260,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外簡易書留'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00100100','規格外簡易書留','0','全国一律',0,0,50000,310,0,0,50000,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外書留'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00200100','規格外書留','0','全国一律',0,0,100000,430,50000,21,5000000,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外特定記録'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00300100','規格外特定記録','0','全国一律',0,0,0,160,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外速達'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',250,0,0,280,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',1000,0,0,380,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',4000,0,0,650,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外配達日指定'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','02000100','規格外配達日指定','0','全国一律',0,0,0,31,0,179,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '3' and yubin_sbt_nm = '定形外郵便' and yubin_kbn_nm ='規格外新特急'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','05000100','規格外新特急','0','全国一律（条件付）',0,0,0,822,0,0,0,0,'20170601','99991231','0','2014/03/13','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn_nm ='普通' and RcdAplSttYmd = '20170601' and RcdAplTmtYmd = '99991231'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律',500,380,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律',1000,570,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn_nm = '規格外'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',50,200,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',100,220,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',150,290,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',250,340,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',500,500,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',1000,700,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',2000,1020,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',3000,1330,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',4000,1330,0,0,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn_nm ='規格外書留'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00200100','規格外書留','0','全国一律',0,0,100000,430,50000,21,5000000,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

delete from T999ZIPSUM where yubin_sbt = '8' and yubin_sbt_nm = '定形外配達時間帯指定郵便' and yubin_kbn_nm ='規格外配達時間指定'
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000100','規格外配達時間指定','0','全国一律（条件付）',250,0,0,330,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000100','規格外配達時間指定','0','全国一律（条件付）',1000,0,0,430,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go
insert into T999ZIPSUM(
com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id, Upd_login_user_id
) values (
'ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000100','規格外配達時間指定','0','全国一律（条件付）',4000,0,0,700,0,0,0,0,'20170601','99991231','0','2017/04/01','2017/04/01','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ'
)
go

DELETE FROM T070MsgMst WHERE message_id =  'I0742010048'
go
INSERT INTO T070MsgMst(message_id,message_nm)
VALUES('I0742010048','規格内でお取り扱いできない重量が入力されています。
規格外として登録しますが、よろしいですか？')
go
DELETE FROM T070MsgMst WHERE message_id =  'I0742010049'
go
INSERT INTO T070MsgMst(message_id,message_nm)
VALUES('I0742010049','規格内でお取り扱いできない重量のデータが含まれています。
規格外に変更してから印刷しますがよろしいですか？')
go

delete from T070CodMst where syscode1 = '対応内容種別' and syscode2 = '' and syscode3 = '' and code_no = '12'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('対応内容種別','','','12','','規格内でお取り扱いできない重量のため、規格外として取り込みました。','')
go
alter table T070TplDpcPlnTrxCnf_2 add field_yobi01 nvarchar(200) NULL, field_yobi02 nvarchar(200) NULL, field_yobi03 nvarchar(20) NULL, field_yobi04 nvarchar(20) NULL, field_yobi05 nvarchar(20) NULL, field_yobi06 nvarchar(20) NULL, field_yobi07 nvarchar(20) NULL, field_yobi08 nvarchar(20) NULL, field_yobi09 nvarchar(20) NULL, field_yobi10 nvarchar(20) NULL
go

INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi03'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go
alter table T070DTplpcPlnTrxHer_3 add field_yobi01 nvarchar(200) NULL, field_yobi02 nvarchar(200) NULL, field_yobi03 nvarchar(20) NULL, field_yobi04 nvarchar(20) NULL, field_yobi05 nvarchar(20) NULL, field_yobi06 nvarchar(20) NULL, field_yobi07 nvarchar(20) NULL, field_yobi08 nvarchar(20) NULL, field_yobi09 nvarchar(20) NULL, field_yobi10 nvarchar(20) NULL
go
update T070DTplpcPlnTrxHer_3 set field_yobi03 = '0' where field_yobi03 is null
go
update T070DpcPlnTrxHer_3 set field_yobi03 = '0' where field_yobi03 is null
go

delete from T070SigStgMst where SYS_CODE_ID = '78' and CODE_NO = '3'
go
delete from T070SigStgMst where SYS_CODE_ID = '78' and CODE_NO = '4'
go
delete from T070SigStgMst where SYS_CODE_ID = '78' and CODE_NO = '5'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03) values('78','3','490001','日本郵便CVS受取','010')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('78','4','430001','日本郵便CVS受取')
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('78','5','600001','日本郵便CVS受取')
go
update T070SigStgMst set CONSTANT02 = 'https://pickup.lawson.jp/bcd/vw.php?JN=[tsuiseki_no]&NN=[cvs_ninsho_no]&CP=[cvs_gyosya_cd]' where SYS_CODE_ID = '74' and CODE_NO = '2'
go

delete from T070SigStgMst where SYS_CODE_ID = '78' and CODE_NO = '6'
go
insert into T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02) values('78','6','601001','ポンパレ')
go

UPDATE T070MstStgAuxInpOupBDw
SET 
  T070MstStgAuxInpOupBDw.column_seq_no = 11
FROM (T070MstStgAuxInpOupBDw
     INNER JOIN T070MstStgInpOupHer
      ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
      AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
      AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
      AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
      AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id))
WHERE
  (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE'
    AND T070MstStgAuxInpOupBDw.column_seq_no = 12
    AND T070MstStgAuxInpOupBDw.renban = 1
    AND T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')  
go

UPDATE T070MstStgAuxInpOupBDw
SET 
  T070MstStgAuxInpOupBDw.column_seq_no = 15
FROM (T070MstStgAuxInpOupBDw
     INNER JOIN T070MstStgInpOupHer
      ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
      AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
      AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
      AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
      AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id))
WHERE
  (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD'
    AND T070MstStgAuxInpOupBDw.column_seq_no = 42
    AND T070MstStgAuxInpOupBDw.renban = 1 
    AND T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')  
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2'
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr1')
    AND (T070MstStgAuxInpOupBDw.renban = 3) 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 81) 
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'todoke_kokyaku_adr1'
  , 3
  , 81
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 81)
  ) 
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2'
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr2')
    AND (T070MstStgAuxInpOupBDw.renban = 3) 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 81) 
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'todoke_kokyaku_adr2'
  , 3
  , 81
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 81)
  ) 
go

UPDATE T070MstStgAuxInpOupBDw
SET 
  T070MstStgAuxInpOupBDw.renban = 3 ,T070MstStgAuxInpOupBDw.column_seq_no = 81
FROM (T070MstStgAuxInpOupBDw
     INNER JOIN T070MstStgInpOupHer
      ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
      AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
      AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
      AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
      AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id))
WHERE
  (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2'
    AND T070MstStgAuxInpOupBDw.column_seq_no = 81
    AND T070MstStgAuxInpOupBDw.renban = 1 
    AND T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')
  
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2'
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')
    AND (T070MstStgAuxInpOupBDw.renban = 1) 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 16) 
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'todoke_kokyaku_adr3'
  , 1
  , 16
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr1')
    AND (T070MstStgAuxInpOupBDw.renban = 1)
  ) 
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'YUPA_STANDARD2'
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr3')
    AND (T070MstStgAuxInpOupBDw.renban = 2) 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 17) 
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'todoke_kokyaku_adr3'
  , 2
  , 17
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'YUPA_STANDARD2') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'todoke_kokyaku_adr2')
    AND (T070MstStgAuxInpOupBDw.renban = 2)
  ) 
go

alter table T070DpcPlnTrxHer_3 alter column field_yobi04 nvarchar(50)
go

alter table T070TplDpcPlnTrxCnf_2 alter column field_yobi04 nvarchar(50)
go

alter table T070DTplpcPlnTrxHer_3 alter column field_yobi04 nvarchar(50)
go

delete from T070MstDefInpOupDbs where filter_sbt = '1' and field_nm = 'field_yobi04'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi04','1','1','50',0,'受注番号(楽天専用)',286,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi04','2','1','50',0,'受注番号(楽天専用)',286,'出荷予定トラン')
go

delete from T070MstDefInpOupDbs where filter_sbt = '2' and field_nm = 'field_yobi04'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi04','1','1','50',0,'受注番号(楽天専用)',286,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi04','2','1','50',0,'受注番号(楽天専用)',286,'出荷履歴トラン')
go

DELETE T070MstStgInpOupBDw
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgInpOupBDw.field_nm = 'field_yobi04') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi04'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'field_yobi04') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 32) 
  ) 
go

INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'field_yobi04'
  , T070MstStgAuxInpOupBDw.renban
  , 32
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

DELETE T070MstStgInpOupBDw
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgInpOupBDw.field_nm = 'field_yobi04') 
  ) 
go
INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi04'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'field_yobi04') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 41)
  ) 
go
INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'field_yobi04'
  , T070MstStgAuxInpOupBDw.renban
  , 41
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

update T070PrtLblCnfMst set yobi7_kbn = '2' where comprint_no like '7P02R08001%' or comprint_no like '7P02R08002%' or comprint_no like '1800800001%' or comprint_no like '1800800012%'
go

UPDATE T070VerInf set download_ver = '20141001090000', update_ver = '20141001090000' where ver_sbt = '01' and table_name = 'T060LPMember'
go

UPDATE T070DpcPlnTrxHer_3 

SET T070DpcPlnTrxHer_3.field_yobi05 = '0' 

WHERE T070DpcPlnTrxHer_3.field_yobi05 is null
go

delete from T070CodMst where syscode1 = '重量ゆうパック区分'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('重量ゆうパック区分','','','0','','なし','')
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('重量ゆうパック区分','','','1','','あり','重量')
go
alter table T070WrkTblPriIvc add field_yobi05 nvarchar(1) NULL
go
delete from T070MstDefInpOupDbs where field_nm = 'goirai_todokehagaki_kbn'
go 
delete from T070MstStgInpOupBDw where field_nm = 'goirai_todokehagaki_kbn'
go
delete from T070MstStgAuxInpOupBDw where field_nm = 'goirai_todokehagaki_kbn'
go
delete from T070MstDefInpOupDbs where field_nm = 'todokehagaki_kbn'
go
delete from T070MstStgInpOupBDw where field_nm = 'todokehagaki_kbn'
go
delete from T070MstStgAuxInpOupBDw where field_nm = 'todokehagaki_kbn'
go
delete from T070MstStgAuxInpOupBDw where field_nm = 'over_25kg_kbn'
go
delete from T070MstDefInpOupDbs where field_nm = 'over_25kg_kbn'
go 
delete from T070MstStgInpOupBDw where field_nm = 'over_25kg_kbn'
go
delete from T070MstStgAuxInpOupBDw where field_nm = 'yupack_suryowari_kbn'
go
delete from T070MstDefInpOupDbs where field_nm = 'yupack_suryowari_kbn'
go 
delete from T070MstStgInpOupBDw where field_nm = 'yupack_suryowari_kbn'
go
delete from T070MstDefInpOupDbs where filter_sbt = '1' and field_nm = 'field_yobi05'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi05','1','1','1',0,'重量ゆうパック区分',104,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi05','2','1','1',0,'重量ゆうパック区分',104,'出荷予定トラン')
go
delete from T070MstDefInpOupDbs where filter_sbt = '2' and field_nm = 'field_yobi05'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi05','1','1','1',0,'重量ゆうパック区分',104,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi05','2','1','1',0,'重量ゆうパック区分',104,'出荷履歴トラン')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and code_no = 'BQ'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BQ','','郵便商品で重量ゆうパックは指定できません。','')
go
delete from T070CodMst where syscode1 = 'エラー内容種別' and code_no = 'BR'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('エラー内容種別','','','BR','','重量ゆうパックで特殊取扱の指定はできません。','')
go
delete from T070CodMst where syscode1 = '対応内容種別' and code_no = '13'
go
insert into T070CodMst(syscode1,syscode2,syscode3,code_no,syscode_nm,code_nm,code_ryaku_nm) values ('対応内容種別','','','13','','重量ゆうパック区分または特殊取扱を修正してください。','')
go
update T070PrtLblCnfMst set yupac_hagaki_shitei_kbn = '0' where comprint_no like '1100701%' or comprint_no like '1100706%' or comprint_no like '1100725%' or comprint_no like '1100728%' or comprint_no like '1100782%'
go
delete from T070MsgMst where message_id =  'E0742019115'
go
insert into T070MsgMst values ('E0742019115','重量ゆうパックで特殊取扱が指定されたデータが存在します。
印刷処理を中断します。',null,null)
go

delete from T070ConvrnPslClaCgoPdt where over_25kg_kbn = '2'
go
insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id)
values ('0','0','0','0','0','0','0','0','2','0','0','','0','0','0','2','41','101','00100','151','00','57010','0000000004000000','20180301','99991231',NULL,NULL,'')
go

insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id)
values ('0','0','1','0','0','0','0','0','2','0','0','','0','0','0','2','44','106','00200','251','00','57020','0000000004000000','20180301','99991231',NULL,NULL,'')
go

insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id)
values ('0','0','0','1','0','0','0','0','2','0','0','','0','2','0','2','52','103','00110','651','00','57010','0000000084000000','20180301','99991231',NULL,NULL,'')
go

insert into T070ConvrnPslClaCgoPdt(yubin_sbt,horei_sbt,motochaku_sbt,daibiki_sbt,kakitome_security_sbt,yupack_oufuk_kbn,kukoriyo_kbn,leisure_kbn,over_25kg_kbn,haitatsu_zon_shiteiyubin_sbt,haitatsushitei_sbt,haitatsushitei_yobi_sbt,jigyoshoshishobako_kbn,daibiki_matome_kbn,yumail_spsiyo_kbn,tsuiseki_no_shikibetsu_cd,no_shohin_cd,yuubin_bunrui_cd,label_print_shohin_cd,kamotsu_shohin_cd,tyui_cd,yubin_sbt_cd,tokusyu_tori_cd,RcdAplSttYmd,RcdAplTmtYmd,toroku_ymd,koshin_ymd,koshin_login_group_id)
values ('0','0','0','1','0','0','0','0','2','0','0','','0','1','0','2','50','107','00100','151','07','57010','000000000C000000','20180301','99991231',NULL,NULL,'')
go

update T070ConvrnPslClaCgoPdt set tyui_cd = '00' where yubin_sbt = '0' and tyui_cd = '05'
go
update T070ConvrnPslClaCgoPdt set tyui_cd = '01' where yubin_sbt = '0' and tyui_cd = '06'
go
update T070ConvrnPslClaCgoPdt set tyui_cd = '07' where yubin_sbt = '0' and tyui_cd = '12'
go
update T070ConvrnPslClaCgoPdt set tyui_cd = '08' where yubin_sbt = '0' and tyui_cd = '13'
go
update T070ConvrnPslClaCgoPdt set tyui_cd = '11' where yubin_sbt = '0' and tyui_cd = '16'
go
update T070ConvrnPslClaCgoPdt set tyui_cd = '18' where yubin_sbt = '0' and tyui_cd = '23'
go

delete from T070DispColumnChange where columnnm = 'ご依頼主 お届け通知はがき使用区分'
go
delete from T070DispColumnChange where columnnm = '25kg超荷物'
go
delete from T070DispColumnChange where columnnm = 'ゆうパック数量割引'
go
delete from T070DispColumnChange where columnnm = '２５kg超重量物区分'
go
delete from T070DispColumnChange where columnnm = 'お届け通知はがき使用区分'
go

UPDATE T070DpcPlnTrxHer_3 
SET
      T070DpcPlnTrxHer_3.field_yobi05 = '1' 
      FROM (T070DpcPlnTrxHer_3 
      INNER JOIN T070DpcPlnTrxHer_2 
      ON (T070DpcPlnTrxHer_3.meisai_eda_no = T070DpcPlnTrxHer_2.meisai_eda_no) 
      AND (T070DpcPlnTrxHer_3.meisai_no = T070DpcPlnTrxHer_2.meisai_no) 
      AND (T070DpcPlnTrxHer_3.kanri_no = T070DpcPlnTrxHer_2.kanri_no) 
      AND (T070DpcPlnTrxHer_3.login_user_id = T070DpcPlnTrxHer_2.login_user_id) 
      AND (T070DpcPlnTrxHer_3.login_group_id = T070DpcPlnTrxHer_2.login_group_id) 
      AND (T070DpcPlnTrxHer_3.com_pc_id = T070DpcPlnTrxHer_2.com_pc_id) 
      AND (T070DpcPlnTrxHer_3.com_member_id = T070DpcPlnTrxHer_2.com_member_id)) 

WHERE
      T070DpcPlnTrxHer_2.over_25kg_kbn = '1' and T070DpcPlnTrxHer_3.okuriprint_ymd is null
go

DELETE FROM T070DefLdgShtMst 
WHERE
COMPRINT_NO = '1700800001' AND
REPORT_FILE_NM = '420107P02R30001.rpx' OR
COMPRINT_NO = '1700800002' AND
REPORT_FILE_NM = '420107P02R30002.rpx' OR
COMPRINT_NO = '1700800003' AND
REPORT_FILE_NM = '420107P02R30003.rpx' OR
COMPRINT_NO = '1700800004' AND
REPORT_FILE_NM = '420107P02R30004.rpx' OR
COMPRINT_NO ='1700800005' AND
REPORT_FILE_NM = '420107P02R30005.rpx'

go

DELETE FROM T070PrtLblCnfMst
WHERE
COMPRINT_NO = '1700800001' OR
COMPRINT_NO = '1700800002' OR
COMPRINT_NO = '1700800003' OR
COMPRINT_NO = '1700800004' OR
COMPRINT_NO = '1700800005'

go

DELETE FROM T070SepDefLdgShtMstHer
WHERE
COMPRINT_NO = '1700800001' AND REPORT_FILE_NM = '420107P02R30001.rpx' OR
COMPRINT_NO = '1700800002' AND REPORT_FILE_NM = '420107P02R30002.rpx' OR
COMPRINT_NO = '1700800003' AND REPORT_FILE_NM = '420107P02R30003.rpx' OR
COMPRINT_NO = '1700800004' AND REPORT_FILE_NM = '420107P02R30004.rpx' OR
COMPRINT_NO = '1700800005' AND REPORT_FILE_NM = '420107P02R30005.rpx'

go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE
COMREPORT_NO = '1700800001' OR
COMREPORT_NO = '1700800002' OR
COMREPORT_NO = '1700800003' OR
COMREPORT_NO = '1700800004' OR
COMREPORT_NO = '1700800005'

go

UPDATE T070MemberTuisekiNoWaku
SET TSUISEKI_NO_KOSU = 0
WHERE
KAMOTSUSHOHINCD = '208' OR
KAMOTSUSHOHINCD = '209'
go

UPDATE T070TsuisekiNo
SET tsuiseki_no_now = CAST(CAST(TsuisekiNoTo As bigint) + 1 AS CHAR)
WHERE 
KamotsuShohinCD = '208' OR
KamotsuShohinCD = '209'
go

delete from T070MstDefInpOupDbs where filter_sbt = '1' and field_nm = 'field_yobi06'
go
delete from T070MstDefInpOupDbs where filter_sbt = '2' and field_nm = 'field_yobi06'
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi06','1','1','10',0,'送付先ID(楽天専用)',287,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('1','field_yobi06','2','1','10',0,'送付先ID(楽天専用)',287,'出荷予定トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi06','1','1','10',0,'送付先ID(楽天専用)',287,'出荷履歴トラン')
go
insert into T070MstDefInpOupDbs(filter_sbt,field_nm,io_kbn,field_type,field_size_sys,field_size_deci,field_janm,order_no,table_nm) values('2','field_yobi06','2','1','10',0,'送付先ID(楽天専用)',287,'出荷履歴トラン')
go

DELETE T070MstStgInpOupBDw
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgInpOupBDw.field_nm = 'field_yobi06') 
  ) 
go

INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi06'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'field_yobi06') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 33) 
  ) 
go

INSERT
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'field_yobi06'
  , T070MstStgAuxInpOupBDw.renban
  , 33
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

DELETE T070MstStgInpOupBDw
FROM
  T070MstStgInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgInpOupBDw.field_nm = 'field_yobi06') 
  ) 
go

INSERT 
INTO T070MstStgInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , hd_kbn
  , item_pos
  , item_len
  , format_kbn
  , header_break
  , check_not_null
  , check_repeat
  , trim_kbn
  , item_fix
  , ins_ymd
  , upd_ymd
  , io_kbn
) 
SELECT
  T070MstStgInpOupBDw.com_member_id
  , T070MstStgInpOupBDw.com_pc_id
  , T070MstStgInpOupBDw.login_group_id
  , T070MstStgInpOupBDw.login_user_id
  , T070MstStgInpOupBDw.filter_nm
  , 'field_yobi06'
  , ''
  , null
  , null
  , '0'
  , '0'
  , '0'
  , '0'
  , ''
  , ''
  , T070MstStgInpOupBDw.ins_ymd
  , T070MstStgInpOupBDw.upd_ymd
  , T070MstStgInpOupBDw.io_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgInpOupBDw.com_member_id) 
WHERE
  (T070MstStgInpOupHer.filter_sbt = '2')
    AND (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgInpOupBDw.field_nm = 'okyakusama_kanri_no') 
go

DELETE T070MstStgAuxInpOupBDw
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_CONVENIENCE' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'field_yobi06') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 42)
  ) 
go

INSERT 
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'field_yobi06'
  , T070MstStgAuxInpOupBDw.renban
  , 42
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_CONVENIENCE') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

DELETE FROM T070CodMst WHERE Syscode1 = 'フォーマット種別別見出し' AND Syscode2 = 'O_RAKUTEN_PAY'
go

INSERT INTO T070CodMst (syscode1,syscode2,syscode3,code_no,code_nm)VALUES('フォーマット種別別見出し','O_RAKUTEN_PAY','1','01','注文番号')
go
INSERT INTO T070CodMst (syscode1,syscode2,syscode3,code_no,code_nm)VALUES('フォーマット種別別見出し','O_RAKUTEN_PAY','1','02','送付先ID')
go
INSERT INTO T070CodMst (syscode1,syscode2,syscode3,code_no,code_nm)VALUES('フォーマット種別別見出し','O_RAKUTEN_PAY','1','03','発送明細ID')
go
INSERT INTO T070CodMst (syscode1,syscode2,syscode3,code_no,code_nm)VALUES('フォーマット種別別見出し','O_RAKUTEN_PAY','1','04','お荷物伝票番号')
go
INSERT INTO T070CodMst (syscode1,syscode2,syscode3,code_no,code_nm)VALUES('フォーマット種別別見出し','O_RAKUTEN_PAY','1','05','配送会社')
go
INSERT INTO T070CodMst (syscode1,syscode2,syscode3,code_no,code_nm)VALUES('フォーマット種別別見出し','O_RAKUTEN_PAY','1','06','発送日')
go

DELETE FROM T070CodMst
WHERE syscode1 = '出力フィルタフォーマット種別'
AND code_no = '30'
AND code_nm = '楽天ペイ発送完了報告'
go

INSERT INTO T070CodMst
(
syscode1,
syscode2,
syscode3,
code_no,
syscode_nm,
code_nm,
code_ryaku_nm,
toroku_ymd,
koshin_ymd
)
VALUES
(
'出力フィルタフォーマット種別',
'',
'',
'30',
'',
'楽天ペイ発送完了報告',
'',
NULL,
NULL
)
go

DELETE FROM T070SigStgMst
WHERE 
SYS_CODE_ID = '64' AND
CODE_NO = '30' AND
CONSTANT01 = 'O_RAKUTEN_PAY'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04,
CONSTANT05,
CONSTANT06,
CONSTANT07,
CONSTANT08,
CONSTANT09,
CONSTANT10,
toroku_ymd,
koshin_ymd
)
VALUES
(
'64',
'30',
'O_RAKUTEN_PAY',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
)
go

DELETE FROM T070CodMst
WHERE syscode1 = 'エラー内容種別'
AND code_no = 'BS'
AND code_nm = '出荷先発行では拠点受取のデータは取り込みできません。'
go

INSERT INTO T070CodMst
(
syscode1,
syscode2,
syscode3,
code_no,
syscode_nm,
code_nm,
code_ryaku_nm,
toroku_ymd,
koshin_ymd
)
VALUES
(
'エラー内容種別',
'',
'',
'BS',
'',
'出荷先発行では拠点受取のデータは取り込みできません。',
'',
NULL,
NULL
)
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID = '51' AND
CODE_NO = '57'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04
)
VALUES
(
'51',
'57',
'19〜21時',
'19',
'21',
'66'
)
go

DELETE FROM T070CodMst
WHERE
syscode1 = '配達時間帯区分' AND
syscode2 = '07' AND
code_no = '57'
go

INSERT INTO T070CodMst(
syscode1,
syscode2,
syscode3,
code_no,
syscode_nm,
code_nm,
code_ryaku_nm
)
VALUES
(
'配達時間帯区分',
'07',
'',
'57',
'',
'19〜21時',
'19〜21時'
)
go

UPDATE T070CodMst
SET syscode2 = '01'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='00' AND
code_nm = '希望しない' AND
code_ryaku_nm = '希望しない'
go

UPDATE T070CodMst
SET syscode2 = '02'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='51' AND
code_nm = '午前中' AND
code_ryaku_nm = '午前中'
go

UPDATE T070CodMst
SET syscode2 = '03'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='52' AND
code_nm = '12〜14時' AND
code_ryaku_nm = '12〜14時'
go

UPDATE T070CodMst
SET syscode2 = '04'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='53' AND
code_nm = '14〜16時' AND
code_ryaku_nm = '14〜16時'
go

UPDATE T070CodMst
SET syscode2 = '05'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='54' AND
code_nm = '16〜18時' AND
code_ryaku_nm = '16〜18時'
go

UPDATE T070CodMst
SET syscode2 = '06'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='55' AND
code_nm = '18〜20時' AND
code_ryaku_nm = '18〜20時'
go

UPDATE T070CodMst
SET syscode2 = '08'
WHERE syscode1 = '配達時間帯区分' AND
code_no ='56' AND
code_nm = '20〜21時' AND
code_ryaku_nm = '20〜21時'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(元払B)（ュ00661）'
WHERE
comprint_no = '1100661'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(元払B)（ュ00661）'
WHERE
comprint_no = '1100661'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(B)（ュ00701）'
WHERE
comprint_no = '1100701'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(B)（ュ00701）'
WHERE
comprint_no = '1100701'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(B2)（ュ00706）'
WHERE
comprint_no = '1100706'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(B2)（ュ00706）'
WHERE
comprint_no = '1100706'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]セキュリティゆうパックラベル（ュ00725）'
WHERE
comprint_no = '1100725'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]セキュリティゆうパックラベル（ュ00725）'
WHERE
comprint_no = '1100725'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]着払ゆうパックラベル（ュ00728）'
WHERE
comprint_no = '1100728'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]着払ゆうパックラベル（ュ00728）'
WHERE
comprint_no = '1100728'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]（旧）代引ゆうパックラベル(一般･通常)（ュ00740）'
WHERE
comprint_no = '1100740'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]（旧）代引ゆうパックラベル(一般･通常)（ュ00740）'
WHERE
comprint_no = '1100740'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]代引ゆうパックラベル(一般･通常)（ュ00740）'
WHERE
comprint_no = '1100740001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]代引ゆうパックラベル(一般･通常)（ュ00740）'
WHERE
comprint_no = '1100740001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]代引ゆうパックラベル(一般･電信)（ュ00741）'
WHERE
comprint_no = '1100741'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]代引ゆうパックラベル(一般･電信)（ュ00741）'
WHERE
comprint_no = '1100741'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
WHERE
comprint_no = '1100742'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
WHERE
comprint_no = '1100742'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(元払A)（ュ00651）'
WHERE
comprint_no = '1150651'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(元払A)（ュ00651）'
WHERE
comprint_no = '1150651'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
WHERE
comprint_no = '1150740'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
WHERE
comprint_no = '1150740'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100701001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100701001'
,'ゆうパックラベル(B)（ュ00701）'
,'420107P01R02001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100701'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100701001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100701'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100701001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100701001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100701001'
,comprint_eda_no
,copy_no
,'ゆうパックラベル(B)（ュ00701）'
,'420107P01R02001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100701'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100701001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100701001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100701001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100701'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100701001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100706001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100706001'
,'ゆうパックラベル(B2)（ュ00706）'
,'420107P01R24001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100706'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100706001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100706'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100706001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100706001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100706001'
,comprint_eda_no
,copy_no
,'ゆうパックラベル(B2)（ュ00706）'
,'420107P01R24001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100706'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100706001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100706001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100706001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100706'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100706001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1150651001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1150651001'
,'ゆうパックラベル(元払A)（ュ00651）'
,'420107P01R07001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1150651'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150651001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1150651'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1150651001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1150651001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150651001'
,comprint_eda_no
,copy_no
,'ゆうパックラベル(元払A)（ュ00651）'
,'420107P01R07001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1150651'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1150651001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1150651001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150651001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1150651'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1150651001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100661001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100661001'
,'ゆうパックラベル(元払B)（ュ00661）'
,'420107P01R23001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100661'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100661001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100661'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100661001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100661001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100661001'
,comprint_eda_no
,copy_no
,'ゆうパックラベル(元払B)（ュ00661）'
,'420107P01R23001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100661'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100661001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100661001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100661001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100661'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100661001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100725001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100725001'
,'セキュリティゆうパックラベル（ュ00725）'
,'420107P01R03001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100725'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100725001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100725'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100725001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100725001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100725001'
,comprint_eda_no
,copy_no
,'セキュリティゆうパックラベル（ュ00725）'
,'420107P01R03001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100725'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100725001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100725001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100725001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100725'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100725001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100728001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100728001'
,'着払ゆうパックラベル（ュ00728）'
,'420107P01R04001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100728'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100728001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100728'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100728001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100728001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100728001'
,comprint_eda_no
,copy_no
,'着払ゆうパックラベル（ュ00728）'
,'420107P01R04001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100728'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100728001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100728001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100728001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100728'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100728001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100742001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100742001'
,'（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06003.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100742'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100742'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100742001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100742001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742001'
,comprint_eda_no
,copy_no
,'（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06003.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100742'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100742001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100742001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100742'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100742001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1150740001'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1150740001'
,'（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
,'420107P01R08001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1150740'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150740001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1150740'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1150740001'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1150740001'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150740001'
,comprint_eda_no
,copy_no
,'（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
,'420107P01R08001.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1150740'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1150740001'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1150740001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150740001'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1150740'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1150740001'
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID = '75' AND
CODE_NO = '5' AND
CONSTANT01 = '1100742001'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02
)
VALUES
(
'75',
'5',
'1100742001',
'0'
)
go

DELETE FROM T070MsgMst
WHERE
message_id = 'I0742010050'
go

INSERT INTO T070MsgMst
VALUES
(
'I0742010050',
'ゆうメールは規格外としてお取り扱いができないため、
規格外のチェックを外しました。',
null,
null
)
go

DELETE FROM T070MsgMst
WHERE
message_id = 'I0742010051'
go

INSERT INTO T070MsgMst
VALUES
(
'I0742010051',
'ゆうメール規格外は廃止されました。
印刷する場合は郵便種別等を変更してください。',
null,
null
)
go

DELETE FROM T070MsgMst
WHERE
message_id = 'E0742019116'
go

INSERT INTO T070MsgMst
VALUES
(
'E0742019116',
'1000gを超える重量は、ゆうメールとしてお取り扱いできません。
ラベルを印刷する場合は、郵便種別等を変更してください。',
null,
null
)
go

DELETE FROM T070MsgMst
WHERE
message_id = 'E0742019117'
go

INSERT INTO T070MsgMst
VALUES
(
'E0742019117',
'ゆうメール規格外はご利用頂けません。
ラベルを印刷する場合は、郵便種別等を変更してください。',
null,
null
)
go

DELETE FROM T070CodMst
WHERE
syscode1 = 'エラー内容種別' AND
syscode2 = '' AND
syscode3 = '' AND
code_no = 'BT'
go

INSERT INTO T070CodMst
(
syscode1,
syscode2,
syscode3,
code_no,
code_nm
)
VALUES
(
'エラー内容種別',
'',
'',
'BT',
'規格外はご利用いただけません。'
)
go

DELETE FROM T070CodMst
WHERE
syscode1 = '対応内容種別' AND
syscode2 = '' AND
syscode3 = '' AND
code_no = '14'
go

INSERT INTO T070CodMst
(
syscode1,
syscode2,
syscode3,
code_no,
code_nm
)
VALUES
(
'対応内容種別',
'',
'',
'14',
'1000gを超える重量は、ゆうメールとしてお取り扱いできません。ラベルを印刷する場合は、郵便種別等を変更してください。'
)
go

DELETE FROM T070CodMst
WHERE
syscode1 = '対応内容種別' AND
syscode2 = '' AND
syscode3 = '' AND
code_no = '15'
go

INSERT INTO T070CodMst
(
syscode1,
syscode2,
syscode3,
code_no,
code_nm
)
VALUES
(
'対応内容種別',
'',
'',
'15',
'3000gを超える重量は、郵便物としてお取り扱いできません。データを確認してください。'
)
go

DELETE FROM T070CodMst
WHERE
syscode1 = '対応内容種別' AND
syscode2 = '' AND
syscode3 = '' AND
code_no = '16'
go

INSERT INTO T070CodMst
(
syscode1,
syscode2,
syscode3,
code_no,
code_nm
)
VALUES
(
'対応内容種別',
'',
'',
'16',
'ゆうメール規格外はご利用頂けません。ラベルを印刷する場合は、郵便種別等を変更してください。'
)
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID = '83' AND
CODE_NO = '0' AND
CONSTANT01 = 'https://www.post.japanpost.jp/yu-packprint-r/member/download/tool/ゆうパックプリントＲ利用規約.pdf'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04,
CONSTANT05,
CONSTANT06,
CONSTANT07,
CONSTANT08,
CONSTANT09,
CONSTANT10
)
VALUES
(
'83',
'0',
'https://www.post.japanpost.jp/yu-packprint-r/member/download/tool/ゆうパックプリントＲ利用規約.pdf',
'',
'',
'',
'',
'',
'',
'',
'',
''
)
go

INSERT INTO T070VerInf
(
com_member_id,
com_pc_id,
ver_sbt,
table_name,
table_name_jp,
download_ver,
update_ver,
before_check_date
)SELECT TOP 1
com_member_id,
com_pc_id,
'AC',
'',
'利用規約同意年月日',
'20180901090000',
'20180831090000',
''
FROM T070VerInf
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID ='34' AND
CODE_NO ='1217' AND
CONSTANT01 ='はこぽす等入庫'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04,
CONSTANT05,
CONSTANT06,
CONSTANT07,
CONSTANT08,
CONSTANT09,
CONSTANT10
)
VALUES
(
'34',
'1217',
'はこぽす等入庫',
'',
'',
'',
'',
'',
'',
'',
'',
''
)
go

DELETE FROM T070PrtLblCnfMst
WHERE
COMPRINT_NO = '1100271' OR
COMPRINT_NO = '1100272' OR
COMPRINT_NO = '1100273' OR
COMPRINT_NO = '1100274' OR
COMPRINT_NO = '1100740' OR
COMPRINT_NO = '1100740001' OR
COMPRINT_NO = '1100741' OR
COMPRINT_NO = '1100800' OR
COMPRINT_NO = '1600800001' OR
COMPRINT_NO = '1600800002' OR
COMPRINT_NO = '1600800003' OR
COMPRINT_NO = '1600800004' OR
COMPRINT_NO = '1600800005'
go

DELETE FROM T070DefLdgShtMst 
WHERE
COMPRINT_NO = '1100271' AND
REPORT_FILE_NM = '420107P02R02.rpx' OR
COMPRINT_NO = '1100272' AND
REPORT_FILE_NM = '420107P02R04.rpx' OR
COMPRINT_NO = '1100273' AND
REPORT_FILE_NM = '420107P02R03.rpx' OR
COMPRINT_NO = '1100274' AND
REPORT_FILE_NM = '420107P02R05.rpx' OR
COMPRINT_NO = '1100740' AND
REPORT_FILE_NM = '420107P01R05.rpx' OR
COMPRINT_NO = '1100740001' AND
REPORT_FILE_NM = '420107P01R05001.rpx' OR
COMPRINT_NO = '1100741' AND
REPORT_FILE_NM = '420107P01R06.rpx' OR
COMPRINT_NO = '1100800' AND
REPORT_FILE_NM = '420107P01R20.rpx' OR
COMPRINT_NO ='1600800001' AND
REPORT_FILE_NM = '420107P02R20001.rpx' OR
COMPRINT_NO ='1600800002' AND
REPORT_FILE_NM = '420107P02R20002.rpx' OR
COMPRINT_NO ='1600800003' AND
REPORT_FILE_NM = '420107P02R20003.rpx' OR
COMPRINT_NO ='1600800004' AND
REPORT_FILE_NM = '420107P02R20004.rpx' OR
COMPRINT_NO ='1600800005' AND
REPORT_FILE_NM = '420107P02R20005.rpx'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE
COMPRINT_NO = '1100271' AND REPORT_FILE_NM = '420107P02R02.rpx' OR
COMPRINT_NO = '1100272' AND REPORT_FILE_NM = '420107P02R04.rpx' OR
COMPRINT_NO = '1100273' AND REPORT_FILE_NM = '420107P02R03.rpx' OR
COMPRINT_NO = '1100274' AND REPORT_FILE_NM = '420107P02R05.rpx' OR
COMPRINT_NO = '1100740' AND REPORT_FILE_NM = '420107P01R05.rpx' OR
COMPRINT_NO = '1100740001' AND REPORT_FILE_NM = '420107P01R05001.rpx' OR
COMPRINT_NO = '1100741' AND REPORT_FILE_NM = '420107P01R06.rpx' OR
COMPRINT_NO = '1100800' AND REPORT_FILE_NM = '420107P01R20.rpx' OR
COMPRINT_NO = '1600800001' AND REPORT_FILE_NM = '420107P02R20001.rpx' OR
COMPRINT_NO = '1600800002' AND REPORT_FILE_NM = '420107P02R20002.rpx' OR
COMPRINT_NO = '1600800003' AND REPORT_FILE_NM = '420107P02R20003.rpx' OR
COMPRINT_NO = '1600800004' AND REPORT_FILE_NM = '420107P02R20004.rpx' OR
COMPRINT_NO = '1600800005' AND REPORT_FILE_NM = '420107P02R20005.rpx'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE
COMREPORT_NO = '1100271' OR
COMREPORT_NO = '1100272' OR
COMREPORT_NO = '1100273' OR
COMREPORT_NO = '1100274' OR
COMREPORT_NO = '1100740' OR
COMREPORT_NO = '1100740001' OR
COMREPORT_NO = '1100741' OR
COMREPORT_NO = '1100800' OR
COMREPORT_NO = '1600800001' OR
COMREPORT_NO = '1600800002' OR
COMREPORT_NO = '1600800003' OR
COMREPORT_NO = '1600800004' OR
COMREPORT_NO = '1600800005'
go

UPDATE T070SigStgMst
SET CONSTANT01 = '100-8792'
WHERE 
SYS_CODE_ID = '48' AND
CODE_NO = '007'AND
CONSTANT02 = '会社郵便番号'
go

UPDATE T070SigStgMst
SET CONSTANT01 = '東京都千代田区大手町二丁目3番1号'
WHERE 
SYS_CODE_ID = '48' AND
CODE_NO = '008'AND
CONSTANT02 = '会社住所'
go

DELETE FROM T070MsgMst
WHERE
message_id = 'E0742019118'
go

INSERT INTO T070MsgMst
VALUES
(
'E0742019118',
'サーバ未連携の送り状データが存在します。対象データはゴミ箱へ移動できませんので、対象データを削除したい場合はメッセージが表示されなくなるまでゆうプリＲを再起動してください。',
null, 
null
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100275'
,'（新）代引郵便ラベル(通常･電信)（ュ00275）'
,'420107P02R04001.rpx'
,'1'
,'0'
,'1'
,'1'
,'1'
,''
,''
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100276'
,'（新）代引書留郵便ラベル(通常･電信)（ュ00276）'
,'420107P02R05001.rpx'
,'1'
,'0'
,'1'
,'1'
,'1'
,''
,''
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100742'
,'[廃止予定]（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06001.rpx'
,'1'
,'0'
,'1'
,'2'
,'1'
,''
,''
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100742001'
,'（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06003.rpx'
,'1'
,'0'
,'1'
,'2'
,'1'
,''
,''
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1800800013'
,'ゆうパケット用あて名シール（ュ00801）'
,'420107P02R40013.rpx'
,'1'
,'0'
,'6'
,'2'
,'1'
,''
,''
,'1'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100275'
,'0'
,'0'
,'（新）代引郵便ラベル(通常･電信)（ュ00275）'
,'420107P02R04001.rpx'
,'0'
,'1'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100276'
,'0'
,'0'
,'（新）代引書留郵便ラベル(通常･電信)（ュ00276）'
,'420107P02R05001.rpx'
,'0'
,'1'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100742'
,'0'
,'0'
,'[廃止予定]（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)

go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100742001'
,'0'
,'0'
,'（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06003.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1800800013'
,'0'
,'0'
,'ゆうパケット用あて名シール（ュ00801）'
,'420107P02R40013.rpx'
,'0'
,'1'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100275'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100276'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100742'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100742001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1800800013'
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100275'
,'0'
,'0'
,'1'
,'1'
,'free01'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100275'
,'0'
,'1'
,'1'
,'1'
,'free02'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100276'
,'0'
,'0'
,'1'
,'1'
,'free01'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100276'
,'0'
,'1'
,'1'
,'1'
,'free02'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100742'
,'0'
,'0'
,'1'
,'1'
,'free01'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100742'
,'0'
,'1'
,'1'
,'1'
,'free02'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100742001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100742001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1800800013'
,'0'
,'0'
,'1'
,'1'
,'free01'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1800800013'
,'0'
,'1'
,'1'
,'1'
,'free02'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100521'
,'0'
,'0'
,'1'
,'1'
,'free01'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100521'
,'0'
,'1'
,'1'
,'1'
,'free02'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'0'
,''
,''
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,''
,''
)
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100275'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100276'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100742'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100742001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1800800013'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100521'
go

DELETE FROM T070SigStgMst
Where
SYS_CODE_ID = '34' AND
CODE_NO ='6379' AND
CONSTANT01 ='配達希望'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04,
CONSTANT05,
CONSTANT06,
CONSTANT07,
CONSTANT08,
CONSTANT09,
CONSTANT10
)
VALUES
(
'34',
'6379',
'配達希望',
'',
'',
'',
'',
'',
'',
'',
'',
''
)
go

DELETE FROM T070SigStgMst
Where
SYS_CODE_ID = '34' AND
CODE_NO ='6380' AND
CONSTANT01 ='配達希望'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04,
CONSTANT05,
CONSTANT06,
CONSTANT07,
CONSTANT08,
CONSTANT09,
CONSTANT10
)
VALUES
(
'34',
'6380',
'配達希望',
'',
'',
'',
'',
'',
'',
'',
'',
''
)
go

UPDATE T070SigStgMst
SET CONSTANT01 = '配達希望'
WHERE  
SYS_CODE_ID = '34' and
CODE_NO = '6372'
go

UPDATE T070SigStgMst
SET CONSTANT01 ='配達希望'
WHERE
SYS_CODE_ID = '34' AND
CODE_NO ='6378'
go

DELETE FROM T070PrtLblCnfMst
WHERE
COMPRINT_NO = '1100661' OR
COMPRINT_NO = '1100701' OR
COMPRINT_NO = '1100706' OR
COMPRINT_NO = '1100725' OR
COMPRINT_NO = '1100728' OR
COMPRINT_NO = '1100742' OR
COMPRINT_NO = '1150651' OR
COMPRINT_NO = '1150740' OR
COMPRINT_NO = '1100782'
go

DELETE FROM T070DefLdgShtMst 
WHERE
COMPRINT_NO = '1100661' AND
REPORT_FILE_NM = '420107P01R23.rpx' OR
COMPRINT_NO = '1100701' AND
REPORT_FILE_NM = '420107P01R02.rpx' OR
COMPRINT_NO = '1100706' AND
REPORT_FILE_NM = '420107P01R24.rpx' OR
COMPRINT_NO = '1100725' AND
REPORT_FILE_NM = '420107P01R03.rpx' OR
COMPRINT_NO = '1100728' AND
REPORT_FILE_NM = '420107P01R04.rpx' OR
COMPRINT_NO = '1100742' AND
REPORT_FILE_NM = '420107P01R06001.rpx' OR
COMPRINT_NO = '1150651' AND
REPORT_FILE_NM = '420107P01R07.rpx' OR
COMPRINT_NO = '1150740' AND
REPORT_FILE_NM = '420107P01R08.rpx' OR
COMPRINT_NO = '1100782' AND
REPORT_FILE_NM = '420107P02R11.rpx'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE
COMPRINT_NO = '1100661' AND REPORT_FILE_NM = '420107P01R23.rpx' OR
COMPRINT_NO = '1100701' AND REPORT_FILE_NM = '420107P01R02.rpx' OR
COMPRINT_NO = '1100706' AND REPORT_FILE_NM = '420107P01R24.rpx' OR
COMPRINT_NO = '1100725' AND REPORT_FILE_NM = '420107P01R03.rpx' OR
COMPRINT_NO = '1100728' AND REPORT_FILE_NM = '420107P01R04.rpx' OR
COMPRINT_NO = '1100742' AND REPORT_FILE_NM = '420107P01R06001.rpx' OR
COMPRINT_NO = '1150651' AND REPORT_FILE_NM = '420107P01R07.rpx' OR
COMPRINT_NO = '1150740' AND REPORT_FILE_NM = '420107P01R08.rpx' OR
COMPRINT_NO = '1100782' AND REPORT_FILE_NM = '420107P02R11.rpx'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE
COMREPORT_NO = '1100661' OR
COMREPORT_NO = '1100701' OR
COMREPORT_NO = '1100706' OR
COMREPORT_NO = '1100725' OR
COMREPORT_NO = '1100728' OR
COMREPORT_NO = '1100742' OR
COMREPORT_NO = '1150651' OR
COMREPORT_NO = '1150740' OR
COMREPORT_NO = '1100782'
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100701001'
,'ゆうパックラベル(B)（ュ00701）'
,'420107P01R02001.rpx'
,'1'
,'0'
,'1'
,'2'
,'1'
,null
,null
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100706001'
,'ゆうパックラベル(B2)（ュ00706）'
,'420107P01R24001.rpx'
,'1'
,'0'
,'1'
,'2'
,'1'
,null
,null
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1150651001'
,'ゆうパックラベル(元払A)（ュ00651）'
,'420107P01R07001.rpx'
,'1'
,'0'
,'1'
,'4'
,'1'
,null
,null
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100661001'
,'ゆうパックラベル(元払B)（ュ00661）'
,'420107P01R23001.rpx'
,'1'
,'0'
,'1'
,'4'
,'1'
,null
,null
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100725001'
,'セキュリティゆうパックラベル（ュ00725）'
,'420107P01R03001.rpx'
,'1'
,'0'
,'1'
,'2'
,'1'
,null
,null
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1100728001'
,'着払ゆうパックラベル（ュ00728）'
,'420107P01R04001.rpx'
,'1'
,'0'
,'1'
,'2'
,'1'
,null
,null
,'0'
)
go

INSERT INTO T070DefLdgShtMst VALUES(
'1150740001'
,'（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
,'420107P01R08001.rpx'
,'1'
,'0'
,'1'
,'5'
,'1'
,null
,null
,'0'
)
go
INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100701001'
,'0'
,'0'
,'ゆうパックラベル(B)（ュ00701）'
,'420107P01R02001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100706001'
,'0'
,'0'
,'ゆうパックラベル(B2)（ュ00706）'
,'420107P01R24001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1150651001'
,'0'
,'0'
,'ゆうパックラベル(元払A)（ュ00651）'
,'420107P01R07001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100661001'
,'0'
,'0'
,'ゆうパックラベル(元払B)（ュ00661）'
,'420107P01R23001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100725001'
,'0'
,'0'
,'セキュリティゆうパックラベル（ュ00725）'
,'420107P01R03001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1100728001'
,'0'
,'0'
,'着払ゆうパックラベル（ュ00728）'
,'420107P01R04001.rpx'
,'0'
,'2'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go

INSERT INTO T070SepDefLdgShtMstHer VALUES(
'0'
,'0'
,'0'
,'0'
,'1150740001'
,'0'
,'0'
,'（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
,'420107P01R08001.rpx'
,'0'
,'5'
,'2012/11/01 10:26:07'
,'2012/11/01 10:26:07'
)
go
INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100701001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100706001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1150651001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100661001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100725001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100728001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1150740001'
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100701001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100701001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100701001'
,'0'
,'2'
,'1'
,'1'
,'free03'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100701001'
,'0'
,'3'
,'1'
,'1'
,'free04'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100701001'
,'0'
,'4'
,'1'
,'1'
,'free05'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100706001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100706001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100706001'
,'0'
,'2'
,'1'
,'1'
,'free03'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100706001'
,'0'
,'3'
,'1'
,'1'
,'free04'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100706001'
,'0'
,'4'
,'1'
,'1'
,'free05'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1150651001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1150651001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100661001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100661001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100725001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100725001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100725001'
,'0'
,'2'
,'1'
,'1'
,'free03'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100725001'
,'0'
,'3'
,'1'
,'1'
,'free04'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100728001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100728001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100728001'
,'0'
,'2'
,'1'
,'1'
,'free03'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100728001'
,'0'
,'3'
,'1'
,'1'
,'free04'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1150740001'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1150740001'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1150740001'
,'0'
,'2'
,'1'
,'1'
,'free03'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go
INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100701001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100706001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1150651001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100661001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100725001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100728001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1150740001'
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100424'
,'0'
,'0'
,'1'
,'1'
,'free01'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100424'
,'0'
,'1'
,'1'
,'1'
,'free02'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw VALUES(
'0'
,'0'
,'0'
,'0'
,'1100424'
,'0'
,'2'
,'1'
,'1'
,'free03'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'0'
,null
,null
,'ＭＳ ゴシック'
,'6.75'
,'0'
,'0'
,'0'
,null
,null
)
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100424'
go

DELETE FROM T070SigStgMst
Where
SYS_CODE_ID = '71' AND
CODE_NO ='1100742001'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
CONSTANT04,
CONSTANT05,
CONSTANT06,
CONSTANT07,
CONSTANT08,
CONSTANT09,
CONSTANT10
)
VALUES
(
'71',
'1100742001',
'5',
'1',
'8',
'',
'',
'',
'',
'',
'',
''
)
go

UPDATE T070SigStgMst SET constant10 ='20190331' WHERE sys_code_id = '14' AND code_no = '17'
go

UPDATE T070SigStgMst SET constant10 ='20190331' WHERE sys_code_id = '14' AND code_no = '18'
go

DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '21'
go

INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT09
,CONSTANT10
) 
VALUES( 
'14'
,'21'
,'200'
,'1'
,'49999'
,'0'
,'ゆうちょ銀行'
,'20190401'
,'99991231'
) 
go

DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '22'
go

INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT09
,CONSTANT10
) 
VALUES( 
'14'
,'22'
,'410'
,'50000'
,'9999999999'
,'0'
,'ゆうちょ銀行'
,'20190401'
,'99991231'
) 
go

ALTER TABLE T070DpcPlnTrxBDw ADD tax_rate_kbn CHAR(2) NULL
go
ALTER TABLE T070TplDpcPlnTrxBDw ADD tax_rate_kbn CHAR(2) NULL
go
ALTER TABLE T070PdtMst ADD tax_rate_kbn CHAR(2) NULL
go
ALTER TABLE T070PodStg ADD tax_rate_kbn CHAR(2) NULL
go
ALTER TABLE T070TplDpcPlnTrxCnf_2 ADD tax_rate_kbn CHAR(2) NULL
go
ALTER TABLE T070UsrLinMst ADD reduced_tax_calc_kbn CHAR(1) NULL
go
ALTER TABLE T070DpcPlnTrxHer_3 ALTER COLUMN field_yobi07 CHAR(8)
go
ALTER TABLE T070DTplpcPlnTrxHer_3 ALTER COLUMN field_yobi07 CHAR(8)
go
ALTER TABLE T070TplDpcPlnTrxCnf_2 ALTER COLUMN field_yobi07 CHAR(10)
go
UPDATE T070PdtMst
SET tax_rate_kbn = '10'
WHERE NOT EXISTS (
SELECT * FROM T070GrpPdtMst
WHERE T070PdtMst.shohin_cd = T070GrpPdtMst.setshohin_cd
AND T070PdtMst.com_member_id = T070GrpPdtMst.com_member_id
AND T070PdtMst.com_pc_id = T070GrpPdtMst.com_pc_id
AND T070PdtMst.login_user_id = T070GrpPdtMst.login_user_id
)
AND T070PdtMst.tax_rate_kbn Is Null
go
alter table T070WrkTblPriIvc add order_ymd CHAR(8) NULL
go
alter table T070WrkTblPriIvc add tax_rate_kbn CHAR(2) NULL
go
delete from T070MstDefInpOupDbs where filter_sbt = '1' and field_nm = 'tax_rate_kbn'
go
delete from T070MstDefInpOupDbs where filter_sbt = '2' and field_nm = 'tax_rate_kbn'
go
delete from T070MstDefInpOupDbs where filter_sbt = '1' and field_nm = 'field_yobi07'
go
delete from T070MstDefInpOupDbs where filter_sbt = '2' and field_nm = 'field_yobi07'
go
delete from T070MstDefInpOupDbs where filter_sbt = '4' and field_nm = 'tax_rate_kbn'
go
UPDATE T070MstDefInpOupDbs SET order_no = 96 WHERE field_janm = 'こわれもの区分' AND order_no = 95
go
UPDATE T070MstDefInpOupDbs SET order_no = 97 WHERE field_janm = 'なまもの区分' AND order_no = 96
go
UPDATE T070MstDefInpOupDbs SET order_no = 98 WHERE field_janm = 'ビン類区分' AND order_no = 97
go
UPDATE T070MstDefInpOupDbs SET order_no = 99 WHERE field_janm = '逆さま厳禁区分' AND order_no = 98
go
UPDATE T070MstDefInpOupDbs SET order_no = 100 WHERE field_janm = '下積み厳禁区分' AND order_no = 99
go
UPDATE T070MstDefInpOupDbs SET order_no = 101 WHERE field_janm = '商品サイズ／厚さ区分' AND order_no = 100
go
UPDATE T070MstDefInpOupDbs SET order_no = 102 WHERE field_janm = '重量合計（ｇ）' AND order_no = 101
go
UPDATE T070MstDefInpOupDbs SET order_no = 103 WHERE field_janm = '定形外郵便物規格設定区分' AND order_no = 102
go
UPDATE T070MstDefInpOupDbs SET order_no = 104 WHERE field_janm = '閾値重量（ｇ）' AND order_no = 103
go
UPDATE T070MstDefInpOupDbs SET order_no = 105 WHERE field_janm = '重量ゆうパック区分' AND order_no = 104
go
UPDATE T070MstDefInpOupDbs SET order_no = 106 WHERE field_janm = '書留 損害要償額' AND order_no = 105
go
UPDATE T070MstDefInpOupDbs SET order_no = 107 WHERE field_janm = '速達／配達指定日種別' AND order_no = 106
go
UPDATE T070MstDefInpOupDbs SET order_no = 108 WHERE field_janm = '配達希望日' AND order_no = 107
go
UPDATE T070MstDefInpOupDbs SET order_no = 109 WHERE field_janm = '配達指定日曜日種別' AND order_no = 108
go
UPDATE T070MstDefInpOupDbs SET order_no = 110 WHERE field_janm = '配達時間帯区分' AND order_no = 109
go
UPDATE T070MstDefInpOupDbs SET order_no = 111 WHERE field_janm = '差出方法区分' AND order_no = 110
go
UPDATE T070MstDefInpOupDbs SET order_no = 112 WHERE field_janm = 'ゆうパック往復割引' AND order_no = 111
go
UPDATE T070MstDefInpOupDbs SET order_no = 114 WHERE field_janm = 'ゆうパック複数個割引' AND order_no = 113
go
UPDATE T070MstDefInpOupDbs SET order_no = 115 WHERE field_janm = 'ゆうパック同一割引' AND order_no = 114
go
UPDATE T070MstDefInpOupDbs SET order_no = 116 WHERE field_janm = 'ゆうパック政策運賃割引' AND order_no = 115
go
UPDATE T070MstDefInpOupDbs SET order_no = 117 WHERE field_janm = 'セット商品コード' AND order_no = 116
go
UPDATE T070MstDefInpOupDbs SET order_no = 118 WHERE field_janm = 'セット品名ラベル印字区分' AND order_no = 117
go
UPDATE T070MstDefInpOupDbs SET order_no = 119 WHERE field_janm = '複数個口数' AND order_no = 118
go
UPDATE T070MstDefInpOupDbs SET order_no = 121 WHERE field_janm = '記事名１' AND order_no = 120
go
UPDATE T070MstDefInpOupDbs SET order_no = 122 WHERE field_janm = '記事名２' AND order_no = 121
go
UPDATE T070MstDefInpOupDbs SET order_no = 123 WHERE field_janm = 'フリー項目０１' AND order_no = 122
go
UPDATE T070MstDefInpOupDbs SET order_no = 124 WHERE field_janm = 'フリー項目０２' AND order_no = 123
go
UPDATE T070MstDefInpOupDbs SET order_no = 125 WHERE field_janm = 'フリー項目０３' AND order_no = 124
go
UPDATE T070MstDefInpOupDbs SET order_no = 126 WHERE field_janm = 'フリー項目０４' AND order_no = 125
go
UPDATE T070MstDefInpOupDbs SET order_no = 127 WHERE field_janm = 'フリー項目０５' AND order_no = 126
go
UPDATE T070MstDefInpOupDbs SET order_no = 128 WHERE field_janm = 'フリー項目０６' AND order_no = 127
go
UPDATE T070MstDefInpOupDbs SET order_no = 129 WHERE field_janm = 'フリー項目０７' AND order_no = 128
go
UPDATE T070MstDefInpOupDbs SET order_no = 130 WHERE field_janm = 'フリー項目０８' AND order_no = 129
go
UPDATE T070MstDefInpOupDbs SET order_no = 131 WHERE field_janm = 'フリー項目０９' AND order_no = 130
go
UPDATE T070MstDefInpOupDbs SET order_no = 132 WHERE field_janm = 'フリー項目１０' AND order_no = 131
go
UPDATE T070MstDefInpOupDbs SET order_no = 133 WHERE field_janm = '空港利用区分' AND order_no = 132
go
UPDATE T070MstDefInpOupDbs SET order_no = 134 WHERE field_janm = '空港送達日数利用マップID' AND order_no = 133
go
UPDATE T070MstDefInpOupDbs SET order_no = 135 WHERE field_janm = '空港送達日数郵便番号' AND order_no = 134
go
UPDATE T070MstDefInpOupDbs SET order_no = 136 WHERE field_janm = '空港送達日数局／支店コード' AND order_no = 135
go
UPDATE T070MstDefInpOupDbs SET order_no = 137 WHERE field_janm = '航空会社名' AND order_no = 136
go
UPDATE T070MstDefInpOupDbs SET order_no = 138 WHERE field_janm = '利用便名' AND order_no = 137
go
UPDATE T070MstDefInpOupDbs SET order_no = 139 WHERE field_janm = 'レジャー区分' AND order_no = 138
go
UPDATE T070MstDefInpOupDbs SET order_no = 140 WHERE field_janm = 'プレー・搭乗日' AND order_no = 139
go
UPDATE T070MstDefInpOupDbs SET order_no = 141 WHERE field_janm = 'プレー・搭乗時間' AND order_no = 140
go
UPDATE T070MstDefInpOupDbs SET order_no = 142 WHERE field_janm = 'クラブ本数' AND order_no = 141
go
UPDATE T070MstDefInpOupDbs SET order_no = 143 WHERE field_janm = '復路集貨日' AND order_no = 142
go
UPDATE T070MstDefInpOupDbs SET order_no = 144 WHERE field_janm = '送状発行場所区分' AND order_no = 143
go
UPDATE T070MstDefInpOupDbs SET order_no = 145 WHERE field_janm = '出荷先会員番号' AND order_no = 144
go
UPDATE T070MstDefInpOupDbs SET order_no = 146 WHERE field_janm = '出荷先パソコンID' AND order_no = 145
go
UPDATE T070MstDefInpOupDbs SET order_no = 147 WHERE field_janm = '出荷先ログイングループID' AND order_no = 146
go
UPDATE T070MstDefInpOupDbs SET order_no = 148 WHERE field_janm = '出荷先ログインユーザーID' AND order_no = 147
go
UPDATE T070MstDefInpOupDbs SET order_no = 149 WHERE field_janm = '出荷先ログイングループ名称' AND order_no = 148
go
UPDATE T070MstDefInpOupDbs SET order_no = 150 WHERE field_janm = '出荷先ログインユーザー名称' AND order_no = 149
go
UPDATE T070MstDefInpOupDbs SET order_no = 151 WHERE field_janm = '出荷先郵便番号' AND order_no = 150
go
UPDATE T070MstDefInpOupDbs SET order_no = 152 WHERE field_janm = '出荷先電話番号' AND order_no = 151
go
UPDATE T070MstDefInpOupDbs SET order_no = 153 WHERE field_janm = '出荷先住所-JIS１１' AND order_no = 152
go
UPDATE T070MstDefInpOupDbs SET order_no = 154 WHERE field_janm = '出荷先住所-番地' AND order_no = 153
go
UPDATE T070MstDefInpOupDbs SET order_no = 155 WHERE field_janm = '出荷先住所-号' AND order_no = 154
go
UPDATE T070MstDefInpOupDbs SET order_no = 156 WHERE field_janm = '出荷先住所-ビル名' AND order_no = 155
go
UPDATE T070MstDefInpOupDbs SET order_no = 157 WHERE field_janm = '出荷先送状発行通知区分' AND order_no = 156
go
UPDATE T070MstDefInpOupDbs SET order_no = 158 WHERE field_janm = '出荷先送状発行通知メールアドレス' AND order_no = 157
go
UPDATE T070MstDefInpOupDbs SET order_no = 159 WHERE field_janm = '集荷希望区分' AND order_no = 158
go
UPDATE T070MstDefInpOupDbs SET order_no = 160 WHERE field_janm = '集荷日付' AND order_no = 159
go
UPDATE T070MstDefInpOupDbs SET order_no = 161 WHERE field_janm = '集荷時間帯区分' AND order_no = 160
go
UPDATE T070MstDefInpOupDbs SET order_no = 162 WHERE field_janm = 'R-PS連携区分' AND order_no = 161
go
UPDATE T070MstDefInpOupDbs SET order_no = 163 WHERE field_janm = '代引金額' AND order_no = 162
go
UPDATE T070MstDefInpOupDbs SET order_no = 164 WHERE field_janm = '代引消費税金額' AND order_no = 163
go
UPDATE T070MstDefInpOupDbs SET order_no = 165 WHERE field_janm = '代引課税対象額' AND order_no = 164
go
UPDATE T070MstDefInpOupDbs SET order_no = 166 WHERE field_janm = '代引印紙税額' AND order_no = 165
go
UPDATE T070MstDefInpOupDbs SET order_no = 167 WHERE field_janm = '代引送金手数料' AND order_no = 166
go
UPDATE T070MstDefInpOupDbs SET order_no = 168 WHERE field_janm = '代引送金金額' AND order_no = 167
go
UPDATE T070MstDefInpOupDbs SET order_no = 169 WHERE field_janm = '代引まとめ区分' AND order_no = 168
go
UPDATE T070MstDefInpOupDbs SET order_no = 170 WHERE field_janm = '代引送金方法区分' AND order_no = 169
go
UPDATE T070MstDefInpOupDbs SET order_no = 171 WHERE field_janm = '往路運賃' AND order_no = 170
go
UPDATE T070MstDefInpOupDbs SET order_no = 172 WHERE field_janm = '復路運賃' AND order_no = 171
go
UPDATE T070MstDefInpOupDbs SET order_no = 173 WHERE field_janm = '基本料金小計' AND order_no = 172
go
UPDATE T070MstDefInpOupDbs SET order_no = 174 WHERE field_janm = '割増金額' AND order_no = 173
go
UPDATE T070MstDefInpOupDbs SET order_no = 175 WHERE field_janm = '速達・配達日指定料金内訳' AND order_no = 174
go
UPDATE T070MstDefInpOupDbs SET order_no = 176 WHERE field_janm = '保冷料金内訳' AND order_no = 175
go
UPDATE T070MstDefInpOupDbs SET order_no = 177 WHERE field_janm = '割引金額' AND order_no = 176
go
UPDATE T070MstDefInpOupDbs SET order_no = 178 WHERE field_janm = '郵便料金小計' AND order_no = 177
go
UPDATE T070MstDefInpOupDbs SET order_no = 179 WHERE field_janm = '書留料金' AND order_no = 178
go
UPDATE T070MstDefInpOupDbs SET order_no = 180 WHERE field_janm = '代引引換手数料' AND order_no = 179
go
UPDATE T070MstDefInpOupDbs SET order_no = 181 WHERE field_janm = '調整額' AND order_no = 180
go
UPDATE T070MstDefInpOupDbs SET order_no = 182 WHERE field_janm = 'その他料金小計' AND order_no = 181
go
UPDATE T070MstDefInpOupDbs SET order_no = 183 WHERE field_janm = '運賃消費税(外税)' AND order_no = 182
go
UPDATE T070MstDefInpOupDbs SET order_no = 184 WHERE field_janm = '領収金額計' AND order_no = 183
go
UPDATE T070MstDefInpOupDbs SET order_no = 185 WHERE field_janm = '請求金額' AND order_no = 184
go
UPDATE T070MstDefInpOupDbs SET order_no = 186 WHERE field_janm = '請求金額内消費税' AND order_no = 185
go
UPDATE T070MstDefInpOupDbs SET order_no = 187 WHERE field_janm = '不在留め置き期間' AND order_no = 186
go
UPDATE T070MstDefInpOupDbs SET order_no = 188 WHERE field_janm = '郵便番号エラー区分' AND order_no = 187
go
UPDATE T070MstDefInpOupDbs SET order_no = 189 WHERE field_janm = '業種区分' AND order_no = 188
go
UPDATE T070MstDefInpOupDbs SET order_no = 190 WHERE field_janm = '貨物商品コード' AND order_no = 189
go
UPDATE T070MstDefInpOupDbs SET order_no = 191 WHERE field_janm = '特殊輸送区分' AND order_no = 190
go
UPDATE T070MstDefInpOupDbs SET order_no = 192 WHERE field_janm = '仕分番号' AND order_no = 191
go
UPDATE T070MstDefInpOupDbs SET order_no = 193 WHERE field_janm = '配達店コード' AND order_no = 192
go
UPDATE T070MstDefInpOupDbs SET order_no = 194 WHERE field_janm = '事業所私書箱区分' AND order_no = 193
go
UPDATE T070MstDefInpOupDbs SET order_no = 195 WHERE field_janm = '着運賃ブロック' AND order_no = 194
go
UPDATE T070MstDefInpOupDbs SET order_no = 196 WHERE field_janm = '支払方法区分' AND order_no = 195
go
UPDATE T070MstDefInpOupDbs SET order_no = 197 WHERE field_janm = '適用特別料金種別' AND order_no = 196
go
UPDATE T070MstDefInpOupDbs SET order_no = 198 WHERE field_janm = '料金体系区分' AND order_no = 197
go
UPDATE T070MstDefInpOupDbs SET order_no = 199 WHERE field_janm = '料金計算用サイズまたは重量' AND order_no = 198
go
UPDATE T070MstDefInpOupDbs SET order_no = 200 WHERE field_janm = '料金計算区分' AND order_no = 199
go
UPDATE T070MstDefInpOupDbs SET order_no = 201 WHERE field_janm = '料金計算エラー区分' AND order_no = 200
go
UPDATE T070MstDefInpOupDbs SET order_no = 202 WHERE field_janm = '消費税課税負担者区分' AND order_no = 201
go
UPDATE T070MstDefInpOupDbs SET order_no = 203 WHERE field_janm = '消費税計算区分' AND order_no = 202
go
UPDATE T070MstDefInpOupDbs SET order_no = 204 WHERE field_janm = '引換金計算種別' AND order_no = 203
go
UPDATE T070MstDefInpOupDbs SET order_no = 205 WHERE field_janm = '差出／集荷局 郵便番号' AND order_no = 204
go
UPDATE T070MstDefInpOupDbs SET order_no = 206 WHERE field_janm = '差出／集荷地 都道府県コード' AND order_no = 205
go
UPDATE T070MstDefInpOupDbs SET order_no = 207 WHERE field_janm = '差出／集荷地 市区町村コード' AND order_no = 206
go
UPDATE T070MstDefInpOupDbs SET order_no = 208 WHERE field_janm = '地帯区分' AND order_no = 207
go
UPDATE T070MstDefInpOupDbs SET order_no = 209 WHERE field_janm = '交付種別' AND order_no = 208
go
UPDATE T070MstDefInpOupDbs SET order_no = 210 WHERE field_janm = '加入者名' AND order_no = 209
go
UPDATE T070MstDefInpOupDbs SET order_no = 211 WHERE field_janm = '振替口座' AND order_no = 210
go
UPDATE T070MstDefInpOupDbs SET order_no = 212 WHERE field_janm = '総合口座' AND order_no = 211
go
UPDATE T070MstDefInpOupDbs SET order_no = 213 WHERE field_janm = '代引まとめ精算 代引金額' AND order_no = 212
go
UPDATE T070MstDefInpOupDbs SET order_no = 214 WHERE field_janm = '代引まとめ精算 代引消費税金額' AND order_no = 213
go
UPDATE T070MstDefInpOupDbs SET order_no = 215 WHERE field_janm = '代引まとめ精算 代引印紙税額' AND order_no = 214
go
UPDATE T070MstDefInpOupDbs SET order_no = 215 WHERE field_janm = '代引まとめ精算 代引課税対象額' AND order_no = 214
go
UPDATE T070MstDefInpOupDbs SET order_no = 217 WHERE field_janm = '代引まとめ精算 代引送金手数料' AND order_no = 216
go
UPDATE T070MstDefInpOupDbs SET order_no = 218 WHERE field_janm = '代引まとめ精算 代引送金金額' AND order_no = 217
go
UPDATE T070MstDefInpOupDbs SET order_no = 219 WHERE field_janm = '代引まとめ精算データ書き込み日付' AND order_no = 218
go
UPDATE T070MstDefInpOupDbs SET order_no = 220 WHERE field_janm = '代引まとめ 代金入金日付' AND order_no = 219
go
UPDATE T070MstDefInpOupDbs SET order_no = 221 WHERE field_janm = '代引まとめ 計理日付' AND order_no = 220
go
UPDATE T070MstDefInpOupDbs SET order_no = 222 WHERE field_janm = '代引まとめ決済種別' AND order_no = 221
go
UPDATE T070MstDefInpOupDbs SET order_no = 223 WHERE field_janm = '外部データ取込年月日' AND order_no = 222
go
UPDATE T070MstDefInpOupDbs SET order_no = 224 WHERE field_janm = '連携データ受信年月日' AND order_no = 223
go
UPDATE T070MstDefInpOupDbs SET order_no = 225 WHERE field_janm = '集約年月日' AND order_no = 224
go
UPDATE T070MstDefInpOupDbs SET order_no = 226 WHERE field_janm = '連携データ年月日' AND order_no = 225
go
UPDATE T070MstDefInpOupDbs SET order_no = 227 WHERE field_janm = '送り状発行年月日' AND order_no = 226
go
UPDATE T070MstDefInpOupDbs SET order_no = 228 WHERE field_janm = '受付店控え印刷年月日' AND order_no = 227
go
UPDATE T070MstDefInpOupDbs SET order_no = 229 WHERE field_janm = '発送予約データ作成年月日' AND order_no = 228
go
UPDATE T070MstDefInpOupDbs SET order_no = 230 WHERE field_janm = '追跡番号付番年月日' AND order_no = 229
go
UPDATE T070MstDefInpOupDbs SET order_no = 231 WHERE field_janm = '仮引受データ作成年月日' AND order_no = 230
go
UPDATE T070MstDefInpOupDbs SET order_no = 232 WHERE field_janm = '運賃計算年月日' AND order_no = 231
go
UPDATE T070MstDefInpOupDbs SET order_no = 233 WHERE field_janm = 'お届け先 メール作成年月日' AND order_no = 232
go
UPDATE T070MstDefInpOupDbs SET order_no = 234 WHERE field_janm = 'ご依頼主 メール送信年月日' AND order_no = 233
go
UPDATE T070MstDefInpOupDbs SET order_no = 235 WHERE field_janm = '差出票印刷年月日' AND order_no = 234
go
UPDATE T070MstDefInpOupDbs SET order_no = 236 WHERE field_janm = '受領書印刷年月日' AND order_no = 235
go
UPDATE T070MstDefInpOupDbs SET order_no = 237 WHERE field_janm = '大口FD出力年月日' AND order_no = 236
go
UPDATE T070MstDefInpOupDbs SET order_no = 238 WHERE field_janm = 'プレ印字年月日' AND order_no = 237
go
UPDATE T070MstDefInpOupDbs SET order_no = 239 WHERE field_janm = '仮引受確定作業年月日' AND order_no = 238
go
UPDATE T070MstDefInpOupDbs SET order_no = 240 WHERE field_janm = '配送完了作業年月日' AND order_no = 239
go
UPDATE T070MstDefInpOupDbs SET order_no = 241 WHERE field_janm = '事故完了作業年月日' AND order_no = 240
go
UPDATE T070MstDefInpOupDbs SET order_no = 242 WHERE field_janm = '代引送金完了作業年月日' AND order_no = 241
go
UPDATE T070MstDefInpOupDbs SET order_no = 243 WHERE field_janm = '配達ステータス集約コード' AND order_no = 242
go
UPDATE T070MstDefInpOupDbs SET order_no = 244 WHERE field_janm = '配達ステータス明細コード' AND order_no = 243
go
UPDATE T070MstDefInpOupDbs SET order_no = 245 WHERE field_janm = '出荷元先区分' AND order_no = 244
go
UPDATE T070MstDefInpOupDbs SET order_no = 246 WHERE field_janm = '入力区分' AND order_no = 245
go
UPDATE T070MstDefInpOupDbs SET order_no = 247 WHERE field_janm = '入力補助区分' AND order_no = 246
go
UPDATE T070MstDefInpOupDbs SET order_no = 248 WHERE field_janm = '運賃使用区分' AND order_no = 247
go
UPDATE T070MstDefInpOupDbs SET order_no = 249 WHERE field_janm = 'ゆうメール特別(承認)使用区分' AND order_no = 248
go
UPDATE T070MstDefInpOupDbs SET order_no = 250 WHERE field_janm = '総個数（集約前）' AND order_no = 249
go
UPDATE T070MstDefInpOupDbs SET order_no = 251 WHERE field_janm = '複数個口数・荷札枚数（集約前）' AND order_no = 250
go
UPDATE T070MstDefInpOupDbs SET order_no = 252 WHERE field_janm = '代引金額（集約前）' AND order_no = 251
go
UPDATE T070MstDefInpOupDbs SET order_no = 253 WHERE field_janm = '代引消費税金額（集約前）' AND order_no = 252
go
UPDATE T070MstDefInpOupDbs SET order_no = 254 WHERE field_janm = '貨物価格（集約前）' AND order_no = 253
go
UPDATE T070MstDefInpOupDbs SET order_no = 255 WHERE field_janm = '重量（ｇ）（集約前）' AND order_no = 254
go
UPDATE T070MstDefInpOupDbs SET order_no = 256 WHERE field_janm = '閾値重量（ｇ）（集約前）' AND order_no = 255
go
UPDATE T070MstDefInpOupDbs SET order_no = 257 WHERE field_janm = '書留 損害要償額（集約前）' AND order_no = 256
go
UPDATE T070MstDefInpOupDbs SET order_no = 258 WHERE field_janm = '商品番号' AND order_no = 257
go
UPDATE T070MstDefInpOupDbs SET order_no = 259 WHERE field_janm = '品名' AND order_no = 258
go
UPDATE T070MstDefInpOupDbs SET order_no = 260 WHERE field_janm = '個数' AND order_no = 259
go
UPDATE T070MstDefInpOupDbs SET order_no = 261 WHERE field_janm = '重量（ｇ）' AND order_no = 260
go
UPDATE T070MstDefInpOupDbs SET order_no = 262 WHERE field_janm = '単価' AND order_no = 261
go
UPDATE T070MstDefInpOupDbs SET order_no = 264 WHERE field_janm = '金額' AND order_no = 262
go
UPDATE T070MstDefInpOupDbs SET order_no = 265 WHERE field_janm = '商品備考０１' AND order_no = 263
go
UPDATE T070MstDefInpOupDbs SET order_no = 266 WHERE field_janm = '商品備考０２' AND order_no = 264
go
UPDATE T070MstDefInpOupDbs SET order_no = 267 WHERE field_janm = '商品備考０３' AND order_no = 265
go
UPDATE T070MstDefInpOupDbs SET order_no = 268 WHERE field_janm = '商品備考０４' AND order_no = 266
go
UPDATE T070MstDefInpOupDbs SET order_no = 269 WHERE field_janm = '商品備考０５' AND order_no = 267
go
UPDATE T070MstDefInpOupDbs SET order_no = 270 WHERE field_janm = '商品備考０６' AND order_no = 268
go
UPDATE T070MstDefInpOupDbs SET order_no = 271 WHERE field_janm = '商品備考０７' AND order_no = 269
go
UPDATE T070MstDefInpOupDbs SET order_no = 272 WHERE field_janm = '商品備考０８' AND order_no = 270
go
UPDATE T070MstDefInpOupDbs SET order_no = 273 WHERE field_janm = '商品備考０９' AND order_no = 271
go
UPDATE T070MstDefInpOupDbs SET order_no = 274 WHERE field_janm = '商品備考１０' AND order_no = 272
go
UPDATE T070MstDefInpOupDbs SET order_no = 277 WHERE field_janm = 'お客様指定配送種類' AND order_no = 275
go
UPDATE T070MstDefInpOupDbs SET order_no = 278 WHERE field_janm = '予約・確定識別コード' AND order_no = 276
go
UPDATE T070MstDefInpOupDbs SET order_no = 279 WHERE field_janm = 'コンビニ等判別コード' AND order_no = 277
go
UPDATE T070MstDefInpOupDbs SET order_no = 280 WHERE field_janm = 'コンビニ等受取 通販業者コード' AND order_no = 278
go
UPDATE T070MstDefInpOupDbs SET order_no = 281 WHERE field_janm = 'コンビニ等受取 コンビニコード' AND order_no = 279
go
UPDATE T070MstDefInpOupDbs SET order_no = 282 WHERE field_janm = 'コンビニ等受取 コンビニ名' AND order_no = 280
go
UPDATE T070MstDefInpOupDbs SET order_no = 283 WHERE field_janm = 'コンビニ等受取 店舗コード' AND order_no = 281
go
UPDATE T070MstDefInpOupDbs SET order_no = 284 WHERE field_janm = 'コンビニ等受取 店舗名' AND order_no = 282
go
UPDATE T070MstDefInpOupDbs SET order_no = 285 WHERE field_janm = 'コンビニ等受取 認証番号' AND order_no = 283
go
UPDATE T070MstDefInpOupDbs SET order_no = 286 WHERE field_janm = 'コンビニ等受取 備考１' AND order_no = 284
go
UPDATE T070MstDefInpOupDbs SET order_no = 287 WHERE field_janm = 'コンビニ等受取 備考２' AND order_no = 285
go
UPDATE T070MstDefInpOupDbs SET order_no = 288 WHERE field_janm = '受注番号(楽天専用)' AND order_no = 286
go
UPDATE T070MstDefInpOupDbs SET order_no = 289 WHERE field_janm = '送付先ID(楽天専用)' AND order_no = 287
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'1'
,'tax_rate_kbn'
,'1'
,'1'
,'2'
,'0'
,'消費税率区分'
,'263'
,'出荷予定トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'1'
,'field_yobi07'
,'1'
,'1'
,'8'
,'0'
,'注文日'
,'95'
,'出荷予定トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'1'
,'tax_rate_kbn'
,'2'
,'1'
,'2'
,'0'
,'消費税率区分'
,'263'
,'出荷予定トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'1'
,'field_yobi07'
,'2'
,'1'
,'8'
,'0'
,'注文日'
,'95'
,'出荷予定トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'2'
,'tax_rate_kbn'
,'1'
,'1'
,'2'
,'0'
,'消費税率区分'
,'263'
,'出荷履歴トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'2'
,'field_yobi07'
,'1'
,'1'
,'8'
,'0'
,'注文日'
,'95'
,'出荷履歴トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'2'
,'tax_rate_kbn'
,'2'
,'1'
,'2'
,'0'
,'消費税率区分'
,'263'
,'出荷履歴トラン'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'2'
,'field_yobi07'
,'2'
,'1'
,'8'
,'0'
,'注文日'
,'95'
,'出荷履歴トラン'
)
go
UPDATE T070MstDefInpOupDbs SET order_no = 461 WHERE field_janm = '保冷種別' AND order_no = 460
go
UPDATE T070MstDefInpOupDbs SET order_no = 462 WHERE field_janm = '書留／セキュリティ種別' AND order_no = 461
go
UPDATE T070MstDefInpOupDbs SET order_no = 464 WHERE field_janm = 'こわれもの区分' AND order_no = 463
go
UPDATE T070MstDefInpOupDbs SET order_no = 465 WHERE field_janm = 'なまもの区分' AND order_no = 464
go
UPDATE T070MstDefInpOupDbs SET order_no = 466 WHERE field_janm = 'ビン類区分' AND order_no = 465
go
UPDATE T070MstDefInpOupDbs SET order_no = 467 WHERE field_janm = '逆さま厳禁区分' AND order_no = 466
go
UPDATE T070MstDefInpOupDbs SET order_no = 468 WHERE field_janm = '下積み厳禁区分' AND order_no = 467
go
UPDATE T070MstDefInpOupDbs SET order_no = 469 WHERE field_janm = '変換前個数' AND order_no = 468
go
UPDATE T070MstDefInpOupDbs SET order_no = 470 WHERE field_janm = '変換後個口数' AND order_no = 469
go
UPDATE T070MstDefInpOupDbs SET order_no = 471 WHERE field_janm = '出荷先発行指示会員番号' AND order_no = 470
go
UPDATE T070MstDefInpOupDbs SET order_no = 472 WHERE field_janm = '出荷先発行指示パソコンID' AND order_no = 471
go
UPDATE T070MstDefInpOupDbs SET order_no = 473 WHERE field_janm = '出荷先ログインユーザーID' AND order_no = 472
go
UPDATE T070MstDefInpOupDbs SET order_no = 474 WHERE field_janm = '商品備考０１' AND order_no = 473
go
UPDATE T070MstDefInpOupDbs SET order_no = 475 WHERE field_janm = '商品備考０２' AND order_no = 474
go
UPDATE T070MstDefInpOupDbs SET order_no = 476 WHERE field_janm = '商品備考０３' AND order_no = 475
go
UPDATE T070MstDefInpOupDbs SET order_no = 477 WHERE field_janm = '商品備考０４' AND order_no = 476
go
UPDATE T070MstDefInpOupDbs SET order_no = 478 WHERE field_janm = '商品備考０５' AND order_no = 477
go
UPDATE T070MstDefInpOupDbs SET order_no = 479 WHERE field_janm = '商品備考０６' AND order_no = 478
go
UPDATE T070MstDefInpOupDbs SET order_no = 480 WHERE field_janm = '商品備考０７' AND order_no = 479
go
UPDATE T070MstDefInpOupDbs SET order_no = 481 WHERE field_janm = '商品備考０８' AND order_no = 480
go
UPDATE T070MstDefInpOupDbs SET order_no = 482 WHERE field_janm = '商品備考０９' AND order_no = 481
go
UPDATE T070MstDefInpOupDbs SET order_no = 483 WHERE field_janm = '商品備考１０' AND order_no = 482
go
UPDATE T070MstDefInpOupDbs SET order_no = 484 WHERE field_janm = '削除処理区分' AND order_no = 483
go
UPDATE T070MstDefInpOupDbs SET order_no = 485 WHERE field_janm = '登録年月日' AND order_no = 484
go
UPDATE T070MstDefInpOupDbs SET order_no = 486 WHERE field_janm = '更新ログイングループID' AND order_no = 485
go
UPDATE T070MstDefInpOupDbs SET order_no = 487 WHERE field_janm = '更新ログインユーザーID' AND order_no = 486
go
UPDATE T070MstDefInpOupDbs SET order_no = 488 WHERE field_janm = '更新年月日' AND order_no = 487
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'4'
,'tax_rate_kbn'
,'1'
,'1'
,'2'
,'0'
,'消費税率区分'
,'460'
,'T070PdtMst'
)
go
INSERT INTO T070MstDefInpOupDbs(
filter_sbt
,field_nm
,io_kbn
,field_type
,field_size_sys
,field_size_deci
,field_janm
,order_no
,table_nm
)
VALUES
(
'4'
,'tax_rate_kbn'
,'2'
,'1'
,'2'
,'0'
,'消費税率区分'
,'460'
,'T070PdtMst'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '消費税率区分' AND
code_no = '10'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'消費税率区分'
,'01'
,''
,'10'
,''
,'10%'
,'10'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '消費税率区分' AND
code_no = '8'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'消費税率区分'
,'02'
,''
,'8'
,''
,'8%'
,'8'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '消費税率区分' AND
code_no = '0'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'消費税率区分'
,'03'
,''
,'0'
,''
,'0%'
,'0'
)
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律',500,310,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律',1000,360,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00010000','代引','0','全国一律',0,0,0,265,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00010100','規格外代引','0','全国一律',0,0,0,265,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00100000','簡易書留','0','全国一律',0,0,50000,320,0,0,50000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00100100','規格外簡易書留','0','全国一律',0,0,50000,320,0,0,50000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00200000','書留','0','全国一律',0,0,100000,380,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00200100','規格外書留','0','全国一律',0,0,100000,380,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000000','速達','0','全国一律',1000,0,0,330,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  2000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  2000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000100','規格外速達','0','全国一律',2000,0,0,330,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  3000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  3000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','01000100','規格外速達','0','全国一律',3000,0,0,480,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','02000000','配達日指定','0','全国一律',0,0,0,52,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '1' AND yubin_kbn =  '02000100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '02000100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','02000100','規格外配達日指定','0','全国一律',0,0,0,52,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  25 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  25 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00000000','普通','0','全国一律',25,84,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  50 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  50 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00000000','普通','0','全国一律',50,94,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00010000','代引','0','全国一律',0,0,0,265,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00100000','簡易書留','0','全国一律',0,0,50000,320,0,0,50000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00200000','書留','0','全国一律',0,0,100000,435,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','01000000','速達','0','全国一律',0,0,0,290,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '2' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','02000000','配達日指定','0','全国一律',0,0,0,32,0,178,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  150 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  150 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律',150,210,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律',500,390,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000000','普通','0','全国一律',1000,580,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  150 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  150 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',150,300,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',250,350,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',500,510,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',1000,710,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  2000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  2000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',2000,1040,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  3000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  3000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',3000,1350,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00000100','規格外','0','全国一律',4000,1350,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00010000','代引','0','全国一律',0,0,0,265,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00010100','規格外代引','0','全国一律',0,0,0,265,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00100000','簡易書留','0','全国一律',0,0,50000,320,0,0,50000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00100100','規格外簡易書留','0','全国一律',0,0,50000,320,0,0,50000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00200000','書留','0','全国一律',0,0,100000,435,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00200100','規格外書留','0','全国一律',0,0,100000,435,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律',250,0,0,290,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律',1000,0,0,390,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',250,0,0,290,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',1000,0,0,390,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',4000,0,0,660,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','02000000','配達日指定','0','全国一律',0,0,0,32,0,178,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '3' AND yubin_kbn =  '02000100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '02000100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','02000100','規格外配達日指定','0','全国一律',0,0,0,32,0,178,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  25 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  25 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00000000','普通','0','全国一律',25,84,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  50 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  50 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00000000','普通','0','全国一律',50,94,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '7' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00200000','書留','0','全国一律',0,0,100000,435,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）',250,0,0,340,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）',1000,0,0,440,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）',4000,0,0,710,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  150 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  150 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律',150,210,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律',500,390,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000000','普通','0','全国一律',1000,580,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',250,350,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  500 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',500,510,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',1000,710,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  2000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  2000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',2000,1040,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  3000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  3000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',3000,1350,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00000100','規格外','0','全国一律',4000,1350,0,0,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00200000','書留','0','全国一律',0,0,100000,435,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo =  0 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00200100','規格外書留','0','全国一律',0,0,100000,435,50000,21,5000000,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）',250,0,0,340,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）',1000,0,0,440,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000000','配達時間指定','0','全国一律（条件付）',4000,0,0,710,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo =  250 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000100','規格外配達時間指定','0','全国一律（条件付）',250,0,0,340,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo =  1000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000100','規格外配達時間指定','0','全国一律（条件付）',1000,0,0,440,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20190930' , Upd_ymd = '2019/04/04' WHERE yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo =  4000 AND RcdAplSttYmd = '20191001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','03000100','規格外配達時間指定','0','全国一律（条件付）',4000,0,0,710,0,0,0,0,'20191001','99991231','0','2019/04/04','2019/04/04','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
DELETE FROM T070MsgMst
WHERE
message_id = 'E0742019119'
go
INSERT INTO T070MsgMst
VALUES
(
'E0742019119',
'フォーマット種別が{0}の場合、
明細数は30以下で入力してください。',
null, 
null
)
go
UPDATE T070WrkTblPriIvc 
SET
order_ymd = '20130325'
WHERE machine_id = 'printpreviewdata'
go
UPDATE T070WrkTblPriIvc 
SET
tax_rate_kbn = '10'
WHERE machine_id = 'printpreviewdata' AND seq_no in (1,3,5)
go
UPDATE T070WrkTblPriIvc 
SET
tax_rate_kbn = '8'
WHERE machine_id = 'printpreviewdata' AND seq_no in (2,4)
go
UPDATE T070SigStgMst
SET CONSTANT10 = '20190930'
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '19'
go
UPDATE T070SigStgMst
SET CONSTANT10 = '20190930'
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '20'
go
UPDATE T070SigStgMst
SET CONSTANT10 = '20190930'
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '21'
go
UPDATE T070SigStgMst
SET CONSTANT10 = '20190930'
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '22'
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '23'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'14'
,'23'
,'203'
,'1'
,'49999'
,'0'
,'ゆうちょ銀行'
,Null
,Null
,Null
,'20191001'
,'99991231'
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '24'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'14'
,'24'
,'417'
,'50000'
,'9999999999'
,'0'
,'ゆうちょ銀行'
,Null
,Null
,Null
,'20191001'
,'99991231'
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '25'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'14'
,'25'
,'220'
,'1'
,'49999'
,'1'
,'ゆうちょ銀行以外'
,Null
,Null
,Null
,'20191001'
,'99991231'
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '14' AND
CODE_NO = '26'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'14'
,'26'
,'440'
,'50000'
,'9999999999'
,'1'
,'ゆうちょ銀行以外'
,Null
,Null
,Null
,'20191001'
,'99991231'
,Null
,Null
) 
go

UPDATE T070TplDpcPlnTrxCnf_2 SET tax_rate_kbn = '11' 
WHERE tax_rate_kbn Is Null AND com_member_id = '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET tax_rate_kbn = shohin_cd 
WHERE tax_rate_kbn Is Null AND com_member_id <> '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET field_yobi07 = '11' 
WHERE field_yobi07 Is Null AND com_member_id = '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET field_yobi07 = '10' 
WHERE field_yobi07 Is Null AND com_member_id <> '0'
go
DELETE FROM T070CodMst
WHERE
syscode1 = '取込フィルタフォーマット種別' AND
code_no = '12'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'取込フィルタフォーマット種別'
,''
,''
,'12'
,''
,'標準フォーマットv3'
,''
)
go
UPDATE T070CodMst
SET code_nm = '標準フォーマットv1'
WHERE
syscode1 = '取込フィルタフォーマット種別' AND
code_no = '10' 
go
UPDATE T070CodMst
SET code_nm = '標準フォーマットv2'
WHERE
syscode1 = '取込フィルタフォーマット種別' AND
code_no = '11' 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '64' AND
CODE_NO = '12'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'64'
,'12'
,'YUPA_STANDARD3'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
UPDATE T070UsrLinMst SET seikyu_tax_calc_kbn = 0
WHERE seikyu_tax_calc_kbn = '3'
go
UPDATE T070UsrLinMst SET seikyu_tax_calc_kbn = 0
WHERE seikyu_tax_calc_kbn IS Null
go
UPDATE T070UsrLinMst Set reduced_tax_calc_kbn = seikyu_tax_calc_kbn
WHERE reduced_tax_calc_kbn Is Null
go
UPDATE T070PodStg SET tax_rate_kbn  = '0'
WHERE tax_kbn = '0' AND tax_rate_kbn Is Null
go
UPDATE T070PodStg SET tax_rate_kbn  = '10'
WHERE tax_kbn = '1' AND tax_rate_kbn Is Null
go
UPDATE T070PodStg SET tax_rate_kbn = '0'
WHERE tax_calc_kbn = '3' AND tax_kbn = '1'
go
UPDATE T070PodStg SET tax_calc_kbn = '0'
WHERE tax_calc_kbn = '3'
go
DELETE FROM T070CodMst
WHERE
syscode1 = '消費税課税負担者区分' AND
code_no = '0'
go
DELETE FROM T070CodMst
WHERE
syscode1 = '消費税課税負担者区分' AND
code_no = '1'
go
DELETE FROM T070CodMst
WHERE
syscode1 = '消費税計算区分' AND
code_no = '3'
go

ALTER TABLE T070UsrLinMst ADD LINE_information_kbn CHAR(1) NULL
go
UPDATE T070UsrLinMst
SET LINE_information_kbn = '1'
WHERE
LINE_information_kbn IS NULL 
go
UPDATE T070UsrLinMst
SET haitatsumail_kbn = '1'
go
UPDATE T070UsrLinMst
SET saihaitatsumail_kbn = '1'
go
UPDATE T070UsrLinMst
SET haitatsukanryo_mail_kbn = '1'
go
UPDATE T070UsrLinMst
SET kyokudome_mail_kbn = '1'
go
DELETE FROM T070CodMst
WHERE
syscode1 = 'お届け通知メール使用区分' AND
code_no = '0'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'お届け完了メール利用区分'
,''
,''
,'0'
,''
,'不要'
,'不要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = 'お届け通知メール使用区分' AND
code_no = '1'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'お届け完了メール利用区分'
,''
,''
,'1'
,''
,'必要'
,'必要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '局留め通知メール使用区分' AND
code_no = '0'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'郵便局留めメール利用区分'
,''
,''
,'0'
,''
,'不要'
,'不要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '局留め通知メール使用区分' AND
code_no = '1'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'郵便局留めメール利用区分'
,''
,''
,'1'
,''
,'必要'
,'必要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '再配達予告メール使用区分' AND
code_no = '0'
go
DELETE FROM T070CodMst
WHERE
syscode1 = '再配達予告メール使用区分' AND
code_no = '1'
go
DELETE FROM T070CodMst
WHERE
syscode1 = '配達予告メール使用区分' AND
code_no = '0'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'お届け予定メール利用区分'
,''
,''
,'0'
,''
,'不要'
,'不要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '配達予告メール使用区分' AND
code_no = '1'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'お届け予定メール利用区分'
,''
,''
,'1'
,''
,'必要'
,'必要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '不在持戻メール使用区分' AND
code_no = '0'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'ご不在連絡メール利用区分'
,''
,''
,'0'
,''
,'不要'
,'不要'
)
go
DELETE FROM T070CodMst
WHERE
syscode1 = '不在持戻メール使用区分' AND
code_no = '1'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'ご不在連絡メール利用区分'
,''
,''
,'1'
,''
,'必要'
,'必要'
)
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '49' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '50' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '51' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '52' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '53' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス１'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '54' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス２'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '55' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス３'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '56' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス４'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '57' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス５'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '58' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '59' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールアドレス１'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '60' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールアドレス２'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '61' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '48' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '49' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '50' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '51' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '52' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス１'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '53' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス２'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '54' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス３'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '55' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス４'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '56' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス５'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '57' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '58' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールアドレス１'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '59' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールアドレス２'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_DENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '60' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '32' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '33' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '34' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '35' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '36' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '37' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '38' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_KAKUTEI' AND
syscode3 = '1' AND
code_no = '39' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '32' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '33' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '34' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールサービス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '35' 
go
UPDATE T070CodMst
SET code_nm = 'お届け予定メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '36' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '37' 
go
UPDATE T070CodMst
SET code_nm = 'ご不在連絡メールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '38' 
go
UPDATE T070CodMst
SET code_nm = '郵便局留めメールアドレス'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_SINDENFD_YOYAKU' AND
syscode3 = '1' AND
code_no = '39' 
go
UPDATE T070CodMst
SET code_nm = 'お届け完了メール使用フラグ'
WHERE
syscode1 = 'フォーマット種別別見出し' AND
syscode2 = 'O_YU-PRINT_SYUKKA' AND
syscode3 = '2' AND
code_no = '036' 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '36' AND
CODE_NO = '401'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'36'
,'401'
,'ゆうパック　−　元払（LINE通知なし）'
,'2'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '36' AND
CODE_NO = '403'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'36'
,'403'
,'ゆうパック　−　代引まとめ（LINE通知なし）'
,'2'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '36' AND
CODE_NO = '406'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'36'
,'406'
,'ゆうパック　−　着払（LINE通知なし）'
,'2'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '36' AND
CODE_NO = '407'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'36'
,'407'
,'ゆうパック　−　代引（都度送金）（LINE通知なし）'
,'2'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '84' AND
CODE_NO = '101'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'84'
,'101'
,'401'
,'ゆうパック　−　元払'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '84' AND
CODE_NO = '103'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'84'
,'103'
,'403'
,'ゆうパック　−　代引まとめ'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '84' AND
CODE_NO = '106'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'84'
,'106'
,'406'
,'ゆうパック　−　着払'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
DELETE FROM T070SigStgMst
WHERE SYS_CODE_ID = '84' AND
CODE_NO = '107'
go
INSERT INTO T070SigStgMst( 
SYS_CODE_ID
,CODE_NO
,CONSTANT01
,CONSTANT02
,CONSTANT03
,CONSTANT04
,CONSTANT05
,CONSTANT06
,CONSTANT07
,CONSTANT08
,CONSTANT09
,CONSTANT10
,toroku_ymd
,koshin_ymd
) 
VALUES
(
'84'
,'107'
,'407'
,'ゆうパック　−　代引（都度送金）'
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
,Null
) 
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け完了メール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'goirai_todokemail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け完了メール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'goirai_todokemail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け完了メール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'goirai_todokemail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け完了メール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'goirai_todokemail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け予定メール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'todoke_haitatsumail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け予定メール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'todoke_haitatsumail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け予定メール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'todoke_haitatsumail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け予定メール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'todoke_haitatsumail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = '郵便局留めメール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'todoke_kyokudomemail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = '郵便局留めメール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'todoke_kyokudomemail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = '郵便局留めメール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'todoke_kyokudomemail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = '郵便局留めメール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'todoke_kyokudomemail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'ご不在連絡メール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'todoke_saihaitatsumail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'ご不在連絡メール利用区分'
WHERE filter_sbt = '1' AND
field_nm = 'todoke_saihaitatsumail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'ご不在連絡メール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'todoke_saihaitatsumail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'ご不在連絡メール利用区分'
WHERE filter_sbt = '2' AND
field_nm = 'todoke_saihaitatsumail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け予定メール利用区分'
WHERE filter_sbt = '3' AND
field_nm = 'haitatsumail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け予定メール利用区分'
WHERE filter_sbt = '3' AND
field_nm = 'haitatsumail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'ご不在連絡メール利用区分'
WHERE filter_sbt = '3' AND
field_nm = 'saihaitatsumail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'ご不在連絡メール利用区分'
WHERE filter_sbt = '3' AND
field_nm = 'saihaitatsumail_kbn' AND
io_kbn = '2'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け完了メール利用区分'
WHERE filter_sbt = '3' AND
field_nm = 'todokemail_kbn' AND
io_kbn = '1'
go
UPDATE T070MstDefInpOupDbs
SET field_janm = 'お届け完了メール利用区分'
WHERE filter_sbt = '3' AND
field_nm = 'todokemail_kbn' AND
io_kbn = '2'
go
UPDATE T070DispColumnChange
SET columnnm = '郵便局留めメール'
WHERE columnnm = 'お届け先 局留め通知メール'
go
UPDATE T070DispColumnChange
SET columnnm = 'お届け予定メール'
WHERE columnnm = 'お届け先 配達予告メール'
go
UPDATE T070DispColumnChange
SET columnnm = 'ご不在連絡メール'
WHERE columnnm = 'お届け先 不在持戻メール'
go
UPDATE T070DispColumnChange
SET columnnm = 'お届け完了メール'
WHERE columnnm = 'ご依頼主 お届け通知メール使用区分'
go
UPDATE T070DispColumnChange
SET columnnm = 'お届け完了メール'
WHERE columnnm = 'お届け通知メール使用区分'
go
UPDATE T070DispColumnChange
SET columnnm = 'お届け予定メール'
WHERE columnnm = '配達予告メール使用区分'
go
UPDATE T070DispColumnChange
SET columnnm = 'ご不在連絡メール'
WHERE columnnm = '再配達予告メール使用区分'
go
DELETE FROM T070ImpListHeader
go
DELETE FROM T070ImpListBody
go

UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20210930' , Upd_ymd = '2021/10/1' WHERE  yubin_sbt = '2' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20211001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','01000000','速達','0','全国一律',0,0,0,260,0,0,0,0,'20211001','99991231','0','2021/10/1','2021/10/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20210930' , Upd_ymd = '2021/10/1' WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20211001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律',250,0,0,260,0,0,0,0,'20211001','99991231','0','2021/10/1','2021/10/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20210930' , Upd_ymd = '2021/10/1' WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20211001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000000','速達','0','全国一律',1000,0,0,350,0,0,0,0,'20211001','99991231','0','2021/10/1','2021/10/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20210930' , Upd_ymd = '2021/10/1' WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20211001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',250,0,0,260,0,0,0,0,'20211001','99991231','0','2021/10/1','2021/10/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20210930' , Upd_ymd = '2021/10/1' WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20211001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',1000,0,0,350,0,0,0,0,'20211001','99991231','0','2021/10/1','2021/10/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20210930' , Upd_ymd = '2021/10/1' WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20211001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','01000100','規格外速達','0','全国一律',4000,0,0,600,0,0,0,0,'20211001','99991231','0','2021/10/1','2021/10/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go

UPDATE T070MstStgInpOupHer SET charset = '3' WHERE format_sbt = 'AMAZON' AND charset = '1'
go

ALTER TABLE T070DTplpcPlnTrxHer_3 ADD cvs_hanbetsu_cd CHAR(1) NULL
go
ALTER TABLE T070DTplpcPlnTrxHer_3 ADD cvs_gyosya_cd VARCHAR(6) NULL
go
ALTER TABLE T070DTplpcPlnTrxHer_3 ADD cvs_cvs_cd VARCHAR(4) NULL
go
ALTER TABLE T070DTplpcPlnTrxHer_3 ADD cvs_tenpo_cd VARCHAR(6) NULL
go
ALTER TABLE T070TplDpcPlnTrxCnf_2 ADD cvs_hanbetsu_cd CHAR(10) NULL
go
ALTER TABLE T070TplDpcPlnTrxCnf_2 ADD cvs_gyosya_cd CHAR(10) NULL
go
ALTER TABLE T070TplDpcPlnTrxCnf_2 ADD cvs_cvs_cd CHAR(10) NULL
go
ALTER TABLE T070TplDpcPlnTrxCnf_2 ADD cvs_tenpo_cd CHAR(10) NULL
go
ALTER TABLE T070PrtLblCnfMst ADD shiteibasyo_direct_kbn CHAR(1) NULL
go
ALTER TABLE T070WrkTblPriIvc ADD shiteibasyo_kibou1_cd VARCHAR(6) NULL
go
ALTER TABLE T070WrkTblPriIvc ADD shiteibasyo_kibou2_cd VARCHAR(4) NULL
go
ALTER TABLE T070WrkTblPriIvc ADD shiteibasyo_chime_umu_kbn VARCHAR(6) NULL
go

DELETE FROM T070CodMst WHERE syscode1 = 'エラー内容種別' AND code_no = 'BU'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'エラー内容種別'
,''
,''
,'BU'
,''
,'品名を入力してください。'
,''
)
go
DELETE FROM T070CodMst WHERE syscode1 = 'エラー内容種別' AND code_no = 'BV'
go
INSERT INTO T070CodMst
(
syscode1
,syscode2
,syscode3
,code_no
,syscode_nm
,code_nm
,code_ryaku_nm
)
VALUES
(
'エラー内容種別'
,''
,''
,'BV'
,''
,'厚さ3cm以下のゆうパケットは指定場所の第1希望を「郵便受箱」、第1希望の指定場所を第2希望に変更しました。'
,''
)
go

DELETE FROM T070CodMst WHERE syscode1 = '商品厚さ区分' AND code_no = '99'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('商品厚さ区分', '', '', '99', '', '3cm超', '3cm超')
go

DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '01'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '01', '', '01', '', '宅配ボックス', '宅配ボックス')
go
DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '02'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '02', '', '02', '', '玄関前', '玄関前')
go
DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '03'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '03', '', '03', '', '玄関前鍵付容器', '玄関前鍵付容器')
go
DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '04'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '04', '', '04', '', 'ポスト（郵便受箱）', 'ポスト（郵便受箱）')
go
DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '05'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '05', '', '05', '', 'メータボックス', 'メータボックス')
go
DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '06'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '06', '', '06', '', '物置', '物置')
go
DELETE FROM T070CodMst WHERE syscode1 = '配達指定場所コード区分' AND code_no = '07'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('配達指定場所コード区分', '07', '', '07', '', '車庫', '車庫')
go

DELETE FROM T070CodMst WHERE syscode1 = 'チャイム区分' AND code_no = '0'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('チャイム区分', '', '', '0', '', 'なし', 'なし')
go
DELETE FROM T070CodMst WHERE syscode1 = 'チャイム区分' AND code_no = '1'
go
INSERT INTO T070CodMst(syscode1, syscode2, syscode3, code_no, syscode_nm, code_nm, code_ryaku_nm)VALUES('チャイム区分', '', '', '1', '', 'あり', 'あり')
go

DELETE FROM T070MsgMst WHERE message_id = 'E0742019120'
go
INSERT INTO T070MsgMst(message_id, message_nm, ins_ymd, upd_ymd)VALUES('E0742019120', '3cm超の厚さをゆうパケットとして登録する場合は、必ず指定場所ダイレクトを選択してください。', null, null)
go

DELETE FROM T070MsgMst WHERE message_id = 'I0742010052'
go
INSERT INTO T070MsgMst(message_id, message_nm, ins_ymd, upd_ymd)VALUES('I0742010052', '品名が未入力です。このまま登録しますか？(航空搭載できない場合があります。)', null, null)
go

DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '79' AND CODE_NO = '12'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('79', '12', '1', '1100555003', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '79' AND CODE_NO = '13'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('79', '13', '2', '1100555003', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '79' AND CODE_NO = '14'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('79', '14', '3', '1100555004', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '79' AND CODE_NO = '15'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('79', '15', '4', '1100555005', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '79' AND CODE_NO = '16'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('79', '16', '5', '1100555005', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go

DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '80' AND CODE_NO = '1100555003'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('80', '1100555003', '0', '0', '0', '0', null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '80' AND CODE_NO = '1100555004'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('80', '1100555004', '0', '0', '2', '0', null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '80' AND CODE_NO = '1100555005'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('80', '1100555005', '0', '0', '0', '0', null, null, null, null, null, null, '2021/11/30', Null)
go

DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '85' AND CODE_NO = '1'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('85', '1', '1100555001', '2', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '85' AND CODE_NO = '2'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('85', '2', '1100555002', '3', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '85' AND CODE_NO = '3'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('85', '3', '1100555003', '3', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '85' AND CODE_NO = '4'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('85', '4', '1100555004', '2', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '85' AND CODE_NO = '5'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('85', '5', '1100555005', '2', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '85' AND CODE_NO = '6'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID, CODE_NO, CONSTANT01, CONSTANT02, CONSTANT03, CONSTANT04, CONSTANT05, CONSTANT06, CONSTANT07, CONSTANT08, CONSTANT09, CONSTANT10, toroku_ymd, koshin_ymd)VALUES('85', '6', '1800800014', '2', null, null, null, null, null, null, null, null, '2021/11/30', Null)
go

DELETE FROM T070DefLdgShtMst WHERE comprint_no = '1100555001'
go
INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100555001'
,'ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33001.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,2
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100570'
go
DELETE FROM T070SepDefLdgShtMstHer WHERE comprint_no = '1100555001'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555001'
,comprint_eda_no
,copy_no
,'ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33001.rpx'
,edit_kbn
,2
,'20120101'
,'99991231'
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100570'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND comprint_no = '1100555001'
go
DELETE FROM T070PrtLblCnfMst WHERE comprint_no = '1100555001'
go
INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555001'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,'0'
,'3'
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,'3'
,yobi10_kbn
,'20120101'
,'99991231'
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'0'
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,'1'
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100570'
go
INSERT INTO T070PrtLblCnfMst SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn
,T070PrtLblCnfMst.shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100555001'
go

DELETE FROM T070DefLdgShtMst WHERE comprint_no = '1100555002'
go
INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100555002'
,'着払ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,2
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100570'
go
DELETE FROM T070SepDefLdgShtMstHer WHERE comprint_no = '1100555002'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555002'
,comprint_eda_no
,copy_no
,'着払ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33002.rpx'
,edit_kbn
,2
,'20120101'
,'99991231'
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100570'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND comprint_no = '1100555002'
go
DELETE FROM T070PrtLblCnfMst WHERE comprint_no = '1100555002'
go
INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,'1'
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,'1'
,'3'
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,'1'
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,'0'
,yobi10_kbn
,'20120101'
,'99991231'
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'0'
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,'1'
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100728001'
go
INSERT INTO T070PrtLblCnfMst SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn
,T070PrtLblCnfMst.shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100555002'
go

DELETE FROM T070DefLdgShtMst WHERE comprint_no = '1100555003'
go
INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100555003'
,'コンビニ受取用ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33003.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,2
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100570'
go
DELETE FROM T070SepDefLdgShtMstHer WHERE comprint_no = '1100555003'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555003'
,comprint_eda_no
,copy_no
,'コンビニ受取用ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33003.rpx'
,edit_kbn
,2
,'20120101'
,'99991231'
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100570'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND comprint_no = '1100555003'
go
DELETE FROM T070PrtLblCnfMst WHERE comprint_no = '1100555003'
go
INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555003'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,'0'
,'3'
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,'0'
,yobi10_kbn
,'20120101'
,'99991231'
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,'0'
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' and comprint_no = '1100572001'
go
INSERT INTO T070PrtLblCnfMst SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn
,T070PrtLblCnfMst.shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100555003'
go

DELETE FROM T070DefLdgShtMst WHERE comprint_no = '1100555004'
go
INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100555004'
,'局窓用(店頭決済あり)ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33004.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,2
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100570'
go
DELETE FROM T070SepDefLdgShtMstHer WHERE comprint_no = '1100555004'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555004'
,comprint_eda_no
,copy_no
,'局窓用(店頭決済あり)ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33004.rpx'
,edit_kbn
,2
,'20120101'
,'99991231'
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100570'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND comprint_no = '1100555004'
go
DELETE FROM T070PrtLblCnfMst WHERE comprint_no = '1100555004'
go
INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555004'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,'0'
,'3'
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,'2'
,yobi10_kbn
,'20120101'
,'99991231'
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,'0'
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' and comprint_no = '1100572002'
go
INSERT INTO T070PrtLblCnfMst SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn
,T070PrtLblCnfMst.shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100555004'
go

DELETE FROM T070DefLdgShtMst WHERE comprint_no = '1100555005'
go
INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100555005'
,'局窓用(店頭決済なし)ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33005.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,2
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100570'
go
DELETE FROM T070SepDefLdgShtMstHer WHERE comprint_no = '1100555005'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555005'
,comprint_eda_no
,copy_no
,'局窓用(店頭決済なし)ゆうパックハイブリッドラベル（ュ00555）'
,'420107P01R33005.rpx'
,edit_kbn
,2
,'20120101'
,'99991231'
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100570'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND comprint_no = '1100555005'
go
DELETE FROM T070PrtLblCnfMst WHERE comprint_no = '1100555005'
go
INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100555005'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,'0'
,'3'
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,'0'
,yobi10_kbn
,'20120101'
,'99991231'
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,'1'
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,'0'
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' and comprint_no = '1100572003'
go
INSERT INTO T070PrtLblCnfMst SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn
,T070PrtLblCnfMst.shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100555005'
go

DELETE FROM T070DefLdgShtMst WHERE comprint_no = '1800800014'
go
INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1800800014'
,'ゆうパケットハイブリッドラベル(ュ00555)'
,'420107P02R40014.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,2
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1800800012'
go
DELETE FROM T070SepDefLdgShtMstHer WHERE comprint_no = '1800800014'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1800800014'
,comprint_eda_no
,copy_no
,'ゆうパケットハイブリッドラベル（ュ00555）'
,'420107P02R40014.rpx'
,edit_kbn
,2
,'20120101'
,'99991231'
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1800800012'
go
INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND comprint_no = '1800800014'
go
DELETE FROM T070PrtLblCnfMst WHERE comprint_no = '1800800014'
go
INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
) select
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1800800014'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,'0'
,'3'
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,'20120101'
,'99991231'
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,'1'
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' and comprint_no = '1800800012'
go
INSERT INTO T070PrtLblCnfMst SELECT 
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn
,T070PrtLblCnfMst.shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1800800014'
go

UPDATE T070PrtLblCnfMst SET shiteibasyo_direct_kbn = '1' WHERE comprint_no = '1100570'
go
UPDATE T070PrtLblCnfMst SET shiteibasyo_direct_kbn = '1' WHERE comprint_no = '1100783001'
go
UPDATE T070PrtLblCnfMst SET shiteibasyo_direct_kbn = '0' WHERE shiteibasyo_direct_kbn IS NULL
go

UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_hanbetsu_cd = '11'
WHERE cvs_hanbetsu_cd Is Null AND com_member_id = '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_hanbetsu_cd = '10'
WHERE cvs_hanbetsu_cd Is Null AND com_member_id <> '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_gyosya_cd = '11'
WHERE cvs_gyosya_cd Is Null AND com_member_id = '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_gyosya_cd = '10'
WHERE cvs_gyosya_cd Is Null AND com_member_id <> '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_cvs_cd = '11'
WHERE cvs_cvs_cd Is Null AND com_member_id = '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_cvs_cd = '10'
WHERE cvs_cvs_cd Is Null AND com_member_id <> '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_tenpo_cd = '11'
WHERE cvs_tenpo_cd Is Null AND com_member_id = '0'
go
UPDATE T070TplDpcPlnTrxCnf_2 SET cvs_tenpo_cd = '10'
WHERE cvs_tenpo_cd Is Null AND com_member_id <> '0'
go

DELETE FROM T070CodMst WHERE syscode1 = '郵便種別' AND code_no = '5'
go

UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00100000','簡易書留','0','全国一律',0,0,50000,350,0,0,50000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00100100','規格外簡易書留','0','全国一律',0,0,50000,350,0,0,50000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00200000','書留','0','全国一律',0,0,100000,420,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00200100','規格外書留','0','全国一律',0,0,100000,420,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '2' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00100000','簡易書留','0','全国一律',0,0,50000,350,0,0,50000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '2' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00200000','書留','0','全国一律',0,0,100000,480,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '3' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00100000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00100000','簡易書留','0','全国一律',0,0,50000,350,0,0,50000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '3' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00100100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00100100','規格外簡易書留','0','全国一律',0,0,50000,350,0,0,50000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '3' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00200000','書留','0','全国一律',0,0,100000,480,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '3' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00200100','規格外書留','0','全国一律',0,0,100000,480,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '7' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '7' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','7','定形配達時間帯指定郵便','00200000','書留','0','全国一律',0,0,100000,480,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '8' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00200000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00200000','書留','0','全国一律',0,0,100000,480,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '8' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '8' AND yubin_kbn =  '00200100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','8','定形外配達時間帯指定郵便','00200100','規格外書留','0','全国一律',0,0,100000,480,50000,23,5000000,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00010000','代引','0','全国一律',0,0,0,290,0,0,0,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '1' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00010100','規格外代引','0','全国一律',0,0,0,290,0,0,0,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '2' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '2' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','2','定形郵便','00010000','代引','0','全国一律',0,0,0,290,0,0,0,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '3' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00010000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00010000','代引','0','全国一律',0,0,0,290,0,0,0,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20230930' , Upd_ymd = '2023/8/4' WHERE  yubin_sbt = '3' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE yubin_sbt = '3' AND yubin_kbn =  '00010100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20231001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','3','定形外郵便','00010100','規格外代引','0','全国一律',0,0,0,290,0,0,0,0,'20231001','99991231','0','2023/8/4','2023/8/4','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID = '51' AND
CODE_NO = '56'
go

DELETE FROM T070CodMst
WHERE
syscode1 = '配達時間帯区分' AND
syscode2 = '08' AND
code_no = '56'
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID = '71' AND
CODE_NO = '1100742002'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
CONSTANT03,
toroku_ymd
)
VALUES
(
'71',
'1100742002',
'5',
'1',
'8',
'2024/06/10'
)
go

DELETE FROM T070SigStgMst
WHERE
SYS_CODE_ID = '75' AND
CODE_NO = '6' AND
CONSTANT01 = '1100742002'
go

INSERT INTO T070SigStgMst
(
SYS_CODE_ID,
CODE_NO,
CONSTANT01,
CONSTANT02,
toroku_ymd
)
VALUES
(
'75',
'6',
'1100742002',
'0',
'2024/06/10'
)
go

UPDATE T070MstConvrnCod
SET henkanato1_cd = '57'
WHERE exchange_code_sbt = '8' AND henkanato1_cd = '56'
go

UPDATE T2
SET T2.haitatsushitei_zon_kbn = '57'
From T070DpcPlnTrxHer_2 AS T2 INNER JOIN T070DpcPlnTrxHer_3 AS T3
ON T2.com_member_id = T3.com_member_id
AND T2.com_pc_id = T3.com_pc_id
AND T2.login_group_id = T3.login_group_id
AND T2.login_user_id = T3.login_user_id
AND T2.kanri_no = T3.kanri_no
AND T2.meisai_no = T3.meisai_no
AND T2.meisai_eda_no = T3.meisai_eda_no
WHERE T2.haitatsushitei_zon_kbn = '56' AND T3.okuriprint_ymd IS NULL
go

UPDATE T070CliMst 
SET haitatsujikan_kbn = '57'
WHERE haitatsujikan_kbn = '56'
go

UPDATE T070DTplpcPlnTrxHer_2 
SET haitatsushitei_zon_kbn = '57'
WHERE haitatsushitei_zon_kbn = '56'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(元払B)（ュ00661）'
WHERE
comprint_no = '1100661001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(元払B)（ュ00661）'
WHERE
comprint_no = '1100661001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(B)（ュ00701）'
WHERE
comprint_no = '1100701001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(B)（ュ00701）'
WHERE
comprint_no = '1100701001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(B2)（ュ00706）'
WHERE
comprint_no = '1100706001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(B2)（ュ00706）'
WHERE
comprint_no = '1100706001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]セキュリティゆうパックラベル（ュ00725）'
WHERE
comprint_no = '1100725001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]セキュリティゆうパックラベル（ュ00725）'
WHERE
comprint_no = '1100725001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]着払ゆうパックラベル（ュ00728）'
WHERE
comprint_no = '1100728001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]着払ゆうパックラベル（ュ00728）'
WHERE
comprint_no = '1100728001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
WHERE
comprint_no = '1100742001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]（新）代引ゆうパックラベル(一般･通常)（ュ00742）'
WHERE
comprint_no = '1100742001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]ゆうパックラベル(元払A)（ュ00651）'
WHERE
comprint_no = '1150651001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]ゆうパックラベル(元払A)（ュ00651）'
WHERE
comprint_no = '1150651001'
go

UPDATE T070DefLdgShtMst
SET
report_type_nm = '[廃止予定]（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
WHERE
comprint_no = '1150740001'
go

UPDATE T070SepDefLdgShtMstHer
SET
report_nm = '[廃止予定]（旧）代引ゆうパックラベル(まとめ送金)（ュ00745）'
WHERE
comprint_no = '1150740001'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100701002'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100701002'
,'ゆうパックラベル(B)（ュ00701）'
,'420107P01R02002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100701001'
go

DELETE FROM T070PrtLblCnfMst
WHERE 
comprint_no = '1100701002'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
,shiteibasyo_direct_kbn
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100701002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100701001'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
,T070PrtLblCnfMst.shiteibasyo_direct_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100701002'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100701002'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100701002'
,comprint_eda_no
,copy_no
,'ゆうパックラベル(B)（ュ00701）'
,'420107P01R02002.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100701001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100701002'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100701002'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100701002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100701001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100701002'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100706002'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100706002'
,'ゆうパックラベル(B2)（ュ00706）'
,'420107P01R24002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100706001'
go

DELETE FROM T070PrtLblCnfMst
WHERE 
comprint_no = '1100706002'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
,shiteibasyo_direct_kbn
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100706002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100706001'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
,T070PrtLblCnfMst.shiteibasyo_direct_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100706002'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100706002'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100706002'
,comprint_eda_no
,copy_no
,'ゆうパックラベル(B2)（ュ00706）'
,'420107P01R24002.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100706001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100706002'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100706002'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100706002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100706001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100706002'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100725002'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100725002'
,'セキュリティゆうパックラベル（ュ00725）'
,'420107P01R03002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100725001'
go

DELETE FROM T070PrtLblCnfMst
WHERE 
comprint_no = '1100725002'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
,shiteibasyo_direct_kbn
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100725002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100725001'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
,T070PrtLblCnfMst.shiteibasyo_direct_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100725002'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100725002'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100725002'
,comprint_eda_no
,copy_no
,'セキュリティゆうパックラベル（ュ00725）'
,'420107P01R03002.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100725001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100725002'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100725002'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100725002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100725001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100725002'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100728002'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100728002'
,'着払ゆうパックラベル（ュ00728）'
,'420107P01R04002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100728001'
go

DELETE FROM T070PrtLblCnfMst
WHERE 
comprint_no = '1100728002'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
,shiteibasyo_direct_kbn
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100728002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100728001'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
,T070PrtLblCnfMst.shiteibasyo_direct_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100728002'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100728002'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100728002'
,comprint_eda_no
,copy_no
,'着払ゆうパックラベル（ュ00728）'
,'420107P01R04002.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100728001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100728002'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100728002'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100728002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100728001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100728002'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1100742002'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1100742002'
,'代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06004.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1100742001'
go

DELETE FROM T070PrtLblCnfMst
WHERE 
comprint_no = '1100742002'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
,shiteibasyo_direct_kbn
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1100742001'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
,T070PrtLblCnfMst.shiteibasyo_direct_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1100742002'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1100742002'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742002'
,comprint_eda_no
,copy_no
,'代引ゆうパックラベル(一般･通常)（ュ00742）'
,'420107P01R06004.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1100742001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1100742002'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1100742002'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1100742002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1100742001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1100742002'
go

DELETE FROM T070DefLdgShtMst
WHERE 
comprint_no = '1150740002'
go

INSERT INTO T070DefLdgShtMst(
 comprint_no
,report_type_nm
,report_file_nm
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
) SELECT
 '1150740002'
,'代引ゆうパックラベル(まとめ送金)（ュ00745）'
,'420107P01R08002.rpx'
,free_item_cnt
,nifuda_cnt
,print_cnt
,item_cnt
,print_misc_kb
,ins_ymd
,upd_ymd
,pos_select
FROM T070DefLdgShtMst WHERE comprint_no = '1150740001'
go

DELETE FROM T070PrtLblCnfMst
WHERE 
comprint_no = '1150740002'
go

INSERT INTO T070PrtLblCnfMst(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn 
,shiteibasyo_direct_kbn
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150740002'
,comprint_eda_no
,use_kbn
,yupac_shitei_kbn
,yubin_mail_shitei_kbn
,teikei_yubin_shitei_kbn
,teikeigai_yubin_shitei_kbn
,haitatsushitei_zon_shitei_kbn
,pospacket_shitei_kbn
,atena_label_shitei_kbn
,yupac_motobarai_shitei_kbn
,yupac_chakubarai_shitei_kbn
,yupac_daibiki_shitei_kbn
,yupac_security_shitei_kbn
,yupac_child_shitei_kbn
,yupac_reizo_shitei_kbn
,yupac_ofuku_shitei_kbn
,yupac_kuko_shitei_kbn
,yupac_golf_shitei_kbn
,yupac_ski_shitei_kbn
,yupac_hagaki_shitei_kbn
,yubin_daibiki_shitei_kbn
,yubin_kakitome_shitei_kbn
,yubin_kani_kakitome_shitei_kbn
,yubin_tkiroku_shitei_kbn
,uketen_hikae_shitei_kbn
,yobi1_kbn
,yobi2_kbn
,yobi3_kbn
,yobi4_kbn
,yobi5_kbn
,yobi6_kbn
,yobi7_kbn
,yobi8_kbn
,yobi9_kbn
,yobi10_kbn
,RcdAplSttYmd
,RcdAplTmtYmd
,toroku_ymd
,koshin_ymd
,koshin_login_group_id
,koshin_login_user_id
,yupacket_shitei_kbn
,convenience_uketori_kbn
,ittai_picking_kbn
,ittai_paid_kbn
,fuka_service_kbn
,shiteibasyo_direct_kbn
FROM T070PrtLblCnfMst 
WHERE login_user_id = '0' AND comprint_no = '1150740001'
go

INSERT INTO T070PrtLblCnfMst SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070PrtLblCnfMst.comprint_no
,T070PrtLblCnfMst.comprint_eda_no
,T070PrtLblCnfMst.use_kbn
,T070PrtLblCnfMst.yupac_shitei_kbn
,T070PrtLblCnfMst.yubin_mail_shitei_kbn
,T070PrtLblCnfMst.teikei_yubin_shitei_kbn
,T070PrtLblCnfMst.teikeigai_yubin_shitei_kbn
,T070PrtLblCnfMst.haitatsushitei_zon_shitei_kbn
,T070PrtLblCnfMst.pospacket_shitei_kbn
,T070PrtLblCnfMst.atena_label_shitei_kbn
,T070PrtLblCnfMst.yupac_motobarai_shitei_kbn
,T070PrtLblCnfMst.yupac_chakubarai_shitei_kbn
,T070PrtLblCnfMst.yupac_daibiki_shitei_kbn
,T070PrtLblCnfMst.yupac_security_shitei_kbn
,T070PrtLblCnfMst.yupac_child_shitei_kbn
,T070PrtLblCnfMst.yupac_reizo_shitei_kbn
,T070PrtLblCnfMst.yupac_ofuku_shitei_kbn
,T070PrtLblCnfMst.yupac_kuko_shitei_kbn
,T070PrtLblCnfMst.yupac_golf_shitei_kbn
,T070PrtLblCnfMst.yupac_ski_shitei_kbn
,T070PrtLblCnfMst.yupac_hagaki_shitei_kbn
,T070PrtLblCnfMst.yubin_daibiki_shitei_kbn
,T070PrtLblCnfMst.yubin_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_kani_kakitome_shitei_kbn
,T070PrtLblCnfMst.yubin_tkiroku_shitei_kbn
,T070PrtLblCnfMst.uketen_hikae_shitei_kbn
,T070PrtLblCnfMst.yobi1_kbn
,T070PrtLblCnfMst.yobi2_kbn
,T070PrtLblCnfMst.yobi3_kbn
,T070PrtLblCnfMst.yobi4_kbn
,T070PrtLblCnfMst.yobi5_kbn
,T070PrtLblCnfMst.yobi6_kbn
,T070PrtLblCnfMst.yobi7_kbn
,T070PrtLblCnfMst.yobi8_kbn
,T070PrtLblCnfMst.yobi9_kbn
,T070PrtLblCnfMst.yobi10_kbn
,T070PrtLblCnfMst.RcdAplSttYmd
,T070PrtLblCnfMst.RcdAplTmtYmd
,T070PrtLblCnfMst.toroku_ymd
,T070PrtLblCnfMst.koshin_ymd
,T070PrtLblCnfMst.koshin_login_group_id
,T070PrtLblCnfMst.koshin_login_user_id
,T070PrtLblCnfMst.yupacket_shitei_kbn
,T070PrtLblCnfMst.convenience_uketori_kbn
,T070PrtLblCnfMst.ittai_picking_kbn
,T070PrtLblCnfMst.ittai_paid_kbn
,T070PrtLblCnfMst.fuka_service_kbn 
,T070PrtLblCnfMst.shiteibasyo_direct_kbn 
FROM T070PrtLblCnfMst,T070UsrLinMst 
WHERE T070PrtLblCnfMst.login_user_id = '0' AND T070PrtLblCnfMst.comprint_no = '1150740002'
go

DELETE FROM T070SepDefLdgShtMstHer
WHERE 
comprint_no = '1150740002'
go

INSERT INTO T070SepDefLdgShtMstHer(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comprint_no
,comprint_eda_no
,copy_no
,report_nm
,report_file_nm
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150740002'
,comprint_eda_no
,copy_no
,'代引ゆうパックラベル(まとめ送金)（ュ00745）'
,'420107P01R08002.rpx'
,edit_kbn
,item_cnt
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstHer 
WHERE login_user_id = '0' AND comprint_no = '1150740001'
go

INSERT INTO T070SepDefLdgShtMstHer SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstHer.comprint_no
,T070SepDefLdgShtMstHer.comprint_eda_no
,T070SepDefLdgShtMstHer.copy_no
,T070SepDefLdgShtMstHer.report_nm
,T070SepDefLdgShtMstHer.report_file_nm
,T070SepDefLdgShtMstHer.edit_kbn
,T070SepDefLdgShtMstHer.item_cnt
,T070SepDefLdgShtMstHer.ins_ymd
,T070SepDefLdgShtMstHer.upd_ymd
FROM T070SepDefLdgShtMstHer,T070UsrLinMst 
WHERE T070SepDefLdgShtMstHer.login_user_id = '0' AND T070SepDefLdgShtMstHer.comprint_no = '1150740002'
go

DELETE FROM T070SepDefLdgShtMstBDw
WHERE 
comreport_no = '1150740002'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,'1150740002'
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
FROM T070SepDefLdgShtMstBDw
WHERE login_user_id = '0' AND comreport_no = '1150740001'
go

INSERT INTO T070SepDefLdgShtMstBDw(
 com_member_id
,com_pc_id
,login_group_id
,login_user_id
,comreport_no
,comprint_eda_no
,group_no
,group_eda_no
,edit_kbn
,datafield
,item_map_nm01
,item_leteral01
,break_kbn01
,item_map_nm02
,item_leteral02
,break_kbn02
,item_map_nm03
,item_leteral03
,break_kbn03
,item_map_nm04
,item_leteral04
,font_nm
,font_size
,bold_kbn
,underline_kbn
,italic_kbn
,ins_ymd
,upd_ymd
) SELECT
 T070UsrLinMst.com_member_id
,T070UsrLinMst.com_pc_id
,T070UsrLinMst.login_group_id
,T070UsrLinMst.login_user_id
,T070SepDefLdgShtMstBDw.comreport_no
,T070SepDefLdgShtMstBDw.comprint_eda_no
,T070SepDefLdgShtMstBDw.group_no
,T070SepDefLdgShtMstBDw.group_eda_no
,T070SepDefLdgShtMstBDw.edit_kbn
,T070SepDefLdgShtMstBDw.datafield
,T070SepDefLdgShtMstBDw.item_map_nm01
,T070SepDefLdgShtMstBDw.item_leteral01
,T070SepDefLdgShtMstBDw.break_kbn01
,T070SepDefLdgShtMstBDw.item_map_nm02
,T070SepDefLdgShtMstBDw.item_leteral02
,T070SepDefLdgShtMstBDw.break_kbn02
,T070SepDefLdgShtMstBDw.item_map_nm03
,T070SepDefLdgShtMstBDw.item_leteral03
,T070SepDefLdgShtMstBDw.break_kbn03
,T070SepDefLdgShtMstBDw.item_map_nm04
,T070SepDefLdgShtMstBDw.item_leteral04
,T070SepDefLdgShtMstBDw.font_nm
,T070SepDefLdgShtMstBDw.font_size
,T070SepDefLdgShtMstBDw.bold_kbn
,T070SepDefLdgShtMstBDw.underline_kbn
,T070SepDefLdgShtMstBDw.italic_kbn
,T070SepDefLdgShtMstBDw.ins_ymd
,T070SepDefLdgShtMstBDw.upd_ymd
FROM T070SepDefLdgShtMstBDw,T070UsrLinMst 
WHERE T070SepDefLdgShtMstBDw.login_user_id = '0' AND T070SepDefLdgShtMstBDw.comreport_no = '1150740002'
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '1' AND yubin_kbn =  '00300000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '1' AND yubin_kbn =  '00300000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '1', 'ゆうメール', '00300000', '特定記録', '0', '全国一律', '0', '0', '0', '210', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 25 AND RcdAplSttYmd = '20191001'
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '2' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '2', '定形郵便', '00000000', '普通', '0', '全国一律', '50', '110', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '2' AND yubin_kbn =  '00300000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '2' AND yubin_kbn =  '00300000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '2', '定形郵便', '00300000', '特定記録', '0', '全国一律', '0', '0', '0', '210', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '2' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20211001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '2' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '2', '定形郵便', '01000000', '速達', '0', '全国一律', '0', '0', '0', '300', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '2' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '2' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '2', '定形郵便', '02000000', '配達日指定', '0', '全国一律', '0', '0', '0', '42', '0', '228', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000000', '普通', '0', '全国一律', '50', '140', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000000', '普通', '0', '全国一律', '100', '180', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000000', '普通', '0', '全国一律', '150', '270', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000000', '普通', '0', '全国一律', '250', '320', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000000', '普通', '0', '全国一律', '500', '510', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000000', '普通', '0', '全国一律', '1000', '750', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '50', '260', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '100', '290', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '150', '390', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '250', '450', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '500', '660', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '1000', '920', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 2000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 2000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '2000', '1350', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 3000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 3000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '3000', '1750', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00000100', '規格外', '0', '全国一律', '4000', '1750', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00300000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00300000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00300000', '特定記録', '0', '全国一律', '0', '0', '0', '210', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '00300100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '00300100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '00300100', '規格外特定記録', '0', '全国一律', '0', '0', '0', '210', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20211001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '01000000', '速達', '0', '全国一律', '250', '0', '0', '300', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20211001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '01000000', '速達', '0', '全国一律', '1000', '0', '0', '400', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20211001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '01000100', '規格外速達', '0', '全国一律', '250', '0', '0', '300', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20211001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '01000100', '規格外速達', '0', '全国一律', '1000', '0', '0', '400', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20211001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '01000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '01000100', '規格外速達', '0', '全国一律', '4000', '0', '0', '690', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '02000000' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '02000000', '配達日指定', '0', '全国一律', '0', '0', '0', '42', '0', '228', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '3' AND yubin_kbn =  '02000100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '3' AND yubin_kbn =  '02000100' AND haiten_area =  '0' AND jyuryo = 0 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '3', '定形外郵便', '02000100', '規格外配達日指定', '0', '全国一律', '0', '0', '0', '42', '0', '228', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 25 AND RcdAplSttYmd = '20191001'
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '50', '110', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '250', '0', '0', '440', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '1000', '0', '0', '570', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '4000', '0', '0', '920', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '50', '140', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '100', '180', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '150', '270', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '250', '320', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '500', '510', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000000', '普通', '0', '全国一律', '1000', '750', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '250', '0', '0', '440', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '1000', '0', '0', '570', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '7' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '7', '定形配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '4000', '0', '0', '920', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '250', '0', '0', '440', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '1000', '0', '0', '570', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000000' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '03000000', '配達時間指定', '0', '全国一律（条件付）', '4000', '0', '0', '920', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '03000100', '規格外配達時間指定', '0', '全国一律（条件付）', '250', '0', '0', '440', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '03000100', '規格外配達時間指定', '0', '全国一律（条件付）', '1000', '0', '0', '570', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '03000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '03000100', '規格外配達時間指定', '0', '全国一律（条件付）', '4000', '0', '0', '920', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go

UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 50 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '50', '260', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 100 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '100', '290', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20170601'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '150', '390', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '250', '450', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '500', '660', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '1000', '920', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 2000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 2000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '2000', '1350', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 3000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 3000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '3000', '1750', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20240930' , Upd_ymd = '2024/8/1'  WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '8' AND yubin_kbn =  '00000100' AND haiten_area =  '0' AND jyuryo = 4000 AND RcdAplSttYmd = '20241001'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id)VALUES('ZZZZZZZZ', 'ZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ', '8', '定形外配達時間帯指定郵便', '00000100', '規格外', '0', '全国一律', '4000', '1750', '0', '0', '0', '0', '0', '0', '20241001', '99991231', '0', '2024/8/1', '2024/8/1','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go

DELETE FROM T070MsgMst WHERE message_id = 'I0742010053'
go
INSERT INTO T070MsgMst(message_id, message_nm, ins_ymd, upd_ymd)VALUES('I0742010053', 'メニュー終了すると、発送予定データ・発送履歴データ・顧客データがすべて削除されます。
作業中のデータ等が残っている場合は、バックアップデータを作成してからメニュー終了してください。終了してよろしいですか？', null, null)
go

UPDATE T070FormSetting
SET button_enable = '1'
WHERE form_id = '420107M01P02V01' AND method_nm = 'Modify' AND button_enable = '0'
go

UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20251031', Upd_ymd = '2025/09/05' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 150 AND RcdAplSttYmd = '20251101'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id) VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律',150,190,'0','0','0','0','0','0','20251101','99991231','0','2025/09/05','2025/09/05','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20251031', Upd_ymd = '2025/09/05' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20140401'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 250 AND RcdAplSttYmd = '20251101'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id) VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律',250,230,'0','0','0','0','0','0','20251101','99991231','0','2025/09/05','2025/09/05','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20251031', Upd_ymd = '2025/09/05' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 500 AND RcdAplSttYmd = '20251101'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id) VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律',500,320,'0','0','0','0','0','0','20251101','99991231','0','2025/09/05','2025/09/05','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go
UPDATE T999ZIPSUM SET RcdAplTmtYmd = '20251031', Upd_ymd = '2025/09/05' WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20191001'
go
DELETE FROM T999ZIPSUM WHERE  yubin_sbt = '1' AND yubin_kbn =  '00000000' AND haiten_area =  '0' AND jyuryo = 1000 AND RcdAplSttYmd = '20251101'
go
INSERT INTO T999ZIPSUM (com_member_id,com_pc_id,login_group_id,login_user_id,yubin_sbt,yubin_sbt_nm,yubin_kbn,yubin_kbn_nm,haiten_area,haiten_area_nm,jyuryo,kihon_kin,kihon_gaku,kihon_warimasi,option_gaku,option_warimasi,jyogen_gaku,option_waribiki,RcdAplSttYmd,RcdAplTmtYmd,Delete_kbn,Add_ymd,Upd_ymd,Upd_login_group_id,Upd_login_user_id) VALUES('ZZZZZZZZ','ZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','1','ゆうメール','00000000','普通','0','全国一律',1000,380,'0','0','0','0','0','0','20251101','99991231','0','2025/09/05','2025/09/05','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ','ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ')
go

DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '01'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','01','宅配ボックス','01','','')
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '02'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','02','玄関前','02','','')
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '03'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','03','玄関前鍵付容器','03','','')
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '04'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','04','ポスト（郵便受箱）','04','','')
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '05'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','05','メーターボックス','05','','')
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '06'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','06','物置','06','','')
go
DELETE FROM T070SigStgMst WHERE SYS_CODE_ID = '86' AND CODE_NO = '07'
go
INSERT INTO T070SigStgMst(SYS_CODE_ID,CODE_NO,CONSTANT01,CONSTANT02,CONSTANT03,CONSTANT04)
VALUES('86','07','車庫','07','','')
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'cvs_hanbetsu_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 34) 
  ) 
go
INSERT
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_hanbetsu_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 34
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'cvs_gyosya_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 35) 
  ) 
go
INSERT
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_gyosya_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 35
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go

DELETE T070MstStgAuxInpOupBDw 
FROM
  T070MstStgAuxInpOupBDw 
  INNER JOIN T070MstStgInpOupHer 
    ON (T070MstStgAuxInpOupBDw.filter_nm = T070MstStgInpOupHer.data_nm) 
    AND (T070MstStgAuxInpOupBDw.login_user_id = T070MstStgInpOupHer.login_user_id) 
    AND (T070MstStgAuxInpOupBDw.login_group_id = T070MstStgInpOupHer.login_group_id) 
    AND (T070MstStgAuxInpOupBDw.com_pc_id = T070MstStgInpOupHer.com_pc_id) 
    AND (T070MstStgAuxInpOupBDw.com_member_id = T070MstStgInpOupHer.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt) = 'RAKUTEN_TSUJO' 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'cvs_tenpo_cd') 
    AND (T070MstStgAuxInpOupBDw.column_seq_no = 36) 
  ) 
go
INSERT
INTO T070MstStgAuxInpOupBDw( 
  com_member_id
  , com_pc_id
  , login_group_id
  , login_user_id
  , filter_nm
  , field_nm
  , renban
  , column_seq_no
  , split_srt
  , split_len
  , ins_ymd
  , upd_ymd
  , io_kbn
  , item_fix
  , column_len
  , column_row_no
  , column_split_no
  , format_kbn
  , trim_kbn
) 
SELECT
  T070MstStgAuxInpOupBDw.com_member_id
  , T070MstStgAuxInpOupBDw.com_pc_id
  , T070MstStgAuxInpOupBDw.login_group_id
  , T070MstStgAuxInpOupBDw.login_user_id
  , T070MstStgAuxInpOupBDw.filter_nm
  , 'cvs_tenpo_cd'
  , T070MstStgAuxInpOupBDw.renban
  , 36
  , T070MstStgAuxInpOupBDw.split_srt
  , T070MstStgAuxInpOupBDw.split_len
  , T070MstStgAuxInpOupBDw.ins_ymd
  , T070MstStgAuxInpOupBDw.upd_ymd
  , T070MstStgAuxInpOupBDw.io_kbn
  , T070MstStgAuxInpOupBDw.item_fix
  , T070MstStgAuxInpOupBDw.column_len
  , T070MstStgAuxInpOupBDw.column_row_no
  , T070MstStgAuxInpOupBDw.column_split_no
  , T070MstStgAuxInpOupBDw.format_kbn
  , T070MstStgAuxInpOupBDw.trim_kbn 
FROM
  T070MstStgInpOupHer 
  INNER JOIN T070MstStgAuxInpOupBDw 
    ON (T070MstStgInpOupHer.data_nm = T070MstStgAuxInpOupBDw.filter_nm) 
    AND (T070MstStgInpOupHer.login_user_id = T070MstStgAuxInpOupBDw.login_user_id) 
    AND (T070MstStgInpOupHer.login_group_id = T070MstStgAuxInpOupBDw.login_group_id) 
    AND (T070MstStgInpOupHer.com_pc_id = T070MstStgAuxInpOupBDw.com_pc_id) 
    AND (T070MstStgInpOupHer.com_member_id = T070MstStgAuxInpOupBDw.com_member_id) 
WHERE
  ( 
    (T070MstStgInpOupHer.format_sbt = 'RAKUTEN_TSUJO') 
    AND (T070MstStgAuxInpOupBDw.field_nm = 'okyakusama_kanri_no')
  ) 
go


update T070PrtLblCnfMst set convenience_uketori_kbn = '1' where comprint_no in ('1100783006','1100783007','1100783008','420107P01R01001','1100572001','1100572002','1100572003','1100555003','1100555004','1100555005')
go

update T070PrtLblCnfMst set yupacket_shitei_kbn = '1' 
where comprint_no like '1800800001%' or comprint_no like '1800800002%' or comprint_no like '1800800003%' or comprint_no like '1800800004%' or comprint_no like '1800800005%' or comprint_no like '1800800006%'
 or comprint_no like '1800800007%' or comprint_no like '1800800008%' or comprint_no like '1800800009%' or comprint_no like '1800800010%' or comprint_no like '1800800011%' or comprint_no like '1800800012%'
 or comprint_no like '1800800013%' or comprint_no like '1800800014%'
go

update T070PrtLblCnfMst set ittai_picking_kbn = '1' where comprint_no like '1100520001%' or comprint_no like '1100520002%'
go
update T070PrtLblCnfMst set ittai_paid_kbn = '1' where comprint_no like '1100521%'
go

update T070PrtLblCnfMst set fuka_service_kbn = '1' 
where comprint_no like '1800800001%' or comprint_no like '1800800002%' or comprint_no like '1800800003%' or comprint_no like '1800800004%' or comprint_no like '1800800005%' or comprint_no like '1800800006%'
 or comprint_no like '1800800007%' or comprint_no like '1800800008%' or comprint_no like '1800800009%' or comprint_no like '1800800010%' or comprint_no like '1800800011%' or comprint_no like '1800800012%'
 or comprint_no like '1800800014%'
go

update T070PrtLblCnfMst set shiteibasyo_direct_kbn = '1' 
where comprint_no like '1100555001%' or comprint_no like '1100555002%' or comprint_no like '1100570%' or comprint_no like '1100783001%' or comprint_no like '1800800014%'
go

UPDATE T070VerInf set download_ver = '1.3.77', update_ver = '1.3.77' where ver_sbt = '06'
go

quit
