fix: medaca_parent_record_type_idのカラムを追加
This commit is contained in:
parent
64c4352c45
commit
b9483d4760
@ -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();';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user