Fixing Common Errors
Here is a list of things to check if you get an error, or if data is missing.
- Make sure all external IDs are unique. See Choosing an External ID.
- Make sure that a root source object is specified on the Bank Format Mapping Record Type object.
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:
- Export the format to a JSON file as a backup.
- 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.
- Try to generate the file again.
- 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.
- Remove the whole bank format.
- Import the JSON files that you created earlier.
- Remove Footer 2 in the same way as before.
- Remove the last field in Footer 1 and then try to generate the file again.
- If it's still failing, continue removing fields in reverse order until the bank file generates successfully. You have now located the error.
- 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.