Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
How to show Party Usage Code in Accounts — Cloud Customer Connect
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 show Party Usage Code in Accounts

Received Response
edited Apr 19, 2020 9:00PM in Sales 4 comments


How do I show the value(s) of Party Usage Code attribute in an Account Record


Hi Guys,

I'm writing a groovy script to show/update the value of PartyUsageCode under Usage Assignment in the Account Object. However, I encounter the issue "Unknown attribute name: PartyUsageCode for type: Account" when I try to print the attribute. This does not happen when the field is directly under Account i.e. BankCode.

I'm fairly new to Sales Cloud and groovy so please bear with me.



Howdy, Stranger!

Log In

To view full details, sign in.


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