I have this rule:
This Rule Protect the Charter.ResState is the status is 'Complete or Chartered:
If Charter.ResState='Complete' OR Charter.ResState='Chartered' Then
PROTECT Charter.ResState FROM ALL EXCEPT Managers AND Administrator
This Rule change the Charter.ResState:
If Invoice.InvoiceBalance WAS CHANGED AND Invoice.InvoiceBalance=0 Then
Invoice.invReservation.ResState='Chartered'
The current ResState of the Charter is 'Booked' I have a rule that changes the Charter.ResState to 'Chartered' after full Payment is received. But it does not change the Charter.ResState. This is what I am getting in the Log.
- Executing action Invoice.invReservation.ResState='Chartered' from rules of object Invoice
-ResState=Chartered
-Executing action PROTECT Charter.ResState FROM ALL EXCEPT Managers AND Administrator from rules of object Charter
- -Access to attribute ResState of business object Charter is denied. Restoring old value Booked
--------------------------------------------------------------------------
Is this a bug or something is wrong with my rule?