diff --git a/s3/config/crm/last_fetch_datetime/AccountShare_ALL.json b/s3/config/crm/last_fetch_datetime/AccountShare_ALL.json new file mode 100644 index 00000000..7453dc17 --- /dev/null +++ b/s3/config/crm/last_fetch_datetime/AccountShare_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/last_fetch_datetime/ObjectTerritory2Association_ALL.json b/s3/config/crm/last_fetch_datetime/ObjectTerritory2Association_ALL.json new file mode 100644 index 00000000..7453dc17 --- /dev/null +++ b/s3/config/crm/last_fetch_datetime/ObjectTerritory2Association_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 28286bab..cfd70934 100644 --- a/s3/config/crm/object_info/crm_object_list_all.json +++ b/s3/config/crm/object_info/crm_object_list_all.json @@ -65,6 +65,45 @@ "is_update_last_fetch_datetime": false, "last_fetch_datetime_file_name": "Group_ALL.json", "upload_file_name": "CRM_Group_ALL_{execute_datetime}" + }, + { + "object_name": "ObjectTerritory2Association", + "columns": [ + "Id", + "ObjectId", + "Territory2Id", + "AssociationCause", + "SobjectType", + "IsDeleted", + "LastModifiedDate", + "LastModifiedById", + "SystemModstamp" + ], + "is_skip": false, + "is_update_last_fetch_datetime": false, + "last_fetch_datetime_file_name": "ObjectTerritory2Association_ALL.json", + "upload_file_name": "CRM_ObjectTerritory2Association_ALL_{execute_datetime}" + }, + { + "object_name": "AccountShare", + "columns": [ + "Id", + "AccountId", + "UserOrGroupId", + "AccountAccessLevel", + "OpportunityAccessLevel", + "CaseAccessLevel", + "ContactAccessLevel", + "RowCause", + "LastModifiedDate", + "LastModifiedById", + "IsDeleted" + ], + "is_skip": false, + "is_update_last_fetch_datetime": false, + "datetime_column": "LastModifiedDate", + "last_fetch_datetime_file_name": "AccountShare_ALL.json", + "upload_file_name": "CRM_AccountShare_ALL_{execute_datetime}" } ] } diff --git a/s3/data/crm/settings/CRM_AccountShare_ALL.txt b/s3/data/crm/settings/CRM_AccountShare_ALL.txt new file mode 100644 index 00000000..63176a01 --- /dev/null +++ b/s3/data/crm/settings/CRM_AccountShare_ALL.txt @@ -0,0 +1,13 @@ +CRM +, +utf-8 +" +CRLF +1 +11 +Id,AccountId,UserOrGroupId,AccountAccessLevel,OpportunityAccessLevel,CaseAccessLevel,ContactAccessLevel,RowCause,LastModifiedDate,LastModifiedById,IsDeleted +Id,AccountId,UserOrGroupId,AccountAccessLevel,OpportunityAccessLevel,CaseAccessLevel,ContactAccessLevel,RowCause,LastModifiedDate,LastModifiedById,IsDeleted +src02.crm_AccountShare_all +org02.crm_AccountShare_all +CRM_AccountShare_ALL_ex.sql + diff --git a/s3/data/crm/settings/CRM_AccountShare_ALL_ex.sql b/s3/data/crm/settings/CRM_AccountShare_ALL_ex.sql new file mode 100644 index 00000000..15bea082 --- /dev/null +++ b/s3/data/crm/settings/CRM_AccountShare_ALL_ex.sql @@ -0,0 +1 @@ +CALL src02.crm_data_sync('src02.crm_AccountShare', 'src02.crm_AccountShare_all', 'LastModifiedDate'); \ No newline at end of file diff --git a/s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL.txt b/s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL.txt new file mode 100644 index 00000000..1519b50e --- /dev/null +++ b/s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL.txt @@ -0,0 +1,13 @@ +CRM +, +utf-8 +" +CRLF +1 +9 +Id,ObjectId,Territory2Id,AssociationCause,SobjectType,IsDeleted,LastModifiedDate,LastModifiedById,SystemModstamp +Id,ObjectId,Territory2Id,AssociationCause,SobjectType,IsDeleted,LastModifiedDate,LastModifiedById,SystemModstamp +src02.crm_ObjectTerritory2Association_all +org02.crm_ObjectTerritory2Association_all +CRM_ObjectTerritory2Association_ALL_ex.sql + diff --git a/s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL_ex.sql b/s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL_ex.sql new file mode 100644 index 00000000..da83e1f8 --- /dev/null +++ b/s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL_ex.sql @@ -0,0 +1 @@ +CALL src02.crm_data_sync('src02.crm_ObjectTerritory2Association', 'src02.crm_ObjectTerritory2Association_all', 'SystemModstamp'); \ No newline at end of file diff --git a/s3/data/crm/settings/configmap.config b/s3/data/crm/settings/configmap.config index 51ee768b..9b24ca55 100644 --- a/s3/data/crm/settings/configmap.config +++ b/s3/data/crm/settings/configmap.config @@ -57,3 +57,5 @@ CRM_Sent_Email_vod__c_[0-9]{14}\.(CSV|csv) CRM_Sent_Email_vod__c.txt 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 +CRM_ObjectTerritory2Association_ALL_[0-9]{14}\.(CSV|csv) CRM_ObjectTerritory2Association_ALL.txt +CRM_AccountShare_ALL_[0-9]{14}\.(CSV|csv) CRM_AccountShare_ALL.txt