On this page
Copying documents and document flow
In Positive ERP you never retype what has already been entered. A quotation is copied to a sales order, the order to a delivery or an invoice, and an invoice can be built from one order or from several orders or deliveries. The same mechanism works for every document (CC1), following SAP's copy controls and SAP Business One's "Copy from / Copy to".
The three actions
These actions appear in the action bar of a document page:
| Action | When it appears | What it does |
|---|---|---|
| Copy to | On an approved or posted document that still has a remaining quantity | Creates a draft of a follow-on type (for example, from a sales order to an invoice) with this document's lines |
| Copy from documents | On a draft | Pulls lines from one or more source documents into this draft |
| Duplicate / Copy | On any document | Creates a new draft of the same type, with no links (CC10) |
The existing Copy from button on sales, purchasing and inventory screens stays as it is, and the same controls apply to it.
Copy to
- Open the source document and select Copy to.
- Choose the Target document. Only the types allowed by the copy controls, and that you have permission to create, are listed.
- Every open line is selected with its full remaining quantity. Clear the lines you don't want, or change the Quantity to copy.
- Select Create draft. The new draft opens so you can review it and then post it.
Copy from documents
- Open the draft and select Copy from documents.
- Choose the Source document, searching by number, reference or date. Only documents for the same business partner and in the same currency are listed.
- Select lines from one document or several, and adjust the quantity of each line.
- A summary shows the number of lines and documents, the quantity and the value before tax.
- Select Copy lines.
Remaining quantities
- Every copied line keeps a link to its source line. Remaining = the source quantity − the closed quantity − what has been copied to other documents. Drafts count too, so two drafts can't take the same remaining quantity. No counters are stored (CC2, SP1).
- Partial copies are allowed. Copying more than the remaining quantity is rejected, unless the rule for that pair allows an overrun percentage.
- A source closes once it has been fully copied. You can also close the remaining quantity yourself, with a reason, using the Close action on the source document (CC7).
- Returns and credit or debit notes are copied the same way, from the invoice or the receipt.
Copy controls and locked fields
Each "source type → target type" pair has a rule, set on the Copy controls screen (CC3). The rule decides whether copying is allowed, whether several sources can be combined, and what is locked on the copied document (date, partner, adding lines, leaving out lines, quantity, unit, price, line discount, tax code, document discount, total).
- A copied draft shows a strip telling you where it was copied from and what is locked.
- If a locked field is changed, saving is rejected with a message naming the field and the rule (CC8). The server decides, not the screen.
- Saving a document again without changing it doesn't count as a breach.
Overriding the locks
Users with the override permission (sales.copy.override for sales, purch.copy.override for purchasing) see a Save despite the locks (recorded in the audit trail) option in the strip. When it's on, the change is saved and recorded in the audit trail, together with the fields that were overridden. You can't override a pair that isn't allowed, incompatible sources, or a quantity above the remaining quantity plus the allowed percentage.
Pricing on copy
By default in sales, the copy keeps the source's price, discount and tax (SP1). The rule can be changed to reprice at the target document's date, or to keep manual prices only (CC6). An expired quotation is always repriced. In purchasing, the price starts from the source, and the buyer can change it unless the rule locks it.
Document flow
Every document page has a Document flow section (CC9). It shows the preceding and following documents step by step, with each one's type, number, date, status and amount, and each number opens its document. The flow is built from the line links and crosses modules (for example, a purchase requisition issued from stock comes before the goods issue).
Not built yet
- Inventory pairs can't be configured yet. Inventory copying works through its own button, and Duplicate and the document flow are available (CC12).
- Procurement requests, Operations quotations and contracts, opportunities, shipments and point of sale aren't part of the mechanism yet.
- An approval workflow as an alternative to the override permission isn't available.