How to make contract number non-editable if the contract is billed? Form Personalization?
I have a requirement wherein a user should not be able to change the contract number (in service contracts) if that contract is billed at least once. If the contract is never billed then he can change the contract number field on OKSAUDET form.
I am trying to achieve this via form personalization with condition on WHEN-NEW-FORM-INSTANCE sayingif :BILL_OUT.COMPLETION_DATE is NOT NULL then action OKS_HEADER.CONTRACT_NUMBER UPDATE_ALLOWED is FALSE.
This is not working as for a contract there are multiple lines with multiple billing schedules. The COMPLETION_DATE is for each billing schedule.