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
SFDC 2017SFDC 2017 

Custom Settings need to compare the values

Hi All,
I have a List custom setting in which source and Target field is there.So 2 mappings data in Custom Setting like one with source as contact Id an danother with accountId.I need to skip the records creation if the Source field where Account and contact is Null then no need to create.So i want to check if the CS is not null || this sourcefield.Account && sourcefield.contact is not blank then create records .How to check this condition in Apex code?