How to Save Changes to a Contract
Changes on the contract screen are saved together, whichever page you made them on, with Save at the top right, Save on the Unsaved changes bar, or Ctrl+S. ABM Service checks the contract first, then writes only the fields you changed, so a date moved elsewhere while you were editing is never put back.
How do I save changes to a contract?
Select Save at the top right of the contract screen, or press Ctrl and S together (Ctrl+S). As soon as you change anything, the Unsaved changes bar appears at the bottom of the contract screen, naming the fields you changed (or how many, when there are more than three), with Discard and Save.
- Change the fields you need, on any page of the contract screen.
- Select Save at the top right, or Save on the Unsaved changes bar, or press Ctrl+S.
- Wait for the message "Saved.". The contract shows what is now saved. On a saved contract, anything you typed while the save was travelling stays unsaved and needs another save. On a new contract, wait for its first save before typing more: later typing is not carried into the saved contract.
While nothing has been changed, hovering over Save says "Nothing to save yet", and while a save is under way it says "Saving…". Discard on the bar throws away the contract-field changes, including a master contract you picked. Attachment details have their own Save changes and drafts; the contract's Save and Discard do not save or discard those.
Only the fields you changed are saved. Every other field is left exactly as it is stored at the moment of the save, including those the contract screen does not show.
A contract visited by a visit calendar has no Save, because it cannot be changed here.
Why won't the contract screen save my contract?
When a contract on the contract screen is missing something or holds a value that cannot be stored, Save saves nothing: it opens the page that holds the first field to put right, and every field that needs attention says why under its box. The Unsaved changes bar shows the first message too, and each message goes as soon as its field is right.
The contract screen checks the whole contract, not only the fields you changed. So a contract that was saved without a description in the past cannot be saved here until it has one, whatever else you changed. The messages:
- "Choose the contract's status.", "Enter a description." and "Enter when the contract starts.";
- "The contract must end after it starts." and "The next call cannot be before the contract starts.";
- "Enter a comment: every call this contract makes carries it.", when the contract has call types;
- with Billing on: "Enter the next invoice date.", "The next invoice cannot be before the contract starts.", "Choose how often it is invoiced.", "Enter the invoice line description.", "Choose the tax category.", and, unless it is billed by a quotation, "Enter the invoice amount.", "Choose the sales analysis." and "Choose the sales account.".
These are only asked of a field you changed:
- a text too long to store, such as "Description can be at most 50 characters.";
- an interval that is not one, such as "Calls every must be a number of days, weeks, months, quarters or years from 1 to 99.";
- "Visit length must be less than a day." and "Response time must be days, hours and minutes, such as 4:00 or 2 days 4:00.";
- an amount: "… is not an amount. Enter a number such as 245.00.", "… is too large." or "… can have at most 2 decimal places." (4 for Expected value and Minimum fee).
What does Nothing was saved because a field changed while you were editing mean?
It means a field you changed on the contract screen was also changed by someone or something else after you first changed that field: making the contract's calls (which moves Next call), invoicing (which moves Next invoice), the yearly price increase, or a colleague saving the same contract. Rather than write over a change you have not seen, ABM Service saves nothing and shows the message in a box above the fields, for example: "Nothing was saved: Next call changed while you were editing — a generation run, an invoicing run or somebody else saved this contract meanwhile. What you typed is still here; check it against what the contract holds now and save again."
Under the message, each field is named with what it holds now, such as "Next call is now" followed by the new date. Your typing is still in the boxes.
- Read what each named field holds now.
- Decide: keep your value, or type the new one in.
- Select Save again. This time your value is saved over what is there.
Fields you did not change are never checked and never written back, so a comment saved while Next call was being moved on saves the comment and keeps the new Next call.
What do the other messages when saving a contract mean?
- "The contract was being changed somewhere else at the same moment — a generation run or another save. Nothing was saved: try again." Something else was saving the same contract at that instant. Select Save again.
- "Nothing was saved: something the contract names — its master, a call type or a billing setting — no longer exists. Reload the contract and choose it again." A master contract, call type or billing choice was deleted while you edited. Reload the page and choose another.
- "This company's database could not record one of the values. Nothing was saved." A value was too long or too large for your company's database. Check what you typed.
- "Nothing was saved: the database's own check of the contracts refused it — two contracts share one billing row." followed by further detail: ask your system administrator to correct the shared billing details before trying again.
- "The contract could not be saved:" followed by a reason, when the save got no answer, for example because the connection was lost. Your typing is kept, but the save may have completed. Check the contract in another tab before repeating the change. For a new contract, check the customer's Contracts first to avoid making a duplicate.
Each message stays above the fields until your next change. If Save says Loading the custom fields… or The custom fields could not be read., wait or use Retry on the Overview. Contract changes cannot be saved until those fields are ready.
What happens if I leave a contract without saving?
Your typing is kept. If you leave a contract you have changed on the contract screen by any route inside ABM Service, such as Back or the customer's name, a reminder naming the contract, such as "Contract:" with its description and customer, appears in the bottom-left corner of every screen. Select it to go back to the contract with your changes in place, and save or discard them there. They are kept in that browser tab only, until it is closed or reloaded; What Happens to Unsaved Changes When You Leave a Screen explains the reminders.