Hi all,
normally the set oriented delete_from command falls back to a looped record single delete, if (the delete method is overwritten). This behavior does not occur if the table is a real one, which was set to temp mode using the setTmp() method.
I've detected this behaviour during analyzing the functionality of ReqTransExplosion form. I was wondering why they can use a delete_from (without any further skipXXXXX methods) on a temporary ReqTrans buffer which is filled using some helper classes (ReqTransFormExplosion, ReqTransExplode), without running in the ReqTrans delete method, which is (maybe) going to delete other records (in other tables).
My question: Is this reliable in all cases? Or is this behaviour bound to the tier where the temp ist created? Or if the cursor is attached to a Formdatasource? Or does this this even depend on the kernel version?
Is there a differnt behaviour for example, if using such constructs under batch/cil. I need to use some of the helper classes (or at least code parts) within a batch class and don't want to have some strange side effects on deleteting the (temp) ReqTrans cursor witihin my code.
Is there an official statemenet about that available?
Or is it even better not to rely on the "never fallback"?
regards
Douglas
*This post is locked for comments