Book Contents

Book Index

Transfer of Documents between Companies

The aim of the function is to facilitate and automate the creation of documents between own companies (multi company) for selected types of business cases. The principle of the function, which can be run on selected types of documents, is setting up a configuration for a specific business case and then running the function on the marked items of the selected document. In the configuration set for a specific type of business case, the multi company is defined as the partner for the business case; furthermore, the books of sales and purchase documents are defined, the documents to be created are selected, values of mandatory and optional fields can be defined, and it is possible to set which analytical axes set on the items are to be transferred to the created documents.

The user who sets up the configuration must have data display set for both own companies. The user who will then use these settings to create documents does not need to have this set. Documents will therefore also be created in an own company whose data the user cannot see. A prerequisite for correct creation of documents is having the appropriate rights to create these documents.

The function for transferring documents is available for sales orders, invoices out, purchase orders, invoices in and release notes.

For purchase order and sales order documents, it is also possible to set up a configuration for creating documents within one own company. See the chapter Transfer of Documents within the Same Company.

Book Contents

Book Index

Configuration for Transfer of Documents between Companies

The configurations for transferring documents differ for the individual documents on which the function is run. This chapter describes in more detail the configuration that is run on invoices in. For other configurations that are run on other documents, the principle is similar and only the differences will be mentioned in the following text.

A new configuration is created in the ribbon of the document (i.e. invoice in, invoice out, sales order or purchase order) by running the action Transfer documents to another own company and pressing the Administrator option on the Function tab. The Administrator: Configuration of intra-company document creation book is displayed.

Configuration for Invoices In

pic_7455

Picture: Running the Administrator configuration for Transfer documents to another own company from the document ribbon

pic_7454

Picture: Administrator book - Configuration

A new configuration is created with the Ins key or by pressing the New option. The Delete key or the Remove option deletes the configuration. The current configuration can be edited with the F5 key or by selecting the Change option. In general, however, a name and possibly a description of the configuration are entered for a new configuration on the Basic data tab. We select the level at which the configuration is to be saved. Depending on the selected level, the options for selecting the user, client and company become available.

In the configuration for cases when the transfer of documents is run on an invoice in, the invoice out document is set that will be created for the marked items of the source invoice in. The customer of this invoice out will be the multi company (own company) for which the configuration is defined. At the same time, an invoice in is set for this multi company, which is in fact a mirror image of the invoice out. The user can set that a parent document is also to be created for these invoices.

pic_7446

Picture: Configuration (Basic data tab)

On the Documents tab, the partner multi company is then defined, and the purchase and sales series are defined. The values of mandatory fields for the creation of follow-up documents are defined. This tab differs for the individual documents on which the function is run.

pic_7447

Picture: Configuration (Documents tab) for invoices in

Description of fields:

Create documents for the company

Selection of the multi company (own company).

Document status

The set value that is filled into the source document (on which the function is run) after the function is completed.

Transfer within the same company

If selected, in the case of an invoice in, the document is transferred within one own company (an invoice out is issued).

Copy attachments from the original document

If we want to copy some attachments from the original document (i.e. from the one on which we run this function) to the newly created documents, we display a list of types with the Select attachment types button and select the required types to be copied. We mark the required types with an asterisk and confirm with the Enter key.

This fills in the Copy attachments from the original document field. Individual types can also be entered directly. If several types are entered directly, the individual types must be separated by a semicolon.

 

pic_8196

Picture: Entering two attachment types

If the field were filled in (see the picture), all attachments of the ALL and DS_DOC types would be copied from the original invoice to the newly created invoice out.

Invoice out (with the name of the own company defined for the book of invoices in from which we run the configuration)

The part in which the sales book is defined, in which the invoice out document, or the sales order, will be created. The documents will be issued to the customer from the Create documents for the company field.

Book of sale

Selection of the book in which the invoice out is to be created.

Confirm document

If selected, the document is confirmed after the invoice out is created.

Form of order, Payment method, Method of transport, Shipping method, Cost centre, Contract code

Values with which the document will be created. If not filled in, the values are filled in according to the settings of the fields of the same name on the customer card. If they are not filled in on the customer card, dashes are filled in.

Next document field

