-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3713 from SFDO-Tooling/bug/recordtype_tablename
Incorrect generation of record type mapping table name in a namespaced org context
- Loading branch information
Showing
4 changed files
with
53 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
BEGIN TRANSACTION; | ||
CREATE TABLE Beta_rt_mapping ( | ||
record_type_id VARCHAR(18) NOT NULL, | ||
developer_name VARCHAR(255), | ||
PRIMARY KEY (record_type_id) | ||
); | ||
INSERT INTO "Beta_rt_mapping" VALUES('012H40000003jCoIAI','recordtype2'); | ||
INSERT INTO "Beta_rt_mapping" VALUES('012H40000003jCZIAY','recordtype1'); | ||
CREATE TABLE Beta ( | ||
id INTEGER NOT NULL, | ||
"Name" VARCHAR(255), | ||
"RecordType" VARCHAR(255), | ||
PRIMARY KEY (id) | ||
); | ||
|
||
INSERT INTO "Beta" VALUES(15,'gamma12','012H40000003jCoIAI'); | ||
INSERT INTO "Beta" VALUES(16,'gamma','012H40000003jCZIAY'); | ||
INSERT INTO "Beta" VALUES(17,'gamma123','012H40000003jCZIAY'); | ||
COMMIT; |
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,6 @@ | ||
Insert Account: | ||
sf_object: Account | ||
table: Beta | ||
fields: | ||
Name: Name | ||
RecordTypeId: RecordType |
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