-
Notifications
You must be signed in to change notification settings - Fork 8
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 #979 from bcgov/User/EDRD-164
Development related to custom Fields EDRD - 164 & 61.
- Loading branch information
Showing
15 changed files
with
276 additions
and
23 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
5 changes: 5 additions & 0 deletions
5
force-app/main/default/customPermissions/EDRD_MOH_STAFF.customPermission-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,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomPermission xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<isLicensed>false</isLicensed> | ||
<label>EDRD MOH STAFF</label> | ||
</CustomPermission> |
112 changes: 112 additions & 0 deletions
112
force-app/main/default/layouts/CareObservation-Care Observation Layout.layout-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,112 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Layout xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>Name</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>ObservedSubjectId</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>ObservedValueUnitId</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>ObservedValueType</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>ObservationStatus</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>EffectiveDateTime</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>ObservedValueNumerator</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>ObservedValueDenominator</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>System Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>CreatedById</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>CreatedDate</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>LastModifiedById</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>LastModifiedDate</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>true</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>false</editHeading> | ||
<label>Custom Links</label> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<style>CustomLinks</style> | ||
</layoutSections> | ||
<relatedLists> | ||
<fields>Name</fields> | ||
<fields>ComponentTypeCode</fields> | ||
<fields>ValueInterpretation</fields> | ||
<fields>ObservedValueNumerator</fields> | ||
<fields>ObservedValueDenominator</fields> | ||
<relatedList>ParentCareObservations</relatedList> | ||
</relatedLists> | ||
<relatedLists> | ||
<fields>Name</fields> | ||
<fields>AuthoredDateTime</fields> | ||
<fields>NoteText</fields> | ||
<relatedList>AuthorNotes</relatedList> | ||
</relatedLists> | ||
<relatedLists> | ||
<fields>Name</fields> | ||
<fields>IdUsageType</fields> | ||
<fields>IdValue</fields> | ||
<relatedList>Identifiers</relatedList> | ||
</relatedLists> | ||
<showEmailCheckbox>false</showEmailCheckbox> | ||
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox> | ||
<showSubmitAndAttachButton>false</showSubmitAndAttachButton> | ||
<summaryLayout> | ||
<masterLabel>00h5W000000N2Sm</masterLabel> | ||
<sizeX>4</sizeX> | ||
<sizeY>0</sizeY> | ||
<summaryLayoutStyle>Default</summaryLayoutStyle> | ||
</summaryLayout> | ||
</Layout> |
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
80 changes: 80 additions & 0 deletions
80
force-app/main/default/layouts/UnitOfMeasure-Unit of Measure Layout.layout-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,80 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Layout xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>Name</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>UnitCode</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>Type</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Description</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>OwnerId</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>System Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>CreatedDate</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>CreatedById</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>LastModifiedById</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>LastModifiedDate</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>true</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>false</editHeading> | ||
<label>Custom Links</label> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<style>CustomLinks</style> | ||
</layoutSections> | ||
<showEmailCheckbox>false</showEmailCheckbox> | ||
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox> | ||
<showSubmitAndAttachButton>false</showSubmitAndAttachButton> | ||
<summaryLayout> | ||
<masterLabel>00h5W000000N2Sv</masterLabel> | ||
<sizeX>4</sizeX> | ||
<sizeY>0</sizeY> | ||
<summaryLayoutStyle>Default</summaryLayoutStyle> | ||
</summaryLayout> | ||
</Layout> |
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
6 changes: 6 additions & 0 deletions
6
force-app/main/default/objects/Contact/fields/Birthdate.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,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Birthdate</fullName> | ||
<trackFeedHistory>false</trackFeedHistory> | ||
<trackHistory>true</trackHistory> | ||
</CustomField> |
20 changes: 20 additions & 0 deletions
20
force-app/main/default/objects/Contact/fields/EDRD_Age__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,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>EDRD_Age__c</fullName> | ||
<externalId>false</externalId> | ||
<formula>IF( | ||
NOT(ISNULL(Birthdate)), | ||
IF( | ||
(TODAY() - Birthdate) >= 365.25, | ||
TEXT(FLOOR((TODAY() - Birthdate) / 365.25)) & " year(s)", | ||
TEXT(FLOOR((TODAY() - Birthdate) / 30.44)) & " month(s) " & | ||
TEXT(FLOOR(MOD((TODAY() - Birthdate), 30.44))) & " day(s)" | ||
), | ||
"" | ||
)</formula> | ||
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> | ||
<label>Age</label> | ||
<required>false</required> | ||
<type>Text</type> | ||
<unique>false</unique> | ||
</CustomField> |
10 changes: 10 additions & 0 deletions
10
...p/main/default/objects/Contact/fields/EDRD_Eligibility_Form_Signed_Date__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,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>EDRD_Eligibility_Form_Signed_Date__c</fullName> | ||
<encryptionScheme>None</encryptionScheme> | ||
<externalId>false</externalId> | ||
<label>Eligibility Form Signed Date</label> | ||
<required>false</required> | ||
<trackFeedHistory>false</trackFeedHistory> | ||
<type>Date</type> | ||
</CustomField> |
Oops, something went wrong.