Skip to content

Commit

Permalink
Merge pull request #74 from SalesforceFoundation/feature/sfdx-and-dat…
Browse files Browse the repository at this point in the history
…aset-updates

[W-8857319] SFDX conversion and dataset updates
  • Loading branch information
gaganpsandhu authored Feb 11, 2021
2 parents abc61a7 + 70b2492 commit 1c0f27c
Show file tree
Hide file tree
Showing 495 changed files with 6,240 additions and 6,185 deletions.
7 changes: 4 additions & 3 deletions cumulusci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
project:
name: OutboundFunds
source_format: sfdx
package:
name: Outbound Funds (Core)
namespace: outfunds
Expand All @@ -14,9 +15,7 @@ sources:
github: https://github.com/SalesforceFoundation/NPSP

tasks:
demo_data_delete:
description: "WARNING: Deletes all data in the objects specified in the objects option."
class_path: cumulusci.tasks.bulkdata.DeleteData
delete_data:
options:
objects:
- Requirement__c
Expand Down Expand Up @@ -74,6 +73,8 @@ flows:
steps:
1:
flow: npsp:install_prod
2:
task: bridge:install_managed

orgs:
scratch:
Expand Down
86 changes: 40 additions & 46 deletions datasets/mapping.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,49 @@
Accounts:
sf_object: Account
table: Account
fields:
Name: Name
- Name

Contacts:
sf_object: Contact
table: Contact
fields:
Salutation: Salutation
FirstName: FirstName
LastName: LastName
Email: Email
Phone: Phone
Title: Title
- Salutation
- FirstName
- LastName
- Email
- Phone
- Title
lookups:
AccountId:
table: Account

Funding Programs:
sf_object: Funding_Program__c
table: Funding_Program__c
fields:
Name: Name
Description__c: Description__c
End_Date__c: End_Date__c
Start_Date__c: Start_Date__c
Status__c: Status__c
Total_Program_Amount__c: Total_Program_Amount__c
- Name
- Description__c
- End_Date__c
- Start_Date__c
- Status__c
- Total_Program_Amount__c

Funding Requests:
sf_object: Funding_Request__c
table: Funding_Request__c
fields:
Name: Name
Application_Date__c: Application_Date__c
Awarded_Amount__c: Awarded_Amount__c
Awarded_Date__c: Awarded_Date__c
Close_Date__c: Close_Date__c
Closed_reason__c: Closed_reason__c
Geographical_Area_Served__c: Geographical_Area_Served__c
Population_Served__c: Population_Served__c
Recommended_Amount__c: Recommended_Amount__c
Requested_Amount__c: Requested_Amount__c
Requested_For__c: Requested_For__c
Status__c: Status__c
Term_End_Date__c: Term_End_Date__c
Term_Start_Date__c: Term_Start_Date__c
Terms__c: Terms__c
- Name
- Application_Date__c
- Awarded_Amount__c
- Awarded_Date__c
- Close_Date__c
- Closed_reason__c
- Geographical_Area_Served__c
- Population_Served__c
- Recommended_Amount__c
- Requested_Amount__c
- Requested_For__c
- Status__c
- Term_End_Date__c
- Term_Start_Date__c
- Terms__c
lookups:
Applying_Contact__c:
table: Contact
Expand All @@ -58,28 +54,26 @@ Funding Requests:

Disbursements:
sf_object: Disbursement__c
table: Disbursement__c
fields:
Amount__c: Amount__c
Disbursement_Date__c: Disbursement_Date__c
Disbursement_Method__c: Disbursement_Method__c
Scheduled_Date__c: Scheduled_Date__c
Status__c: Status__c
Type__c: Type__c
- Amount__c
- Disbursement_Date__c
- Disbursement_Method__c
- Scheduled_Date__c
- Status__c
- Type__c
lookups:
Funding_Request__c:
table: Funding_Request__c

Requirements:
sf_object: Requirement__c
table: Requirement__c
fields:
Name: Name
Completed_Date__c: Completed_Date__c
Due_Date__c: Due_Date__c
Requirements__c: Requirements__c
Status__c: Status__c
Type__c: Type__c
- Name
- Completed_Date__c
- Due_Date__c
- Requirements__c
- Status__c
- Type__c
lookups:
Disbursement__c:
table: Disbursement__c
Expand Down
96 changes: 0 additions & 96 deletions datasets/mapping_managed.yml

This file was deleted.

Loading

0 comments on commit 1c0f27c

Please sign in to comment.