feat: ObjectTerritory2Association, AccountShareの同期追加対応

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2022-11-10 15:35:20 +09:00
parent 71a2a62807
commit 1ec2ffe9be
8 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"last_fetch_datetime_from": "1900-01-01T00:00:00.000Z",
"last_fetch_datetime_to": ""
}

View File

@ -0,0 +1,4 @@
{
"last_fetch_datetime_from": "1900-01-01T00:00:00.000Z",
"last_fetch_datetime_to": ""
}

View File

@ -65,6 +65,46 @@
"is_update_last_fetch_datetime": false, "is_update_last_fetch_datetime": false,
"last_fetch_datetime_file_name": "Group_ALL.json", "last_fetch_datetime_file_name": "Group_ALL.json",
"upload_file_name": "CRM_Group_ALL_{execute_datetime}" "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}"
} }
] ]
} }

View File

@ -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

View File

@ -0,0 +1 @@
CALL src02.crm_data_sync('src02.crm_AccountShare', 'src02.crm_AccountShare_all', 'LastModifiedDate');

View File

@ -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

View File

@ -0,0 +1 @@
CALL src02.crm_data_sync('src02.crm_ObjectTerritory2Association', 'src02.crm_ObjectTerritory2Association_all', 'SystemModstamp');

View File

@ -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_Territory2_ALL_[0-9]{14}\.(CSV|csv) CRM_Territory2_ALL.txt
CRM_UserTerritory2Association_ALL_[0-9]{14}\.(CSV|csv) CRM_UserTerritory2Association_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_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