diff --git a/s3/config/crm/last_fetch_datetime/Group_ALL.json b/s3/config/crm/last_fetch_datetime/Group_ALL.json new file mode 100644 index 00000000..7453dc17 --- /dev/null +++ b/s3/config/crm/last_fetch_datetime/Group_ALL.json @@ -0,0 +1,4 @@ +{ + "last_fetch_datetime_from": "1900-01-01T00:00:00.000Z", + "last_fetch_datetime_to": "" +} diff --git a/s3/config/crm/object_info/crm_object_list_all.json b/s3/config/crm/object_info/crm_object_list_all.json index 0792da37..28286bab 100644 --- a/s3/config/crm/object_info/crm_object_list_all.json +++ b/s3/config/crm/object_info/crm_object_list_all.json @@ -42,6 +42,29 @@ "is_update_last_fetch_datetime": false, "last_fetch_datetime_file_name": "UserTerritory2Association_ALL.json", "upload_file_name": "CRM_UserTerritory2Association_ALL_{execute_datetime}" + }, + { + "object_name": "Group", + "columns": [ + "Id", + "Name", + "DeveloperName", + "RelatedId", + "Type", + "Email", + "OwnerId", + "DoesSendEmailToMembers", + "DoesIncludeBosses", + "CreatedDate", + "CreatedById", + "LastModifiedDate", + "LastModifiedById", + "SystemModstamp" + ], + "is_skip": false, + "is_update_last_fetch_datetime": false, + "last_fetch_datetime_file_name": "Group_ALL.json", + "upload_file_name": "CRM_Group_ALL_{execute_datetime}" } ] } diff --git a/s3/data/crm/settings/CRM_Group_ALL.txt b/s3/data/crm/settings/CRM_Group_ALL.txt new file mode 100644 index 00000000..9f94654c --- /dev/null +++ b/s3/data/crm/settings/CRM_Group_ALL.txt @@ -0,0 +1,14 @@ +CRM +, +utf-8 +" +CRLF +1 +14 +Id,Name,DeveloperName,RelatedId,Type,Email,OwnerId,DoesSendEmailToMembers,DoesIncludeBosses,CreatedDate,CreatedById,LastModifiedDate,LastModifiedById,SystemModstamp +id,name,developer_name,related_id,type,email,owner_id,does_send_email_to_members,does_include_bosses,created_date,created_by_id,last_modified_date,last_modified_by_id,system_modstamp +src02.crm_group_all +org02.crm_group_all +CRM_Group_ALL_ex.sql + +truncate_src_table:src02.crm_group_all diff --git a/s3/data/crm/settings/CRM_Group_ALL_ex.sql b/s3/data/crm/settings/CRM_Group_ALL_ex.sql new file mode 100644 index 00000000..63a2cfd8 --- /dev/null +++ b/s3/data/crm/settings/CRM_Group_ALL_ex.sql @@ -0,0 +1 @@ +CALL src02.crm_data_sync('src02.crm_group', 'src02.crm_group_all', 'system_modstamp'); diff --git a/s3/data/crm/settings/configmap.config b/s3/data/crm/settings/configmap.config index 89993b8b..51ee768b 100644 --- a/s3/data/crm/settings/configmap.config +++ b/s3/data/crm/settings/configmap.config @@ -56,3 +56,4 @@ CRM_Sent_Email_vod__c_[0-9]{14}\.(CSV|csv) CRM_Sent_Email_vod__c.txt /* 【CRMデータ 全件連携】 */ CRM_Territory2_ALL_[0-9]{14}\.(CSV|csv) CRM_Territory2_ALL.txt CRM_UserTerritory2Association_ALL_[0-9]{14}\.(CSV|csv) CRM_UserTerritory2Association_ALL.txt +CRM_Group_ALL_[0-9]{14}\.(CSV|csv) CRM_Group_ALL.txt