diff --git a/rds_mysql/stored_procedure/internal02/crm_distribution_Call2_Detail_vod__c.sql b/rds_mysql/stored_procedure/internal02/crm_distribution_Call2_Detail_vod__c.sql index b312ff7c..3a08ae36 100644 --- a/rds_mysql/stored_procedure/internal02/crm_distribution_Call2_Detail_vod__c.sql +++ b/rds_mysql/stored_procedure/internal02/crm_distribution_Call2_Detail_vod__c.sql @@ -42,11 +42,11 @@ SET @upsert_statement_base = 'INSERT INTO $$distribution_schema$$.crm_Call2_Detail_vod__c( Id, IsDeleted, Name, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, MayEdit, IsLocked, Is_Parent_Call_vod__c, Call2_vod__c, Product_vod__c, Detail_Priority_vod__c, Mobile_ID_vod__c, Override_Lock_vod__c, Type_vod__c, - file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date) + medaca_parent_record_type_id, file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date) SELECT Id, IsDeleted, Name, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, MayEdit, IsLocked, Is_Parent_Call_vod__c, Call2_vod__c, Product_vod__c, Detail_Priority_vod__c, Mobile_ID_vod__c, Override_Lock_vod__c, Type_vod__c, - file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date + medaca_parent_record_type_id, file_name, file_row_cnt, delete_flg, ins_user, ins_date, upd_user, upd_date FROM internal02.crm_Call2_Detail_vod__c AS internaltb WHERE @@ -56,7 +56,7 @@ SET @upsert_statement_base = LastModifiedDate=internaltb.LastModifiedDate, LastModifiedById=internaltb.LastModifiedById, SystemModstamp=internaltb.SystemModstamp, MayEdit=internaltb.MayEdit, IsLocked=internaltb.IsLocked, Is_Parent_Call_vod__c=internaltb.Is_Parent_Call_vod__c, Call2_vod__c=internaltb.Call2_vod__c, Product_vod__c=internaltb.Product_vod__c, Detail_Priority_vod__c=internaltb.Detail_Priority_vod__c, Mobile_ID_vod__c=internaltb.Mobile_ID_vod__c, - Override_Lock_vod__c=internaltb.Override_Lock_vod__c, Type_vod__c=internaltb.Type_vod__c, + Override_Lock_vod__c=internaltb.Override_Lock_vod__c, Type_vod__c=internaltb.Type_vod__c, medaca_parent_record_type_id=internaltb.medaca_parent_record_type_id, file_name=internaltb.file_name, file_row_cnt=internaltb.file_row_cnt, upd_user = CURRENT_USER(), upd_date = CURRENT_TIMESTAMP();';