In the Next document field table, it is possible to select and define a value for other fields that we want to have entered on the created invoice. Other fields can be added with the Ins key.

The Field selection form is displayed (see the picture Field selection). In the Field field, we select the required field. We either enter the required value or select the Copy value from original document field. This option ensures that the same value as in the selected field on the invoice in for which we run the function is transferred to the created invoice out.

Transfer within items

This part provides settings for the individual analytical axes, determining whether the values of these analytical axes are to be transferred to the newly created documents.

It is also possible to transfer the value from the Description field of the document item. If not selected, the Description field is transferred automatically only for items (article cards) that have Do not show field names set.

Furthermore, it is possible to select what is to happen with the price of the item. If the Net price and Gross price fields are not selected, the price according to the set pricing is inserted into the newly created documents.

If the Net price field is selected, the price from the source document is inserted into both the planned and the invoiced price in the newly created documents.

If the second own company has different legislation (i.e. probably also different VAT rates on article cards), the user can choose whether net prices or gross prices are to be transferred.

Classification of the report for printing the issued invoice (report GUID)

If it is desirable that, after the invoice out is created, this function exports it to PDF using a defined invoice out report, attaches the PDF created in this way as an attachment of this invoice out and then also attaches this attachment to the invoice in created in the second own company, the GUID of the report that is to perform the export to PDF must be entered in this field.

It is not possible to set just the file name of the report in the field (e.g. VF_DOK01.AM); a specific record from the Scripts and reports book must be specified. The unique identification of a record in the Scripts and reports book is the GUID field.

Note: The procedure for finding out the GUID can be found in the chapter Tips and Transfer of a Printed Invoice Out to Attachments.

This field and the setting of the next two described fields address the requirement when an inspection from the tax office or an auditor wants to check invoices in (created by this function) and it is necessary to show these institutions also the invoice out from which the invoice in was created, while the given user does not have rights to the own company where this functionality was run and where the invoice out was created.

VF attachment (document type)

- in the Invoices Out part

This field is related to the Report classification for printing invoice out (report GUID) field. If this field contains a report GUID, then after the invoice out is created, the function runs the classification of this report (typically e.g. VF_DOK01.AM or a special derived from this report), exports the report to PDF and then saves this PDF to the attachments of the created invoice out with the type defined in this field.

VF attachment (document type)

- in the Invoices In part

If the VF attachment (document type) field is also filled in in the part for invoices in, the PDF of the report exported in the previous field is also saved as a separate attachment with the defined type to the invoice in created in the second own company.

Create sales order

If selected, a sales order is also created for the invoice out. If not selected, only a standalone invoice out document is created.

Add to existing sales order

If selected, after running the function with this configuration, a form is displayed in which an existing sales order can be selected. Only sales orders from the book defined in the Book of sale parameter and only those that have multi company B as the customer are displayed.

Invoice in (with the name of the own company for which the invoice in will be created)

The part in which the purchase book is defined, in which the invoice in (or also the purchase order) will be created. The documents will have the multi company from which the function was run in the Supplier field.

Book of purchase

Selection from the purchase books in which the invoice in document will be created.

Form of order, Payment method, Method of transport, Shipping method, Cost centre, Contract code

Values with which the document will be created. If not filled in, the values are filled in according to the supplier settings. If they are not filled in on the supplier card, dashes are filled in.

Next document field

see above

Create order

If selected, a purchase order is also created for the invoice in. If not selected, only a standalone invoice in document is created.

Invoice external number

The selected value determines how the External number field is filled in on the created invoice in.

The value is filled in from the invoice out document that is created according to the settings in the left part of the configuration. The values "invoice out number" and "invoice out reference number" are available. This means that the External number field of the created invoice in is filled in either with the value from the field of the invoice out document (DocumentIdentificationCalc), i.e. the invoice number, or with the value from the Reference number field (ReferenceNumber).

pic_7448

Picture: Field selection form

Configuration for the Invoice Out Document

The principle of entering the configuration is the same as for invoices in. For the selected items of the invoice out, this configuration creates an invoice in where the supplier will be the current multi company. It can be set that a purchase order is also created for the invoice in.

pic_7510

Picture: Configuration (Documents tab) for invoices out

Configuration for the Sales Order Document

