Timeline for duplicate record while importing and inserting csv file data into salesforce via vf page
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 18, 2016 at 18:45 | history | edited | Tushar Sharma | CC BY-SA 3.0 |
added 32 characters in body
|
Oct 18, 2016 at 13:53 | history | edited | Tushar Sharma | CC BY-SA 3.0 |
added 4 characters in body
|
Oct 18, 2016 at 13:50 | comment | added | learnjqueery | getting error again..Compile Error: Method does not exist or incorrect signature: [Account].add(String) at line 65 column 79.. am i doing anything wrong...i hv updated my current code.. | |
Oct 18, 2016 at 13:47 | comment | added | Tushar Sharma | @learnjqueery there was some type in my code . Check now. | |
Oct 18, 2016 at 13:47 | history | edited | Tushar Sharma | CC BY-SA 3.0 |
added 8 characters in body
|
Oct 18, 2016 at 13:17 | comment | added | learnjqueery | its throwing error ..Incompatible value type Set<String> for Map<String,Account> in line no 63.. i hv updated my code above | |
Oct 18, 2016 at 13:10 | comment | added | learnjqueery | @tushar..in this line .. accmap.put(csvRecordData[0], accmap.get(csvRecordData[0]).add(csvRecordData[3]));.. should we use .add here..its throwing error | |
Oct 18, 2016 at 12:26 | comment | added | Tushar Sharma | @learnjqueery check my updated answer. Your duplicate type error will be solved. For account name I don't touch that part in my code so I think you have done some mistake while copy pasting and changing index in your code. | |
Oct 18, 2016 at 12:24 | history | edited | Tushar Sharma | CC BY-SA 3.0 |
added 103 characters in body
|
Oct 18, 2016 at 11:38 | comment | added | learnjqueery | you can take id as a refernece.. i will try to alter it later.. | |
Oct 18, 2016 at 11:36 | comment | added | learnjqueery | The above pic is from the csv file.. Its in that order.. | |
Oct 18, 2016 at 11:24 | comment | added | Tushar Sharma | @learnjqueery can you please specify CSV column order csvRecordData[0])+','+csvRecordData[3] because 0 index for ID and we can't specify Id in insert call. | |
Oct 18, 2016 at 11:16 | comment | added | learnjqueery | tushar.. one record is coming as Account Number : Customer - Channel ,Customer - Channel.. this should be Account Number Customer - Channel . and in this Type__c is haing two records Customer - Channel (2 times) which should be 1 time.. | |
Oct 18, 2016 at 11:09 | comment | added | Tushar Sharma |
@learnjqueery you need to do accmap.put(str , accObj); check my answer.
|
|
Oct 18, 2016 at 11:08 | history | edited | Tushar Sharma | CC BY-SA 3.0 |
deleted 67 characters in body
|
Oct 18, 2016 at 11:05 | comment | added | learnjqueery | Hi tushar , i am getting error .. Method does not exist or incorrect signature: [Map<String,Account>].add(String, Account) at line 38 column 12 | |
Oct 18, 2016 at 10:39 | history | answered | Tushar Sharma | CC BY-SA 3.0 |