-
Salesforce - 작성일자 수정일자 수정하는 방법 : 감사 필드( Creation date Modification date How to edit: Audit field )Setup 2024. 7. 15. 22:27
1. 예시 상황
- 과업(Task)의 작성일자(CreateDate)와 최종 수정일자(LastModifiedDate)를 수정하고 싶다.
CreateDate LastModifiedDate 2024-06-05T01:40:27.000+0000 2024-06-05T01:40:27.000+0000 2. 사용자 권한 활성화
- Setup > 사용자 인터페이스 > 사용자 인터페이스 > 설정 Section
- "레코드 생성 시 감사 필드 설정" 및 "비활성 소유자로 레코드 업데이" 사용자 권한 활성화 체크
3. 권한집합 할당
- Setup > 사용자 > 권한 집합 > 새로 만들기
- 시스템 권한 > 레코드 생성 시 감사 필드 설정 권한 부여
- 할당 관리 > 사용자 할당
# 2번 사용자 권한을 활성화해주어야 권한집합의 목록에 표시됨
4. 체크 사항
- Dataloader와 같은 API Tool 통해서만 입력 가능
- 레코드의 Insert시에만 작성일자, 수정일자 설정 가능 ( update, upsert 불가능 )
- 날짜 표시 형식은 ISO 8601 포맷
반응형