From deeb194d7dccc1154e9df8e606835782007ff56f Mon Sep 17 00:00:00 2001 From: Sriteja20 Date: Mon, 12 Feb 2024 15:16:21 +0530 Subject: [PATCH 1/2] ALR-617.1 --- ...c_Sector_Objects_PS.permissionset-meta.xml | 18 + .../Visit_Record_Page.flexipage-meta.xml | 29 ++ .../Inspection_Worksheet.webLink-meta.xml | 20 + .../InspectionPlanDetails_1.rpt-meta.xml | 276 ++++++++++++++ ...ansformGetInspectionDetails_1.rpt-meta.xml | 349 ++++++++++++++++++ 5 files changed, 692 insertions(+) create mode 100644 src/main/default/objects/RegulatoryTrxnFee/webLinks/Inspection_Worksheet.webLink-meta.xml create mode 100644 src/main/default/omniDataTransforms/InspectionPlanDetails_1.rpt-meta.xml create mode 100644 src/main/default/omniDataTransforms/TransformGetInspectionDetails_1.rpt-meta.xml diff --git a/src-access-mgmt/main/default/permissionsets/EHIS_Read_All_Public_Sector_Objects_PS.permissionset-meta.xml b/src-access-mgmt/main/default/permissionsets/EHIS_Read_All_Public_Sector_Objects_PS.permissionset-meta.xml index 1cdaa91f..c52087d5 100644 --- a/src-access-mgmt/main/default/permissionsets/EHIS_Read_All_Public_Sector_Objects_PS.permissionset-meta.xml +++ b/src-access-mgmt/main/default/permissionsets/EHIS_Read_All_Public_Sector_Objects_PS.permissionset-meta.xml @@ -764,6 +764,15 @@ Asset false + + false + false + false + true + false + BusRegAuthorizationType + false + false false @@ -782,6 +791,15 @@ BusinessLicenseApplication false + + false + false + false + true + false + BusinessType + false + false false diff --git a/src-ui/main/default/flexipages/Visit_Record_Page.flexipage-meta.xml b/src-ui/main/default/flexipages/Visit_Record_Page.flexipage-meta.xml index 05a9c015..d3049d8a 100644 --- a/src-ui/main/default/flexipages/Visit_Record_Page.flexipage-meta.xml +++ b/src-ui/main/default/flexipages/Visit_Record_Page.flexipage-meta.xml @@ -16,6 +16,9 @@ + + CustomButton.Visit.Inspection_Worksheet + ChangeOwnerOne @@ -195,6 +198,32 @@ force_relatedListSingleContainer2 + + + + parentFieldApiName + Visit.Id + + + relatedListApiName + AttachedContentDocuments + + + relatedListComponentOverride + NONE + + + rowsToDisplay + 10 + + + showActionBar + true + + force:relatedListSingleContainer + force_relatedListSingleContainer3 + + sidebar Region diff --git a/src/main/default/objects/RegulatoryTrxnFee/webLinks/Inspection_Worksheet.webLink-meta.xml b/src/main/default/objects/RegulatoryTrxnFee/webLinks/Inspection_Worksheet.webLink-meta.xml new file mode 100644 index 00000000..8142dab6 --- /dev/null +++ b/src/main/default/objects/RegulatoryTrxnFee/webLinks/Inspection_Worksheet.webLink-meta.xml @@ -0,0 +1,20 @@ + + + Inspection_Worksheet + online + button + UTF-8 + false + true + false + 600 + true + url + Inspection Worksheet + newWindow + none + false + false + false + /lightning/page/omnistudio/omniscript?omniscript__type=DocumentGeneration&omniscript__subType=DocumentGeneration&omniscript__language=English&omniscript__theme=lightning&omniscript__tabIcon=custom:custom18&c__TemplateType=MicrosoftWord&c__ObjectId={!Visit.Id}&c__templateName=GenerateInspectionPlan&c__title=Inspection Worksheet {!Visit.Name} + diff --git a/src/main/default/omniDataTransforms/InspectionPlanDetails_1.rpt-meta.xml b/src/main/default/omniDataTransforms/InspectionPlanDetails_1.rpt-meta.xml new file mode 100644 index 00000000..36a6b628 --- /dev/null +++ b/src/main/default/omniDataTransforms/InspectionPlanDetails_1.rpt-meta.xml @@ -0,0 +1,276 @@ + + + true + false + false + false + false + JSON + InspectionPlanDetails + false + + false + 0.0 + = + InsAssessInd:AssessmentIndDefinitionId + InspectionPlanDetails7742349630313945 + Id + AssessmentIndicatorDefinition + 8.0 + 0.0 + InspectionPlanDetails + 0.0 + AssessIndDef + json + false + false + + + false + 0.0 + = + Account:LocationId + InspectionPlanDetails7968872256804995 + Id + Location + 4.0 + 0.0 + InspectionPlanDetails + 0.0 + Location + json + false + false + + + false + 0.0 + = + AssessmentTask:Id + InspectionPlanDetails8462516071980795 + AssessmentTaskId + InspectionAssessmentInd + 7.0 + 0.0 + InspectionPlanDetails + 0.0 + InsAssessInd + json + false + false + + + false + 0.0 + InspectionPlanDetails2376857112667421 + Visit:Account.Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + Account + json + false + false + + + false + 0.0 + = + Visit:Id + InspectionPlanDetails5166970386913168 + Id + Account + 3.0 + 0.0 + InspectionPlanDetails + 0.0 + Account + json + false + false + + + false + 0.0 + InspectionPlanDetails29173350003711795 + AssessIndDef:Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + Q:NewName + json + false + false + + + false + 0.0 + InspectionPlanDetails023835363859945113 + Inspection:Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + InsType + json + false + false + + + false + 0.0 + = + Location.Id + InspectionPlanDetails47215860473063653 + ParentId + Address + 5.0 + 0.0 + InspectionPlanDetails + 0.0 + Address + json + false + false + + + false + 0.0 + | var:Address:Street "/\/\/" var:Address:City "/\/\/" var:Address:State "/\/\/" var:Address:PostalCode "/\/\/" var:Address:Country CONCAT + CONCAT(%Address:Street%, " ",%Address:City%, " ",%Address:State%, " ",%Address:PostalCode%, " ",%Address:Country%) + Place + 1.0 + InspectionPlanDetails7913740269296556 + 0.0 + 0.0 + InspectionPlanDetails + 0.0 + Formula + Formula + false + false + + + false + 0.0 + = + Visit:Id + InspectionPlanDetails42682539007625664 + ParentId + AssessmentTask + 6.0 + 0.0 + InspectionPlanDetails + 0.0 + AssessmentTask + json + false + false + + + true + 0.0 + InspectionPlanDetails3787154519000431 + AssessmentTask:Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + Q:NewName + json + false + false + + + false + 0.0 + = + Id + InspectionPlanDetails7086605226669915 + Id + Visit + 1.0 + 0.0 + InspectionPlanDetails + 0.0 + Visit + json + false + false + + + true + 0.0 + InspectionPlanDetails11873291612674408 + InsAssessInd:Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + R:SubQuestion + json + false + false + + + false + 0.0 + InspectionPlanDetails5216520769750104 + Visit:Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + Name + json + false + false + + + false + 0.0 + = + Visit:VisitTypeId + InspectionPlanDetails5479706268884446 + Id + InspectionType + 2.0 + 0.0 + InspectionPlanDetails + 0.0 + Inspection + json + false + false + + + false + 0.0 + InspectionPlanDetails6144224548959676 + Visit:Location.Name + 0.0 + 0.0 + InspectionPlanDetails + 1.0 + Place + json + false + false + + JSON + { + "Id" : "0Z5As00000000o1KAA" +} + false + 0.0 + false + json + false + 0.0 + Extract + InspectionPlanDetails_1 + 1.0 + false + diff --git a/src/main/default/omniDataTransforms/TransformGetInspectionDetails_1.rpt-meta.xml b/src/main/default/omniDataTransforms/TransformGetInspectionDetails_1.rpt-meta.xml new file mode 100644 index 00000000..f8c87252 --- /dev/null +++ b/src/main/default/omniDataTransforms/TransformGetInspectionDetails_1.rpt-meta.xml @@ -0,0 +1,349 @@ + + + true + false + false + false + false + JSON + TransformGetInspectionDetails + false + + false + 0.0 + = + Id + TransformGetInspectionDetails9016773295920921 + Id + BusinessLicenseApplication + 1.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Renewal + json + false + false + + + false + 0.0 + = + ResidenceAccount:Id + TransformGetInspectionDetails7297612962603066 + AccountId + BusinessLicense + 8.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Certificate + json + false + false + + + false + 0.0 + = + RegistrantAccount:Id + TransformGetInspectionDetails182313828074806 + AccountId + AccountContactRelation + 7.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Primary + json + false + false + + + false + 0.0 + = + Renewal:AccountId + TransformGetInspectionDetails6324804096715704 + Id + Account + 2.0 + 0.0 + TransformGetInspectionDetails + 0.0 + ResidenceAccount + json + false + false + + + false + 0.0 + = + 'Active' + TransformGetInspectionDetails13392492672768608 + Status + BusinessLicense + 8.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Certificate + json + false + false + + + false + 0.0 + = + ResidenceAccount:Id + TransformGetInspectionDetails8569346170007373 + ParentRecordId + AssociatedLocation + 4.0 + 0.0 + TransformGetInspectionDetails + 0.0 + AssociatedLoc + json + false + false + + + true + 0.0 + TransformGetInspectionDetailsCustom1372 + Count + 0.0 + 0.0 + TransformGetInspectionDetails + 1.0 + Count + json + false + false + + + false + 0.0 + = + Account:RegulatoryAuthorizationTypeId + TransformGetInspectionDetails9370117691625681 + Id + BusRegAuthorizationType + 9.0 + 0.0 + TransformGetInspectionDetails + 0.0 + License + json + false + false + + + false + 0.0 + = + AssociatedLoc:LocationId + TransformGetInspectionDetails9433834700176507 + Id + Location + 5.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Location + json + false + false + + + false + 0.0 + = + "$Vlocity.NULL" + TransformGetInspectionDetails20815992438647513 + ActiveTo + AssociatedLocation + 4.0 + 0.0 + TransformGetInspectionDetails + 0.0 + AssociatedLoc + json + false + false + + + false + 0.0 + = + 'true' + TransformGetInspectionDetails4818906110843706 + PrimaryContact__c + AccountContactRelation + 7.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Primary + json + false + false + + + false + 0.0 + = + Primary:ContactId + TransformGetInspectionDetails8972337401811652 + Id + Contact + 10.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Contact + json + false + false + + + false + 0.0 + = + ResidenceAccount:ParentId + TransformGetInspectionDetails7098742190832501 + Id + Account + 3.0 + 0.0 + TransformGetInspectionDetails + 0.0 + RegistrantAccount + json + false + false + + + false + 0.0 + = + Location:Id + TransformGetInspectionDetails2635705310770382 + ParentId + Address + 6.0 + 0.0 + TransformGetInspectionDetails + 0.0 + Address + json + false + false + + + false + 0.0 + TransformGetInspectionDetails8497832998636501 + InsType + 0.0 + 0.0 + TransformGetInspectionDetails + 1.0 + InsType + json + false + false + + + false + 0.0 + TransformGetInspectionDetails3616215672458558 + Place + 0.0 + 0.0 + TransformGetInspectionDetails + 1.0 + Place + json + false + false + + + false + 0.0 + TransformGetInspectionDetails0916220387481772 + Account + 0.0 + 0.0 + TransformGetInspectionDetails + 1.0 + Account + json + false + false + + + false + 0.0 + TransformGetInspectionDetails3587646825607811 + Q:NewName + 0.0 + 0.0 + TransformGetInspectionDetails + 1.0 + Q:NewName + json + false + false + + + false + 0.0 + TransformGetInspectionDetails30487501896981284 + Name + 0.0 + 0.0 + TransformGetInspectionDetails + 1.0 + Name + json + false + false + + JSON + { + "Name" : "00000051", + "Place" : "548 Market Street", + "Q" : [ { + "NewName" : "S 15 Housing- If more than one class or non-residents" + }, { + "NewName" : "S 16 Housing - Restrictions on housing" + }, { + "NewName" : "S 72 Providing Assisted Living Services - Psychosocial supports" + }, { + "NewName" : "CCALA 26.1-Operating an assisted living residence" + }, { + "NewName" : "CCALA 26.5-Operating an assisted living residence" + }, { + "NewName" : "CCALA 26.1.1 - Persons not allowed to reside in an assisted living residence" + }, { + "NewName" : "S 71 Providing Assisted Living Services - Behaviour management" + } ], + "Account" : "Test Account", + "InsType" : "Admin-type" +} + false + 0.0 + false + json + false + 0.0 + GenerateInspectionPlan(Version 1) + Transform + TransformGetInspectionDetails_1 + 1.0 + false + From d826a137fee171fde51b511bc8b096ff5ef2be96 Mon Sep 17 00:00:00 2001 From: Sriteja20 Date: Mon, 12 Feb 2024 16:25:22 +0530 Subject: [PATCH 2/2] ALR-617.1 - Added Web Link --- .../webLinks/Inspection_Worksheet.webLink-meta.xml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/main/default/objects/{RegulatoryTrxnFee => Visit}/webLinks/Inspection_Worksheet.webLink-meta.xml (100%) diff --git a/src/main/default/objects/RegulatoryTrxnFee/webLinks/Inspection_Worksheet.webLink-meta.xml b/src/main/default/objects/Visit/webLinks/Inspection_Worksheet.webLink-meta.xml similarity index 100% rename from src/main/default/objects/RegulatoryTrxnFee/webLinks/Inspection_Worksheet.webLink-meta.xml rename to src/main/default/objects/Visit/webLinks/Inspection_Worksheet.webLink-meta.xml