function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vignesh RamshettyVignesh Ramshetty 

Iam unable to create the record getting below error This is the child object which has two masters

User-added image
AnkaiahAnkaiah (Salesforce Developers) 
Can please check the other parent object owd setting.. and check the controlled by parent option is there or not.