Skip to Content
0

can not set value in business object in event release customer invoice

May 08 at 12:46 PM

26

avatar image

Hi Expert,

How to set value to my businessObject when event after release in customer invoice?and show error 'identifier "BusiResName" is readonly and cannot be change '. If i try event after-modify in customer invoice,the element can be set in my businessObject.

Here my BusinessObject code :

bo-generatetax.jpg

and this is my code when event release in customer invoice:

error-element.jpg

Could you me suggest another way to code that to set value in my BusinessObject?

Thanks before.

Regards,

machriza

bo-generatetax.jpg (586.2 kB)
error-element.jpg (477.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Anant Acharya
May 08 at 02:55 PM
0

Dear Machriza,

The identifier must not released for write access.

You can check the PSM information in the Repository Explorer view of the Cloud Studio. Please use from other node or other identifier which PSM write access.

Regards

Anant

Share
10 |10000 characters needed characters left characters exceeded
May Thitsa Oo May 09 at 02:59 AM
0

Hi Machriza,


Usually it is not allowed to write instance data set logic in ActionValidation event.(although variable data set is ok)

Since your requirement is to set the value after CIV released, how about to write in Before-Save event by checking status.

Regards,

May


civ-beforesave.png (16.1 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your reply Anant And May.

May,i will try. :)

Regards,

Machriza

0