Fixing Common Errors

Here is a list of things to check if you get an error, or if data is missing.

If you don't receive an email message, check the Apex Jobs page.

Monitoring Batch Apex Jobs

To monitor the progress of an Apex job, click Your Name | Setup | Monitoring | Apex Jobs. The queue lists any Batch Apex jobs that have not finished execution. The Total Batches column lists the total number of batches for the job. The Batches Processed column lists the number of batches that have been processed. For more information, see the Salesforce Help.

What's Next?

This example process assumes you have a format with one header, one detail, and two footers like the format described in Choosing an External ID. When you understand the process, adapt these steps to match the structure of your bank format.

If you continue to get an error:

  1. Export the format to a JSON file as a backup.
  2. Remove Footer 2. Remove the mapping record type and then the definition record type. The mapping and definition fields are removed at the same time.
  3. Try to generate the file again.
  4. If it's still failing, remove Footer 1 and repeat. If the bank file now generates successfully, this shows that the error was somewhere in Footer 1.
  5. Remove the whole bank format.
  6. Import the JSON files that you created earlier.
  7. Remove Footer 2 in the same way as before.
  8. Remove the last field in Footer 1 and then try to generate the file again.
  9. If it's still failing, continue removing fields in reverse order until the bank file generates successfully. You have now located the error.
  10. Repeat steps 6-8, then review and edit the appropriate bank format definition and mapping field records.

Alternatively, you can perform these checks during the create bank format definition field and bank format mapping field process. That is, create your first bank format definition field and its corresponding mapping field, and then generate the bank file to validate it. Only move onto the second and subsequent fields when each set has passed this test.