Summary
Description
If corruption occurs in the recurring invoices or orders, this can present itself as:
- Invalid characters appear on the recurring entries
- Data from one recurring entry appearing on another
- Software closes when trying to post or edit the recurring entries
- Incorrect values appearing on the recurring entries
- Appearing blank or with no information
- Recurring files have exceeded 1GB in size. For example, INVRECIT.DTA
To resolve this, you can replace the corrupt files with blank data files.
This process removes all recurring invoice or order information. Don't copy the data files from an earlier backup as the corruption can reoccur. If you have a large quantity of recurring entries, you'll need to restore a corruption free backup.
Resolution
Back up the data
Before following the steps below, take a backup of your data.
Run check data
- In Sage Accounts, on the menu bar click File, click Maintenance, then click Check Data.
- To resolve any errors, warnings, or comments, refer to https://my.sage.co.uk/public/mydata.aspx
- Click Close then click Close.
Check if any of the recurring files have expanded in size, exceeding 1GB
- If no files have expanded, follow the find and remove corrupt recurring invoices or orders section
- If any files have expanded, you can copy blank files from practice data. Follow the steps below to locate these files then follow the create blank practice data section
In v31 and above, you can use the Rebuild option, which replaces the files.
CAUTION: Copying blank files or rebuilding files will remove all recurring information.
To locate these files while logged in
- Click Help then About, then Data Directory,
- When the Windows folder loads, click into the ACCDATA folder.
- You'll need to copy all four files for the module that's affected. For example, all recurring invoice data files that are listed below.
Create blank practice data
- In Sage Accounts, go to File, then Open, then Open Practice Data.
- In the Logon box, enter Manager then click OK.
- Click Start Practising or Start again then click OK.
- Click Yes then click OK.
- Close Sage Accounts.
Rename the recurring entry data files
NOTE: If you're using v31 or above, rename these files using the Rebuild option.
- If you're using Remote Data Access (RDA), you must rename and replace these files at the site that uploaded the data.
- Open your company in Sage Accounts.
- On the menu bar, click Help then click About.
- Under Program details, click the Data Directory.
This opens a Windows Explorer window.
-
If you use RDA
, lock Remote Data Access. - Close Sage 50 Accounts.
- Stop the data service.
- In Windows Explorer, right-click the required files in the relevant module listed below.
- Select Rename, change .dta to .old then press Enter.
Copy replacement files from practice data
- In Windows Explorer, browse to the following directory:
| Sage 50 Accounts v33 or above | C:\ProgramData\Sage\Accounts\Vxx\Practice\Accdata |
|---|---|
| Sage 50 Accounts v32 and below | C:\ProgramData\Sage\Accounts\20xx\Practice\Accdata
|
- Select the required data files for the relevant module from the options below.
- Right-click one of the files then click Copy.
TIP: To select more than one file at a time, hold down Ctrl. - Restart the services.
- Open Sage Accounts.
- On the menu bar, click Help then click About.
- Under Program details, click the Data Directory.
- Right-click a blank space then click Paste.
- If you locked RDA in the rename the recurring entry data files section, refresh Remote Data Access.
- Follow the reindex and compress the data section.
Find and remove corrupt recurring invoices or orders
Only follow this section if you don't have any expanded files over 1GB in size.
- Open your company in Sage Accounts.
- Click the relevant module, for example, Invoices and credits, then Recurring items.
- Highlight each of the recurring items one at a time and click Edit.
- Update any incorrect details and click Save.
NOTE: If the selected item opens successfully and the details are correct, move to the next item. Repeat until you've checked all recurring items.
- If Sage 50 Accounts closes, reopen the program and navigate back to the recurring item located above.
- Highlight the corrupt item and click Delete, then Yes.
- Continue this for all items in the list.
- Follow the reindex and compress the data section.
Reindex and compress the data
- Open Sage Accounts then on the menu bar click File, then click Maintenance.
- Click ReIndex, then click the following check boxes:
- ReIndex Invoices
- Reindex Purchase Orders
- Reindex Sales Orders
- Click OK, click Yes then click Compress Now.
- Clear the Compress All Data Files check box.
- Clear all check boxes except Invoices, Purchase Orders, and Sales Orders.
- Click Compress, click OK, click Close then click Close.
- Follow the check the recurring entries window section.
Check the Recurring Entries window
- In Sage Accounts, select the required module, for example Invoices and credits.
- Click Recurring items then check that the Recurring Entries window is blank.
- Recreate any required recurring entries.
Upgrade your licence
Growing business? Add more companies, users, or employees to your licence with ease. Leave your details and we’ll be in touch.
