-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Coupons] Translate coupon on quote / order (#906)
- Loading branch information
1 parent
5752c0b
commit 6ccc1ff
Showing
14 changed files
with
621 additions
and
85 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
174 changes: 174 additions & 0 deletions
174
..._Coupon_Beta_Order_Association__c/Stripe_Coupon_Beta_Order_Association__c.object-meta.xml
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,174 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<actionOverrides> | ||
<actionName>Accept</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Accept</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Accept</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>CancelEdit</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>CancelEdit</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>CancelEdit</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Clone</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Clone</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Clone</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Delete</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Delete</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Delete</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Edit</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Edit</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Edit</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>List</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>List</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>List</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>New</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>New</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>New</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>SaveEdit</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>SaveEdit</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>SaveEdit</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Tab</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Tab</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>Tab</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>View</actionName> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>View</actionName> | ||
<formFactor>Large</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<actionOverrides> | ||
<actionName>View</actionName> | ||
<formFactor>Small</formFactor> | ||
<type>Default</type> | ||
</actionOverrides> | ||
<allowInChatterGroups>false</allowInChatterGroups> | ||
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment> | ||
<deploymentStatus>Deployed</deploymentStatus> | ||
<description>Custom junction object linking a serialized Stripe Coupon and an Order Line.</description> | ||
<enableActivities>false</enableActivities> | ||
<enableBulkApi>true</enableBulkApi> | ||
<enableFeeds>false</enableFeeds> | ||
<enableHistory>false</enableHistory> | ||
<enableLicensing>false</enableLicensing> | ||
<enableReports>false</enableReports> | ||
<enableSearch>false</enableSearch> | ||
<enableSharing>true</enableSharing> | ||
<enableStreamingApi>true</enableStreamingApi> | ||
<externalSharingModel>ControlledByParent</externalSharingModel> | ||
<label>Stripe Coupon Beta Order Associatio</label> | ||
<nameField> | ||
<displayFormat>{0000}</displayFormat> | ||
<label>Stripe Coupon Beta Order Associatio Name</label>Quot | ||
<type>AutoNumber</type> | ||
</nameField> | ||
<pluralLabel>Stripe Coupon Beta Order</pluralLabel> | ||
<searchLayouts></searchLayouts> | ||
<sharingModel>ControlledByParent</sharingModel> | ||
<validationRules> | ||
<fullName>Order_Field_Must_Be_Set</fullName> | ||
<description>Order__c is a required field.</description> | ||
<active>true</active> | ||
<errorConditionFormula>ISBLANK(Order__c)</errorConditionFormula> | ||
<errorMessage>Order__c is a required field.</errorMessage> | ||
</validationRules> | ||
<visibility>Public</visibility> | ||
</CustomObject> |
12 changes: 12 additions & 0 deletions
12
...in/default/objects/Stripe_Coupon_Beta_Order_Association__c/fields/Order__c.field-meta.xml
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,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Order__c</fullName> | ||
<externalId>false</externalId> | ||
<label>Order</label> | ||
<referenceTo>Order</referenceTo> | ||
<relationshipLabel>Stripe Coupon Beta Order Connection</relationshipLabel> | ||
<relationshipName>Stripe_Coupon_Beta_Order_Connection</relationshipName> | ||
<reparentableMasterDetail>false</reparentableMasterDetail> | ||
<trackTrending>false</trackTrending> | ||
<type>Lookup</type> | ||
</CustomField> |
14 changes: 14 additions & 0 deletions
14
...lt/objects/Stripe_Coupon_Beta_Order_Association__c/fields/Stripe_Coupon__c.field-meta.xml
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Stripe_Coupon__c</fullName> | ||
<externalId>false</externalId> | ||
<label>Stripe Coupon</label> | ||
<referenceTo>Stripe_Coupon_Beta_Serialized__c</referenceTo> | ||
<relationshipLabel>Stripe Coupon Beta Serialized Order Link</relationshipLabel> | ||
<relationshipName>Stripe_Coupon_Beta_Serialized_Order_Link</relationshipName> | ||
<relationshipOrder>0</relationshipOrder> | ||
<reparentableMasterDetail>false</reparentableMasterDetail> | ||
<trackTrending>false</trackTrending> | ||
<type>MasterDetail</type> | ||
<writeRequiresMasterRead>true</writeRequiresMasterRead> | ||
</CustomField> |
Oops, something went wrong.