Transfer of documents within the same company
This functionality is based on the logic of the function described in the chapter above and handles situations where documents are to be transferred within one own company. Typically, these are business cases where, for example, articles are purchased from a supplier and immediately resold to a customer without the need for stock records. Or in the opposite direction, when a sales order is created and a purchase order is to be created for this sales order.
Configuration for document transfer within the same company
The principle of the configuration and the description of the fields are the same as in the chapter Configuration for document transfer between companies. The configuration form differs only in the Customer/Supplier field, which is displayed instead of the Create documents for companies field if the Transfer documents within the same company field is checked. This field is available only for configurations that can be run on superior documents (i.e. Sales Orders and Purchase Orders).
Configuration on a sales order with the Transfer within the same company field checked. This configuration is then used in cases where we create a sales order for a customer and at the same time want to create a purchase order with at least one item from the sales order. Checking the Transfer within the same company field makes the Customer/Supplier field available for selecting the supplier of the purchase order. At the same time, only the fields for the purchase order, which will be created in the same own company as the sales order, remain available for the configuration. The description of the fields remains the same as in the previous case.
The Customer/Supplier field is not mandatory and can remain empty. If the Supplier/Customer field is not entered, a form for selecting the supplier/customer is displayed after the configuration is run. In this way, we can use one configuration for different business partners.

Picture: Configuration for document transfer within the same company
Configuration for transferring documents within the same own company on a purchase order

Picture: Configuration (Documents tab) for purchase orders for transfer within the same company
Transfer of order documents to a sales order
If there is a business case where the movement of articles does not need to be recorded in the stock records and a sales order document with the same items needs to be created for an issued purchase order, the Configuration for document transfer can be used, which creates a sales order document in the set sales book.
Example: We want to purchase articles from our supplier and immediately resell them to the customer Vitana. We issue a purchase order and, if a configuration is prepared, running the Document transfer function with the selected configuration creates a sales order for the set or selected customer in the set sales book.
Note: The example of a sales order from which an order is to be created is identical and is therefore not given.

Picture: Configuration for the customer Vitana
Note: If the Supplier/Customer field were not entered, running this configuration would display a form with a lookup for selecting a record from the Customers/Suppliers book,

Picture: Issued PO from which a sales order for the customer Vitana is to be created
After running the Document transfer action with the configuration for the customer Vitana, a sales order is created in book 10 (according to the settings). If we do not select any item, a sales order with all items of the order is created.

Picture: Running the Document transfer configuration from the ribbon of the PO document

Picture: Sales order for the customer Vitana created by the Document transfer within the same company function