Skip to Content
0

BOPF determination issues

Apr 05 at 02:05 PM

32

avatar image
Former Member

Hello all,

I am developing a business object in BOPF framework, which consists of ROOT node and two subnodes - let say sub1 and sub2.

The first problem. I have two determinations det1, det2 for sub1 and also two determinations det3, det4 for sub2. The all 4 determinations are calculating transient attributes (descriptions etc) , so they have to be run immediately after loading. But in reality, the determinations of sub1 (det1 and det2) work fine (right after loading and also after changing) and the other determinations (det3 and det4) for sub2 don't work so properly (they work ONLY after changing). In debugging, the failed determinations don't even appear in determination execute method). I have gone so far, that I've made totally new BO! Unfortunately it didn't help and I am still facing the same problem.

The second problem. I need to disable creation of a subnode, but the method set_subtree_create_enabled() at the ROOT level is not working. At the same time, at the level of this subnode, the method

z_const_c=>sc_action-sub1-create_*** is not working also.

In advance, thanks for help!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Wolter Apr 11 at 09:41 AM
0

I guess you could develope an action validation on the CREATE action of the subnode that doesn't allow creation.

Share
10 |10000 characters needed characters left characters exceeded