Issue

When installing Contracts for Salesforce, you receive a string of error messages including Variable does not exist and/or No such column.

Workaround

This issue is likely caused when a Salesforce org is upgraded from a lower tier to the Enterprise Edition. To resolve this error you will need to contact Salesforce. A Tier III Support Agent will run an upgrade script to fix the backend configuration of your org.

Variable does not exist error

  1. Variable does not exist: apxt_tst_generateData
    apxt_tst_contentDocumentLink: Variable does not exist: apxt_tst_generateData
  2. Variable does not exist: apxt_tst_generateData
    apxt_tst_contentDocumentTrigger: Variable does not exist: apxt_tst_generateData
  3. Variable does not exist: apxt_tst_generateData
    apxt_tst_contractStatus: Variable does not exist: apxt_tst_generateData
  4. No such column 'ContentLocation' on entity 'ContentVersion'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
    apxt_tst_generateData: No such column 'ContentLocation' on entity 'ContentVersion'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
  5. Variable does not exist: apxt_tst_generateData
    apxt_tst_herokuConnect: Variable does not exist: apxt_tst_generateData
  6. Variable does not exist: apxt_tst_generateData
    apxt_tst_selectPrimaryDoc: Variable does not exist: apxt_tst_generateData
  7. Variable does not exist: apxt_tst_generateData