We recently came across a requirement where we need to copy previous object instance attributes to newly created object instance.
Copying should happen while creating the new object instance when the user opted to copy (using a check box in the create page).
This helps the user to automatically fill the page. Especially when the page has huge number of attributes.
The page has both simple attributes and parameterized single or multi valued lookup attributes.
There are dependant attributes. The list of values are controlled by the attribute values selected in few other attributes.
When I try to read from previous instance and xog all these attributes at once, I was getting below error.
So, we have separated simple and parameterized attributes.
Xoged the simple attributes first and then the parameterized attributes next using GEL.
This worked fine.
Initially I was tempted to do insert or update on ODF_MULTI_VALUED_LOOKUPS and the attributes which have parameterized lookups.
Hope this helps.
Please ignore, if this information is already available in the community portal.