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 create Household by standard object Group

in Sales 1 comment

**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]

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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