Running the Migration Script
As an existing customer, if you are upgrading to the current release, you must run a post-install script manually through the developer console.
List<echosign_dev1__SIGN_Agreement__c> lstAgreements = [SELECT Id,
echosign_dev1__Attachment_ID_Order2__c,
echosign_dev1__Attachment_ID_Order__c
FROM echosign_dev1__SIGN_Agreement__c
WHERE echosign_dev1__Status__c != 'Signed'];
if(!lstAgreements.isEmpty()) {
for(echosign_dev1__SIGN_Agreement__c agmt : lstAgreements) {
agmt.echosign_dev1__Attachment_ID_Order2__c = agmt.echosign_dev1__Attachment_ID_Order__c;
}
update lstAgreements;
}