The principle of entering the configuration for transfer between own companies is the same as for invoices in. If the Transfer within the same company field is selected, the configuration changes to the conditions for entering documents within one company (see the chapter Transfer of Documents within the Same Company).

For the configuration on a sales order without the Transfer within the same company field selected.

pic_7509

Picture: Configuration (Documents tab) for sales orders

Description of the configuration fields for sales orders without the Transfer within the same company field selected:

Purchase order (with the name of the own company defined for the book of invoices in from which we run the configuration)

The part in which the purchase book is defined, in which the purchase order document will be created; if the Create invoice in, Create receipt card and Create delivery confirmation fields are selected, these documents are also created for this purchase order.

If the Confirm field were also selected, the individual documents will also be confirmed, provided the conditions for their confirmation are met.

The documents will be issued to the supplier from the Create documents for the company field.

Sales order (with the name of the own company for which the sales order will be created)

The part in which the sales book is defined, in which the sales order document will be created; if the Create invoice out, Create release note and Create delivery note fields are selected, these documents are also created for this order.

If the Confirm field were also selected, the individual documents will also be confirmed, provided the conditions for their confirmation are met.

The documents will be issued to the customer of the current own company.

Selecting one of the subordinate documents of the sales order makes available the field for the mirror document on the side for the creation of subordinate documents of the purchase order (in the left part)

Create documents for the company

Selection of the multi company (own company) that will be the business partner.

Purchase order

 

Book of purchase

Selection of the book in which the purchase order is to be created.

Form of order, Payment method, Method of transport, Shipping method,

Cost centre, Contract code

Values with which the document will be created. If not filled in, the values are filled in according to the supplier settings. If they are not filled in on the supplier card, dashes are filled in.

Next document field

In the table for other document fields, other fields of the purchase order document can be selected with the Ins key and a value can be set for them, or, if the Copy value from original document field is selected on the form that appears after pressing the Ins key, the value from the field of the same name of the purchase order is filled in.

Create invoice in

Create receipt card

Create delivery confirmation

When these fields are selected, the specific subordinate document is then also created for the created purchase order. If the Confirm field is also selected, these documents are also confirmed.

Note: The fields for subordinate documents of the purchase order (Create invoice in, Create receipt card and Create delivery confirmation) become available only when the field for the mirror document is selected in the right part for sales orders. For example, Create invoice in becomes available only if the Create invoice out field is selected in the right part.

Note: If the Create receipt card field is selected, a form for selecting the warehouse for the receipt card is displayed after the function is run.

Sales order

 

Book of sale

Selection of the book in which the sales order is to be created.

Form of order, Payment method, Method of transport, Shipping method,

Cost centre, Contract code

Values with which the document will be created. If not filled in, the values are filled in according to the customer settings. If they are not filled in on the customer card, dashes are filled in.

Next document field

In the table for other document fields, other fields of the purchase order document can be selected with the Ins key and a value can be set for them, or, if the Copy value from original document field is selected on the form that appears after pressing the Ins key, the value from the field of the same name of the sales order is filled in.

Transfer within items

For the description, see the configuration of invoices in.

Create invoice out

Create release note

Create delivery note

When these fields are selected, the specific subordinate document is then also created for the created sales order. If the Confirm field is also selected, these documents are also confirmed.

Note: If the Create release note field is selected, a form for selecting the warehouse for the release note is displayed after the function is run.

Configuration for the Purchase Order Document

The principle of entering the configuration is the same as for invoices in.

pic_7511

Picture: Configuration (Documents tab) for purchase orders for transfer between companies

Book Contents

Book Index

Transfer of Documents from Invoices In

A typical situation for which the Transfer of documents function that can be run on invoices in is intended is a situation where we receive an invoice from a supplier containing items, some of which need to be re-invoiced to other multi companies (own companies).

In the Invoices In book, the Transfer documents to another own company function is then available in the ribbon on the Function tab. After pressing it, a list of already configured settings is displayed (see the previous chapter), or after pressing the Administration option, a new configuration can be created in the Administration: Configuration of intra-company document creation book. There can be several configurations (e.g. for car leasing, phones, etc.). If there are several multi companies between which we will transfer documents, a configuration must be created for each multi company.

Example:

Every month, the multi company Demo Trade (see demo data) receives an invoice from a leasing company (in the demo data, it is the record Auto Leasing) from which it leases six cars. In the scheme below, it is an invoice in with 6 items. The invoice is issued to the multi company Demo Trade (Company A). Three of these items need to be re-invoiced to the multi company Demo Bike Olomouc (Company B) and two items need to be handled with another multi company (Company C).

pic_7445

Picture: Scheme of the business case for an invoice in.

If this function were not available, the user would have to create (manually or with a special function) an invoice out (or also a sales order) in the selected sales series of the multi company Demo Trade, where the customer would be Demo Bike Olomouc. In the items of the invoice out document, the user would insert items corresponding to the three items (cars) that belong to Demo Bike Olomouc from the received invoice in from the supplier Auto Leasing. The user would then switch to the multi company Demo Bike Olomouc and issue a mirror invoice in there (or also with a purchase order), where the supplier would be Demo Trade. The user would have to ensure that the values of the analytical axes, or other fields including prices, are correct. The user would have to apply a similar procedure to other items of the invoice from the supplier of leasing services that are intended for other multi companies. And the situation would repeat every month.

When the Transfer of Documents between Companies function is used, in this case it is enough to configure two settings for two own companies (own company B and own company C). After entering the invoice in from the supplier Auto Leasing, we mark (with an asterisk) on the Items tab the items that we want to re-invoice with company B (Demo Bike Olomouc). Then the appropriate configuration intended for multi company B must be run from the ribbon on the Function tab. Next, the other items intended for multi company C must be marked and the configuration intended for multi company C must be run for this multi company.

pic_7449

Picture: We run the selected configuration on the marked items of the invoice in

The items of the invoice in from the supplier represent individual cars. In our case, the car leasing service is represented by an article card with the general name Car leasing, which has the Do not show article names field selected on the article card. In the items, in the Device and Officer fields, we select a record that specifies the car and its owner. Since the article card has the "Do not show article names" flag selected, we can specify the item name in more detail in the Description field of the invoice item. Note: Selecting the flag on the article card is not a prerequisite for correct functioning; however, if it is selected, then when the follow-up documents are created (i.e. the invoice out (or also the sales order) for own company A (Demo Trade) and then the invoice in (or the purchase order) for own company B (Demo Bike Olomouc)), the values from the Description field are transferred to these documents. For the analytical axes, we will transfer the Officer and Device axes. These fields must be set in the configuration

After the configuration is run, an invoice out is created according to the settings for the customer, which will be the selected multi company (in this case company B represented by Demo Bike Olomouc), and it will have the items that were marked with an asterisk in the original invoice in. If set in the configuration, a sales order is also created for the invoice out. At the same time, an invoice in (or also a purchase order, if set in the configuration) with the same items is issued in company B. The documents created in this way will have the mandatory fields filled in according to how these fields were set in the configuration. If they were not filled in there, the fields are filled with values according to the customer card. After the function ends, a message is displayed from which you can run information that displays a map of all created documents.

The following lines describe and show everything that happens in K2 after the configuration is run on the marked items of the input invoice in document.

1) For the marked items of the invoice in from the car leasing service supplier, the function first creates an invoice out in the book defined in the configuration. Since the Create sales order field is selected, a sales order document is also created. At the same time, it is set that the value OVA is filled into the Cost centre field and the value By transfer into the Payment method field. In the Next document field part, the Description field is selected with the option Copy value from original document, and therefore the value from the Description field of the invoice in is copied to the invoice out and the sales order.

pic_7593

Picture: Settings for the creation of the invoice out

The created invoice out will therefore be created in book 10, will have a sales order, will be created for the customer Demo Bike Olomouc, and the Cost centre and Payment method fields will contain the required value from the configuration. The value from the Description field of the source invoice in has also been copied.

pic_7594

Picture: Invoice out for Demo Bike created by the Transfer of documents function.

2) In the next step, an invoice in is created in the selected purchase book as a mirror image of the invoice out created in the first step in multi company B (in this case Demo trade Olomouc). According to the settings (see the picture FAP configuration), the invoice in is issued in the EN book, which belongs to the multi company Demo Bike Olomouc; the selected values of the analytical axes on the items are transferred from the invoice out created in the previous step, the Cost centre field is filled with the value Shop, the value of the Description field is copied and the External number field is filled with the value from the Reference number field of the invoice out created in the first step; and since the field for creating a purchase order is selected, this document is created as well.

