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
Prakhyat sapraPrakhyat sapra 

create 2 custom object main Object & Copy Object

create 2 custom objects main Object & Copy Object then create 3 custom fields in both the objects 1-month picklist 2price fiend 3 name  field & then  there is no relation between in both the object & the condition is if we create record in the copy object the when the batch run then record is  already insert in the main object ?????? please help me to figger in out with this problem 
TobyKutlerTobyKutler
Not exactly sure of your requirement or what your question/problem is. You say you have two objects, I get that. Now, you are running a batch run; is this Batch Apex or a flow? When you run the batch it inserts a record for the main object but not the copy object. Did you want it to save records for both? Please post your code here and try to add more detail as this is not explained well at all. Thanks