I have a process in an opportuniy that can be only perfomed after the
opportunity was closed. This process is fired by a button created in
isv.config opportuniy entity.
At opportuniy products I created two customized attributes and after
execute the my process I need to update this attributes. So, when I try to
update I get the error "The parent is read only and cannot be edited". Maybe
this error is because the opportunity is closed. Is it correct?
If it is correct, how can I update customized attributes of opportunity
product of opportunity if the opportunity parent is closed?

Thanks

RE: opportunity products customized attributes update by imumar

imumar
Fri May 25 07:47:01 CDT 2007

Hi,
Yes, you are correct. You need to temporary change the status of the oppty
through your code, change the oppty product's fields value and than get back
to oppty close status.
--
PLEASE do click on Yes or No button if this post was helpful or not for our
feedback.

uMar Khan
Email for direct contact: imumar at gmail dot com


"Sergio Martins Vieira" wrote:

> I have a process in an opportuniy that can be only perfomed after the
> opportunity was closed. This process is fired by a button created in
> isv.config opportuniy entity.
> At opportuniy products I created two customized attributes and after
> execute the my process I need to update this attributes. So, when I try to
> update I get the error "The parent is read only and cannot be edited". Maybe
> this error is because the opportunity is closed. Is it correct?
> If it is correct, how can I update customized attributes of opportunity
> product of opportunity if the opportunity parent is closed?
>
> Thanks
>

RE: opportunity products customized attributes update by SergioMartinsVieira

SergioMartinsVieira
Fri May 25 14:56:01 CDT 2007

Excellent, works fine

"uMar Khan" wrote:

> Hi,
> Yes, you are correct. You need to temporary change the status of the oppty
> through your code, change the oppty product's fields value and than get back
> to oppty close status.
> --
> PLEASE do click on Yes or No button if this post was helpful or not for our
> feedback.
>
> uMar Khan
> Email for direct contact: imumar at gmail dot com
>
>
> "Sergio Martins Vieira" wrote:
>
> > I have a process in an opportuniy that can be only perfomed after the
> > opportunity was closed. This process is fired by a button created in
> > isv.config opportuniy entity.
> > At opportuniy products I created two customized attributes and after
> > execute the my process I need to update this attributes. So, when I try to
> > update I get the error "The parent is read only and cannot be edited". Maybe
> > this error is because the opportunity is closed. Is it correct?
> > If it is correct, how can I update customized attributes of opportunity
> > product of opportunity if the opportunity parent is closed?
> >
> > Thanks
> >