The GenericAdd class is used to add a target specified by ID or value to a target specified by ID or value. For example:

These are the only valid combinations. Both the ID and the value should not be set for either the target or the container. Everything should be added to the order before it is used as either a target or container for another GenericAdd.

For example if you are adding a new item, shipping group, and payment group, and want to add the item to both of the groups you would do the following:


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices