Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to make primary contact as default of the account while creating SR

edited Jun 24, 2019 12:25PM in Fusion Service 1 comment

Summary

Map the account and primary contact in service request object

Content

Hi Team,

While creating service request from SR UI, based on the account the primary contact should be populated. As of now the standard functionality is based on the primary contact, the account was mapped automatically. But as per our requirement it should be from Account to Primary contact.

I have tried below script to achieve. But that is not working for me. 

def accountid = AccountPartyId
def ContactName
if(AccountPartyId != null)
{
def voBP = newView('SalesAccountVO');
def vcBP = voBP.createViewCriteria();
def vcrBP = vcBP.createRow();
def vciBP = vcrBP.ensureCriteriaItem('PartyId');

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!