Skip to content

Commit

Permalink
Merge pull request #508 from bcgov/revert-504-revert-502-hypercare-AL…
Browse files Browse the repository at this point in the history
…R-617.1

Hypercare-ALR-617.1 rollback to previous changes
  • Loading branch information
GandlojuVishwantha authored Feb 12, 2024
2 parents 9123425 + f2f654d commit f408724
Show file tree
Hide file tree
Showing 5 changed files with 692 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,15 @@
<object>Asset</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>false</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>false</allowEdit>
<allowRead>true</allowRead>
<modifyAllRecords>false</modifyAllRecords>
<object>BusRegAuthorizationType</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>false</allowCreate>
<allowDelete>false</allowDelete>
Expand All @@ -782,6 +791,15 @@
<object>BusinessLicenseApplication</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>false</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>false</allowEdit>
<allowRead>true</allowRead>
<modifyAllRecords>false</modifyAllRecords>
<object>BusinessType</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>false</allowCreate>
<allowDelete>false</allowDelete>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
</criteria>
</visibilityRule>
</valueListItems>
<valueListItems>
<value>CustomButton.Visit.Inspection_Worksheet</value>
</valueListItems>
<valueListItems>
<value>ChangeOwnerOne</value>
</valueListItems>
Expand Down Expand Up @@ -195,6 +198,32 @@
<identifier>force_relatedListSingleContainer2</identifier>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>parentFieldApiName</name>
<value>Visit.Id</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListApiName</name>
<value>AttachedContentDocuments</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListComponentOverride</name>
<value>NONE</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>rowsToDisplay</name>
<value>10</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>showActionBar</name>
<value>true</value>
</componentInstanceProperties>
<componentName>force:relatedListSingleContainer</componentName>
<identifier>force_relatedListSingleContainer3</identifier>
</componentInstance>
</itemInstances>
<name>sidebar</name>
<type>Region</type>
</flexiPageRegions>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Inspection_Worksheet</fullName>
<availability>online</availability>
<displayType>button</displayType>
<encodingKey>UTF-8</encodingKey>
<hasMenubar>false</hasMenubar>
<hasScrollbars>true</hasScrollbars>
<hasToolbar>false</hasToolbar>
<height>600</height>
<isResizable>true</isResizable>
<linkType>url</linkType>
<masterLabel>Inspection Worksheet</masterLabel>
<openType>newWindow</openType>
<position>none</position>
<protected>false</protected>
<showsLocation>false</showsLocation>
<showsStatus>false</showsStatus>
<url>/lightning/page/omnistudio/omniscript?omniscript__type=DocumentGeneration&amp;omniscript__subType=DocumentGeneration&amp;omniscript__language=English&amp;omniscript__theme=lightning&amp;omniscript__tabIcon=custom:custom18&amp;c__TemplateType=MicrosoftWord&amp;c__ObjectId={!Visit.Id}&amp;c__templateName=GenerateInspectionPlan&amp;c__title=Inspection Worksheet {!Visit.Name}</url>
</WebLink>
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
<?xml version="1.0" encoding="UTF-8"?>
<OmniDataTransform xmlns="http://soap.sforce.com/2006/04/metadata">
<active>true</active>
<assignmentRulesUsed>false</assignmentRulesUsed>
<deletedOnSuccess>false</deletedOnSuccess>
<errorIgnored>false</errorIgnored>
<fieldLevelSecurityEnabled>false</fieldLevelSecurityEnabled>
<inputType>JSON</inputType>
<name>InspectionPlanDetails</name>
<nullInputsIncludedInOutput>false</nullInputsIncludedInOutput>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>InsAssessInd:AssessmentIndDefinitionId</filterValue>
<globalKey>InspectionPlanDetails7742349630313945</globalKey>
<inputFieldName>Id</inputFieldName>
<inputObjectName>AssessmentIndicatorDefinition</inputObjectName>
<inputObjectQuerySequence>8.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>AssessIndDef</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>Account:LocationId</filterValue>
<globalKey>InspectionPlanDetails7968872256804995</globalKey>
<inputFieldName>Id</inputFieldName>
<inputObjectName>Location</inputObjectName>
<inputObjectQuerySequence>4.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>Location</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>AssessmentTask:Id</filterValue>
<globalKey>InspectionPlanDetails8462516071980795</globalKey>
<inputFieldName>AssessmentTaskId</inputFieldName>
<inputObjectName>InspectionAssessmentInd</inputObjectName>
<inputObjectQuerySequence>7.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>InsAssessInd</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails2376857112667421</globalKey>
<inputFieldName>Visit:Account.Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>Account</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>Visit:Id</filterValue>
<globalKey>InspectionPlanDetails5166970386913168</globalKey>
<inputFieldName>Id</inputFieldName>
<inputObjectName>Account</inputObjectName>
<inputObjectQuerySequence>3.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>Account</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails29173350003711795</globalKey>
<inputFieldName>AssessIndDef:Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>Q:NewName</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails023835363859945113</globalKey>
<inputFieldName>Inspection:Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>InsType</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>Location.Id</filterValue>
<globalKey>InspectionPlanDetails47215860473063653</globalKey>
<inputFieldName>ParentId</inputFieldName>
<inputObjectName>Address</inputObjectName>
<inputObjectQuerySequence>5.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>Address</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<formulaConverted>| var:Address:Street &quot;/\/\/&quot; var:Address:City &quot;/\/\/&quot; var:Address:State &quot;/\/\/&quot; var:Address:PostalCode &quot;/\/\/&quot; var:Address:Country CONCAT</formulaConverted>
<formulaExpression>CONCAT(%Address:Street%, &quot; &quot;,%Address:City%, &quot; &quot;,%Address:State%, &quot; &quot;,%Address:PostalCode%, &quot; &quot;,%Address:Country%)</formulaExpression>
<formulaResultPath>Place</formulaResultPath>
<formulaSequence>1.0</formulaSequence>
<globalKey>InspectionPlanDetails7913740269296556</globalKey>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>Formula</outputFieldName>
<outputObjectName>Formula</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>Visit:Id</filterValue>
<globalKey>InspectionPlanDetails42682539007625664</globalKey>
<inputFieldName>ParentId</inputFieldName>
<inputObjectName>AssessmentTask</inputObjectName>
<inputObjectQuerySequence>6.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>AssessmentTask</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>true</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails3787154519000431</globalKey>
<inputFieldName>AssessmentTask:Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>Q:NewName</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>Id</filterValue>
<globalKey>InspectionPlanDetails7086605226669915</globalKey>
<inputFieldName>Id</inputFieldName>
<inputObjectName>Visit</inputObjectName>
<inputObjectQuerySequence>1.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>Visit</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>true</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails11873291612674408</globalKey>
<inputFieldName>InsAssessInd:Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>R:SubQuestion</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails5216520769750104</globalKey>
<inputFieldName>Visit:Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>Name</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<filterOperator>=</filterOperator>
<filterValue>Visit:VisitTypeId</filterValue>
<globalKey>InspectionPlanDetails5479706268884446</globalKey>
<inputFieldName>Id</inputFieldName>
<inputObjectName>InspectionType</inputObjectName>
<inputObjectQuerySequence>2.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>0.0</outputCreationSequence>
<outputFieldName>Inspection</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<omniDataTransformItem>
<disabled>false</disabled>
<filterGroup>0.0</filterGroup>
<globalKey>InspectionPlanDetails6144224548959676</globalKey>
<inputFieldName>Visit:Location.Name</inputFieldName>
<inputObjectQuerySequence>0.0</inputObjectQuerySequence>
<linkedObjectSequence>0.0</linkedObjectSequence>
<name>InspectionPlanDetails</name>
<outputCreationSequence>1.0</outputCreationSequence>
<outputFieldName>Place</outputFieldName>
<outputObjectName>json</outputObjectName>
<requiredForUpsert>false</requiredForUpsert>
<upsertKey>false</upsertKey>
</omniDataTransformItem>
<outputType>JSON</outputType>
<previewJsonData>{
&quot;Id&quot; : &quot;0Z5As00000000o1KAA&quot;
}</previewJsonData>
<processSuperBulk>false</processSuperBulk>
<responseCacheTtlMinutes>0.0</responseCacheTtlMinutes>
<rollbackOnError>false</rollbackOnError>
<sourceObject>json</sourceObject>
<sourceObjectDefault>false</sourceObjectDefault>
<synchronousProcessThreshold>0.0</synchronousProcessThreshold>
<type>Extract</type>
<uniqueName>InspectionPlanDetails_1</uniqueName>
<versionNumber>1.0</versionNumber>
<xmlDeclarationRemoved>false</xmlDeclarationRemoved>
</OmniDataTransform>
Loading

0 comments on commit f408724

Please sign in to comment.