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

Groovy Script for Grouping Data

Summary: I am creating an OM Extension where I am calculating the total weight of items on the Sales Order grouped by Warehouse. I have created a sample code to achieve this using Arrays but getting an error.


Content (please ensure you mask any confidential information):

Attached Sample code which initializes an array of lists with 5 items. Trying to calculate total grouped by Class in attached sample code.

Getting the following error: loader groovy.lang.GroovyClassLoader attempted duplicate class definition for ExID300000135821574__127

Version (include the version you are using, if applicable):

24C


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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