-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/rollback_upsert
- Loading branch information
Showing
13 changed files
with
210 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
cumulusci/tests/cassettes/GET_sobjects_Account_PersonAccount_describe.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Upsert Accounts: | ||
api: rest | ||
sf_object: Account | ||
action: etl_upsert | ||
update_key: AccountNumber | ||
fields: | ||
- AccountNumber | ||
- RecordTypeId |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
BEGIN TRANSACTION; | ||
CREATE TABLE "Account" ( | ||
id INTEGER NOT NULL, | ||
"Name" VARCHAR(255), | ||
"AccountNumber" VARCHAR(255), | ||
"RecordTypeId" VARCHAR(255), | ||
"IsPersonAccount" VARCHAR(255), | ||
PRIMARY KEY (id) | ||
); | ||
INSERT INTO "Account" VALUES(1,'Sitwell-Bluth', "12345", '0125j000000bo4yAAA','true'); | ||
INSERT INTO "Account" VALUES(2,'John-Doe', "456789", '0125j000000bo53AAA','false'); | ||
INSERT INTO "Account" VALUES(3,'Jane-Doe', "422", '0125j000000bo53AAA','false'); | ||
CREATE TABLE "Account_rt_mapping" ( | ||
record_type_id VARCHAR(18) NOT NULL, | ||
developer_name VARCHAR(255), | ||
is_person_type BOOLEAN, | ||
PRIMARY KEY (record_type_id) | ||
); | ||
INSERT INTO "Account_rt_mapping" VALUES('0125j000000RqVkAAK','HH_Account',0); | ||
INSERT INTO "Account_rt_mapping" VALUES('0125j000000RqVlAAK','Organization',0); | ||
INSERT INTO "Account_rt_mapping" VALUES('0125j000000bo4yAAA','PersonAccount',1); | ||
INSERT INTO "Account_rt_mapping" VALUES('0125j000000bo53AAA','PersonAccount',0); | ||
COMMIT; |