Skip to content

Commit

Permalink
Merge pull request #806 from bcgov/feature-EHIS-202
Browse files Browse the repository at this point in the history
feature-EHIS-202
  • Loading branch information
GandlojuVishwantha authored May 29, 2024
2 parents e0daae5 + cc512d9 commit 98e8c63
Show file tree
Hide file tree
Showing 21 changed files with 807 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/PR_Code_Deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- 'ehis-source/ehis-access-mgmt/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- '.github/workflows/PR_Code_Deployment.yml'
- '!sfdx-project.json'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR_Code_Deployment_Hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- 'ehis-source/ehis-access-mgmt/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- '.github/workflows/PR_Code_Deployment_Hotfix.yml'
- '!sfdx-project.json'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PR_Code_Validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:
- 'ehis-source/app-programworkareaassignment/main/default/**'
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- 'ehis-source/ehis-access-mgmt/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- 'ehis-source/ehis-access-mgmt/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- '.github/workflows/PR_Code_Validation.yml'
- '!sfdx-project.json'
jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/PR_Code_Validation_Hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:
- 'ehis-source/app-programworkareaassignment/main/default/**'
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- 'ehis-source/ehis-access-mgmt/main/default/**'
- 'ehis-source/ehis-access-mgmt/main/default/**'
- 'ehis-source/ehis-ui/main/default/**'
- '.github/workflows/PR_Code_Validation_Hotfix.yml'
- 'ehis-source/ehis-ui/main/default/**'
- '!sfdx-project.json'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<?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>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>EHIS_Work_Area_Record_Page</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>EHIS_Work_Area_Record_Page</content>
<formFactor>Small</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<type>Default</type>
</actionOverrides>
<allowInChatterGroups>false</allowInChatterGroups>
<compactLayoutAssignment>Work_Area_Compact_Layout</compactLayoutAssignment>
<deploymentStatus>Deployed</deploymentStatus>
<enableActivities>true</enableActivities>
<enableBulkApi>true</enableBulkApi>
<enableFeeds>false</enableFeeds>
<enableHistory>true</enableHistory>
<enableLicensing>false</enableLicensing>
<enableReports>true</enableReports>
<enableSearch>true</enableSearch>
<enableSharing>true</enableSharing>
<enableStreamingApi>true</enableStreamingApi>
<externalSharingModel>Private</externalSharingModel>
<label>Work Area</label>
<nameField>
<label>Work Area Name</label>
<trackHistory>true</trackHistory>
<type>Text</type>
</nameField>
<pluralLabel>Work Areas</pluralLabel>
<searchLayouts></searchLayouts>
<sharingModel>ReadWrite</sharingModel>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<CompactLayout xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Work_Area_Compact_Layout</fullName>
<fields>Name</fields>
<fields>Health_Authority__c</fields>
<fields>Supervisor__c</fields>
<fields>Primary_Owner__c</fields>
<fields>Backup_Owner__c</fields>
<label>Work Area Compact Layout</label>
</CompactLayout>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Backup_Owner__c</fullName>
<deleteConstraint>SetNull</deleteConstraint>
<externalId>false</externalId>
<label>Backup Owner</label>
<lookupFilter>
<active>true</active>
<filterItems>
<field>User.IsActive</field>
<operation>equals</operation>
<value>True</value>
</filterItems>
<isOptional>false</isOptional>
</lookupFilter>
<referenceTo>User</referenceTo>
<relationshipName>Work_Areas1</relationshipName>
<required>false</required>
<trackHistory>true</trackHistory>
<trackTrending>false</trackTrending>
<type>Lookup</type>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Health_Authority__c</fullName>
<deleteConstraint>SetNull</deleteConstraint>
<description>EHIS-202</description>
<externalId>false</externalId>
<inlineHelpText>The Health Authority that this Work Area belongs to</inlineHelpText>
<label>Health Authority</label>
<lookupFilter>
<active>true</active>
<filterItems>
<field>Account.RecordTypeId</field>
<operation>equals</operation>
<value>HA Hierarchy</value>
</filterItems>
<filterItems>
<field>Account.Type</field>
<operation>equals</operation>
<value>1-HA</value>
</filterItems>
<isOptional>false</isOptional>
</lookupFilter>
<referenceTo>Account</referenceTo>
<relationshipLabel>Work Areas</relationshipLabel>
<relationshipName>Work_Areas</relationshipName>
<required>false</required>
<trackHistory>true</trackHistory>
<trackTrending>false</trackTrending>
<type>Lookup</type>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Primary_Owner__c</fullName>
<deleteConstraint>SetNull</deleteConstraint>
<externalId>false</externalId>
<label>Primary Owner</label>
<lookupFilter>
<active>true</active>
<filterItems>
<field>User.IsActive</field>
<operation>equals</operation>
<value>True</value>
</filterItems>
<isOptional>false</isOptional>
</lookupFilter>
<referenceTo>User</referenceTo>
<relationshipName>Work_Areas</relationshipName>
<required>false</required>
<trackHistory>true</trackHistory>
<trackTrending>false</trackTrending>
<type>Lookup</type>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Public_Group_Id__c</fullName>
<externalId>false</externalId>
<inlineHelpText>The ID of the Generated Public Group for this Work Area</inlineHelpText>
<label>Public Group Id</label>
<length>255</length>
<required>false</required>
<trackHistory>true</trackHistory>
<trackTrending>false</trackTrending>
<type>Text</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Supervisor__c</fullName>
<deleteConstraint>SetNull</deleteConstraint>
<externalId>false</externalId>
<label>Supervisor</label>
<lookupFilter>
<active>true</active>
<filterItems>
<field>User.IsActive</field>
<operation>equals</operation>
<value>True</value>
</filterItems>
<isOptional>false</isOptional>
</lookupFilter>
<referenceTo>User</referenceTo>
<relationshipName>Work_Areas2</relationshipName>
<required>false</required>
<trackHistory>true</trackHistory>
<trackTrending>false</trackTrending>
<type>Lookup</type>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ListView xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>All</fullName>
<filterScope>Everything</filterScope>
<label>All</label>
</ListView>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
<hasActivationRequired>false</hasActivationRequired>
<label>EHIS Water Business Admin PSG</label>
<permissionSets>EHIS_CRE_Work_Area_PS</permissionSets>
<status>Updated</status>
</PermissionSetGroup>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
<description>This PSG is created for EHIS-202</description>
<hasActivationRequired>false</hasActivationRequired>
<label>EHIS Water Medical Health Officer PSG</label>
<permissionSets>EHIS_Read_Work_Area_PS</permissionSets>
<status>Updated</status>
</PermissionSetGroup>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
<hasActivationRequired>false</hasActivationRequired>
<label>EHIS Water Officer PSG</label>
<permissionSets>EHIS_CRE_Work_Area_PS</permissionSets>
<status>Updated</status>
</PermissionSetGroup>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
<hasActivationRequired>false</hasActivationRequired>
<label>EHIS Water Public Health Engineer PSG</label>
<permissionSets>EHIS_Read_Work_Area_PS</permissionSets>
<status>Updated</status>
</PermissionSetGroup>
Loading

0 comments on commit 98e8c63

Please sign in to comment.