pic_7602

Picture: IIN configuration

pic_7604

Picture: IIN created according to the configuration settings

You can intervene in the documents created by the function; however, any change to the items of invoices in will not affect the items of invoices out and vice versa.

Book Contents

Book Index

Transfer of documents from sales orders

A typical case for running the function on sales orders is when customer X orders articles. In our own company A, a sales order with items is created (in the scheme below it is the SO marked in red). To be able to handle the sales order successfully, some of the items need to be ordered from another own company (multi company).

Example:

Various customers buy sports equipment in multi company A (in the demo data, this is the multi company Demo Trade). Some of these items are manufactured or available in stock by the multi company Demo bike Olomouc. Therefore, these items need to be handled commercially with this own company, i.e. purchased from this company and moved, in terms of availability, to the warehouse of the multi company Demo Trade.

Without this function, the user would issue a purchase order for the selected items in multi company A. Own company B would be selected as the supplier in that purchase order (in the scheme it is PO = B). The user would switch to multi company B, where a sales order would be created with own company A as the customer (SO = A). The sales order items would correspond to the purchase order items. Subordinate documents, such as an invoice out and a release note (RN = A and IO = A), would subsequently be created for this sales order. After these documents were issued, corresponding subordinate documents such as an invoice in or a receipt card (RC = B and II = B) would be created for the purchase order.

pic_7420

Picture: Scheme of a business case for a sales order

The Document transfer function makes it possible to automate the procedure described above and thus issue all the required steps according to the configuration settings.

The Transfer documents to another own company function is available on the sales order document in the Function section of the ribbon. After pressing the function, the Administration option is displayed, followed by any configurations already defined. If we select the Administration option, a form is displayed in which we create the configuration. If there are several multi companies between which we will transfer documents, a configuration must be created for each multi company.

If there is a sales order for an external customer, we select in the sales order items those items that we then want to handle with another multi company. After the selected configuration is run, the document transfer function starts.

pic_7633

Picture: Running the function on a sales order for an external customer with selected items

pic_7655

Picture: Some analytical codes filled in on a sales order item

The following text describes the steps that the function performs one after another.

1) According to the configuration settings, the purchase book is selected in which the purchase order is to be created, issued to multi company B (i.e. the own company from which we need to obtain the selected items). The purchase order will contain only the items selected on the input sales order. The values of the analytical axes are also transferred to the items if set in the configuration. The values of the mandatory fields are set in the purchase order header according to the configuration settings. If other fields were also selected in the Next document field section, the values of these fields would also be filled in according to the settings.

pic_7634

Picture: Configuration for creating a purchase order

pic_7635

Picture: Order created by the document transfer function (highlighted values filled in according to the configuration)

pic_7656

Picture: Transferred values of analytical axes from the original sales order item

2) In the next phase, a sales order is issued in multi company B as a response to the purchase order issued in the previous step. The sales order is issued in the selected sales book according to the configuration settings. The customer of this sales order will be multi company A (i.e. the company that issued / sent the order - in the demo data, this is the own company Demo Trade). The mandatory fields of the sales order are filled in with values according to the configuration settings. If not filled in there, values from the purchase order preceding this sales order are used. If not filled in there either, default values are used. If set in the configuration, the values of the analytical axes are transferred to the items according to the values from the purchase order items. If the creation of subordinate documents of the sales order is checked, the sales order items will also be on these documents. The created documents can also be confirmed if set in the configuration.

pic_7636

Picture: Configuration for creating a sales order

pic_7637

Picture: Sales order created according to the configuration

The created sales order is in the ES book, the customer is multi company A (Demo Trade), the header shows that all items are on a confirmed invoice out and a confirmed delivery note, and the Cost centre field contains the value FM according to the configuration settings. Since no value for the sales order was set in the configuration for the Contract code field, this field was filled in according to the value of the field of the same name on the purchase order (see the previous step). A similar principle was applied to the fields Form of order, Method of transport, Payment method and Shipping method.

pic_7641

