Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Inc drawio
zoom1
simple0
custContentId3272147289
pageId3271983234
lbox1
diagramDisplayNameActivity Report Field Mapping.drawio
hiResPreview1
baseUrlhttps://sydneyuni.atlassian.net/wiki
imgPageId3271983234
diagramNameActivity Report Field Mapping.drawio
pCenter0
aspectHUKiBrmk5-U7U6aK7sf6 1
width1632
includedDiagram1
aspectHash2bbb2880c03fe36d39b3b3fb7cdf0c4bc4577e54
linksauto
tbstyletop
height3692

I used python script to fetch how many records in production for which each field has data

Some fields can’t be queried but here is the result of the script where each field has corresponding number of records for which there is data

Id = 361344 OwnerId = 361344 IsDeleted = 0 Name = 361344 RecordTypeId = 361344 CreatedDate = 361344 CreatedById = 361344 LastModifiedDate = 361344 LastModifiedById = 361344 SystemModstamp = 361344 LastViewedDate = 0 LastReferencedDate = 0 AQB__Account__c = 361344 AQB__ActivityDateTime__c = 289414 AQB__ActivityDate__c = 291885 AQB__ActivitySummary__c = 34405 AQB__CallDisposition__c = 209642 AQB__CallDurationInSeconds__c = 0 AQB__CallObject__c = 55 AQB__ConfidentialComment__c = 25 AQB__Date__c = 360619 AQB__DurationInMinutes__c = 24 AQB__EndDateTime__c = 28 AQB__EssentialMove__c = 11047 AQB__Followup__c = 19 AQB__IsAllDayEvent__c = 1 AQB__IsPrivate__c = 1 AQB__IsVisibleInSelfService__c = 12 AQB__Location__c = 237 AQB__Opportunity__c = 19196 AQB__OwnerUnit__c = 0 AQB__Priority__c = 2031 AQB__Purpose__c = 352721 AQB__ReportStatus__c = 361344 AQB__ReportSummary__c = 340370 AQB__StartDateTime__c = 289412 AQB__Status__c = 360051 AQB__Stewardship__c = 0 AQB__SubjectAQ__c = 0 AQB__Subject__c = 361260 AQB__Type__c = 356575 AQCV_CONVERSIONId__c = 289378 USYD_owner_name__c = 361344 USYD_Sub_Purpose__c = 10716 Usyd_Account_2__c = 1978 USYD_Event__c = 15949 AQB__CompletedBy__c = 0 flag__c = 173
Code Block
Code Block
languagesql
select AQB__Type__c,RecordType.name RecordType, count(id)   from AQB__ActivityReport__c  task group by AQB__Type__c,RecordType.name order by RecordType.name

Tasks categorization picklists values:

Record Types : Usyd - Task, Usyd - Event, Usyd - Call

Type : Call;Meeting;Other;Gift Handover;Complete Gift Summary Form;Request Gift Account;Confirm Gift Account;Kick Off Gift;Appointme

CallType: Internal;Inbound;Outbound

TaskSubtype: Task;Email;ListEmail;Cadence;Call;LinkedIn

Activity Report as of

Type

Record Type - Call 

Record Type - Event 

Record Type - Task 

Comments

 Letter

Code Block
select AQB__Date__c,  AQB__Type__c, RecordType.name , AQB__Result__c 
from AQB__ActivityReport__c 
where AQB__Type__c = ' Letter' or AQB__Type__c = 'Letter' 
order by AQB__Type__c

               2,381

-

-

Type is split between one with whitespace one one without

image-20240724-051143.pngImage Added

Task

Record Types : Usyd - Task, Usyd - Event, Usyd - Call

Type :

CallType:

TaskSubtype:

N/A

N/A

Letter

               2,094

                   124

             48,508

16/2 Strategic Move

                        2

                     23

               8,544

ARM / DRM Letter

                     23

-

               4,010

N/A

ARM / DRM Stewardship Report

                     57

                        3

               6,099

ARM / DRM Telephone Call

                   773

-

-

Task - Standard

Tasksubtype = Call

N/A

N/A

Call

-

                        1

-

N/A

Task - Standard

Tasksubtype = Call

N/A

Correspondence

             18,160

N/A

                        2

Email

             22,559

               2,056

           161,843

Email

Email

Email

Event

                   367

             21,844

                        4

Meeting

               4,292

             14,306

                     87

Other

                   659

                     56

               3,983

Report

-

                        1

                   198

N/A

Telephone

             33,921

                   258

                     77

Task - Standard

Tasksubtype = Call

Task - Standard

Tasksubtype = Call

Task - Standard

Tasksubtype = Call

Visit

                     56

                   177

                        5

(blank)

               3,664

                   511

                   600

Grand Total

             89,008

             39,360

           233,960

Mapping on Task

AQB__ReportStatus__c 

Task

Sample Data

Comment

Data in Production

AQB__Subject__c

Subject

RE: Gift in Will meeting for SSI/Glaucoma research

we need a subject that is a text field, not a SF picklist field

 

RecordTypeId

RecordTypeId

0124a0000004NByAAM

 

 

AQB__Date__c

ActivityDate

28/06/2024

 

 

AQB__Type__c

Type

Email

picklist not match

 

AQB__EssentialMove__c

AQB__EssentialMove__c 

FALSE

not on Task layout

 

AQB__Purpose__c

AQB__Purpose__c

Feedback

 

 

AQB__ReportStatus__c

AQB__ReportStatus__c 

Final

 

 

USYD_Sub_Purpose__c

 

 

not mapped

 989

AQB__ActivityDate__c

 

 

not mapped

224,698

AQB__Account__c

AQB__Account__c 

001On00000AFUjRIAX

 

 

AQB__Account__c

whatid

 

 

 

AQB__Status__c

Status 

Completed

 

 

Usyd_Account_2__c

 

 

not mapped

205

AQB__Opportunity__c

AQB__Opportunity__c 

006On000008d6U0IAI

 

 

AQB__Result__c

 

 

we don't have a rich text box to map this to
AQB__Description__c is the second best

 

Name

 

 

not mapped

 

OwnerId

OwnerId 

005On000000ptFNIAY

 

 

CreatedById

CreatedById

 

 

 

CreatedDate

CreatedDate

2024-06-28T06:06:33.000+0000

 

 

LastModifiedById

LastModifiedById

 

 

 

LastModifiedDate

LastModifiedDate

 

 

 

Mapping on Email

AQB__ReportStatus__c 

EmailMessage

Sample Data

Comment

Data in Production

AQB__Subject__c

Subject

EmailMessage is text and longer, no issue

 

RecordTypeId

 EmailMessage does not have record type

 

AQB__Date__c

MessageDate

 date to datetime, should be no issue

 

AQB__Type__c

EmailMessage is already an email so no need to map the type

 

AQB__EssentialMove__c

field does not exist in EmailMessage

 

AQB__Purpose__c

field does not exist in EmailMessage

 

AQB__ReportStatus__c

Status

  • 0 (New)

  • 1 (Read)

  • 2 (Replied)

  • 3 (Sent)

  • 4 (Forwarded)

  • 5 (Draft)

EmailMessage status picklist values are 1-5

This needs to be set to other than draft, otherwise only the createdby user will be able to view the record

 

USYD_Sub_Purpose__c

 

field does not exist in EmailMessage

AQB__Status__c

Status 

EmailMessage status picklist values are 1-5

AQB__Account__c

AQB__Account__c 

 

AQB__Account__c

RelatedToId

 

Usyd_Account_2__c

 

field does not exist in EmailMessage

AQB__Opportunity__c

AQB__Opportunity__c 

field does not exist in EmailMessage

 

AQB__Result__c

 HtmlBody

Rich text vs HTML

 

Name

 

not mapped

 

OwnerId

OwnerId 

 

 

CreatedById

CreatedById

 

 

CreatedDate

CreatedDate

 

 

LastModifiedById

LastModifiedById

 

 

LastModifiedDate

LastModifiedDate