** LN Cloud Multi-tenant **
Hi, I'm getting an error 221 EDBCMACTIONNOTALLOWED when I try to do a DAL.INSERT in a program script on a table - whinh521 . A OCM Model , Object type : WHADJ - whinh521 Adjustment Order Lines is activated for the table who I need to create record.
Here is the definition of 221: 221 EDBCMACTIONNOTALLOWED An action is not allowed in DBCM context. For example, if a table is under DBCM, an update on the primary key is not allowed. Other actions that are not allowed are updates that would make a record migrate from one to another object.
My question : How can we override that limitation in any cases (not for cases where the conditions of the workflow allow us to create a record) . Can we do programmatically ? Please suggest a way to accomplish insert/update .
I looked at Database Change Management (DBCM) overview in Programmers Guide and cannot find the right thing to do.
Thanks, Gaetan