cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

may_thitsaoo
Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks for your reply Anant And May.

May,i will try. 🙂

Regards,

Machriza

anant_acharya
Advisor
Advisor
0 Kudos

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