From 1c2958517df9988850dcc31d2eff76e0ce82a0d9 Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Mon, 4 Nov 2024 15:03:07 +0000 Subject: [PATCH 1/7] Flow updates for RSPCA --- .../Animal_Movement_Process.flow-meta.xml | 299 ++++++-------- .../Animal_Movement_SubFlow.flow-meta.xml | 103 ++--- ..._Update_Location_Unit_Status.flow-meta.xml | 387 ++++++++++++++++-- .../Location_Change_Status_Flow.flow-meta.xml | 243 ++++------- ...n_Change_Unit_Status_SubFlow.flow-meta.xml | 143 ++++--- 5 files changed, 666 insertions(+), 509 deletions(-) mode change 100644 => 100755 force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml mode change 100644 => 100755 force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml mode change 100644 => 100755 force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml mode change 100644 => 100755 force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml mode change 100644 => 100755 force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml diff --git a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml old mode 100644 new mode 100755 index 7496c7de..330a2fb3 --- a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml @@ -4,7 +4,7 @@ Boarded_Movement_Record - 1832 + 1634 566 newMovementType @@ -18,25 +18,25 @@ - Count_Movement_Records + Count_Movement_Records1 - 1150 - 1190 + 930 + 1082 - MovementCount + varMovementCount AssignCount - MovementRecords + varMovementRecords - Loop_Through_Movement_Records + More_than_1_Current_Movement Foster_Movement_Record - 1568 + 1370 674 newMovementType @@ -52,7 +52,7 @@ House_Movement_Record - 1040 + 842 566 newMovementType @@ -68,7 +68,7 @@ Release_Movement_Record - 2096 + 1898 458 newMovementType @@ -84,7 +84,7 @@ Transferred_Movement_Record - 1304 + 1106 674 newMovementType @@ -191,7 +191,7 @@ Any_Existing_Movement_records - 1700 + 1502 974 CreateMovementRecord @@ -201,14 +201,14 @@ Yes_Movement_RecordsExist and - MovementRecords + varMovementRecords IsNull false - Loop_Through_Movement_Records + Count_Movement_Records1 @@ -216,8 +216,8 @@ Continue_With_Flow - 1018 - 1814 + 886 + 1622 Default Outcome Yes_Continue @@ -234,25 +234,13 @@ - - No_Finish - and - - Do_you_wish_to_continue - EqualTo - - No - - - - Is the movement date that has been selected defaulted to today or been set at a time in the future? Is_Movement_Date_Today_or_in_the_Future - 666 - 1490 + 600 + 1298 Get_Current_Movement_Record @@ -262,7 +250,7 @@ and Movement_Date - NotEqualTo + GreaterThan $Flow.CurrentDate @@ -276,14 +264,14 @@ More_than_1_Current_Movement - 1062 - 1382 + 930 + 1190 Default Outcome More_than_1 and - MovementCount + varMovementCount GreaterThan 1.0 @@ -298,7 +286,7 @@ Equals_1 and - MovementCount + varMovementCount EqualTo 1.0 @@ -313,7 +301,7 @@ What_Type_of_Move - 1700 + 1502 350 Default Outcome @@ -392,14 +380,14 @@ - Flow to move animals between locations. Creates Movement records and updates various statuses + [Animal Shelter] Screen flow to move animals between locations. Creates Movement records and updates various statuses BoarderLocations String - animalshelters__Block_Unit__c + Block_Unit__c and - animalshelters__Available_for_Boarding__c + Available_for_Boarding__c EqualTo true @@ -413,24 +401,24 @@ - animalshelters__Availability__c + Availability__c GreaterThan 0.0 - animalshelters__Locations__c + Locations__c LocationId Id - animalshelters__Block_Unit__c + Block_Unit__c Asc FosterLocations String - animalshelters__Name__c + Name__c and RecordTypeId @@ -440,24 +428,24 @@ - animalshelters__Availability__c + Availability__c GreaterThan 0.0 - animalshelters__Locations__c + Locations__c LocationId Id - animalshelters__Name__c + Name__c Asc OrganisationLocations String - animalshelters__Name__c + Name__c and RecordTypeId @@ -467,24 +455,24 @@ - animalshelters__Availability__c + Availability__c GreaterThan 0.0 - animalshelters__Locations__c + Locations__c LocationId Id - animalshelters__Name__c + Name__c Asc UnitLocations String - animalshelters__Block_Unit__c + Block_Unit__c and RecordTypeId @@ -494,45 +482,31 @@ - animalshelters__Availability__c - GreaterThan + Unit_Full__c + EqualTo - 0.0 + false + + + + Unit_Status__c + NotEqualTo + + Unavailable - animalshelters__Locations__c + Locations__c LocationId Id - animalshelters__Block_Unit__c + Block_Unit__c Asc Default - - DecrementAllocationBy1 - Number - {!Get_Current_Location_Record.animalshelters__Allocation__c} - 1 - 0 - Animal - Movement Process true - - Loop_Through_Movement_Records - - 1062 - 1082 - varMovementRecord - MovementRecords - Asc - - Count_Movement_Records - - - More_than_1_Current_Movement - - BuilderType @@ -556,86 +530,59 @@ Gets all current movement records based on the animals Id Get_All_Movement_Records_by_Animal_ID - 1700 + 1502 866 - true + false Any_Existing_Movement_records - - true - Error_Screen - and - animalshelters__Animal__c + Animal__c EqualTo recordId.Id - animalshelters__Current__c + Current__c EqualTo true - animalshelters__Movement__c - MovementRecords - Id - - - Get_Current_Location_Record - - 490 - 2030 - false - - Reset_Location_Status - - and - - Id - EqualTo - - Get_Current_Movement_Record.animalshelters__Location__r.Id - - - true - animalshelters__Locations__c - true + Movement__c + varMovementRecords Get_Current_Movement_Record - 1018 - 1598 + 886 + 1406 false Animal_Has_Existing_Location_Screen - true Error_Screen and - animalshelters__Animal__c + Animal__c EqualTo recordId.Id - animalshelters__Current__c + Current__c EqualTo true true - animalshelters__Movement__c + Movement__c true @@ -643,9 +590,9 @@ Clear_Current_Movement_Record 490 - 1922 + 1730 - Get_Current_Location_Record + Reset_Location_Status true @@ -660,28 +607,29 @@ - animalshelters__Current__c + Current__c false - animalshelters__End_Date__c + End_Date__c $Flow.CurrentDate - animalshelters__Movement__c + Movement__c Reset_Location_Status 490 - 2138 + 1838 CreateMovementRecord + true Error_Screen and @@ -689,28 +637,22 @@ Id EqualTo - Get_Current_Movement_Record.animalshelters__Location__r.Id + Get_Current_Movement_Record.Location__r.Id - animalshelters__Allocation__c - - DecrementAllocationBy1 - - - - animalshelters__Unit_Status__c + Unit_Status__c Available - animalshelters__Locations__c + Locations__c Animal_Has_Existing_Location_Screen - 1018 - 1706 + 886 + 1514 false true false @@ -725,7 +667,7 @@ Region Animal_Has_Existing_Location_Screen_Text - <p><strong>{!recordId.animalshelters__Animal_Name__c}</strong> already has a current location</p><p><br></p><p><strong>{!Get_Current_Movement_Record.animalshelters__Location_Name__c}</strong></p><p><br></p><p><span style="color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">To leave the animal in its current location, exit here, or continue to assign a new location</span></p> + <p><strong>{!recordId.Animal_Name__c}</strong> already has a current location</p><p><br></p><p><strong>{!Get_Current_Movement_Record.Location_Name__c}</strong></p><p><br></p><p><span style="color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">To leave the animal in its current location, exit here, or continue to assign a new location</span></p> DisplayText @@ -746,6 +688,7 @@ String Do you wish to continue? RadioButtons + UseStoredValues false @@ -765,7 +708,7 @@ Boarder_Selection_Screen - 1832 + 1634 458 true true @@ -784,6 +727,7 @@ String Boarder Selection DropdownBox + UseStoredValues true true @@ -793,7 +737,7 @@ Error_Movement_Records_Screen 50 - 1490 + 1298 false true false @@ -808,8 +752,8 @@ Error_Screen - 754 - 2246 + 1546 + 1514 false true false @@ -824,7 +768,7 @@ Foster_Selection_Screen - 1568 + 1370 566 true true @@ -843,6 +787,7 @@ String Foster Selection DropdownBox + UseStoredValues true true @@ -851,7 +796,7 @@ Initial_Screen - 1700 + 1502 242 false true @@ -880,6 +825,7 @@ String Choose a Movement DropdownBox + UseStoredValues true @@ -906,6 +852,7 @@ Movement Date InputField + UseStoredValues false @@ -930,14 +877,14 @@ Movement_Complete - 1700 - 2930 + 1502 + 2438 false true false Movement_Complete_Screen_Text - <p><strong>Records Updated!</strong></p><p><br></p><p>The location for {!recordId.animalshelters__Animal_Name__c} has now been updated.</p><p><br></p><p>Please click Finish.</p> + <p><strong>Records Updated!</strong></p><p><br></p><p>The location for {!recordId.Animal_Name__c} has now been updated.</p><p><br></p><p>Please click Finish.</p> DisplayText true @@ -946,7 +893,7 @@ Organisation_Selection_Screen - 1304 + 1106 566 true true @@ -965,6 +912,7 @@ String Organisation Selection DropdownBox + UseStoredValues true true @@ -973,7 +921,7 @@ Unit_Selection_Screen - 1040 + 842 458 true true @@ -992,13 +940,14 @@ String Unit Selection DropdownBox + UseStoredValues true true false - 1574 + 1376 0 Get_Unit_Record_Type @@ -1008,12 +957,12 @@ CreateMovementRecord - 1700 - 2822 + 1502 + 2330 Movement_Complete - animalshelters__Animal_Movement_SubFlow + Animal_Movement_SubFlow AnimalId @@ -1043,12 +992,12 @@ Get_Foster_Record_Type - 1568 + 1370 458 Foster_Selection_Screen - animalshelters__Animal_RecordType_Subflow + Animal_RecordType_Subflow developerName @@ -1069,12 +1018,12 @@ Get_Organisation_Record_Type - 1304 + 1106 458 Organisation_Selection_Screen - animalshelters__Animal_RecordType_Subflow + Animal_RecordType_Subflow developerName @@ -1095,12 +1044,12 @@ Get_Unit_Record_Type - 1700 + 1502 134 Initial_Screen - animalshelters__Animal_RecordType_Subflow + Animal_RecordType_Subflow developerName @@ -1126,56 +1075,56 @@ false - MovementCount - Number + newMovementType + String false false false - 0 - movementCurrentFlag - Boolean + recordId + SObject false - false + true false + Animal__c - MovementRecords - SObject - true + recordTypeId + String + false false false - animalshelters__Movement__c - newMovementType - String + varMovementCount + Number false false false + 0 - recordId - SObject + varMovementCurrentFlag + Boolean false - true + false false - animalshelters__Animal__c - recordTypeId - String + varMovementRecord + SObject false false false + Movement__c - varMovementRecord + varMovementRecords SObject - false + true false false - animalshelters__Movement__c + Movement__c diff --git a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml old mode 100644 new mode 100755 index 964df658..a78b8676 --- a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml @@ -4,7 +4,7 @@ Error_Email 578 - 1166 + 758 emailSimple emailSimple CurrentTransaction @@ -36,14 +36,14 @@ 50 350 - varNewMovementRecord.animalshelters__Current__c + varNewMovementRecord.Current__c Assign false - varNewMovementRecord.animalshelters__Movement_Status__c + varNewMovementRecord.Movement_Status__c Assign Pending @@ -66,28 +66,28 @@ 182 134 - varNewMovementRecord.animalshelters__Animal__c + varNewMovementRecord.Animal__c Assign AnimalId - varNewMovementRecord.animalshelters__Start_Date__c + varNewMovementRecord.Start_Date__c Assign movementStartDate - varNewMovementRecord.animalshelters__Type__c + varNewMovementRecord.Type__c Assign movementType - varNewMovementRecord.animalshelters__Location__c + varNewMovementRecord.Location__c Assign LocationId @@ -101,12 +101,12 @@ Set_Output_Variable 182 - 1274 + 1058 newMovementRecordId Assign - varNewMovementRecord.Id + Get_Newly_Created_Movement_Record.Id @@ -119,14 +119,14 @@ 314 350 - varNewMovementRecord.animalshelters__Current__c + varNewMovementRecord.Current__c Assign true - varNewMovementRecord.animalshelters__Movement_Status__c + varNewMovementRecord.Movement_Status__c Assign Completed @@ -147,7 +147,7 @@ Generate_Movement_Task 182 - 1382 + 1166 No Yes @@ -196,7 +196,7 @@ 182 758 - Get_Location_Record + Set_Output_Variable No @@ -221,17 +221,11 @@ fmlLocationName String IF( -{!movementType} = "Housed", -{!movementType} + " - " + {!Get_Newly_Created_Movement_Record.animalshelters__Location_Name__c}, +{!movementType} = "Housed", +{!movementType} + " - " + {!Get_Newly_Created_Movement_Record.Location_Name__c}, {!movementType} ) - - IncrementAllocationBy1 - Number - {!Get_Location_Record.animalshelters__Allocation__c} + 1 - 0 - Animal - Movement SubFlow true @@ -268,30 +262,6 @@ varNewMovementRecord - - Get_Location_Record - - 182 - 1058 - false - - Update_Location_Allocation - - - Error_Email - - and - - Id - EqualTo - - LocationId - - - true - animalshelters__Locations__c - true - Get_Newly_Created_Movement_Record @@ -302,7 +272,6 @@ Update_Animal_Location_Fields - true Error_Email and @@ -314,7 +283,7 @@ true - animalshelters__Movement__c + Movement__c true @@ -323,7 +292,7 @@ 50 866 - Get_Location_Record + Set_Output_Variable and @@ -334,42 +303,18 @@ - animalshelters__Location_Status__c + Location_Status__c fmlLocationName - animalshelters__Site__c + Site__c - Get_Newly_Created_Movement_Record.animalshelters__Sitename__c + Get_Newly_Created_Movement_Record.Sitename__c - animalshelters__Animal__c - - - Update_Location_Allocation - - 182 - 1166 - - Set_Output_Variable - - and - - Id - EqualTo - - LocationId - - - - animalshelters__Allocation__c - - IncrementAllocationBy1 - - - animalshelters__Locations__c + Animal__c 56 @@ -383,8 +328,8 @@ Create_Movement_Task 50 - 1490 - animalshelters__Animal_Generate_Tasks_Subflow + 1274 + Animal_Generate_Tasks_Subflow animalRecordId @@ -464,6 +409,6 @@ false false false - animalshelters__Movement__c + Movement__c diff --git a/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml b/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml old mode 100644 new mode 100755 index 505d07cb..4032c02f --- a/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml @@ -1,11 +1,130 @@ 55.0 + + Assign_Parent_Block_Fields + + 1821 + 1703 + + Get_Parent_Block.Available_Capacity__c + Assign + + unitAvailableCount + + + + Get_Parent_Block.Block_Status__c + Assign + + frmParentBlockAvailability + + + + Get_Parent_Block.Total_Capacity__c + Assign + + unitTotalCount + + + + Update_Parent_Block + + + + Assign_Unavailable_count + + 319 + 794 + + unitsNotInUnavailableStatus + AssignCount + + Get_Units_not_in_Available_Status + + + + All_Status_s_Unavailable + + + + Set_Parent_Block_Unavailable_Boolean + + 601 + 1067 + + parentBlockUnavailable + Assign + + true + + + + Parent_Is_Block + + + + Set_Total_Count + + 1290 + 1603 + + unitTotalCount + Add + + Count_Available_Spaces.Capacity__c + + + + Count_Available_Spaces + + + + Set_Unit_Count + + 1131 + 1598 + + unitAvailableCount + Add + + Count_Available_Spaces.Availability__c + + + + Set_Total_Count + + + + All_Status_s_Unavailable + + 600 + 795 + + Parent_Is_Block + + Default Outcome + + All_Unavailable + and + + unitsNotInUnavailableStatus + EqualTo + + 0.0 + + + + Set_Parent_Block_Unavailable_Boolean + + + + Has_Unit_been_marked_as_Unavailable - 314 - 323 + 668 + 371 Is_there_Availability @@ -21,7 +140,7 @@ - Update_Allocation + Get_Units_not_in_Available_Status @@ -29,17 +148,17 @@ Is_there_Availability - 578 - 431 + 990 + 568 Default Outcome Unit_Fully_Allocated and - NoMoreCapacity + $Record.animalshelters__Availability__c EqualTo - true + 0.0 @@ -51,7 +170,7 @@ Unit_Available and - NoMoreCapacity + $Record.animalshelters__Unit_Full__c EqualTo false @@ -63,23 +182,116 @@ - Autolaunched flow to update the Location Status based on availability + + Parent_Is_Block + + 1003 + 1063 + Default Outcome + + Is_Block + 1 AND 2 AND (3 OR 4 OR 5) + + $Record.animalshelters__Parent_Block__c + IsNull + + false + + + + $Record.animalshelters__Parent_Block__r.RecordType.DeveloperName + EqualTo + + Block + + + + $Record.animalshelters__Allocation__c + NotEqualTo + + $Record__Prior.Allocation__c + + + + $Record.animalshelters__Capacity__c + NotEqualTo + + $Record__Prior.Capacity__c + + + + $Record.animalshelters__Unit_Status__c + NotEqualTo + + $Record__Prior.Unit_Status__c + + + + Get_Unit_Count_of_Available_Blocks + + + + + + Unit_Status_Available + + 1198 + 1428 + + Set_Total_Count + + Default Outcome + + Is_Available + and + + Count_Available_Spaces.Unit_Status__c + EqualTo + + Available + + + + Set_Unit_Count + + + + + [Animal Shelter] Autolaunched flow to update the Location Status based on availability Default - Checks the Capacity of the Location - allocationFormula + frmAllocation Number IF({!$Record.animalshelters__Capacity__c} = 1, 0, {!$Record.animalshelters__Allocation__c}) 0 - NoMoreCapacity + frmNoMoreCapacity Boolean {!$Record.animalshelters__Availability__c} = 0 + + frmParentBlockAvailability + String + IF({!parentBlockUnavailable}, 'Unavailable', IF({!unitAvailableCount} > 0, 'Available','Allocated')) + Animal - Update Location Unit Status true + + Count_Available_Spaces + + 1321 + 1278 + Get_Unit_Count_of_Available_Blocks + Asc + + Unit_Status_Available + + + Get_Parent_Block + + BuilderType @@ -89,7 +301,7 @@ CanvasMode - AUTO_LAYOUT_CANVAS + FREE_FORM_CANVAS @@ -99,11 +311,84 @@ AutoLaunchedFlow + + Get_Parent_Block + + 1753 + 1294 + false + + Assign_Parent_Block_Fields + + and + + Id + EqualTo + + $Record.Parent_Block__c + + + true + Locations__c + true + + + Get_Unit_Count_of_Available_Blocks + + 1019 + 1278 + false + + Count_Available_Spaces + + and + + Parent_Block__c + EqualTo + + $Record.Parent_Block__c + + + false + Locations__c + true + + + Get_Units_not_in_Available_Status + + 319 + 590 + false + + Assign_Unavailable_count + + and + + Parent_Block__c + EqualTo + + $Record.Parent_Block__c + + + + Unit_Status__c + NotEqualTo + + Unavailable + + + false + Locations__c + true + Set_Status_Allocated - 314 - 539 + 1001 + 797 + + Parent_Is_Block + Unit_Status__c @@ -115,14 +400,11 @@ Set_Status_to_Available - 578 - 539 - - Allocation__c - - allocationFormula - - + 1153 + 798 + + Parent_Is_Block + Unit_Status__c @@ -132,28 +414,59 @@ $Record - Update_Allocation - - 50 - 431 - - Allocation__c - - $Record.Capacity__c - - - $Record + Update_Parent_Block + + 949 + 1724 + Get_Parent_Block - 188 - 0 + 540 + 48 Has_Unit_been_marked_as_Unavailable - AND(OR(ISPICKVAL({!$Record.Location_Capacity__c}, 'Single Animal'),ISPICKVAL({!$Record.Location_Capacity__c}, 'Multiple Animals')), {!$Record.RecordType.Name}='Unit') + {!$Record.RecordType.Name}='Unit' || {!$Record.RecordType.Name}='Foster' || {!$Record.RecordType.Name}='Organisation' Locations__c CreateAndUpdate RecordAfterSave Active + + parentBlockUnavailable + Boolean + false + false + false + + false + + + + unitAvailableCount + Number + false + false + false + 0 + + 0.0 + + + + unitsNotInUnavailableStatus + Number + false + false + false + 0 + + + unitTotalCount + Number + false + false + false + 0 + diff --git a/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml old mode 100644 new mode 100755 index 36f14464..b140b3a7 --- a/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml @@ -2,7 +2,6 @@ 60.0 - Assigns the output of Get Units Related to Block Subflow to the Units Collection Assign_Block_Units_to_Collection 380 @@ -14,8 +13,15 @@ Get_Units_Related_to_Block.childRecords + + localLocation.Id + Assign + + recordId.Id + + - ASCS_Change_Block_Units_Status_and_Check_for_Allocated_Units + Change_Block_Units_Status_and_Check_for_Allocated_Units @@ -24,11 +30,11 @@ 578 890 - recordId.animalshelters__Unavailability_Reason__c + localLocation.Unavailability_Reason__c Assign - Update_Block_Status_Block + Update_Block_Status @@ -37,21 +43,21 @@ 314 998 - recordId.animalshelters__Block_Status__c + localLocation.Block_Status__c Assign Unavailable - recordId.animalshelters__Unavailability_Reason__c + localLocation.Unavailability_Reason__c Assign Reason_Unavailable - Update_Block_Status_Block + Update_Block_Status @@ -71,41 +77,16 @@ - Copy_2_of_Location_Set_Unavailable - - 380 - 782 - - Reset_Unavailability_Reason - - Default Outcome - - Copy_2_of_Unavailable - and - - Status_Options - EqualTo - - Unavailable_Choice - - - - Did_Block_Have_Allocated_Units - - - - - - Did_Block_Have_Allocated_Units + Did_Block_Have_Allocated_Units_or_Ignore_Allocations 182 890 Set_Unavailability_Details - No - Block hasn't + No - Block Hasn't - Yes_Block_has + Yes_Block_Has and allocatedUnits @@ -124,7 +105,32 @@ Has_Allocated_Units - + + + + + Location_Set_Unavailable + + 380 + 782 + + Reset_Unavailability_Reason + + Default Outcome + + Unavailable + and + + Status_Options + EqualTo + + Unavailable_Choice + + + + Did_Block_Have_Allocated_Units_or_Ignore_Allocations + + @@ -152,34 +158,19 @@ + [Animal Shelter] - Flow to change the Status of a Unit, Sub Block or Block to make the associated Units Available or Unavailable Reason_Unavailable_Picklist Picklist - animalshelters__Unavailability_Reason__c - animalshelters__Locations__c + Unavailability_Reason__c + Locations__c Default - - formulaUnitAvailableAllocation - Number - IF({!Ignore_Allocated_Units} = TRUE, {!recordId.animalshelters__Allocation__c}, 0) - 0 - - - formulaUnitUnavailableAllocation - Number - IF({!Ignore_Allocated_Units} = TRUE, {!recordId.animalshelters__Allocation__c}, {!recordId.animalshelters__Capacity__c}) - 0 - - - resetUnavailableReason - String - IF( ISPICKVAL({!recordId.animalshelters__Unavailability_Reason__c}, 'Unavailable'), 'Available', TEXT({!recordId.animalshelters__Unavailability_Reason__c})) - - ASCS Location - Change Status Flow {!$Flow.CurrentDateTime} - + Location - Change Status Flow {!$Flow.CurrentDateTime} + true + BuilderType @@ -200,14 +191,14 @@ Flow - Update_Block_Status_Block - + Update_Block_Status + 380 1382 Completed - recordId + localLocation Completed @@ -219,7 +210,7 @@ false Completed_Text - <p><strong>Locations Updated!</strong></p><p><br></p><p>All units in {!recordId.animalshelters__Name__c} have been updated to {!Status_Options}. Click Finish to complete the wizard.</p> + <p><strong>Locations Updated!</strong></p><p><br></p><p>All units in {!recordId.Name__c} have been updated to {!Status_Options}. Click Finish to complete the wizard.</p> DisplayText true @@ -234,8 +225,8 @@ true false - Copy_1_of_Has_Allocated_Units_Text - <p>Block/Sub Block <strong><em>{!recordId.animalshelters__Name__c}</em></strong> has at least 1 unit that is housing an animal, and is allocated. </p><p><br></p><p>Please make arrangements to move the animals out of any units in this Block/Sub Block.</p><p><br></p><p>Click <strong>Finish</strong> to Exit</p> + Has_Allocated_Units_Text + <p>Block/Sub Block <strong><em>{!recordId.Name__c}</em></strong> has at least 1 unit that is housing an animal, and is allocated. </p><p><br></p><p>Please make arrangements to move the animals out of any units in this Block/Sub Block.</p><p><br></p><p>Click <strong>Finish</strong> to Exit</p> DisplayText true @@ -270,6 +261,7 @@ String Status Options RadioButtons + UseStoredValues false @@ -289,7 +281,8 @@ String Reason Unavailable DropdownBox - true + UseStoredValues + false and @@ -301,40 +294,22 @@ + + InitialScreenIgnoreAllocatedWarning + <p><strong style="color: rgb(247, 69, 69);">WARNING!</strong><strong> - </strong>Setting the Ignore Allocated Units checkbox will update the status of the Units that may house animals</p> + DisplayText + Ignore_Allocated_Units Boolean false - Update Status Regardless of Unit Occupancy + Ignore Allocated Units InputField + <p>Update Status Regardless of Unit Occupancy</p> + UseStoredValues true - - and - - Status_Options - EqualTo - - Unavailable_Choice - - - - - - InitialScreenIgnoreAllocatedWarning - <p><strong style="color: rgb(247, 69, 69);">WARNING!</strong><strong> - </strong>Setting the above checkbox will update the status of the Units that may house animals</p> - DisplayText - - and - - Ignore_Allocated_Units - EqualTo - - true - - - width @@ -361,13 +336,12 @@ false Location_RecordType_Error_Text - <p>ERROR! - The Location {!recordId.animalshelters__Name__c} must be a Block</p> + <p>ERROR! - The Location {!recordId.Name__c} must be a Block</p> DisplayText true true - animalshelters__Location_Change_Status_Flow 485 0 @@ -377,12 +351,12 @@ Active - ASCS_Change_Block_Units_Status_and_Check_for_Allocated_Units + Change_Block_Units_Status_and_Check_for_Allocated_Units 380 674 - Copy_2_of_Location_Set_Unavailable + Location_Set_Unavailable Location_Change_Unit_Status_SubFlow @@ -422,7 +396,7 @@ What_is_the_Locations_RecordType - animalshelters__Animal_RecordType_Subflow + Animal_RecordType_Subflow developerName @@ -445,7 +419,7 @@ Assign_Block_Units_to_Collection - animalshelters__Location_Get_Location_Child_Records_Subflow + Location_Get_Location_Child_Records_Subflow childRecordTypeName @@ -467,45 +441,13 @@ false false - - currentItem_Filter_for_Allocated_Records - SObject - false - false - false - animalshelters__Locations__c - - - currentItem_Filter_for_MultiAnimal_Units - SObject - false - false - false - animalshelters__Locations__c - - - currentItem_Filter_for_Units_with_an_Allocation - SObject - false - false - false - animalshelters__Locations__c - - - currentItem_Filter_Units_for_Allocated_Units - SObject - false - false - false - animalshelters__Locations__c - localLocation SObject false false false - animalshelters__Locations__c + Locations__c recordId @@ -513,46 +455,7 @@ false true false - animalshelters__Locations__c - - - SelectedChoice - String - false - false - false - - - subBlock_Block - SObject - false - false - false - animalshelters__Locations__c - - - subBlock_Blocks - SObject - true - false - false - animalshelters__Locations__c - - - subBlocks - SObject - true - false - false - animalshelters__Locations__c - - - Unit_Assignment - SObject - false - false - false - animalshelters__Locations__c + Locations__c Units @@ -560,6 +463,6 @@ true false false - animalshelters__Locations__c + Locations__c diff --git a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml old mode 100644 new mode 100755 index 9108a747..d8c4d7c0 --- a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml @@ -2,10 +2,26 @@ 61.0 - Build_Units_to_Set_to_Available - + Add_Unit_Id_to_List + + 534 + 350 + + UnitIdList + Add + + Get_Units.Id + + + + Get_Units + + + + Build_Units_to_Set_to_New_Status + 468 - 1358 + 1766 updatedUnits Add @@ -21,7 +37,7 @@ Count_No_of_Allocated_Units 446 - 350 + 758 allocationCount AssignCount @@ -37,7 +53,7 @@ Set_Allocated_Units_Flag_to_True 314 - 566 + 974 unitsHaveAllocation Assign @@ -47,10 +63,10 @@ - Set_Allocation_to_0 - + Set_Allocation_to_Available + 336 - 1166 + 1574 updatedUnit.Id Assign @@ -59,28 +75,28 @@ - updatedUnit.animalshelters__Unavailability_Reason__c + updatedUnit.Unavailability_Reason__c Assign - updatedUnit.animalshelters__Unit_Status__c + updatedUnit.Unit_Status__c Assign newStatus - Build_Units_to_Set_to_Available + Build_Units_to_Set_to_New_Status Set_Allocation_to_Unavailable 600 - 1166 + 1574 updatedUnit.Id Assign @@ -89,28 +105,28 @@ - updatedUnit.animalshelters__Unavailability_Reason__c + updatedUnit.Unavailability_Reason__c Assign newUnavailabilityReason - updatedUnit.animalshelters__Unit_Status__c + updatedUnit.Unit_Status__c Assign Unavailable - Build_Units_to_Set_to_Available + Build_Units_to_Set_to_New_Status Set_Flag_Allocated_Units_to_False 578 - 566 + 974 unitsHaveAllocation Assign @@ -143,23 +159,23 @@ FilterCollectionProcessor 446 - 242 + 650 currentItem_Filter_Units_for_Allocated_Units FilterCollectionProcessor - unitsForStatusChange + Get_Units_From_Id_List and - currentItem_Filter_Units_for_Allocated_Units.animalshelters__Allocation__c + currentItem_Filter_Units_for_Allocated_Units.Allocation__c GreaterThan 0.0 - currentItem_Filter_Units_for_Allocated_Units.animalshelters__Unit_Status__c - EqualTo + currentItem_Filter_Units_for_Allocated_Units.Unit_Status__c + NotEqualTo - Allocated + Unavailable @@ -170,7 +186,7 @@ Are_any_of_the_Units_allocated 446 - 458 + 866 Set_Flag_Allocated_Units_to_False @@ -197,7 +213,7 @@ 248 134 - Filter_Units_for_Allocated_Units + Get_Units No - Honor Allocations @@ -220,7 +236,7 @@ What_is_the_new_Status 468 - 1058 + 1466 Set_Allocation_to_Unavailable @@ -236,38 +252,42 @@ - Set_Allocation_to_0 + Set_Allocation_to_Available + [Animal Shelter] - Subflow to change the status of units. Inputs: Unit record collection, Ignore Allocated Units Flag, Outputs: Allocated Units Default - - formulaAllocationAvailable - Number - IF({!ignoreAllocatedUnits} = TRUE, {!Loop_Through_All_Units.animalshelters__Allocation__c}, 0) - 0 - - - formulaAllocationUnavailable - Number - IF({!ignoreAllocatedUnits} = TRUE, {!Loop_Through_All_Units.animalshelters__Allocation__c}, {!Loop_Through_All_Units.animalshelters__Capacity__c}) - 0 - Location - Change Unit Status SubFlow {!$Flow.CurrentDateTime} + true + + Get_Units + + 446 + 242 + unitsForStatusChange + Asc + + Add_Unit_Id_to_List + + + Get_Units_From_Id_List + + Loop_Through_All_Units 248 - 950 + 1358 unitsForStatusChange Asc What_is_the_new_Status - Update_All_Units_to_Available + Update_All_Units_to_New_Status @@ -289,14 +309,34 @@ AutoLaunchedFlow + + Get_Units_From_Id_List + + 446 + 542 + false + + Filter_Units_for_Allocated_Units + + and + + Id + In + + UnitIdList + + + false + Locations__c + true + - Update_All_Units_to_Available - + Update_All_Units_to_New_Status + 248 - 1550 + 1958 updatedUnits - animalshelters__Location_Change_Unit_Status_SubFlow 122 0 @@ -319,7 +359,7 @@ false false false - animalshelters__Locations__c + Locations__c If True allocated units will be ignored and the status will still be set @@ -343,13 +383,20 @@ true false + + UnitIdList + String + true + false + false + unitsForStatusChange SObject true true false - animalshelters__Locations__c + Locations__c unitsHaveAllocation @@ -364,7 +411,7 @@ false false false - animalshelters__Locations__c + Locations__c updatedUnits @@ -372,6 +419,6 @@ true false false - animalshelters__Locations__c + Locations__c From 467eb57d2f72a75a694a802ff1b4f4c7465394ed Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Mon, 4 Nov 2024 16:12:47 +0000 Subject: [PATCH 2/7] Updates tio Unit Full field --- .../flows/Animal_Movement_Process.flow-meta.xml | 3 ++- .../Locations__c/fields/Unit_Full__c.field-meta.xml | 11 +++++++++++ .../Animal_Shelter_Starter.permissionset-meta.xml | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 force-app/main/default/objects/Locations__c/fields/Unit_Full__c.field-meta.xml diff --git a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml index 330a2fb3..040bc421 100755 --- a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml @@ -553,6 +553,7 @@ Movement__c varMovementRecords + Id Get_Current_Movement_Record @@ -953,7 +954,7 @@ Get_Unit_Record_Type - Active + Draft CreateMovementRecord diff --git a/force-app/main/default/objects/Locations__c/fields/Unit_Full__c.field-meta.xml b/force-app/main/default/objects/Locations__c/fields/Unit_Full__c.field-meta.xml new file mode 100644 index 00000000..e9b8c191 --- /dev/null +++ b/force-app/main/default/objects/Locations__c/fields/Unit_Full__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Unit_Full__c + Formula field to indicate that the Unit is Full + false + If(Availability__c = 0, True, False) + + false + false + Checkbox + diff --git a/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml b/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml index 8de7abe8..b683909a 100644 --- a/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml @@ -1113,6 +1113,11 @@ Locations__c.Unavailability_Reason__c true + + false + Locations__c.Unit_Full__c + true + true Locations__c.Unit_Status__c From 8aa38d42d530b14ee8d25c9862668089726c37ae Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Mon, 4 Nov 2024 16:21:18 +0000 Subject: [PATCH 3/7] Update Capacity__c.field-meta.xml Updated to 5 digits as requested by RSPCA due to tracking animals going to external locations --- .../objects/Locations__c/fields/Capacity__c.field-meta.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/objects/Locations__c/fields/Capacity__c.field-meta.xml b/force-app/main/default/objects/Locations__c/fields/Capacity__c.field-meta.xml index ab3c4190..90919222 100644 --- a/force-app/main/default/objects/Locations__c/fields/Capacity__c.field-meta.xml +++ b/force-app/main/default/objects/Locations__c/fields/Capacity__c.field-meta.xml @@ -5,7 +5,7 @@ false The number of animals that can be housed in this location - 2 + 5 false 0 false From 98822940188a241031f36ebe7db63901b9c5e539 Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Wed, 6 Nov 2024 13:08:51 +0000 Subject: [PATCH 4/7] Flow updates with Namespace Animal_Movement_Process Animal_Movement_SubFlow Location_Change_Unit_Status --- .../main/default/flows/Animal_Movement_Process.flow-meta.xml | 4 ++-- .../main/default/flows/Animal_Movement_SubFlow.flow-meta.xml | 2 +- .../flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml index 040bc421..83cefc38 100755 --- a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml @@ -744,7 +744,7 @@ false Error_Movement_Records_Screen_Text - <p><strong style="font-size: 14px;"><em>ERROR!</em></strong></p><p><br></p><p>{!recordId.Name} appears to have been assigned multiple locations, and has multiple movement records that are marked as current.</p><p><br></p><p>Please check the movement records for <span style="background-color: rgb(255, 255, 255); color: rgb(68, 68, 68);">{!recordId.Name}</span>, and resolve this issue.</p> + <p><strong style="font-size: 14px;"><em>ERROR!</em></strong></p><p> {!recordId.Animal_Name__c} appears to have been assigned multiple locations, and has multiple movement records that are marked as current.</p><p><br></p><p>Please check the movement records for <span style="color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">{!recordId.Animal_Name__c}</span>, and resolve this issue.</p> DisplayText true @@ -954,7 +954,7 @@ Get_Unit_Record_Type - Draft + Active CreateMovementRecord diff --git a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml index a78b8676..627b007f 100755 --- a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml @@ -323,7 +323,7 @@ Movement_Record_Assignments - Active + Draft Create_Movement_Task diff --git a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml index d8c4d7c0..e743a213 100755 --- a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml @@ -344,7 +344,7 @@ Is_the_Ignore_Allocated_Units_Flag_Set - Active + Draft allocationCount Number From 42277abba6d7d653701574b8e9935d67bcd3104d Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Wed, 6 Nov 2024 13:40:59 +0000 Subject: [PATCH 5/7] Added External_Id field to all Objects --- ...er_Profile__c.External_Id__c.indx-meta.xml | 4 + ...tion_Match__c.External_Id__c.indx-meta.xml | 4 + .../Adoption__c.External_Id__c.indx-meta.xml | 4 + ...mal_Action__c.External_Id__c.indx-meta.xml | 4 + ...imal_Alert__c.External_Id__c.indx-meta.xml | 4 + ...lationship__c.External_Id__c.indx-meta.xml | 4 + .../Animal__c.External_Id__c.indx-meta.xml | 4 + ...Assessment__c.External_Id__c.indx-meta.xml | 4 + .../Breed__c.External_Id__c.indx-meta.xml | 4 + .../Condition__c.External_Id__c.indx-meta.xml | 4 + .../Locations__c.External_Id__c.indx-meta.xml | 4 + ...icine_Used__c.External_Id__c.indx-meta.xml | 4 + .../Medicine__c.External_Id__c.indx-meta.xml | 4 + .../Movement__c.External_Id__c.indx-meta.xml | 4 + ...ter_Profile_Record_Page.flexipage-meta.xml | 6 ++ .../Adoption_Record_Page.flexipage-meta.xml | 6 ++ ...imal_Action_Record_Page.flexipage-meta.xml | 6 ++ ...ert_Desktop_Record_Page.flexipage-meta.xml | 6 ++ .../Animal_Record_Page.flexipage-meta.xml | 6 ++ .../Animal_Record_Page1.flexipage-meta.xml | 6 ++ ...elationship_Record_Page.flexipage-meta.xml | 6 ++ .../Assessment_Record_Page.flexipage-meta.xml | 6 ++ .../Breed_Record_Page.flexipage-meta.xml | 6 ++ ...ion_Desktop_Record_Page.flexipage-meta.xml | 6 ++ .../Location_Record_Page.flexipage-meta.xml | 6 ++ .../Movement_Record_Page.flexipage-meta.xml | 6 ++ ...__c-Adopter Profile Layout.layout-meta.xml | 7 +- ...h__c-Adoption Match Layout.layout-meta.xml | 7 +- ...doption__c-Adoption Layout.layout-meta.xml | 27 ++++--- ...on__c-Animal Action Layout.layout-meta.xml | 7 +- ...__c-Exercise Action Layout.layout-meta.xml | 7 +- ..._c-Treatment Action Layout.layout-meta.xml | 7 +- ...ert__c-Animal Alert Layout.layout-meta.xml | 29 +++++--- ...Animal Relationship Layout.layout-meta.xml | 7 +- .../Animal__c-Animal Layout.layout-meta.xml | 27 ++++--- ...sment__c-Assessment Layout.layout-meta.xml | 33 +++++---- .../Breed__c-Breed Layout.layout-meta.xml | 7 +- ...dition__c-Condition Layout.layout-meta.xml | 6 +- ...s__c-Location Block Layout.layout-meta.xml | 4 + ...__c-Location Foster Layout.layout-meta.xml | 4 + ...cations__c-Location Layout.layout-meta.xml | 4 + ...cation Organisation Layout.layout-meta.xml | 4 + ...ns__c-Location Site Layout.layout-meta.xml | 4 + ...ns__c-Location Unit Layout.layout-meta.xml | 4 + ...ed__c-Medicine Used Layout.layout-meta.xml | 7 +- ...edicine__c-Medicine Layout.layout-meta.xml | 21 ++++-- ...ovement__c-Movement Layout.layout-meta.xml | 7 +- .../fields/External_Id__c.field-meta.xml | 14 ++++ .../fields/External_Id__c.field-meta.xml | 14 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 14 ++++ .../fields/External_Id__c.field-meta.xml | 14 ++++ .../fields/External_Id__c.field-meta.xml | 14 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 14 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 13 ++++ .../fields/External_Id__c.field-meta.xml | 14 ++++ ...mal_Shelter_Starter.permissionset-meta.xml | 74 ++++++++++++++++++- 62 files changed, 553 insertions(+), 68 deletions(-) create mode 100644 force-app/main/default/customindex/Adopter_Profile__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Adoption_Match__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Adoption__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Animal_Action__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Animal_Alert__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Animal_Relationship__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Animal__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Assessment__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Breed__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Condition__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Locations__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Medicine_Used__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Medicine__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/customindex/Movement__c.External_Id__c.indx-meta.xml create mode 100644 force-app/main/default/objects/Adopter_Profile__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Adoption_Match__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Adoption__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Animal_Action__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Animal_Alert__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Animal_Relationship__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Animal__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Assessment__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Breed__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Condition__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Locations__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Medicine_Used__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Medicine__c/fields/External_Id__c.field-meta.xml create mode 100644 force-app/main/default/objects/Movement__c/fields/External_Id__c.field-meta.xml diff --git a/force-app/main/default/customindex/Adopter_Profile__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Adopter_Profile__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Adopter_Profile__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Adoption_Match__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Adoption_Match__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Adoption_Match__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Adoption__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Adoption__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Adoption__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Animal_Action__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Animal_Action__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Animal_Action__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Animal_Alert__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Animal_Alert__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Animal_Alert__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Animal_Relationship__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Animal_Relationship__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Animal_Relationship__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Animal__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Animal__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Animal__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Assessment__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Assessment__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Assessment__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Breed__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Breed__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Breed__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Condition__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Condition__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Condition__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Locations__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Locations__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Locations__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Medicine_Used__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Medicine_Used__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Medicine_Used__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Medicine__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Medicine__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Medicine__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/customindex/Movement__c.External_Id__c.indx-meta.xml b/force-app/main/default/customindex/Movement__c.External_Id__c.indx-meta.xml new file mode 100644 index 00000000..77309cc8 --- /dev/null +++ b/force-app/main/default/customindex/Movement__c.External_Id__c.indx-meta.xml @@ -0,0 +1,4 @@ + + + false + diff --git a/force-app/main/default/flexipages/Adopter_Profile_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Adopter_Profile_Record_Page.flexipage-meta.xml index 2d74cd20..4785f205 100644 --- a/force-app/main/default/flexipages/Adopter_Profile_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Adopter_Profile_Record_Page.flexipage-meta.xml @@ -137,6 +137,12 @@ RecordActive_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-92cdd80a-d30e-4517-98bf-a61936ed30e8 Facet diff --git a/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml index b5c5f00f..bf7a1871 100644 --- a/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml @@ -72,6 +72,12 @@ RecordDate_of_Adoption__cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-6e2c0e1b-75a5-4aa2-89e5-0a79927298c4 Facet diff --git a/force-app/main/default/flexipages/Animal_Action_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Animal_Action_Record_Page.flexipage-meta.xml index 1bf6bbdf..c5a21b27 100644 --- a/force-app/main/default/flexipages/Animal_Action_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Animal_Action_Record_Page.flexipage-meta.xml @@ -86,6 +86,12 @@ RecordAction_Completed_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-629621b5-076b-4e74-aeb8-d9061f6f3833 Facet diff --git a/force-app/main/default/flexipages/Animal_Alert_Desktop_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Animal_Alert_Desktop_Record_Page.flexipage-meta.xml index 2ffd0d14..fa8caad5 100644 --- a/force-app/main/default/flexipages/Animal_Alert_Desktop_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Animal_Alert_Desktop_Record_Page.flexipage-meta.xml @@ -65,6 +65,12 @@ RecordSeverity_Level_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-e4493684-ec5a-4587-8870-1d5482cbb764 Facet diff --git a/force-app/main/default/flexipages/Animal_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Animal_Record_Page.flexipage-meta.xml index 871abb60..a76706c8 100644 --- a/force-app/main/default/flexipages/Animal_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Animal_Record_Page.flexipage-meta.xml @@ -172,6 +172,12 @@ RecordCalculated_Age__cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-4c49db03-428d-4fcb-a44e-6e9be7ede66a Facet diff --git a/force-app/main/default/flexipages/Animal_Record_Page1.flexipage-meta.xml b/force-app/main/default/flexipages/Animal_Record_Page1.flexipage-meta.xml index 6fbeea6b..f742673c 100644 --- a/force-app/main/default/flexipages/Animal_Record_Page1.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Animal_Record_Page1.flexipage-meta.xml @@ -63,6 +63,12 @@ Recordanimalshelters_Age_Category_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-c9f85fdf-9f3e-459a-9111-1a24e639d1a0 Facet diff --git a/force-app/main/default/flexipages/Animal_Relationship_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Animal_Relationship_Record_Page.flexipage-meta.xml index a0f365fd..0528963c 100644 --- a/force-app/main/default/flexipages/Animal_Relationship_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Animal_Relationship_Record_Page.flexipage-meta.xml @@ -99,6 +99,12 @@ RecordStatus__cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-e0a8926f-51de-44d3-b00c-5e840edb0236 Facet diff --git a/force-app/main/default/flexipages/Assessment_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Assessment_Record_Page.flexipage-meta.xml index 04906a38..479470f1 100644 --- a/force-app/main/default/flexipages/Assessment_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Assessment_Record_Page.flexipage-meta.xml @@ -73,6 +73,12 @@ RecordCategory_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-9cb348dd-c2b1-489e-8c93-93b664cc0fc9 Facet diff --git a/force-app/main/default/flexipages/Breed_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Breed_Record_Page.flexipage-meta.xml index 4d8fffa6..a543f72f 100644 --- a/force-app/main/default/flexipages/Breed_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Breed_Record_Page.flexipage-meta.xml @@ -97,6 +97,12 @@ RecordLatin_Name_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-364e5636-e37f-406b-a65a-3fc58ea55842 Facet diff --git a/force-app/main/default/flexipages/Condition_Desktop_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Condition_Desktop_Record_Page.flexipage-meta.xml index 8a3dc5ad..9c0d5fda 100644 --- a/force-app/main/default/flexipages/Condition_Desktop_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Condition_Desktop_Record_Page.flexipage-meta.xml @@ -170,6 +170,12 @@ RecordAnimal__cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-4c5a0987-2949-4f04-bd61-2a752918f3f3 Facet diff --git a/force-app/main/default/flexipages/Location_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Location_Record_Page.flexipage-meta.xml index b741862a..1bb962c5 100644 --- a/force-app/main/default/flexipages/Location_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Location_Record_Page.flexipage-meta.xml @@ -58,6 +58,12 @@ Recordanimalshelters_Unit_Status_cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-03fd539c-8e0f-4eb0-b151-8bee0ddb7e23 Facet diff --git a/force-app/main/default/flexipages/Movement_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Movement_Record_Page.flexipage-meta.xml index c079f403..44c58ed6 100644 --- a/force-app/main/default/flexipages/Movement_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Movement_Record_Page.flexipage-meta.xml @@ -104,6 +104,12 @@ RecordTotal_Time_Days__cField + + + Record.External_Id__c + Recordanimalshelters__External_Id__cField + + Facet-400ba8ed-d34a-4edc-9892-e306423d174c Facet diff --git a/force-app/main/default/layouts/Adopter_Profile__c-Adopter Profile Layout.layout-meta.xml b/force-app/main/default/layouts/Adopter_Profile__c-Adopter Profile Layout.layout-meta.xml index eaed1613..f5a4cfe7 100644 --- a/force-app/main/default/layouts/Adopter_Profile__c-Adopter Profile Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Adopter_Profile__c-Adopter Profile Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -187,6 +188,10 @@ Readonly LastModifiedById + + Edit + External_Id__c + @@ -228,7 +233,7 @@ false false - 00h010000021K9Q + 00h8F000006l3L5 4 0 Default diff --git a/force-app/main/default/layouts/Adoption_Match__c-Adoption Match Layout.layout-meta.xml b/force-app/main/default/layouts/Adoption_Match__c-Adoption Match Layout.layout-meta.xml index a72a6954..e08ed2eb 100644 --- a/force-app/main/default/layouts/Adoption_Match__c-Adoption Match Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Adoption_Match__c-Adoption Match Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -69,6 +70,10 @@ Readonly CreatedById + + Edit + External_Id__c + @@ -117,7 +122,7 @@ false false - 00h8F000000aOXf + 00h8F000006l3L6 4 0 Default diff --git a/force-app/main/default/layouts/Adoption__c-Adoption Layout.layout-meta.xml b/force-app/main/default/layouts/Adoption__c-Adoption Layout.layout-meta.xml index 1e2c80aa..3ebe9042 100644 --- a/force-app/main/default/layouts/Adoption__c-Adoption Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Adoption__c-Adoption Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -177,6 +178,10 @@ Readonly CreatedById + + Edit + External_Id__c + @@ -201,52 +206,52 @@ NewEvent QuickAction - 2 + 0 NewTask QuickAction - 3 + 1 LogACall QuickAction - 4 + 2 SendEmail QuickAction - 5 + 3 Edit StandardButton - 9 + 4 Clone StandardButton - 10 + 5 Delete StandardButton - 11 + 6 NewCase QuickAction - 12 + 7 ChangeOwnerOne StandardButton - 13 + 8 PrintableView StandardButton - 14 + 9 @@ -277,7 +282,7 @@ false false - 00h7g000003DfrQ + 00h8F000006l3L7 4 0 Default diff --git a/force-app/main/default/layouts/Animal_Action__c-Animal Action Layout.layout-meta.xml b/force-app/main/default/layouts/Animal_Action__c-Animal Action Layout.layout-meta.xml index e8a33d0d..122fd1bd 100644 --- a/force-app/main/default/layouts/Animal_Action__c-Animal Action Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Animal_Action__c-Animal Action Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Share Submit @@ -109,6 +110,10 @@ Readonly Name + + Edit + External_Id__c + @@ -219,7 +224,7 @@ false false - 00h8H0000048QNC + 00h8F000006l3L8 4 0 Default diff --git a/force-app/main/default/layouts/Animal_Action__c-Exercise Action Layout.layout-meta.xml b/force-app/main/default/layouts/Animal_Action__c-Exercise Action Layout.layout-meta.xml index 951ed788..019457b6 100644 --- a/force-app/main/default/layouts/Animal_Action__c-Exercise Action Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Animal_Action__c-Exercise Action Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit true @@ -99,6 +100,10 @@ Readonly Name + + Edit + External_Id__c + @@ -197,7 +202,7 @@ false false - 00h8H0000048QNQ + 00h8F000006l3LM 4 0 Default diff --git a/force-app/main/default/layouts/Animal_Action__c-Treatment Action Layout.layout-meta.xml b/force-app/main/default/layouts/Animal_Action__c-Treatment Action Layout.layout-meta.xml index 25aaaf90..ec50e8cf 100644 --- a/force-app/main/default/layouts/Animal_Action__c-Treatment Action Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Animal_Action__c-Treatment Action Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit true @@ -120,6 +121,10 @@ Readonly Name + + Edit + External_Id__c + @@ -231,7 +236,7 @@ false false - 00h010000025pTT + 00h8F000006l3LN 4 0 Default diff --git a/force-app/main/default/layouts/Animal_Alert__c-Animal Alert Layout.layout-meta.xml b/force-app/main/default/layouts/Animal_Alert__c-Animal Alert Layout.layout-meta.xml index f1b72bee..b3bc7822 100644 --- a/force-app/main/default/layouts/Animal_Alert__c-Animal Alert Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Animal_Alert__c-Animal Alert Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -69,6 +70,10 @@ Readonly Name + + Edit + External_Id__c + @@ -87,57 +92,57 @@ NewEvent QuickAction - 2 + 0 NewTask QuickAction - 3 + 1 SendEmail QuickAction - 4 + 2 LogACall QuickAction - 5 + 3 NewCase QuickAction - 6 + 4 ChangeRecordType StandardButton - 9 + 5 Delete StandardButton - 10 + 6 Edit StandardButton - 11 + 7 Clone StandardButton - 12 + 8 ChangeOwnerOne StandardButton - 13 + 9 PrintableView StandardButton - 14 + 10 @@ -165,7 +170,7 @@ false false - 00h01000000Ovmp + 00h8F000006l3LA 4 0 Default diff --git a/force-app/main/default/layouts/Animal_Relationship__c-Animal Relationship Layout.layout-meta.xml b/force-app/main/default/layouts/Animal_Relationship__c-Animal Relationship Layout.layout-meta.xml index 507e365a..3d9c30c5 100644 --- a/force-app/main/default/layouts/Animal_Relationship__c-Animal Relationship Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Animal_Relationship__c-Animal Relationship Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel false false @@ -45,6 +46,10 @@ Readonly Name + + Edit + External_Id__c + @@ -93,7 +98,7 @@ false false - 00h11000002vuws + 00h8F000006l3LB 4 0 Default diff --git a/force-app/main/default/layouts/Animal__c-Animal Layout.layout-meta.xml b/force-app/main/default/layouts/Animal__c-Animal Layout.layout-meta.xml index 8aa7834b..259ed9cd 100644 --- a/force-app/main/default/layouts/Animal__c-Animal Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Animal__c-Animal Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -261,6 +262,10 @@ Readonly Name + + Edit + External_Id__c + @@ -343,6 +348,11 @@ QuickAction 5 + + Animal__c.Multi_Animal_Clone + QuickAction + 6 + Animal__c.New_Alert QuickAction @@ -378,6 +388,11 @@ QuickAction 13 + + NewCase + QuickAction + 14 + PrintableView StandardButton @@ -403,16 +418,6 @@ StandardButton 19 - - Animal__c.Multi_Animal_Clone - QuickAction - 6 - - - NewCase - QuickAction - 14 - @@ -529,7 +534,7 @@ false false - 00h8K000002W8RE + 00h8F000006l3LC 4 0 Default diff --git a/force-app/main/default/layouts/Assessment__c-Assessment Layout.layout-meta.xml b/force-app/main/default/layouts/Assessment__c-Assessment Layout.layout-meta.xml index a08657ca..6cbbd108 100644 --- a/force-app/main/default/layouts/Assessment__c-Assessment Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Assessment__c-Assessment Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -193,6 +194,10 @@ Readonly CreatedById + + Edit + External_Id__c + @@ -215,59 +220,59 @@ Record - NewEvent + NewTask QuickAction - 2 + 1 - NewTask + NewEvent QuickAction - 3 + 0 NewContact QuickAction - 4 + 2 LogACall QuickAction - 5 + 3 PrintableView StandardButton - 6 + 4 Delete StandardButton - 7 + 5 Submit StandardButton - 8 + 6 Clone StandardButton - 9 + 7 ChangeOwnerOne StandardButton - 10 + 8 ChangeRecordType StandardButton - 11 + 9 Edit StandardButton - 12 + 10 @@ -304,7 +309,7 @@ false false - 00h8G000001H8Ri + 00h8F000006l3LD 4 0 Default diff --git a/force-app/main/default/layouts/Breed__c-Breed Layout.layout-meta.xml b/force-app/main/default/layouts/Breed__c-Breed Layout.layout-meta.xml index 237dd8fc..2b77ff69 100644 --- a/force-app/main/default/layouts/Breed__c-Breed Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Breed__c-Breed Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -63,6 +64,10 @@ Readonly CreatedById + + Edit + External_Id__c + @@ -103,7 +108,7 @@ false false - 00h52000002hSlb + 00h8F000006l3LE 4 0 Default diff --git a/force-app/main/default/layouts/Condition__c-Condition Layout.layout-meta.xml b/force-app/main/default/layouts/Condition__c-Condition Layout.layout-meta.xml index 8b7b89a9..ddbc72ee 100644 --- a/force-app/main/default/layouts/Condition__c-Condition Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Condition__c-Condition Layout.layout-meta.xml @@ -54,6 +54,10 @@ Readonly CreatedById + + Edit + External_Id__c + @@ -183,7 +187,7 @@ false false - 00h8K000002S435 + 00h8F000006l3LF 4 0 Default diff --git a/force-app/main/default/layouts/Locations__c-Location Block Layout.layout-meta.xml b/force-app/main/default/layouts/Locations__c-Location Block Layout.layout-meta.xml index db996f88..ebd35618 100644 --- a/force-app/main/default/layouts/Locations__c-Location Block Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Locations__c-Location Block Layout.layout-meta.xml @@ -19,6 +19,10 @@ Edit Unavailability_Reason__c + + Edit + External_Id__c + diff --git a/force-app/main/default/layouts/Locations__c-Location Foster Layout.layout-meta.xml b/force-app/main/default/layouts/Locations__c-Location Foster Layout.layout-meta.xml index 1f73a30e..80f40805 100644 --- a/force-app/main/default/layouts/Locations__c-Location Foster Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Locations__c-Location Foster Layout.layout-meta.xml @@ -15,6 +15,10 @@ Edit Foster_Contact__c + + Edit + External_Id__c + diff --git a/force-app/main/default/layouts/Locations__c-Location Layout.layout-meta.xml b/force-app/main/default/layouts/Locations__c-Location Layout.layout-meta.xml index 8f6604bb..6ddf1e3e 100644 --- a/force-app/main/default/layouts/Locations__c-Location Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Locations__c-Location Layout.layout-meta.xml @@ -66,6 +66,10 @@ Edit Unavailability_Reason__c + + Edit + External_Id__c + diff --git a/force-app/main/default/layouts/Locations__c-Location Organisation Layout.layout-meta.xml b/force-app/main/default/layouts/Locations__c-Location Organisation Layout.layout-meta.xml index 79be795a..2335f453 100644 --- a/force-app/main/default/layouts/Locations__c-Location Organisation Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Locations__c-Location Organisation Layout.layout-meta.xml @@ -15,6 +15,10 @@ Edit Organisation__c + + Edit + External_Id__c + diff --git a/force-app/main/default/layouts/Locations__c-Location Site Layout.layout-meta.xml b/force-app/main/default/layouts/Locations__c-Location Site Layout.layout-meta.xml index 4eb350db..c78e737b 100644 --- a/force-app/main/default/layouts/Locations__c-Location Site Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Locations__c-Location Site Layout.layout-meta.xml @@ -19,6 +19,10 @@ Edit Unavailability_Reason__c + + Edit + External_Id__c + diff --git a/force-app/main/default/layouts/Locations__c-Location Unit Layout.layout-meta.xml b/force-app/main/default/layouts/Locations__c-Location Unit Layout.layout-meta.xml index 25253646..6413e730 100644 --- a/force-app/main/default/layouts/Locations__c-Location Unit Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Locations__c-Location Unit Layout.layout-meta.xml @@ -22,6 +22,10 @@ Readonly Block_Unit__c + + Edit + External_Id__c + diff --git a/force-app/main/default/layouts/Medicine_Used__c-Medicine Used Layout.layout-meta.xml b/force-app/main/default/layouts/Medicine_Used__c-Medicine Used Layout.layout-meta.xml index 797228de..173442cb 100644 --- a/force-app/main/default/layouts/Medicine_Used__c-Medicine Used Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Medicine_Used__c-Medicine Used Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -65,6 +66,10 @@ Readonly Name + + Edit + External_Id__c + @@ -90,7 +95,7 @@ false false - 00h3z00000rtNBC + 00h8F000006l3LH 4 0 Default diff --git a/force-app/main/default/layouts/Medicine__c-Medicine Layout.layout-meta.xml b/force-app/main/default/layouts/Medicine__c-Medicine Layout.layout-meta.xml index abe59ad6..24c84b7a 100644 --- a/force-app/main/default/layouts/Medicine__c-Medicine Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Medicine__c-Medicine Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -75,6 +76,10 @@ Readonly Name + + Edit + External_Id__c + @@ -103,37 +108,37 @@ NewEvent QuickAction - 2 + 0 NewTask QuickAction - 3 + 1 SendEmail QuickAction - 4 + 2 LogACall QuickAction - 5 + 3 Delete StandardButton - 8 + 4 Edit StandardButton - 9 + 5 PrintableView StandardButton - 10 + 6 @@ -154,7 +159,7 @@ false false - 00h3z00000rtMtJ + 00h8F000006l3LI 4 0 Default diff --git a/force-app/main/default/layouts/Movement__c-Movement Layout.layout-meta.xml b/force-app/main/default/layouts/Movement__c-Movement Layout.layout-meta.xml index 5a04f393..63346996 100644 --- a/force-app/main/default/layouts/Movement__c-Movement Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Movement__c-Movement Layout.layout-meta.xml @@ -1,5 +1,6 @@ + OpenSlackRecordChannel Submit false @@ -80,6 +81,10 @@ Readonly Name + + Edit + External_Id__c + @@ -140,7 +145,7 @@ false false - 00h3G000001O7Vr + 00h8F000006l3LJ 4 0 Default diff --git a/force-app/main/default/objects/Adopter_Profile__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Adopter_Profile__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Adopter_Profile__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/objects/Adoption_Match__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Adoption_Match__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Adoption_Match__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/objects/Adoption__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Adoption__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Adoption__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Animal_Action__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Animal_Action__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Animal_Action__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Animal_Alert__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Animal_Alert__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Animal_Alert__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Animal_Relationship__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Animal_Relationship__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Animal_Relationship__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/objects/Animal__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Animal__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Animal__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/objects/Assessment__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Assessment__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Assessment__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/objects/Breed__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Breed__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Breed__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Condition__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Condition__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Condition__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Locations__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Locations__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Locations__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/objects/Medicine_Used__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Medicine_Used__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Medicine_Used__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Medicine__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Medicine__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..c8a9d358 --- /dev/null +++ b/force-app/main/default/objects/Medicine__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,13 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + Text + true + diff --git a/force-app/main/default/objects/Movement__c/fields/External_Id__c.field-meta.xml b/force-app/main/default/objects/Movement__c/fields/External_Id__c.field-meta.xml new file mode 100644 index 00000000..ec461cc2 --- /dev/null +++ b/force-app/main/default/objects/Movement__c/fields/External_Id__c.field-meta.xml @@ -0,0 +1,14 @@ + + + External_Id__c + false + External Id for dataloading + true + + 255 + false + false + false + Text + true + diff --git a/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml b/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml index b683909a..7a659ca7 100644 --- a/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/Animal_Shelter_Starter.permissionset-meta.xml @@ -138,6 +138,11 @@ Adopter_Profile__c.Current_Daytime_Arrangements__c true + + true + Adopter_Profile__c.External_Id__c + true + true Adopter_Profile__c.Gender__c @@ -164,7 +169,7 @@ true - false + true Adopter_Profile__c.Other_Animal_Details__c true @@ -179,7 +184,7 @@ true - false + true Adopter_Profile__c.Other_Pets_Animals__c true @@ -278,6 +283,11 @@ Adoption_Match__c.Animal__c true + + true + Adoption_Match__c.External_Id__c + true + false Adoption_Match__c.Related_Animal_Status__c @@ -323,6 +333,11 @@ Adoption__c.Declined_Reason__c true + + true + Adoption__c.External_Id__c + true + true Adoption__c.Facilities_Available__c @@ -463,6 +478,11 @@ Animal_Action__c.Exercise_Duration__c true + + true + Animal_Action__c.External_Id__c + true + true Animal_Action__c.Given_By__c @@ -493,6 +513,11 @@ Animal_Alert__c.End_Date_Time__c true + + true + Animal_Alert__c.External_Id__c + true + false Animal_Alert__c.IsDisplayed__c @@ -518,6 +543,11 @@ Animal_Relationship__c.Animal__c true + + true + Animal_Relationship__c.External_Id__c + true + true Animal_Relationship__c.Record_Created__c @@ -648,6 +678,11 @@ Animal__c.Estimated_Age__c true + + true + Animal__c.External_Id__c + true + true Animal__c.Gender__c @@ -803,6 +838,11 @@ Assessment__c.Coughing__c true + + true + Assessment__c.External_Id__c + true + true Assessment__c.Faceas__c @@ -928,6 +968,11 @@ Breed__c.Crossbreed__c true + + true + Breed__c.External_Id__c + true + true Breed__c.Latin_Name__c @@ -963,6 +1008,11 @@ Condition__c.End_Date_Time__c true + + true + Condition__c.External_Id__c + true + true Condition__c.Short_Description__c @@ -1063,6 +1113,11 @@ Locations__c.Capacity__c true + + true + Locations__c.External_Id__c + true + true Locations__c.Foster_Contact__c @@ -1128,6 +1183,11 @@ Medicine_Used__c.Batch_No__c true + + true + Medicine_Used__c.External_Id__c + true + false Medicine_Used__c.Medicine_Name__c @@ -1158,6 +1218,11 @@ Medicine__c.Delivery_Method__c true + + true + Medicine__c.External_Id__c + true + true Medicine__c.Manufacturer__c @@ -1183,6 +1248,11 @@ Movement__c.End_Date__c true + + true + Movement__c.External_Id__c + true + false Movement__c.Location_Name__c From 451f9dc3e428592fa826b6ea93e94e02bb01dd67 Mon Sep 17 00:00:00 2001 From: GeekStewie Date: Wed, 6 Nov 2024 14:57:13 +0000 Subject: [PATCH 6/7] Updates --- .../classes/ASCS_MovementTriggerHandler.cls | 16 ++--- .../ASCS_MovementTriggerHandlerTest.cls | 6 +- ...l_Adoption_Update_Automation.flow-meta.xml | 19 +++--- ..._Block_Capacity_Calculations.flow-meta.xml | 16 ++--- .../Animal_Block_Status_Change.flow-meta.xml | 49 +++++++++++----- .../Animal_Deceased_Animal_Flow.flow-meta.xml | 26 ++++++--- .../Animal_Movement_Process.flow-meta.xml | 58 ++++++++++++++----- ...Set_Location_Assessment_Date.flow-meta.xml | 18 ++++-- ..._Update_Location_Unit_Status.flow-meta.xml | 23 +++++--- .../Location_Change_Status_Flow.flow-meta.xml | 46 ++++++++++----- ...n_Change_Unit_Status_SubFlow.flow-meta.xml | 15 ++--- ...cation_Child_Records_Subflow.flow-meta.xml | 11 ++-- ...cation_Create_Update_Trigger.flow-meta.xml | 4 +- ...ation_Object_Handler_Process.flow-meta.xml | 8 +-- 14 files changed, 206 insertions(+), 109 deletions(-) diff --git a/force-app/main/default/classes/ASCS_MovementTriggerHandler.cls b/force-app/main/default/classes/ASCS_MovementTriggerHandler.cls index b25cbc74..a3428359 100644 --- a/force-app/main/default/classes/ASCS_MovementTriggerHandler.cls +++ b/force-app/main/default/classes/ASCS_MovementTriggerHandler.cls @@ -2,7 +2,7 @@ public with sharing class ASCS_MovementTriggerHandler { // Method to handle logic after insert public static void handleInsert(Map newMap) { - + // Check if the allocation toggle is set: // Return out if allocation enabled is false // ASCS_Allocation_Toggle__c toggle = ASCS_Allocation_Toggle__c.getOrgDefaults(); @@ -25,17 +25,17 @@ public with sharing class ASCS_MovementTriggerHandler { // Method to handle logic after update public static void handleUpdate(Map newMap, Map oldMap) { - + // Return out if allocation enables is false // ASCS_Allocation_Toggle__c toggle = ASCS_Allocation_Toggle__c.getOrgDefaults(); // Boolean toggleValue = Boolean.valueOf(toggle.get('ASCS_Allocation_Enabled__c')); // System.debug('Toggle' + toggleValue); // if(toggleValue == false) return; - - // Create List of Locations + + // Create List of Locations //Create Lost of Location Id Strings List locationIdStringList = new List(); - + // Loop incase of bulk movement creation for (Id movementId : newMap.keySet()) { animalshelters__Movement__c newMovement = newMap.get(movementId); @@ -43,7 +43,7 @@ public with sharing class ASCS_MovementTriggerHandler { // Pull current value from new and onld map Boolean oldCurrentValue = Boolean.valueOf(oldMovement.get('animalshelters__Current__c')); Boolean newCurrentValue = Boolean.valueOf(newMovement.get('animalshelters__Current__c')); - + // Check that the movement current value has been changed if(oldCurrentValue != newCurrentValue){ // Add to location string list @@ -68,12 +68,12 @@ public with sharing class ASCS_MovementTriggerHandler { WHERE animalshelters__Location__c IN :locationIdStringList AND animalshelters__Current__c = true GROUP BY animalshelters__Location__c ]; - + // Loop through the results and populate the map for (AggregateResult result : results) { String locationId = (String)result.get('animalshelters__Location__c'); Integer count = (Integer)result.get('expr0'); - + // Create temp location to update the allocation animalshelters__Locations__c tempLocation = new animalshelters__Locations__c(); tempLocation.Id = locationId; diff --git a/force-app/main/default/classes/ASCS_MovementTriggerHandlerTest.cls b/force-app/main/default/classes/ASCS_MovementTriggerHandlerTest.cls index d788471b..5a8a5b2b 100644 --- a/force-app/main/default/classes/ASCS_MovementTriggerHandlerTest.cls +++ b/force-app/main/default/classes/ASCS_MovementTriggerHandlerTest.cls @@ -16,7 +16,7 @@ private class ASCS_MovementTriggerHandlerTest { ); insert locationSite; - + animalshelters__Locations__c locationBlock = new animalshelters__Locations__c( animalshelters__Name__c = 'Test Location Block', recordTypeId = blockRecordTypeId, @@ -43,7 +43,7 @@ private class ASCS_MovementTriggerHandlerTest { locationList.add(location1); locationList.add(location2); - + // Insert unit locations insert locationList; @@ -96,7 +96,7 @@ private class ASCS_MovementTriggerHandlerTest { // Query both locations for allocation check List updatedLocations = [SELECT Id, animalshelters__Allocation__c FROM animalshelters__Locations__c WHERE Id IN :new Set{location1.Id, location2.Id}]; - + // Verify allocations after the movements for (animalshelters__Locations__c loc : updatedLocations) { if (loc.Id == location1.Id) { diff --git a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml index c6f76233..5a8d0f4f 100644 --- a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml @@ -1,17 +1,20 @@ 60.0 - [Animal Shelter] - When Adoption Status = Adopted: Update Contact Flag, Clear current and create new Movement record, update Animal status and details + [Animal Shelter] - When Adoption Status = Adopted: Update Contact Flag, Clear + current and create new Movement record, update Animal status and details Default formulaAdoptionDate Date - IF(ISBLANK({!$Record.animalshelters__Date_of_Adoption__c}) , {!$Flow.CurrentDate}, {!$Record.animalshelters__Date_of_Adoption__c}) + IF(ISBLANK({!$Record.animalshelters__Date_of_Adoption__c}) , + {!$Flow.CurrentDate}, {!$Record.animalshelters__Date_of_Adoption__c}) formulaCollectedDate Date - IF(ISBLANK({!$Record.animalshelters__Date_Collected__c}) , {!$Flow.CurrentDate}, {!$Record.animalshelters__Date_Collected__c}) + IF(ISBLANK({!$Record.animalshelters__Date_Collected__c}) , {!$Flow.CurrentDate}, + {!$Record.animalshelters__Date_Collected__c}) Animal - Adoption Update Automation true @@ -36,7 +39,8 @@ AutoLaunchedFlow - Creates a new Movement Record, of Type Adopted with the Start Date = to Date Collected + Creates a new Movement Record, of Type Adopted with the Start Date = to Date + Collected Create_New_Movement_Record 176 @@ -129,7 +133,7 @@ Available - Locations__c + animalshelters__Locations__c Close Outstanding Animal Action Records @@ -220,7 +224,8 @@ Movement__c - Sets the "Is An Adopter" Flag on the associated Contact to indicate they are an Adopter + Sets the "Is An Adopter" Flag on the associated Contact to indicate + they are an Adopter Set_Adopter_Flag_on_Contact_to_True 176 @@ -321,4 +326,4 @@ RecordAfterSave Active - + \ No newline at end of file diff --git a/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml b/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml index 085f0ab5..241ea277 100644 --- a/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml @@ -144,7 +144,7 @@ Available - Locations__c + animalshelters__Locations__c varLocationChildRecords Id @@ -166,7 +166,7 @@ varLocationId - Locations__c + animalshelters__Locations__c varLocationChildRecords Id @@ -189,7 +189,7 @@ conZero - Locations__c + animalshelters__Locations__c Update the Available Capacity value on the current Location @@ -211,7 +211,7 @@ varAvailableCount - Locations__c + animalshelters__Locations__c Update the Total Capacity value on the current Location @@ -236,7 +236,7 @@ varTotalCount - Locations__c + animalshelters__Locations__c 100 @@ -260,7 +260,7 @@ false false false - Locations__c + animalshelters__Locations__c varLocationChildRecords @@ -268,7 +268,7 @@ true false false - Locations__c + animalshelters__Locations__c varLocationId @@ -285,4 +285,4 @@ false 0 - + \ No newline at end of file diff --git a/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml b/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml index f980fe45..96331460 100644 --- a/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml @@ -299,7 +299,7 @@ Get_Unit_RecordType_Id.returnedRecordTypeId - Locations__c + animalshelters__Locations__c AllRecords Id Allocation__c @@ -333,7 +333,7 @@ SelectedChoice - Locations__c + animalshelters__Locations__c Update_Unit_Status_to_Available @@ -368,7 +368,7 @@ 0.0 - Locations__c + animalshelters__Locations__c Update_Unit_Status_to_Unavailable @@ -393,7 +393,10 @@ false Completed_Text - <p><strong>Records Updated!</strong></p><p><br></p><p>All units in {!recordId.Name__c} have been updated to {!SelectedChoice}. Click Finish to complete the wizard.</p> + <p><strong>Records + Updated!</strong></p><p><br></p><p>All units in + {!recordId.Name__c} have been updated to {!SelectedChoice}. Click Finish to complete + the wizard.</p> DisplayText true @@ -409,7 +412,13 @@ false Error_Screen_Text - <p>There has been an error in the flow when it attempting to update records.</p><p><br></p><p>Click the Previous button below to go back and try again. If the problem persists, contact your <span style="background-color: rgb(255, 255, 255); color: rgb(68, 68, 68);">Salesforce administrator with </span>the fault message below.</p><p><br></p><p>Fault Message:</p><p>{!$Flow.FaultMessage}</p> + <p>There has been an error in the flow when it attempting to update + records.</p><p><br></p><p>Click the Previous button + below to go back and try again. If the problem persists, contact your <span + style="background-color: rgb(255, 255, 255); color: rgb(68, 68, + 68);">Salesforce administrator with </span>the fault message + below.</p><p><br></p><p>Fault + Message:</p><p>{!$Flow.FaultMessage}</p> DisplayText true @@ -425,7 +434,13 @@ false Copy_1_of_Has_Allocated_Units_Text - <p>Block/Sub Block <strong><em>{!recordId.Name__c}</em></strong> has at least 1 unit that is housing an animal, and is allocated. </p><p><br></p><p>Please make arrangements to move the animals out of any units in this Block/Sub Block.</p><p><br></p><p>Click <strong>Finish</strong> to Exit</p> + <p>Block/Sub Block + <strong><em>{!recordId.Name__c}</em></strong> has at least 1 + unit that is housing an animal, and is allocated. + </p><p><br></p><p>Please make arrangements to move the + animals out of any units in this Block/Sub + Block.</p><p><br></p><p>Click + <strong>Finish</strong> to Exit</p> DisplayText true @@ -444,7 +459,8 @@ Start_Screen_Text - <p>To change the status of the current Block or Sub Block and all its units, select an option below</p> + <p>To change the status of the current Block or Sub Block and all its + units, select an option below</p> DisplayText @@ -457,7 +473,10 @@ UseStoredValues false - <p>This wizard allows you to update the status for all units within a single block at the same time. </p><p><br></p><p>For example if the block needs to be closed for maintenance, you can use this to update the whole block to unavailable.</p> + <p>This wizard allows you to update the status for all units within a single + block at the same time. </p><p><br></p><p>For example if + the block needs to be closed for maintenance, you can use this to update the whole block + to unavailable.</p> true true @@ -506,7 +525,7 @@ true false false - Locations__c + animalshelters__Locations__c currentItem_Filter_for_Allocated_Records @@ -514,7 +533,7 @@ false false false - Locations__c + animalshelters__Locations__c currentItem_Filter_for_MultiAnimal_Units @@ -522,7 +541,7 @@ false false false - Locations__c + animalshelters__Locations__c recordId @@ -530,7 +549,7 @@ false true false - Locations__c + animalshelters__Locations__c SelectedChoice @@ -545,7 +564,7 @@ false false false - Locations__c + animalshelters__Locations__c updatedLocationRecords @@ -553,6 +572,6 @@ true false false - Locations__c + animalshelters__Locations__c - + \ No newline at end of file diff --git a/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml index ee752036..3c7befd3 100644 --- a/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml @@ -74,7 +74,8 @@ - [Animal Shelter] Mark Animal as Deceased and tidy up associated records. Called from quick action + [Animal Shelter] Mark Animal as Deceased and tidy up associated records. Called + from quick action Default DecrementAllocationBy1 @@ -122,7 +123,7 @@ true - Locations__c + animalshelters__Locations__c true @@ -283,7 +284,7 @@ Unavailable - Locations__c + animalshelters__Locations__c Update_Animal_Record @@ -308,7 +309,12 @@ false Animal_Already_Deceased_Text - <p><strong style="background-color: rgb(255, 255, 255); color: rgb(62, 62, 60);"><em>OOPS!</em></strong></p><p><br></p><p>{!recordId.Animal_Name__c} is already marked as deceased.</p><p><br></p><p>If this is an error, please review the animal record information and update it accordingly.</p> + <p><strong style="background-color: rgb(255, 255, 255); color: + rgb(62, 62, + 60);"><em>OOPS!</em></strong></p><p><br></p><p>{!recordId.Animal_Name__c} + is already marked as deceased.</p><p><br></p><p>If + this is an error, please review the animal record information and update it + accordingly.</p> DisplayText true @@ -340,7 +346,12 @@ false Error_Text - <p><strong>Oh no! There has been an error!</strong></p><p><br></p><p>Try and use the previous button below to go back a step and try again. If the problem persists please take a note of the fault message below and send it to your Salesforce Administrator</p><p><br></p><p><strong>Fault Message:</strong></p><p>{!$Flow.FaultMessage}</p> + <p><strong>Oh no! There has been an + error!</strong></p><p><br></p><p>Try and use the + previous button below to go back a step and try again. If the problem persists + please take a note of the fault message below and send it to your Salesforce + Administrator</p><p><br></p><p><strong>Fault + Message:</strong></p><p>{!$Flow.FaultMessage}</p> DisplayText true @@ -359,7 +370,8 @@ Initial_Screen_Text_Header - <p>You are marking this animal as deceased, please complete the following information.</p> + <p>You are marking this animal as deceased, please complete the + following information.</p> DisplayText @@ -437,4 +449,4 @@ false Animal__c - + \ No newline at end of file diff --git a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml index 83cefc38..e3142752 100755 --- a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml @@ -236,7 +236,8 @@ - Is the movement date that has been selected defaulted to today or been set at a time in the future? + Is the movement date that has been selected defaulted to today or been set at a + time in the future? Is_Movement_Date_Today_or_in_the_Future 600 @@ -380,7 +381,8 @@ - [Animal Shelter] Screen flow to move animals between locations. Creates Movement records and updates various statuses + [Animal Shelter] Screen flow to move animals between locations. Creates Movement + records and updates various statuses BoarderLocations String @@ -407,7 +409,7 @@ 0.0 - Locations__c + animalshelters__Locations__c LocationId Id @@ -434,7 +436,7 @@ 0.0 - Locations__c + animalshelters__Locations__c LocationId Id @@ -461,7 +463,7 @@ 0.0 - Locations__c + animalshelters__Locations__c LocationId Id @@ -495,7 +497,7 @@ Unavailable - Locations__c + animalshelters__Locations__c LocationId Id @@ -647,7 +649,7 @@ Available - Locations__c + animalshelters__Locations__c Animal_Has_Existing_Location_Screen @@ -668,7 +670,12 @@ Region Animal_Has_Existing_Location_Screen_Text - <p><strong>{!recordId.Animal_Name__c}</strong> already has a current location</p><p><br></p><p><strong>{!Get_Current_Movement_Record.Location_Name__c}</strong></p><p><br></p><p><span style="color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">To leave the animal in its current location, exit here, or continue to assign a new location</span></p> + <p><strong>{!recordId.Animal_Name__c}</strong> + already has a current + location</p><p><br></p><p><strong>{!Get_Current_Movement_Record.Location_Name__c}</strong></p><p><br></p><p><span + style="color: rgb(68, 68, 68); background-color: rgb(255, 255, + 255);">To leave the animal in its current location, exit here, or + continue to assign a new location</span></p> DisplayText @@ -744,7 +751,14 @@ false Error_Movement_Records_Screen_Text - <p><strong style="font-size: 14px;"><em>ERROR!</em></strong></p><p> {!recordId.Animal_Name__c} appears to have been assigned multiple locations, and has multiple movement records that are marked as current.</p><p><br></p><p>Please check the movement records for <span style="color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">{!recordId.Animal_Name__c}</span>, and resolve this issue.</p> + <p><strong style="font-size: + 14px;"><em>ERROR!</em></strong></p><p> + {!recordId.Animal_Name__c} appears to have been assigned multiple locations, and has + multiple movement records that are marked as + current.</p><p><br></p><p>Please check the movement + records for <span style="color: rgb(68, 68, 68); background-color: rgb(255, + 255, 255);">{!recordId.Animal_Name__c}</span>, and resolve this + issue.</p> DisplayText true @@ -760,7 +774,12 @@ false Error_Text - <p><strong><em>ERROR!</em></strong></p><p><br></p><p>An error has occurred when attempting to get, create or update records.</p><p><br></p><p>Please make a note of the fault message below and contact your Salesforce Administrator.</p><p><br></p><p><strong>Fault Message:</strong></p><p>{!$Flow.FaultMessage}</p> + <p><strong><em>ERROR!</em></strong></p><p><br></p><p>An + error has occurred when attempting to get, create or update + records.</p><p><br></p><p>Please make a note of the + fault message below and contact your Salesforce + Administrator.</p><p><br></p><p><strong>Fault + Message:</strong></p><p>{!$Flow.FaultMessage}</p> DisplayText true @@ -813,7 +832,8 @@ Region Screen_TypeOfMovement_Text - <p><b>Type of Movement</b></p><p>Select a type from the picklist below.</p> + <p><b>Type of Movement</b></p><p>Select + a type from the picklist below.</p> DisplayText @@ -842,7 +862,10 @@ Region Screen_MovementDate_Text - <p><strong>Movement Date</strong></p><p>If the movement of the animal will take place on a date in the future, please select the date, otherwise the default will be today</p> + <p><strong>Movement + Date</strong></p><p>If the movement of the animal will + take place on a date in the future, please select the date, otherwise the + default will be today</p> DisplayText @@ -869,7 +892,8 @@ Screen_Tasks_Note_Text - <p><strong>NOTE: </strong>Tasks for the movement record will be created automatically unless disabled in Animal Shelter Settings</p> + <p><strong>NOTE: </strong>Tasks for the movement record + will be created automatically unless disabled in Animal Shelter Settings</p> DisplayText true @@ -885,7 +909,11 @@ false Movement_Complete_Screen_Text - <p><strong>Records Updated!</strong></p><p><br></p><p>The location for {!recordId.Animal_Name__c} has now been updated.</p><p><br></p><p>Please click Finish.</p> + <p><strong>Records + Updated!</strong></p><p><br></p><p>The location + for {!recordId.Animal_Name__c} has now been + updated.</p><p><br></p><p>Please click + Finish.</p> DisplayText true @@ -1128,4 +1156,4 @@ false Movement__c - + \ No newline at end of file diff --git a/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml b/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml index 32b3532a..e3670e8f 100644 --- a/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml @@ -87,7 +87,7 @@ recordId - Locations__c + animalshelters__Locations__c locationRecord Id @@ -114,7 +114,11 @@ false Error_Screen_Text - <p><b>Oh no! There has been an error!</b></p><p><br></p><p>Please take a note of the fault message below and send it to your Salesforce Administrator or Salesforce Support.</p><p><br></p><p><b>Fault Message:</b></p><p>{!$Flow.FaultMessage}</p> + <p><b>Oh no! There has been an + error!</b></p><p><br></p><p>Please take a note + of the fault message below and send it to your Salesforce Administrator or + Salesforce Support.</p><p><br></p><p><b>Fault + Message:</b></p><p>{!$Flow.FaultMessage}</p> DisplayText true @@ -130,7 +134,11 @@ false Success_Screen_Text - <p><b><i>The Last Assessment and Assessment Due dates have been set!</i></b></p><p><br></p><p>The next assessment date will be {!newAssessmentDate}</p><p><br></p><p>Click <b>Finish</b> to complete the wizard.</p> + <p><b><i>The Last Assessment and Assessment Due dates have + been set!</i></b></p><p><br></p><p>The + next assessment date will be + {!newAssessmentDate}</p><p><br></p><p>Click + <b>Finish</b> to complete the wizard.</p> DisplayText true @@ -171,7 +179,7 @@ false false false - Locations__c + animalshelters__Locations__c newAssessmentDate @@ -187,4 +195,4 @@ true false - + \ No newline at end of file diff --git a/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml b/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml index 4032c02f..d6255df9 100755 --- a/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml @@ -257,12 +257,14 @@ - [Animal Shelter] Autolaunched flow to update the Location Status based on availability + [Animal Shelter] Autolaunched flow to update the Location Status based on + availability Default frmAllocation Number - IF({!$Record.animalshelters__Capacity__c} = 1, 0, {!$Record.animalshelters__Allocation__c}) + IF({!$Record.animalshelters__Capacity__c} = 1, 0, + {!$Record.animalshelters__Allocation__c}) 0 @@ -273,7 +275,8 @@ frmParentBlockAvailability String - IF({!parentBlockUnavailable}, 'Unavailable', IF({!unitAvailableCount} > 0, 'Available','Allocated')) + IF({!parentBlockUnavailable}, 'Unavailable', IF({!unitAvailableCount} + > 0, 'Available','Allocated')) Animal - Update Location Unit Status true @@ -329,7 +332,7 @@ true - Locations__c + animalshelters__Locations__c true @@ -350,7 +353,7 @@ false - Locations__c + animalshelters__Locations__c true @@ -378,7 +381,7 @@ false - Locations__c + animalshelters__Locations__c true @@ -426,8 +429,10 @@ Has_Unit_been_marked_as_Unavailable - {!$Record.RecordType.Name}='Unit' || {!$Record.RecordType.Name}='Foster' || {!$Record.RecordType.Name}='Organisation' - Locations__c + {!$Record.RecordType.Name}='Unit' || + {!$Record.RecordType.Name}='Foster' || + {!$Record.RecordType.Name}='Organisation' + animalshelters__Locations__c CreateAndUpdate RecordAfterSave @@ -469,4 +474,4 @@ false 0 - + \ No newline at end of file diff --git a/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml index b140b3a7..2adb22f8 100755 --- a/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml @@ -1,5 +1,6 @@ - + 60.0 Assign_Block_Units_to_Collection @@ -158,14 +159,15 @@ - [Animal Shelter] - Flow to change the Status of a Unit, Sub Block or Block to make the associated Units Available or Unavailable + [Animal Shelter] - Flow to change the Status of a Unit, Sub Block or Block to make + the associated Units Available or Unavailable Reason_Unavailable_Picklist Picklist - - + + Unavailability_Reason__c - Locations__c + animalshelters__Locations__c Default Location - Change Status Flow {!$Flow.CurrentDateTime} @@ -210,7 +212,10 @@ false Completed_Text - <p><strong>Locations Updated!</strong></p><p><br></p><p>All units in {!recordId.Name__c} have been updated to {!Status_Options}. Click Finish to complete the wizard.</p> + <p><strong>Locations + Updated!</strong></p><p><br></p><p>All units in + {!recordId.Name__c} have been updated to {!Status_Options}. Click Finish to complete + the wizard.</p> DisplayText true @@ -226,7 +231,13 @@ false Has_Allocated_Units_Text - <p>Block/Sub Block <strong><em>{!recordId.Name__c}</em></strong> has at least 1 unit that is housing an animal, and is allocated. </p><p><br></p><p>Please make arrangements to move the animals out of any units in this Block/Sub Block.</p><p><br></p><p>Click <strong>Finish</strong> to Exit</p> + <p>Block/Sub Block + <strong><em>{!recordId.Name__c}</em></strong> has at least 1 + unit that is housing an animal, and is allocated. + </p><p><br></p><p>Please make arrangements to move the + animals out of any units in this Block/Sub + Block.</p><p><br></p><p>Click + <strong>Finish</strong> to Exit</p> DisplayText true @@ -245,7 +256,8 @@ Start_Screen_Text - <p>To change the status of the current Location and any child Locations, select an option below</p> + <p>To change the status of the current Location and any child + Locations, select an option below</p> DisplayText @@ -296,7 +308,10 @@ InitialScreenIgnoreAllocatedWarning - <p><strong style="color: rgb(247, 69, 69);">WARNING!</strong><strong> - </strong>Setting the Ignore Allocated Units checkbox will update the status of the Units that may house animals</p> + <p><strong style="color: rgb(247, 69, + 69);">WARNING!</strong><strong> - </strong>Setting + the Ignore Allocated Units checkbox will update the status of the Units that + may house animals</p> DisplayText @@ -322,7 +337,10 @@ false SectionWithoutHeader - <p>This wizard allows you to update the status for all units within a single block at the same time. </p><p><br></p><p>For example if the block needs to be closed for maintenance, you can use this to update the whole block to unavailable.</p> + <p>This wizard allows you to update the status for all units within a single + block at the same time. </p><p><br></p><p>For example if + the block needs to be closed for maintenance, you can use this to update the whole block + to unavailable.</p> true true @@ -447,7 +465,7 @@ false false false - Locations__c + animalshelters__Locations__c recordId @@ -455,7 +473,7 @@ false true false - Locations__c + animalshelters__Locations__c Units @@ -463,6 +481,6 @@ true false false - Locations__c + animalshelters__Locations__c - + \ No newline at end of file diff --git a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml index e743a213..5f738191 100755 --- a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml @@ -257,7 +257,8 @@ - [Animal Shelter] - Subflow to change the status of units. Inputs: Unit record collection, Ignore Allocated Units Flag, Outputs: Allocated Units + [Animal Shelter] - Subflow to change the status of units. Inputs: Unit record + collection, Ignore Allocated Units Flag, Outputs: Allocated Units Default Location - Change Unit Status SubFlow {!$Flow.CurrentDateTime} true @@ -327,7 +328,7 @@ false - Locations__c + animalshelters__Locations__c true @@ -359,7 +360,7 @@ false false false - Locations__c + animalshelters__Locations__c If True allocated units will be ignored and the status will still be set @@ -396,7 +397,7 @@ true true false - Locations__c + animalshelters__Locations__c unitsHaveAllocation @@ -411,7 +412,7 @@ false false false - Locations__c + animalshelters__Locations__c updatedUnits @@ -419,6 +420,6 @@ true false false - Locations__c + animalshelters__Locations__c - + \ No newline at end of file diff --git a/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml b/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml index 957663ab..a1ad87b1 100644 --- a/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml @@ -1,7 +1,8 @@ 61.0 - [Animal Shelter] - Subflow to return child Location records for a given Location Record + [Animal Shelter] - Subflow to return child Location records for a given Location + Record Default Location - Get Location Child Records Subflow {!$Flow.CurrentDateTime} true @@ -47,7 +48,7 @@ recordTypeId - Locations__c + animalshelters__Locations__c childRecords Id Allocation__c @@ -98,7 +99,7 @@ true false true - Locations__c + animalshelters__Locations__c childRecordTypeName @@ -114,7 +115,7 @@ false true false - Locations__c + animalshelters__Locations__c recordTypeId @@ -123,4 +124,4 @@ false false - + \ No newline at end of file diff --git a/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml b/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml index 3b4ed6fa..51ed1ad3 100644 --- a/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml +++ b/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml @@ -31,7 +31,7 @@ Call_Block_Calculations_SubFlow - Locations__c + animalshelters__Locations__c CreateAndUpdate RecordAfterSave @@ -49,4 +49,4 @@ - + \ No newline at end of file diff --git a/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml b/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml index 9afc6b8f..4c081cce 100644 --- a/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml +++ b/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml @@ -105,7 +105,7 @@ ObjectType - Locations__c + animalshelters__Locations__c @@ -135,7 +135,7 @@ false true true - Locations__c + animalshelters__Locations__c myVariable_old @@ -143,6 +143,6 @@ false true false - Locations__c + animalshelters__Locations__c - + \ No newline at end of file From 6d1762866f7aabce20549ceda50a52a028f24419 Mon Sep 17 00:00:00 2001 From: GeekStewie Date: Mon, 11 Nov 2024 11:31:45 +0000 Subject: [PATCH 7/7] Flow Updates --- ...ption_Start_Adoption_Process.flow-meta.xml | 2 +- ..._Create_Task_for_new_Actions.flow-meta.xml | 2 +- ...l_Adoption_Update_Automation.flow-meta.xml | 4 ++-- ..._Block_Capacity_Calculations.flow-meta.xml | 18 ++++++++--------- .../Animal_Block_Status_Change.flow-meta.xml | 20 +++++++++---------- ...Animal_Breeds_Migration_Flow.flow-meta.xml | 2 +- .../Animal_Deceased_Animal_Flow.flow-meta.xml | 6 +++--- ...nimal_Generate_Tasks_Subflow.flow-meta.xml | 4 ++-- .../Animal_Movement_Process.flow-meta.xml | 12 +++++------ .../Animal_Movement_SubFlow.flow-meta.xml | 2 +- ...Set_Location_Assessment_Date.flow-meta.xml | 6 +++--- ..._Update_Location_Unit_Status.flow-meta.xml | 12 +++++------ .../Location_Change_Status_Flow.flow-meta.xml | 17 ++++++++-------- ...n_Change_Unit_Status_SubFlow.flow-meta.xml | 12 +++++------ ...cation_Child_Records_Subflow.flow-meta.xml | 8 ++++---- ...cation_Create_Update_Trigger.flow-meta.xml | 6 +++--- ...ation_Object_Handler_Process.flow-meta.xml | 8 ++++---- .../default/settings/Flow.settings-meta.xml | 4 ++-- 18 files changed, 72 insertions(+), 73 deletions(-) diff --git a/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml b/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml index f8c0f351..626a017a 100644 --- a/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml +++ b/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml @@ -744,7 +744,7 @@ AutoMatchEnabledScreenDataTable T - animalshelters__Adoption_Match__c + Adoption_Match__c flowruntime:datatable ComponentInstance diff --git a/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml index 91a218a0..709e61cf 100644 --- a/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml @@ -111,7 +111,7 @@ Create_Action_Task - {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Animal_Action_Tasks__c}=TRUE + {!$Setup.Animal_Shelter_Settings__c.Enable_Animal_Action_Tasks__c}=TRUE Animal_Action__c Create RecordAfterSave diff --git a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml index 5a8d0f4f..b99274a0 100644 --- a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml @@ -133,7 +133,7 @@ Available - animalshelters__Locations__c + Locations__c Close Outstanding Animal Action Records @@ -326,4 +326,4 @@ RecordAfterSave Active - \ No newline at end of file + diff --git a/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml b/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml index 241ea277..f6ce182f 100644 --- a/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml @@ -144,7 +144,7 @@ Available - animalshelters__Locations__c + Locations__c varLocationChildRecords Id @@ -166,7 +166,7 @@ varLocationId - animalshelters__Locations__c + Locations__c varLocationChildRecords Id @@ -189,7 +189,7 @@ conZero - animalshelters__Locations__c + Locations__c Update the Available Capacity value on the current Location @@ -211,7 +211,7 @@ varAvailableCount - animalshelters__Locations__c + Locations__c Update the Total Capacity value on the current Location @@ -236,7 +236,7 @@ varTotalCount - animalshelters__Locations__c + Locations__c 100 @@ -245,7 +245,7 @@ Get_Locations_Child_Records - Active + Obsolete varAvailableCount Number @@ -260,7 +260,7 @@ false false false - animalshelters__Locations__c + Locations__c varLocationChildRecords @@ -268,7 +268,7 @@ true false false - animalshelters__Locations__c + Locations__c varLocationId @@ -285,4 +285,4 @@ false 0 - \ No newline at end of file + diff --git a/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml b/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml index 96331460..6da811ed 100644 --- a/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml @@ -299,7 +299,7 @@ Get_Unit_RecordType_Id.returnedRecordTypeId - animalshelters__Locations__c + Locations__c AllRecords Id Allocation__c @@ -333,7 +333,7 @@ SelectedChoice - animalshelters__Locations__c + Locations__c Update_Unit_Status_to_Available @@ -368,7 +368,7 @@ 0.0 - animalshelters__Locations__c + Locations__c Update_Unit_Status_to_Unavailable @@ -525,7 +525,7 @@ true false false - animalshelters__Locations__c + Locations__c currentItem_Filter_for_Allocated_Records @@ -533,7 +533,7 @@ false false false - animalshelters__Locations__c + Locations__c currentItem_Filter_for_MultiAnimal_Units @@ -541,7 +541,7 @@ false false false - animalshelters__Locations__c + Locations__c recordId @@ -549,7 +549,7 @@ false true false - animalshelters__Locations__c + Locations__c SelectedChoice @@ -564,7 +564,7 @@ false false false - animalshelters__Locations__c + Locations__c updatedLocationRecords @@ -572,6 +572,6 @@ true false false - animalshelters__Locations__c + Locations__c - \ No newline at end of file + diff --git a/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml index ba58e92f..66b16e36 100644 --- a/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml @@ -250,7 +250,7 @@ Matched to Custom Setting BreedsMigrationComplete Boolean - {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Breeds_Migration_Complete__c} + {!$Setup.Animal_Shelter_Settings__c.Breeds_Migration_Complete__c} Animal - Breeds Migration Flow {!$Flow.CurrentDateTime} true diff --git a/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml index 3c7befd3..650185b3 100644 --- a/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml @@ -123,7 +123,7 @@ true - animalshelters__Locations__c + Locations__c true @@ -284,7 +284,7 @@ Unavailable - animalshelters__Locations__c + Locations__c Update_Animal_Record @@ -449,4 +449,4 @@ false Animal__c - \ No newline at end of file + diff --git a/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml b/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml index 0d384b49..e99c9f5e 100644 --- a/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml @@ -225,7 +225,7 @@ Queue_Configured and - $Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Task_Queue_Name__c + $Setup.Animal_Shelter_Settings__c.Task_Queue_Name__c IsNull false @@ -427,7 +427,7 @@ DeveloperName EqualTo - $Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Task_Queue_Name__c + $Setup.Animal_Shelter_Settings__c.Task_Queue_Name__c diff --git a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml index e3142752..b04a59f1 100755 --- a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml @@ -409,7 +409,7 @@ 0.0 - animalshelters__Locations__c + Locations__c LocationId Id @@ -436,7 +436,7 @@ 0.0 - animalshelters__Locations__c + Locations__c LocationId Id @@ -463,7 +463,7 @@ 0.0 - animalshelters__Locations__c + Locations__c LocationId Id @@ -497,7 +497,7 @@ Unavailable - animalshelters__Locations__c + Locations__c LocationId Id @@ -649,7 +649,7 @@ Available - animalshelters__Locations__c + Locations__c Animal_Has_Existing_Location_Screen @@ -1156,4 +1156,4 @@ false Movement__c - \ No newline at end of file + diff --git a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml index 627b007f..d88d6a57 100755 --- a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml @@ -153,7 +153,7 @@ Yes and - $Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Movement_Tasks__c + $Setup.Animal_Shelter_Settings__c.Enable_Movement_Tasks__c EqualTo true diff --git a/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml b/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml index e3670e8f..63f1c38d 100644 --- a/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Set_Location_Assessment_Date.flow-meta.xml @@ -87,7 +87,7 @@ recordId - animalshelters__Locations__c + Locations__c locationRecord Id @@ -179,7 +179,7 @@ false false false - animalshelters__Locations__c + Locations__c newAssessmentDate @@ -195,4 +195,4 @@ true false - \ No newline at end of file + diff --git a/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml b/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml index d6255df9..6bdf1e25 100755 --- a/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Update_Location_Unit_Status.flow-meta.xml @@ -332,7 +332,7 @@ true - animalshelters__Locations__c + Locations__c true @@ -353,7 +353,7 @@ false - animalshelters__Locations__c + Locations__c true @@ -381,7 +381,7 @@ false - animalshelters__Locations__c + Locations__c true @@ -432,11 +432,11 @@ {!$Record.RecordType.Name}='Unit' || {!$Record.RecordType.Name}='Foster' || {!$Record.RecordType.Name}='Organisation' - animalshelters__Locations__c + Locations__c CreateAndUpdate RecordAfterSave - Active + Obsolete parentBlockUnavailable Boolean @@ -474,4 +474,4 @@ false 0 - \ No newline at end of file + diff --git a/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml index 2adb22f8..a85c280a 100755 --- a/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Status_Flow.flow-meta.xml @@ -1,6 +1,5 @@ - + 60.0 Assign_Block_Units_to_Collection @@ -164,10 +163,10 @@ Reason_Unavailable_Picklist Picklist - - + + Unavailability_Reason__c - animalshelters__Locations__c + Locations__c Default Location - Change Status Flow {!$Flow.CurrentDateTime} @@ -465,7 +464,7 @@ false false false - animalshelters__Locations__c + Locations__c recordId @@ -473,7 +472,7 @@ false true false - animalshelters__Locations__c + Locations__c Units @@ -481,6 +480,6 @@ true false false - animalshelters__Locations__c + Locations__c - \ No newline at end of file + diff --git a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml index 5f738191..cc08650c 100755 --- a/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Change_Unit_Status_SubFlow.flow-meta.xml @@ -328,7 +328,7 @@ false - animalshelters__Locations__c + Locations__c true @@ -360,7 +360,7 @@ false false false - animalshelters__Locations__c + Locations__c If True allocated units will be ignored and the status will still be set @@ -397,7 +397,7 @@ true true false - animalshelters__Locations__c + Locations__c unitsHaveAllocation @@ -412,7 +412,7 @@ false false false - animalshelters__Locations__c + Locations__c updatedUnits @@ -420,6 +420,6 @@ true false false - animalshelters__Locations__c + Locations__c - \ No newline at end of file + diff --git a/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml b/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml index a1ad87b1..2c7500ca 100644 --- a/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml +++ b/force-app/main/default/flows/Location_Get_Location_Child_Records_Subflow.flow-meta.xml @@ -48,7 +48,7 @@ recordTypeId - animalshelters__Locations__c + Locations__c childRecords Id Allocation__c @@ -99,7 +99,7 @@ true false true - animalshelters__Locations__c + Locations__c childRecordTypeName @@ -115,7 +115,7 @@ false true false - animalshelters__Locations__c + Locations__c recordTypeId @@ -124,4 +124,4 @@ false false - \ No newline at end of file + diff --git a/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml b/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml index 51ed1ad3..e67c9a7c 100644 --- a/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml +++ b/force-app/main/default/flows/Location_Location_Create_Update_Trigger.flow-meta.xml @@ -31,11 +31,11 @@ Call_Block_Calculations_SubFlow - animalshelters__Locations__c + Locations__c CreateAndUpdate RecordAfterSave - Active + Obsolete Call_Block_Calculations_SubFlow @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml b/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml index 4c081cce..9afc6b8f 100644 --- a/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml +++ b/force-app/main/default/flows/Location_Object_Handler_Process.flow-meta.xml @@ -105,7 +105,7 @@ ObjectType - animalshelters__Locations__c + Locations__c @@ -135,7 +135,7 @@ false true true - animalshelters__Locations__c + Locations__c myVariable_old @@ -143,6 +143,6 @@ false true false - animalshelters__Locations__c + Locations__c - \ No newline at end of file + diff --git a/force-app/main/default/settings/Flow.settings-meta.xml b/force-app/main/default/settings/Flow.settings-meta.xml index 3db1754b..45cb132c 100644 --- a/force-app/main/default/settings/Flow.settings-meta.xml +++ b/force-app/main/default/settings/Flow.settings-meta.xml @@ -8,7 +8,7 @@ false true false - true + false true true true @@ -24,4 +24,4 @@ true false true - + \ No newline at end of file