Skip to Content
0

Cannot raise a message from common node in standard BO

Feb 15, 2017 at 02:54 PM

80

avatar image

Why I cannot raise a message from beforeSave event in Accounts.xbo?

I tried also to put the message on root node and it doesn't work.

thanks

common.png(2.4 kB)

capture2.png(9.4 kB)

common.png (2.4 kB)
capture2.png (9.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Fred K Feb 16, 2017 at 04:51 AM
0

Hi Lior,

You need to add "raises test" to the node definition like the following to raise the message in the node events :

node Common raises test {

message test text "Test";

}

Best Regards,

Fred

Show 3 Share
10 |10000 characters needed characters left characters exceeded

the "raises" is already there. :\

raises.png (3.3 kB)
0

Hi Lior,

You need to declare message at first and then you need to define its text. Please refer to attached snapshots:

For more details please refer to studio guide section "7.2.3.12 Raises (Business Object Extension)".

Thanks

Saurabh

1.png (20.3 kB)
2.png (10.8 kB)
0

Hi Lior,

Declare at the exact node from which you want to raise the text.

node Common raises test {

message test text "Test";

}

Best Regards,

Fred

0