web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Assigning role for contact information

(0) ShareShare
ReportReport
Posted on by 18
Hi all,
 
Can someone please explain how role/purpose is assigned to a /Contact/ created in /Contact information/ tab of a customer.
 
In the Customer form, under /Contact information/ the form displayed is /LogisticsElectronicInfoGrid/ and on clicking advanced button /LogisticsElectronicInfo/ form opens where we update the Purpose(role).
In /LogisiticsElectronicInfo/ form there is no /LgisticsElectronicRoles/ data source where the Purpose(role) is stored.
 
I am unable to figure out how this process works as I need to replicate this feature in /LogisiticsElectronicInfoGrid/ form too, as the requirement given is to update the role directly when /Add/ button is clicked.
 
Thanks in advance.
 
I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,833 Moderator on at
    Hi Anand Krishna,
     
    Under Customer >> Contact information >. Form name is LogisticsContactInforGrid >> If you click on Advanced button - Opened form will be LogisticsContactInfo.
    Refer to the written method of LogisticsElectronicAddress DataSource on form LogisticsContactInfo. Purpose field is a multiselect lookup field.
    So, in the written method they are using one class 'LogisticsEntityContactInfoFormHandler' - Object name 'contactInfoForm' - Using this class they are calling the contactInfoForm.setRoles (Argument will be values given in the Purpose field using rolesCtrl.get() which will return container) and write method. 
    Inside the write method they are calling the AOT map 'LogisticsEntityLocationRoleMap::createEntityLocationRoles' - Inside this method they are inserting the record into the map - On the 'LogisticsEntityLocationRoleMap' >> Under mapping node you can see that LogisticsElectronicAddressRole table -So the record will be created in that table if the record is inserted in the map I guess.
    I think this is the process.
     
    Thanks,
    Girish S.
  • AnandKrishna Profile Picture
    18 on at
    @Girish Thanks for the solution, got it work with help of your reference

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 518 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 431

#3
Adis Profile Picture

Adis 280 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans