[
https://issues.apache.org/jira/browse/OFBIZ-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aditi Patidar updated OFBIZ-7816:
---------------------------------
Attachment: OFBIZ-7816.patch
Providing the patch to fix the issue. Here 'createContact' service was not returning 'roleTypeId' and it required to fetch the record from 'RoleTypeAndParty' entity.
{code}
roleTypeId = parameters.roleTypeId;
roleTypeAndParty = from("RoleTypeAndParty").where("partyId", parameters.partyId, "roleTypeId", roleTypeId).queryFirst();
if ("ACCOUNT".equals(roleTypeId)) {
context.accountDescription = roleTypeAndParty.description;
} else if ("CONTACT".equals(roleTypeId)) {
context.contactDescription = roleTypeAndParty.description;
}
{code}
> Profile of contact person not shown on quick add of contact in SFA
> ------------------------------------------------------------------
>
> Key: OFBIZ-7816
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7816> Project: OFBiz
> Issue Type: Bug
> Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12
> Reporter: Aditi Patidar
> Assignee: Aditi Patidar
> Labels: sfa
> Attachments: OFBIZ-7816.patch, quick add contact.png
>
>
> Steps to regenerate issue:
> 1. Navigate to SFA.
> 2. Enter 'First Name', 'Last Name' in 'Quick Add Contact' section and press 'Submit' button.
> Refer the attached screenshot to view the issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)