inserting dependant object using data loader

27 views
Skip to first unread message

sam

unread,
Mar 15, 2012, 8:47:33 AM3/15/12
to Data Loader Cliq


shall we using trigger for this ? if so where we can use this


i need to run the process same time for example , creating a new
account and using the account id inserting the new opportunity for the
newly created account.

shall we using trigger for this ? if so where we can use this trigger
in the CLI batch process


please reply asap.

theswami

unread,
Mar 15, 2012, 2:31:01 PM3/15/12
to data-loa...@googlegroups.com
How do you populate the fields for the Opportunity?  Are you using some default values?
Under what circumstances, do you want to create the Opportunity?  For every account that is created, even in the browser?

Vijay

Suganthi G

unread,
Mar 16, 2012, 12:48:44 AM3/16/12
to data-loa...@googlegroups.com
 what i did till now is i have created process to insert the account csv file, and am using command line interface to run this,
also  i wanted to insert the opportunity records as csv  for the above newly created account,

can we run these two steps in single bat file which means batch process bulk loading.
--
Regards,
Suganthi G

theswami

unread,
Mar 16, 2012, 1:55:06 AM3/16/12
to data-loa...@googlegroups.com
The problem is that you would not have the IDs of the newly inserted accounts.  It is probably best to do this with a trigger, or maybe a batch apex job.

Suganthi G

unread,
Mar 16, 2012, 2:14:30 AM3/16/12
to data-loa...@googlegroups.com
Can we try to do with external id? for trigger means where we can  call the task files?

pls help to write trigger.
--
Regards,
Suganthi G

theswami

unread,
Mar 16, 2012, 3:36:38 PM3/16/12
to data-loa...@googlegroups.com
External Id could work.

What do you mean by "task files"?

Have you written any triggers before?  Or, what specifically do you need help with?

Suganthi G

unread,
Mar 19, 2012, 2:45:24 AM3/19/12
to data-loa...@googlegroups.com
csv file only,

i ve never written trigger.
--
Regards,
Suganthi G

theswami

unread,
Mar 24, 2012, 1:50:03 AM3/24/12
to data-loa...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages