Skip to content

Commit

Permalink
Field to show IS corporation type (#1975)
Browse files Browse the repository at this point in the history
* New field to show type of cooperation

* Create Type_IA_Cooperation__c.fieldTranslation-meta.xml
  • Loading branch information
gstenseng authored Dec 3, 2024
1 parent 9827128 commit d25ea56
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .sf/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"target-dev-hub": "gisle.stenseng@nav.no.dx",
"target-org": "arbeidsgiver-base"
}
}
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>Type samarbeid</label>
<name>Type_IA_Cooperation__c</name>
</CustomFieldTranslation>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Type_IA_Cooperation__c</fullName>
<externalId>false</externalId>
<formula>IF(IncludedArbeidsmiljo__c,
&quot;Arbeidsmiljø&quot;,
IF(IncludedPartssamarbeid__c,
&quot;Partssamerbeid&quot;,
IF(IncludedSykefravaersarbeid__c,
&quot;Sykefraværsarbeid&quot;,
&quot;&quot;
)
)
)</formula>
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
<label>Type IA Cooperation</label>
<required>false</required>
<trackTrending>false</trackTrending>
<type>Text</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@
<field>IACooperation__c.Status__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>false</editable>
<field>IACooperation__c.Type_IA_Cooperation__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>false</editable>
<field>IADelivery__c.CompletedDate__c</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@
<field>PlanLastPublished__c</field>
<table>IACooperation__c</table>
</columns>
<columns>
<checkedByDefault>false</checkedByDefault>
<field>Type_IA_Cooperation__c</field>
<table>IACooperation__c</table>
</columns>
<masterLabel>IA Cooperations</masterLabel>
</sections>
<sections>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@
<field>Status__c</field>
<table>IACase__c.IA_Cooperations__r</table>
</columns>
<columns>
<checkedByDefault>false</checkedByDefault>
<field>Type_IA_Cooperation__c</field>
<table>IACase__c.IA_Cooperations__r</table>
</columns>
<masterLabel>IA Cooperations</masterLabel>
</sections>
<sections>
Expand Down

0 comments on commit d25ea56

Please sign in to comment.