This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For troubleshooting and issues please read the discussions on the comments, it will most likely be one of those issues | |
// Instructions: | |
// 1. Manually create a new Opportunity record type named "Individual Opportunity" from Object Manager -> Opportunity -> Record Types | |
// 2. Add this class to the org from Setup -> Apex Classes -> name of the new class: Challenge8 | |
// 3. Run the following anonymous apex code from Developer Console -> Debug -> Open Execute Anonymous Window: | |
// try { Challenge8.start(); } catch(Exception e) { System.debug(e + '\nStack Trace:\n' + e.getStackTraceString()); } | |
public class Challenge8 { | |
public static void start() { | |
//truncate all tables |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', | |
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
1 verbose cli 'install', | |
1 verbose cli 'cloud-print' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData |