즐겨찾기Mahi Tangnoo (iLink Digital) 님이 Admin 201 Study Group 2021에 글을 올렸습니다 (최초 질문자: Mahi Tangnoo)2023년 5월 12일 오전 9:18Mahi TangnooHow to lock fields on before update and before insert and show error using triggerScenario is: On" before update" and 'before insert" of opportunityLineitem, a custom field should not get inserted and updated after saving the product details and throw an error saying that " You are not allowed to update this field ". i tried doing null check on this field and show the error in my trigger but its showing error - "sobject row does not allow errors " so i checked the field level security and it has read and write access but still this is coming So if any one could suggest any other alternative approach to achieve this use case using triggers only would be highly appreciated. Thanks,Mahi더 보기댓글 추가댓글을 작성하세요...굵은 글꼴기울인 글꼴밑줄취소선불릿 기호 목록번호가 지정된 목록링크 추가코드 블록이미지 삽입파일 첨부링크 URL취소저장0/9000답글 쓰기
Mahi TangnooHow to lock fields on before update and before insert and show error using triggerScenario is: On" before update" and 'before insert" of opportunityLineitem, a custom field should not get inserted and updated after saving the product details and throw an error saying that " You are not allowed to update this field ". i tried doing null check on this field and show the error in my trigger but its showing error - "sobject row does not allow errors " so i checked the field level security and it has read and write access but still this is coming So if any one could suggest any other alternative approach to achieve this use case using triggers only would be highly appreciated. Thanks,Mahi더 보기