Is there a generic ThisObject ?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
sath01
Posts: 20
Joined: Tue Feb 17, 2009 4:41 am

Is there a generic ThisObject ?

Post by sath01 »

I have a rule that needs to apply to most objects, but not all. Is there a way to reference the current business object (the one the rule is working on).

For example:
IF ThisObject.StaffMember IS UNDEFINED THEN
ThisObject.StaffMember = LoggedInStaffMember

Rather than having to have a separately worded rule for each BO, I could then just copy this rule to any other BO I needed it in and it would work.

I know that I could do it if the BOs were in a BO Group I could use ThisBOGroup.whatever , but the objects are not in the same BO group, and although they could be, there is no other reason for them to be.

Help appreciated as usual.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

No, that is not possible.
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply