From 6a67d4d39e5ed3b39af23e72d4f48cb2f15cd30f Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Thu, 15 Feb 2024 08:45:59 +0000 Subject: [PATCH] New Field on Locations Formula field to return the Parent Block Name --- .../Parent_Block_Name__c.fieldTranslation-meta.xml | 5 +++++ .../Parent_Block_Name__c.fieldTranslation-meta.xml | 5 +++++ .../fields/Parent_Block_Name__c.field-meta.xml | 14 ++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 force-app/main/default/objectTranslations/Locations__c-es/Parent_Block_Name__c.fieldTranslation-meta.xml create mode 100644 force-app/main/default/objectTranslations/Locations__c-it/Parent_Block_Name__c.fieldTranslation-meta.xml create mode 100644 force-app/main/default/objects/Locations__c/fields/Parent_Block_Name__c.field-meta.xml diff --git a/force-app/main/default/objectTranslations/Locations__c-es/Parent_Block_Name__c.fieldTranslation-meta.xml b/force-app/main/default/objectTranslations/Locations__c-es/Parent_Block_Name__c.fieldTranslation-meta.xml new file mode 100644 index 00000000..fd0604d7 --- /dev/null +++ b/force-app/main/default/objectTranslations/Locations__c-es/Parent_Block_Name__c.fieldTranslation-meta.xml @@ -0,0 +1,5 @@ + + + + Parent_Block_Name__c + diff --git a/force-app/main/default/objectTranslations/Locations__c-it/Parent_Block_Name__c.fieldTranslation-meta.xml b/force-app/main/default/objectTranslations/Locations__c-it/Parent_Block_Name__c.fieldTranslation-meta.xml new file mode 100644 index 00000000..fd0604d7 --- /dev/null +++ b/force-app/main/default/objectTranslations/Locations__c-it/Parent_Block_Name__c.fieldTranslation-meta.xml @@ -0,0 +1,5 @@ + + + + Parent_Block_Name__c + diff --git a/force-app/main/default/objects/Locations__c/fields/Parent_Block_Name__c.field-meta.xml b/force-app/main/default/objects/Locations__c/fields/Parent_Block_Name__c.field-meta.xml new file mode 100644 index 00000000..06c1a979 --- /dev/null +++ b/force-app/main/default/objects/Locations__c/fields/Parent_Block_Name__c.field-meta.xml @@ -0,0 +1,14 @@ + + + Parent_Block_Name__c + Formula to return the Parent Block Name, used in Reports + false + IF ( RecordType.Name = "Unit", Parent_Block__r.Name__c , "") + BlankAsZero + + false + false + false + Text + false +