Picture: Created confirmed invoice out for the sales order

The created, confirmed invoice out for the sales order according to the configuration. Highlighted in orange are the same values of mandatory fields and header analytical axes as on the sales order.

3) Since the configuration was set to create subordinate delivery note and invoice out documents for the sales order, and the configuration was also set to create unconfirmed invoice in documents for the purchase order (in which the External number field is to be filled in with the variable symbol of the invoice out created in step two) and an unconfirmed delivery confirmation document, these subordinate documents are created in this step for the purchase order created in step one.

pic_7639

Picture: Configuration of creating subordinate documents for a purchase order

pic_7640

Picture: Unconfirmed invoice in for a purchase order with the External number field filled in according to the configuration settings

The created invoice has the order created in the first step in the Purchase order field. The External number field contains the number of the invoice out from the second step according to the "invoice out number" value of the Invoice external number field from the configuration. Highlighted in orange are the values of mandatory fields and analytical axes according to the purchase order settings, which the subordinate documents take over.

Book Contents

Book Index

Transfer of documents from purchase orders

A typical case may be a situation where a purchase order to another multi company is created as a result of the Handling of requirements function (ordering tool).

Example:

For example, the Handling of requirements function creates a purchase order containing items that need to be obtained from another own company (multi company). On this order, we select the items we want to obtain from the other multi company (if no item is selected, all items are transferred to the sales order created in the second multi company), and the document transfer function creates a sales order in the book set in the configuration, with the values of mandatory fields also according to the configuration. If set, subordinate documents for the sales order would also be created.

pic_7667

Picture: Scheme of document transfer for a PO

The Document transfer function makes it possible to automate the procedure described above and thus issue all the required steps according to the configuration settings.

The Transfer documents to another own company function is available on the purchase order document in the Function section of the ribbon. After pressing the function, the Administration option is displayed, followed by any configurations already defined. If we select the Administration option, a form is displayed in which we create the configuration. If there are several multi companies between which we will transfer documents, a configuration must be created for each multi company.

If there is a purchase order for a multi company, we select in the order items those items (or select none, in which case all items are taken) that we then want to handle with another multi company. After the selected configuration is run, the document transfer function starts.

pic_7668

Picture: Running the function on a purchase order for another multi company (Demo Bike Olomouc)

The following text describes the steps that the function performs one after another.

According to the configuration settings, the sales book is selected in which the sales order is to be created, issued for multi company B (i.e. the own company from which we need to obtain the items). The sales order will contain only the items selected on the input document, or all items as in the order if none of the items is selected. The values of the analytical axes are transferred to the items if checked in the configuration. The values of the mandatory fields are set in the sales order header according to the configuration settings. If other fields were also selected in the Next document field section, the values of these fields would also be filled in according to the settings.

pic_7669

Picture: Configuration for document transfer

The system therefore creates a sales order document in the company Demo Bike Olomouc, in the ES book, sets the values from the configuration in the mandatory fields and transfers the values of the analytical axes from the items to the sales order created in this way. At the same time, unconfirmed invoice out and delivery note documents are created for this sales order.

pic_7670

Picture: Sales order created by the document transfer function from a PO

Book Contents

Book Index

Transfer of documents from invoices out

A typical case of using the document transfer function on invoice out documents may be a situation where one own company (multi company) handles asset management or other services for other own companies as well.

The Document transfer function makes it possible to automate the procedure described above and thus issue all the required steps according to the configuration settings, for one or more documents at once.

The Transfer documents to another own company function is available on the invoice out document in the Function section of the ribbon. After pressing the function, the Administration option is displayed, followed by any configurations already defined. If we select the Administration option, a form is displayed in which we create the configuration. If there are several multi companies between which we will transfer documents, a configuration must be created for each multi company.

If there is an invoice out for multi company B (in the demo data, the customer is the company Demo Bike Olomouc), we select in the invoice out items those items (or select none, in which case all items are taken) that we then want to re-invoice to another multi company. After the selected configuration is run, the document transfer function starts.

With this type of transfer, it can be expected that the entire document (i.e. all items at once) will be transferred, and it can also be expected that the Customer field will contain a record corresponding to an own company, or it must be a record that does not correspond to an own company but has, in the Parent co. field, a record corresponding to the own company to which the transfer is to be made (i.e. it is a branch). This results in some restrictions and, on the other hand, also some possibilities. As for the restrictions, there are built-in checks that prevent the function from being used if the Customer field contains a record that does not correspond to the own company (or is not a branch) to which the document should be transferred. If the invoice out has a manually modified recapitulation, the tax recapitulation from the invoice out is transferred when the invoice in is created.

On the other hand, there may be several invoice out documents to be transferred to another own company at the same time, so for this case it is also possible to run the document transfer for several records at once. This is the Transfer documents to another multicompany function available in the ribbon on the Bulk actions/Other tab. The principle of running this bulk action is that you select the invoice out document records to be transferred in bulk (or it is enough to have them in the container) and after running the Transfer documents to another multicompany function with the selected configuration from the Bulk actions/Other tab, these records are transferred in bulk to the other own company. Each invoice out document results in a new document in the own company. If the set of documents intended for transfer contained documents from several customers, only those in which the customer matches the own company value from the configuration would be transferred. The other records will not be transferred and will be displayed in the error log.

pic_7671

Picture: Scheme of a possible use of the function for an invoice out document

Example:

Multi company A (in the demo data, the company Demo Trade) issues invoice out documents for another multi company (in the demo data, for the company Demo Bike Olomouc), in which it handles various services with this company, such as rent. The document transfer function is run on the selected documents that we want to re-invoice to the other multi company. An invoice in is created in the book set in the configuration, with the values of mandatory fields also according to the configuration. If set, a superior purchase order document can also be created for this invoice in, either as a new document, or the invoice in can be paired with an existing purchase order document.

pic_8208

Picture: Running the Transfer documents to another multicompany function for records from the container

If the bulk action were run for records whose customer is different from the own company from the configuration, an error log is displayed.

pic_8209

Picture: Error protocol for the case where one of the documents could not be transferred because the target own company does not correspond to the record in the Customer field of one of the invoices out

Book Contents

Book Index

Tips

Book Contents

Book Index

Repeated transfer of an item

If an item was transferred unintentionally, it is possible to ensure that this item can be transferred again. Each item that has already been transferred has a tick symbol in the Transfer exists column (the IsCrossCompanyTransferedCalc column is not among the default columns). If this item is deleted in the sales documents and purchase documents created by the transfer, the symbol disappears and the item can be transferred again. If the configuration creates both sales and purchase documents and the item was deleted in only one part, the tick symbol does not disappear and the item cannot be transferred again.

pic_8084

Picture: Transfer exists column on the items of the input document

Book Contents

Book Index

Transfer of a printed invoice out to attachments

If the function is run on an invoice in, so that an invoice out is to be created in the same company and an invoice in is also to be created in another own company, the user in that other own company may not have the right to see the own company in which the functionality was run and where the invoice out was created first. At the same time, auditors or the tax office may require that the invoice out from which the invoice in was created be documented.

This situation can be solved by setting the Report classification for printing the invoice out (report GUID) field and also the IO attachment (document type) fields for both received and issued advances. By setting these parameters, we ensure that after the invoice out is created, the invoice out report is run, then exported to pdf and, according to the settings of the IO attachment (document type) parameters, attached according to the set type both to the invoice out and to the invoice in created by this functionality.

As already mentioned in the chapter describing the configuration, the report GUID must be entered in the Report classification for printing the invoice out (report GUID) field. This field is located in the Scripts and reports book. By default, it is not among the columns and the GUID column must be added.

In the Invoices out book, we open the Scripts and reports book and press the Table button to get to the state in which we can add columns.

pic_8197

Picture: Scripts and reports book with the Table button

We add the GUID column in the standard way.

pic_8198

Picture: Adding the GUID column

On the report record that is to print the invoice out report, we place the mouse in the Identifier (GUID) column and press Ctrl + c, and then paste the copied GUID value into the Report classification for printing the invoice out (report GUID) field with Ctrl + v.

pic_8199

Picture: Report record and copying the value of the report identifier (GUID)

Pasting with Ctrl + v into the Report classification for printing the invoice out (report GUID) field in the configuration.

pic_8200

Picture: Inserting the report identifier (GUID) into the configuration