Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New field Dialogue Meeting Id #2131

Merged
merged 2 commits into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ private without sharing class Activity_AddAccountHelperTest {
TAG_NoPersonInformation__c = true,
ActivityDate = Date.today(),
RecordTypeId = agRecordType,
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
Subject = 'test',
WhatId = tl.Id
);
Expand Down Expand Up @@ -213,6 +215,8 @@ private without sharing class Activity_AddAccountHelperTest {
TAG_NoPersonInformation__c = true,
WhatId = acc.Id,
ActivityDate = Date.today(),
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
Subject = 'test'
);
insert t;
Expand All @@ -221,6 +225,8 @@ private without sharing class Activity_AddAccountHelperTest {
TAG_NoPersonInformation__c = true,
WhatId = tl.Id,
ActivityDate = Date.today(),
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
Subject = 'test'
);
insert t2;
Expand All @@ -244,6 +250,8 @@ private without sharing class Activity_AddAccountHelperTest {
TAG_NoPersonInformation__c = true,
WhatId = acc.Id,
ActivityDate = Date.today(),
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
Subject = 'test'
);
insert t;
Expand All @@ -252,6 +260,8 @@ private without sharing class Activity_AddAccountHelperTest {
TAG_NoPersonInformation__c = true,
WhatId = tl.Id,
ActivityDate = Date.today(),
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
Subject = 'test'
);
insert t2;
Expand Down Expand Up @@ -416,6 +426,8 @@ private without sharing class Activity_AddAccountHelperTest {
RecordTypeId = agRecordType,
ActivityDate = Date.today(),
Subject = 'test',
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
WhatId = tl.Id
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ private without sharing class Activity_AddAccountTest {
WhatId = tl.Id,
ActivityDate = Date.today(),
Subject = 'test',
TAG_ActivityType__c = 'Rekruttere og inkludere',
TAG_service__c = 'Jobbmesser og møteplass',
RecordTypeId = agRecordType
);
insert ta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<behavior>Edit</behavior>
<field>OwnerId</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>DialogueMeetingId__c</field>
</layoutItems>
</layoutColumns>
<layoutColumns>
<layoutItems>
Expand Down
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>Dialogmøte id</label>
<name>DialogueMeetingId__c</name>
</CustomFieldTranslation>
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<externalSharingModel>Private</externalSharingModel>
<label>Dialogue Meeting</label>
<nameField>
<label>Dialogue Meeting Id</label>
<label>Dialogue Meeting Link</label>
<trackHistory>false</trackHistory>
<type>Text</type>
</nameField>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>DialogueMeetingId__c</fullName>
<externalId>false</externalId>
<label>Dialogue Meeting Id</label>
<length>80</length>
<required>false</required>
<trackHistory>false</trackHistory>
<trackTrending>false</trackTrending>
<type>Text</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Related_To_is_required</fullName>
<active>true</active>
<errorConditionFormula>IF( RecordType.Name = &apos;AG Oppgave&apos; &amp;&amp; ISBLANK( WhatId ) , true, false)</errorConditionFormula>
<errorMessage>Feltet &quot;Relatert til&quot; må være fylt ut</errorMessage>
<errorConditionFormula>IF( OR(RecordType.Name = &apos;AG Oppgave&apos;,RecordType.Name = &apos;IA task&apos;) &amp;&amp; OR(ISBLANK( WhatId ),ISBLANK( TEXT(TAG_ActivityType__c) ),ISBLANK( TEXT(TAG_service__c) )), true, false)</errorConditionFormula>
<errorMessage>Feltene &quot;Relatert til&quot;, &quot;Tema&quot; og &quot;Tjeneste&quot; må være fylt ut</errorMessage>
</ValidationRule>
Loading