Upgrade Tasks for CL Loan 2.3007
Customers upgrading from earlier versions of CL Loan and or CL Marketplace need to note and do the following:
For both, CL Loan and CL Marketplace:
Run the following migration job. This job populates the new fields 'loan__Principal_Amount_Paid__c', and 'loan__Remaining_Investment_Amount__c' in the Account object, and the new field 'loan__Buying_Price__c' in the Investment Order object.
loan.IOAndAccountFieldsUpdateJob job = new loan.IOAndAccountFieldsUpdateJob();
Database.executeBatch(job);You can also replace the default query with a custom query to search for accounts and IOs as follows, where "query" is the custom query:
loan.IOAndAccountFieldsUpdateJob job = new loan.IOAndAccountFieldsUpdateJob(query);
Database.executeBatch(job);Add the picklist value 'Principal Remaining' in the Collect_Service_Fee_On__c field of the Account and Investment Order (loan__Investor_Loan__c) objects.
For CL Loan ONLY
Customers, specially online lenders must be prepared to bring down the system while upgrading to the new release; complete package installations should take approximately one hour. The system is completely unavailable between CL Common and CL Loan package installation.
Run the AgingAndLoanLossProvisioningMigrationJob job to attach the default delinquency set to the Delinquency_Aging_Set__c and the Loan_Loss_Provisioning_Set__c fields. This set contains the default delinquency intervals, such as 0-30 and 31-60.
loan.AgingAndLoanLossProvisioningMigrationJob job = new loan.AgingAndLoanLossProvisioningMigrationJob();
Database.executeBatch(job);Or, run the job with a custom query for filtering the contracts, as follows:
loan.AgingAndLoanLossProvisioningMigrationJob job = new loan.AgingAndLoanLossProvisioningMigrationJob(query);
Database.executeBatch(job);Add the value 'Active - Marked for Closure' to the Status (loan__Loan_Status__c) picklist field of the CL Contract (loan__Loan_Account__c) object.
Deactivate the validation rule "LOC_should_not_have_prepaid_fees" on "Product Pre-Paid Fees" object. (To do this, go to the object, validation sets, and deactivate the validation rule).
Review and correct the Page Layout Assignment for the required record types in the permissions of the Lending product.