Send the following on WhatsApp
Continue to Chat{Dynamics 365} Set default values from the primary entity while creating new record from C# https://xrmdynamicscrm.wordpress.com/2020/10/01/dynamics-365-set-default-values-from-the-primary-entity-while-creating-new-record-from-c/