Documentation/ Master records and catalogues/ Filling in earlier documents
Filling in earlier documents
When you complete a record or a line, Dijit looks at the documents you had already uploaded. If any of them is missing that detail, it offers to fill it in, so you do not have to open them one by one.
Update previous documents? window
On this page
The window and when it appears
It appears after a save that went through, and only if there is something to fill in. Dijit asks the server how many documents would change; if the answer is none, it does not interrupt you.
| What you have just saved | Where |
|---|---|
| A supplier's record | Supplier master |
| A product's record, or several at once | Product master |
| A document's general details | The document header |
| An item line | The Items tab, when you leave the row |
On lines it waits until you leave the whole row, not for each field: that way the window does not appear while you are still filling that line in.
What it fills in
The heading says what it is about: «There are documents already uploaded with blank data that is now on the record. Do you want to fill them in?». And below it, the rule: «Only blank data is filled in. What is already written is not changed.»
That is the difference from correcting by hand: it overwrites nothing. A document that already had the detail, even a different one from the record's, is left as it is.
The rows of the window
There is one row for each thing you saved, with its name and the number of documents that would change:
- Supplier and the name, when you come from their record.
- Product and the name, or N products if you saved several at once.
- Document details, with the number where there is one.
- The line's description, or «Line without description» where it is empty.
Each row has its own buttons and is answered on its own. If you save another record while the window is open, one more row comes in.
Update, or leave it for later
Update fills in the gaps in those documents. Not now takes the row away, and it does not come back until you save that record or that line again.
Until you press Update, nothing changes: the window is an offer, not notice of something already done. It does not close with the Esc key or by clicking outside; it closes when its rows are answered.
Documents that are already closed
If any of those documents has been sent, approved or paid, the row says so: «N documents already sent, approved or paid keep their amounts.»
On those, the details that were blank are filled in, but the amounts are not touched. A document that has already gone out to your accounting software does not change its figures behind your back.
After updating
When it is done, the message says how many went in: «N documents updated». The screen you are on is read back, so you see the result without reloading.
The remaining rows are counted again. One can disappear without your answering it: two lines of the same product share documents, and if the first one filled them, the second has none left.
If the server cannot do it, you get «The previous documents could not be updated». What you saved on the record is still saved: what failed is the filling in of the old documents.
Things that come up
| Situation | Cause | What to do |
|---|---|---|
| The window does not appear after saving | No earlier document has that detail blank. | There is nothing to fill in. |
| You want it gone without changing anything | The window only closes when its rows are answered. | Press Not now on each row. It will appear again next time you save that record. |
| A row disappears when you update another | Both affected the same documents and those are now filled in. | Nothing: the count has dropped to zero. |
| A document's amounts have not changed | It had been sent, approved or paid. | That is deliberate. If its figures need changing, change them on the document. |
| A detail on the document does not match the record | That document already had something in that field. | Correct it on the document: the automatic filling in does not overwrite what is written. |