Salesforce는 이미 데이터를 포함하고 있는 사용자 정의 개체에 대해서는 마스터-세부 정보 관계를 허용하지 않습니다.
이는 마스터-세부 사항 관계를 만들면 사용자 정의 개체에 새로운 필수 필드가 추가되기 때문입니다(데이터베이스 관리자에서는 이를 '외부 키'라고 함). 개체의 각 데이터 레코드에 포함된 필드에는 유효한 값이 입력되어 있어야 하며 이를 비워둘 수는 없습니다.
1. 마스터-세부 사항 관계 대신 조회 관계를 만듭니다. 그러면 사용자 정의 개체에 새로운 'foreign key(외부 키)' 필드가 추가되지만, 각 데이터 레코드에 대한 값이 반드시 존재해야 하는 것은 아닙니다. 이때 조회 관계를 'required(필수)'로 지정하지 마세요.
2. 사용자 정의 디테일 개체에 포함된 각 데이터 레코드의 조회(외부 키) 필드에 유효한 값을 추가합니다.
3. 개체 관계를 편집해서 관계 유형을 조회에서 마스터-세부 사항으로 변경합니다.
참고: 이 방법은 사용자 정의 메타데이터 유형에는 적용할 수 없습니다.
참고 항목:
개체 관계 개요
Trailhead 개체 관계 문서
000385231

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.