cancel
Showing results for 
Search instead for 
Did you mean: 

Lock some of the attachments under Master Agreement Attachment Section

Former Member
0 Kudos

Hi Experts,

We have a requirement where we need to lock some of the attachments under the attachments sections of Master Agreement.

We tried locking all the fields of a particular row using script but the trash icon is still present.

Any help on how this can be achieved will be appreciated.

Thanks & Regards,

Rajiv Yadav.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190023
Contributor
0 Kudos

Lock the row itself by using method below:

lockDocument(IapiSessionContextIfc session, IBeanIfc bean)

PS: The row is also an IBeanIfc


Bogdan

Former Member
0 Kudos

Hi Bogdam,

Thanks for the reply.

I tried using the code mentioned. Getting below error :

"The bean could not be locked because it is not a Business Document (BizDocIBeanIfc)."

Thanks & Regards,

Rajiv Yadav.

former_member190023
Contributor
0 Kudos

Hi,

Sorry, you are right. I think I didn't remember correctly...

The class is validating for:

     if (!(bean instanceof AbsDocIBeanIfc))

I don't think there is an option to control the rows individually (either all or none).

Bogdan