The replace commands will replace a nominated field in a selection of highlighted records by a constant value or the result of a calculation. This allows easy update of (for example) customer terms or a uniform price increase.
Note: Use this command with caution—it is a good way to zap your entire file.
We recommend that you save your file before using this command, then check the results carefully, and if necessary use the Revert/Rollback command —see Document Rollback or Revert to restore your file to how it was before the replace.
To replace a field
The Replace Settings window will be displayed.
The selected field in each of the highlighted records in the list will be changed by the replacement value.
There are (obviously) restrictions on the fields that can be replaced and the values that can be entered. For example you cannot change the Gross field in a transaction (it must be the sum of the detail lines) or the dates in posted transactions. And it makes no sense to replace every item code with a single value.
In Gold only, use the Advanced Replace to update fields with a calculated result. This is useful for operations like applying a price change to a range of products.
The Advanced Replace settings window will be displayed
You can use the fields and functions in the lists if needed.
The selected field in the each of the highlighted records in the list will be permanently changed by the replacement value. It is a good idea to test the calculation by replacing an unused field (such as “User1”) with the results, and then if all has gone well, replace the real destination field by the contents of this field.
Examples:
| File | Field | Calculation | Description |
|---|---|---|---|
| Names | BankAccountNumber | AccountName | Copy the accountname field into the BankAccountNumber field |
| Names | AccountName | "" | Clear the AccountName field |
| Product | Sellprice | SellPrice * 1.1 | Increase the sell price by 10% |
| Product | SellPrice | round(SellPrice/5,2)*5 | Round sell price to nearest 5 cents |
| Transactions | Duedate | Date(30, Month(Duedate +1), Year(duedate)) | Set the duedate to the 30th of the next month |
It is possible to print out any of the lists that are displayed, just as they appear on the screen. They will print in the same order in which they appear on the screen, with the same columns1. To print a list:
The Print Configuration dialog box for the list appears. There may be list-specific options on this. Refer to the sections on the specific files for a discussion of the options.
This option is only available if the list has been sorted by one of the columns. A subtotal of each numeric field in the list is printed whenever the value in the sorted column changes, with a grand total at the end of the list.
Note: Only columns with decimal alignment will be totalled
You can also save it to disk, email it, open it in Excel etc.— see Output Settings
If Print is clicked, the standard Print Job dialog box is displayed.
Additional reports that can be run on the records in the list are available in the Reports section of the lIst sidebar.
1 The exception is the Transaction list, whose Gross column is automatically split into Net, Tax and Gross. ↩