How to create Household by standard object Group
**This post was created as part of a How to Service Request (SR)
Release:
11.13.22.04.0
Summary of the question:
Customer wanted to create "Household (Group)" with using groovy from Custom Object.
Tried below logic and received java.lang.NullPointerException
[Logic]
def vo = newView('Group');
def row = vo.createRow();
row.setAttribute('GroupType', 'HOUSEHOLD');
row.setAttribute('GroupName', 'TestGroupName');
row.setAttribute('CreatedByModule','HZ_WS');
vo.insertRow(row);
Supporting Documents if any:
[None]
Tagged:
0