feat: ObjectTerritory2Association, AccountShareの同期追加対応
This commit is contained in:
parent
71a2a62807
commit
1ec2ffe9be
4
s3/config/crm/last_fetch_datetime/AccountShare_ALL.json
Normal file
4
s3/config/crm/last_fetch_datetime/AccountShare_ALL.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"last_fetch_datetime_from": "1900-01-01T00:00:00.000Z",
|
||||||
|
"last_fetch_datetime_to": ""
|
||||||
|
}
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"last_fetch_datetime_from": "1900-01-01T00:00:00.000Z",
|
||||||
|
"last_fetch_datetime_to": ""
|
||||||
|
}
|
||||||
@ -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}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
13
s3/data/crm/settings/CRM_AccountShare_ALL.txt
Normal file
13
s3/data/crm/settings/CRM_AccountShare_ALL.txt
Normal 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
|
||||||
|
|
||||||
1
s3/data/crm/settings/CRM_AccountShare_ALL_ex.sql
Normal file
1
s3/data/crm/settings/CRM_AccountShare_ALL_ex.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
CALL src02.crm_data_sync('src02.crm_AccountShare', 'src02.crm_AccountShare_all', 'LastModifiedDate');
|
||||||
13
s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL.txt
Normal file
13
s3/data/crm/settings/CRM_ObjectTerritory2Association_ALL.txt
Normal 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
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
CALL src02.crm_data_sync('src02.crm_ObjectTerritory2Association', 'src02.crm_ObjectTerritory2Association_all', 'SystemModstamp');
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user