Category Archives: Development

Nov 03

Clone with Related List Example

/* This class is a custom profile cloning process that include duplicating orig profile record and related lists: CHEMICAL CONSTITUENTS, RCRA/STATE CODES & DOT CODES author – ben.c Create Date 10-27-2015- */ global class CloneProfile { WebService static Id createNewProfile(String … Read More

Posted in Development | Tagged | Comments Off on Clone with Related List Example
Oct 27

Super Clone

https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B4mjFEAR   http://www.davehelgerson.comĀ —   other clone option: http://christopheralunlewis.blogspot.com/2012/04/clone-plus-clone-salesforce-objects.html?_sm_au_=iVVFRH43fsQ2HsfM

Posted in Administration, Development | Tagged | Comments Off on Super Clone
Jul 30

Inflate Your Test Coverage

http://raydehler.com/cloud/clod/inflate-your-test-coverage.html public class MyClass { public void myMethods() { //… } public void inflateTest() { Integer j = 0; j++; j++; j++; j++; j++; j++; . . . // you get the idea } } @isTest class MyClass_Test{ static testMethod … Read More

Posted in Administration, Development | Comments Off on Inflate Your Test Coverage