Invoicing v1.33
July 26th, 2018 by John Clark
Invoicing now includes the following changes:
- For scalability purposes, we've removed the unindexed FieloPRP__UniqueKey__c field from Invoice and added an External ID field called FieloPRP__UniqueKeyField__c. The new UniqueKeyField is indexed in order to enhance the performance of queries against Invoices.
- We've made other small bug fixes.
How to Upgrade
To upgrade, follow these steps:
- Install Invoicing v1.33 using the link provided by your Fielo account executive.
- Install the FieloPRPMassUpdateUniqueKey package using the link provided by your Fielo account executive.
- When prompted with "What if existing component names conflict with ones in this package?", choose Do not install.
- If the package installation indeed aborts due to a name conflict, contact the administrator of your Salesforce org.
- On the Salesforce Developer Console, open the Execute Anonymous Window and run the following batch Apex job:
Database.executeBatch(new InvoiceUpdateBatchSchedule());- This job will populate the new UniqueKeyField in all of your Invoices.
- You can monitor the job progress by searching Apex Jobs in Salesforce Setup.
- To confirm that the job has successfully updated all Invoices, navigate to https://workbench.developerforce.com.
- Choose your environment (either Production or Sandbox) and log in.
- In Settings, make sure that Allows SOQL Parent Relationship Queries is .
- In Queries, run the following SOQL query:
SELECT Id,FieloPRP__UniqueKeyField__c FROM FieloPRP__Invoice__c WHERE FieloPRP__UniqueKeyField__c = '' - You should see "Sorry, no records returned."
- If any records are returned, it means that the UniqueKeyField was not populated in those Invoices.
- Once all Invoices have been successfully updated, go to the Salesforce Object Manager and access the Invoice object. In Fields & Relationships, delete the FieloPRP__UniqueKey__c field.
- Finally, in Salesforce Setup, search for Installed Packages and uninstall FieloPRPMassUpdateUniqueKey.
Changelog
- improved: Scalability (FA-383)
- fixed: Localization issue (FA-389)
- fixed: Date input issue (FA-371)
- fixed: Browser compatibility issues (FA-400 and FA-401)
- fixed: Labeling error (FA-415)
