Skip to content

Commit

Permalink
New Field on Locations
Browse files Browse the repository at this point in the history
Formula field to return the Parent Block Name
  • Loading branch information
cjrolfe committed Feb 15, 2024
1 parent 99f04a4 commit 6a67d4d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<label></label>
<name>Parent_Block_Name__c</name>
</CustomFieldTranslation>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<label></label>
<name>Parent_Block_Name__c</name>
</CustomFieldTranslation>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Parent_Block_Name__c</fullName>
<description>Formula to return the Parent Block Name, used in Reports</description>
<externalId>false</externalId>
<formula>IF ( RecordType.Name = &quot;Unit&quot;, Parent_Block__r.Name__c , &quot;&quot;)</formula>
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
<label>Parent Block Name</label>
<required>false</required>
<trackHistory>false</trackHistory>
<trackTrending>false</trackTrending>
<type>Text</type>
<unique>false</unique>
</CustomField>

0 comments on commit 6a67d4d

Please sign in to comment.