Create Documents
All subordinate purchase and sales documents are created from superior documents using the same technique.
In general, 3 main document states can be visually distinguished:
- orange - unconfirmed
- green - confirmed
- grey - cancelled
Creating a document using flags
One of the ways to create subordinate documents is to use the Purchase item (Sales item) forms. In the Purchase item form, the
buttons are available, and in the Sales item form, the
buttons are available (the letters indicate the respective documents in purchase or sale). The individual fields contain the flag of an already existing subordinate document (lowercase letter - the document has been created, uppercase letter - the document has been confirmed). If the document has not been created, the field is empty.
The option of assigning and creating subordinate documents in purchase and sales items can only be used in items of superior and subordinate linked documents. It cannot be used in items that are already included in a subordinate confirmed document (indicated by an uppercase letter and green colour). Likewise, this option cannot be used if we have the item form open e.g. on an invoice and want to create another invoice.
Subordinate documents can be created in Change mode or in a New record in item forms, by clicking with the mouse in the box marked with one of the above flags, by expanding the menu at the document flag, or by marking the respective box with the space bar. However, the system does not allow us to create a subordinate document for an item whose Article category prohibits it by its setting (for more details, see Article categories); in such a case, the box for creating the document is not available for editing.

Picture: Purchase item - receipt card flag menu
The procedure for creating an invoice from an order will therefore be as follows:
Directly in the order, we select with the cursor the item that is to be inserted into the invoice. By pressing the Enter key, we go to the Purchase item form. We click with the mouse in the field with the 'F' flag. The following variants may occur:
- no invoice exists yet for the order - in that case, a new one is created automatically, and all data from the order that are common to both documents are copied to its header.
- some invoices already exist and all of them are already confirmed for the order - in that case, a warning follows asking whether a new invoice should be created. If you agree, a new invoice is created in the same way as in the previous case.
- some invoices already exist but not all of them are confirmed for the order - in that case, the last unconfirmed invoice for the given order is found and the item is attached to it.
After pressing the '
' button, a menu expands with options to add the item to the document or remove it from the document. The Add to document submenu contains:
- A list of existing documents - we thus add the item to an existing unconfirmed document. In the menu, we see its number and possibly key data for easier orientation in existing documents. As such key data, the warehouse is given for stock documents, the header reservation date for Reserving cards, and the header delivery date for Sales orders, Delivery confirmations or the Delivery note.
- New document - after saving, a new document is created with automatically set key values. In this way, we add an item to a release note by pressing the Alt+V key.
- New document with settings, where we can influence the key data when creating it. If we create a Reserving card in this way and the reservation date is not filled in in the sales item, the entered date is also transferred to this item.
We can also use the buttons in the document header. We choose this procedure when the selection of items from the order to the invoice is varied. We can thus decide individually which item to include in the invoice and which not. If an item cannot be added to the given document due to the Article category used from the Article card, we are notified of this by a message stating that the given Article category is prohibited on the required document.
Creating a document with the right mouse button
On a specific item, we can also right-click the column with the document flag and select the option Release note (or another document being created according to the column) - Add to document - specific list of unconfirmed documents / New document / New document with settings from the menu. The individual options are described in the chapter Creating documents using flags in the part on expanding the menu at the document flag.

Picture: Context menu of a sales item - column 'v'
Creating a document using F5 in Change mode
On the Items of purchase / Sale Items tab, in Change mode of any document, we can press the F5 key, which invokes the Create Documents / Add to documents form.
Creating a document / adding an item to a document:
By selecting the document types, we choose the kinds of documents to which we want to add the items. Only items for which the given document did not yet exist, or items whose Article category does not prohibit it by its setting (for more details, see Article categories), are added to the document. If some items are already included in an unconfirmed document, the new items are added to the already existing document.
The following extended options can be used for creating documents:
- Create new documents: in this case, new documents are always created for items that do not have the required documents, and the items will thus not be connected to any existing unconfirmed document. If release notes are checked, a reserving card may be created instead of the required release notes if the required quantity is not available.
- For marked items only: only items marked with asterisks will be processed. The option is activated automatically when items are marked with an asterisk.

Picture: Create Documents / Add to documents form - F5 in Change mode on the Sale Items tab

Picture: Create Documents / Add to documents form - F5 in Change mode on the Items of purchase tab
Cancelling a document:
In the form, we can choose not only the function of bulk creation of documents, but also the function of bulk cancellation of already created documents, by activating one of the Cancel… options. The document flag is cancelled only for those items for which no confirmed document exists.
Note: If we want to cancel reserving cards and create release notes at the same time, a situation may occur in which the reserving cards are cancelled, but due to insufficient availability when trying to create the release note, the reserving card is created again, or the item is split into an item with a release note and an item with a reserving card.
Creating a document from its own module with the Ins key
Directly in the book, e.g. Invoices in (this also applies to other subordinate purchase or sales documents), we press the Ins key (the container must not be turned on). In this case, a free invoice in (or another purchase or sales document) is created that has no link to a Purchase order (or a sales order in the case of sales documents). If we want to create a linked document, we need to use the keyboard shortcut Shift + Ins; the book of purchase orders (in the case of purchase documents) or the book of sales orders (in the case of sales documents) opens, from which we select with the Enter key the document to which the newly created document will be linked.
Creating a document from its own module with the F6 key
This procedure is similar to the previous case, but it assumes that, e.g. in the book of invoices, there is already an invoice for the order for which we want to create a new invoice. Its advantage is that most of the header values are copied from the original document.
We enter the Invoices in book. Here we find the invoice that is linked to the order from which we want to create a new invoice, and press the F6 key. The order number is thus filled in automatically and again all items that do not yet have the given document assigned and do not have it prohibited are inserted. These items are always inserted regardless of the setting of the user parameter Do not copy items.
The same principle can also be used for other subordinate purchase and sales documents.
Creating / editing a document when items need to be selected
If we need to create, e.g., several documents at once for selected items, we can mark these items with asterisks (using keys or a button). Then we can use the "F5" function described above - the flags of the documents to be created are filled in only on the displayed (i.e. selected by us) items. Cancelling the flag works similarly.
When we edit an already existing document, we can modify the items in the following ways:
- Using the Ins key, we can select items into the document from the items of the given superior document.
- Using the Del key, we remove unwanted items from the document.
- Using the Enter key, we enter the editing of the item and reduce the quantity. The item on the superior document is thus split into two.
Creating documents in bulk on a container
In the Module menu - Bulk actions - Create Documents option, you can mark on the record container the documents that you want to create. However, the system does not create documents for those items whose Article category prohibits it by its settings (for a more detailed description see Article categories). If a release note is to be created but the relevant article is not in stock, a reserving card is created for the item.
Newly created documents can also be added to the relevant containers, and it is also possible to confirm these documents.