Commercial Consignments
The Commercial Consignments module is used to keep records of packages, consignments and collections carried out by public carriers (e.g. PPL, DHL) or by other means, e.g. internally within the company.
Books of shipment services
In the Books of shipment services, we set up the records of individual books for consignments and collections.

Picture: Books of shipment services book
A description of working with books and the principles of their settings can be found in the chapter Administrator / Administration of books.

Picture: Books of shipment services - Book detail tab
Default setting

Picture: Books of shipment services - Default setting
Description of fields:
Branch |
Branch of the own company. The address of the selected branch will be filled in as the sender's address when creating consignments in this book. |
Shipment collections - only consignments with the same carrier |
Yes: Only consignments with the same carrier as the one entered on the collection can be put on the collection. No: Consistency between the carrier of the collection and the carrier of the consignment is not checked. |
We put the required consignment services from the Consignment services book into the Define services table. When creating codes for consignments (packages), the system then looks among these services for a suitable service for numbering. A new item (service) is inserted in Change mode using the Insert key.
Consignment services
The Consignment services book is used to set up your own numbering of consignments or packages. Numbering here means setting the number assigned by the carrier for the combination Country - Method of transport - Payment method. It is for this very combination that carriers in many cases provide numbering intervals. In cases where the numbering interval is not assigned to a particular country, method of transport or payment method (it is general or reflects only some of the elements), the consignment service can be set up so that the relevant element is not taken into account when searching for a suitable service for numbering consignments. This is done as follows:
- leave the Country field empty;
- enter "-" (a dash) in the Method of transport field;
- enter "-" (a dash) in the Payment method field.
The assigned number consists of a fixed part (the so-called prefix) and a changing part, which takes a new value with each consignment.
The record created in this book must then be assigned to a specific Book of shipment services in which the consignments will be recorded. We assign the created service to a specific defined book on the 3-Define services tab. When creating codes for a consignment (packages), a suitable service for numbering is then searched for among the services assigned to the given book (see the rule of the Country - Method of transport - Payment method combination above).
If we no longer wish to use the given service, we can confirm the given record or delete it from the Book of shipment services.

Picture: Consignment services book
Basic data
The Basic data tab contains all the data necessary for the correct setting of the numbering of consignments or packages. The user always uses the information and values assigned by the specific carrier.

Picture: Consignment services - Basic data
Description of fields:
Type of letter |
The type determines whether consignments or packages will be numbered. The setting depends on the numbering methodology of the relevant transport company - see the chapters subordinate to the chapter Carriers - setting specifics. |
Carrier |
Field for selecting the carrier of consignments. We select from the Partners book. |
Method of transport |
Method of transport of the consignment. The service for numbering the consignment is searched for according to the method of transport. If we do not wish to take the method of transport into account when searching for the service, we enter "-" (a dash). |
Payment method |
Payment method of the consignment. The service for numbering the consignment is searched for according to the payment method. If we do not wish to take the payment method into account when searching for the service, we enter "-" (a dash). |
Country |
Country of the consignment (according to the address of the consignment recipient). The service for numbering the consignment is searched for according to the country. If we do not wish to take the country into account when searching for the service, we leave the field empty. |
Expiration date |
Time validity of the numbering of consignments or parcels. Warnings about the possible exhaustion of the numbering are linked to this date. |
URL for monitoring |
Web address for monitoring the current status and movement of the consignment. |
From |
Variable part of the number for numbering consignments. It is the beginning of the interval and is inserted after the fixed part of the number. |
Current |
Current consignment number in the interval set in the From To fields. |
To |
Variable part of the number for numbering consignments. This number represents the end of the interval and is inserted after the fixed part of the number. |
Prefix |
The prefix is the fixed part of the number for numbering consignments. The prefix is followed by a number representing the interval set in the From To fields. The created consignment therefore always receives a numeric code in the form Prefix + a number in the From To interval. |
Notification |
Field for setting a warning about the exhaustion of the numbering interval. The entered value determines how many numbers before the end of the interval the warning about the approaching expiration of the interval is to arrive. For this, notifications must be up and running and the Expiration of consignment numbering action must be set. Example: The interval end is 100. The current number is 90. If the warning value = 10, the user receives a notification when the code for package 91 is generated. In other words, the notification is activated at the moment when the difference between the interval end and the current number is less than the value entered in the Warning field. |
Email content |
Content of the email for the customer to whom the package is being delivered. The text entered in this field is automatically added to the confirmation email created for the customer e.g. by the Sending e-mail from collection script. The text in this field can be formatted, or set up so that values from specific consignment fields are automatically filled into the created email. If the user wants a value from a consignment field to appear in the email text, the correct name of the relevant field must be given in square brackets when entering the custom text in the Email content field. If it is necessary to access a field of the consignment in the service definition for a package, a link must be used, e.g. [ShipmentRID;ParcelCode2]. Text entered e.g. as: "Your package number [ParcelCode2] has been sent." will be filled into the email as: "Your package number 128562 has been sent." The value from the Consignment code 2 field is always filled into the text. Continuity of these fields can also be used here. If, for example, "www.ppl.cz/[ParcelCode2]" is entered in the URL for monitoring field, the URL address with the specific number of the sent package can always be filled into the text. In this case, [Service;URL] must be inserted into the prepared text. This specifies that the value from the URL for monitoring field of the Consignment services is to be filled into the text. E.g. The text entered as: "You can track the consignment at [Service;URL]." will appear in the sent email e.g. as: "You can track the consignment at www.ppl.cz/128562", if "www.ppl.cz/[ParcelCode2]" is entered in the URL for monitoring field. |
Consignments
The Consignments book is used to keep records of all sent consignments and packages. The items of consignments are individual packages. One consignment can contain several packages (articles that belong together are each packed separately, but are sent by the carrier within one consignment).

Picture: Consignments - List
Creating consignments
Consignments can be created completely manually, without an initial link to sales documents, in the standard way using the Insert key.
Consignments and packages can be created directly from sales orders or subordinate documents using the Create consignments script ("ParcelCreate.pas"). The description of the script can be found in the Script catalogue document.
Using the Ctrl+B keys, a consignment and packages can be created from the List tab in the Delivery notes book. The consignment and package are created either for the delivery note currently highlighted by the cursor, or for documents filled in the container or documents marked with an asterisk. When run over several delivery notes, the values for the consignment header are taken from the first document in order. The consignment is automatically created in the Book of shipment services according to the assignment of Consignment services in these books. The created consignment is saved automatically. If the user uses the Ctrl+B function on a delivery note that is already placed on a consignment, the system only switches to this consignment.
In the Delivery notes book, the "CFIDParcel" and "CBParcel" columns are available to the user. Two bitmaps are associated with the "CBParcel" column. If the
icon is shown in this column for a particular delivery note, this delivery note is part of a package that has already been confirmed at least once. The
icon means that this delivery note is part of a package not yet confirmed, and the
icon means that the delivery note is part of a free package. The "CFIDParcel" column always shows the number of the package on which the relevant delivery note is placed. The "BFRepackedParcel" column is also available in the delivery notes book. This column is used to identify a "repacked" package. If the delivery note is part of a repacked package, the
icon is displayed in the column. A delivery note marked in this way is part of more than one package, and these packages are in the Cancel or Unpacked status.
Confirming consignments
Double confirmation is available for records in this book. The First confirmation generates codes for the packages or for the consignment. For the user, this means that the consignment is closed, i.e. the package is packed and ready for the relevant labels to be stuck on. After the first confirmation, no more packages can be inserted into the consignment and only some fields can be edited. The first confirmation of a consignment always automatically confirms all packages (or delivery notes). Delivery notes of a confirmed consignment cannot be unconfirmed. The user can put a confirmed consignment on the required Collection. After the first confirmation, the consignment is marked with the
icon.
The user can perform the Second confirmation of a consignment only after the consignment has been placed on a Collection. The second confirmation of a consignment also occurs automatically, namely by the second confirmation of the collection. After the second confirmation, the consignment is marked with the
icon.
Note: Only a user who has the Administrator - General - Service operations right can unconfirm a package after the second confirmation. However, the user should not make any changes that would change the contents of the package. Any change made on the delivery note will not be automatically transferred to consignments or packages, and the user must make it in these modules manually. This service right serves to allow subsequent modification of invoices.
Basic data
The Basic data tab shows data relating to the entire consignment. It contains information about the sender and addressee of the consignment, information about the payment method and method of transport, and the sums of some values and prices from the individual packages of the consignment.

Picture: Consignments - Basic data
Description of fields:
Consignment |
Number, period and book of the document. |
||
Description |
Any description to distinguish the individual consignments. |
||
Carrier |
Field for selecting the carrier of the consignment. We select from the partners book. |
||
Method of transport |
Method of transport of the consignment. |
||
Shipping method |
It is used to define a specific service or product of the carrier. |
||
Payment method |
Payment method of the consignment. |
||
Kind |
Kind of consignment. We select from a predefined code list containing the carrier's basic services for specifying the consignment. This code list can be supplemented with further records at any time. The offer of service kinds is filtered according to the settings in the consignment configuration. |
||
Sent |
Name of the employee who sent the consignment. The field is a link to the list of Contact persons. When creating a consignment, the contact person set in the parameters as the Own contact person is pre-filled in this field. |
||
Sent |
Date of dispatch of the consignment. |
||
Service |
Consignment service by which the consignment is numbered and which relates to the consignment. The field cannot be edited. It is displayed in the record preview. |
||
COD |
By activating the option, we ensure that the COD value is calculated. In the case of COD, an invoice must be attached to the consignment; the COD value is then filled with the Remaining amount from this invoice. If no invoice is attached, the consignment cannot be confirmed. The option is activated automatically according to the payment method (the COD option on the Payment method record) when creating consignments using the Create consignments script or using the Ctrl+B keys from the Delivery notes book. |
||
Invoice |
Field for selecting the invoice for the consignment. It is a mandatory field if the consignment is sent cash on delivery, i.e. the COD option is activated. |
||
COD in currency |
This field shows the COD amount in the currency of the attached invoice, and the currency. |
||
Cash on delivery |
Charge for the COD service. |
||
Generate code |
After the first confirmation of the consignment, numbers are generated in the Consignment code 1 to Consignment code 4 fields, depending on the specific carrier supported by the standard. By default, the Generate code field is activated. When confirming a consignment, the program tries to find a suitable service that corresponds to the Method of transport, Payment method and Country on the consignment. If no matching service is found, the consignment is not confirmed. If the user wants to confirm a consignment without generating codes, the Generate code field must not be ticked. Generated codes can no longer be changed. |
||
Addressee, Sender |
Here the user enters the addressee and the sender of the consignment. It is possible to select from the Partners, Suppliers/Customers or Contact persons book. The Partner and Suppl./Cust. fields are interlinked. The contact person can be filled in freely without a link to the partner. When creating a consignment from sales documents, the contact person is filled in from the sales order. |
||
Address (in the Addressee section) |
When creating a consignment from delivery notes (Ctrl+B), the contact address of the consignment recipient is filled in from the delivery address entered in the document and, if it is not entered, with the basic address of the customer from the delivery note. The rules for loading the address when creating a consignment from sales orders using the Create consignments script are described in the Script catalogue document for the relevant script. The address can also be selected from the list of addresses according to the filled-in addressee using the Known addresses button (in Change mode). The address can also be filled in manually. Caution: If we change the addressee, the address does not change automatically. The required address must be selected using the Known addresses button. The Pick-up point field is used to enter the code of the pick-up point. In standard K2, it is used for consignment communication via Balíkobot. It is filled in when the consignment is created from the Pick-up point field of the free delivery address on the sales document. |
||
Phone, Email (in the Addressee section) |
Contact information of the consignment recipient. When creating a consignment from delivery notes using the Ctrl+B keys, the phone / email is transferred only if it is entered in the delivery note in the set simple delivery address. When creating a consignment using the Create consignments script, it is filled in according to the script parameter settings (detailed description in the Script catalogue document). |
||
Sender |
Definition of the sender, their address and contact information. By default, the address is loaded from the Branch entered in the Book of shipment services. The Branch office name is filled into the Name field in the address. The address can also be selected from the list of addresses according to the filled-in sender using the Known addresses button (in Change mode). The address can also be filled in manually. Caution: If we change the sender, the address does not change automatically. The required address must be selected using the Known addresses button. |
||
Contact (in the Sender section) |
Email and phone of the consignment sender. When creating a consignment using the Create consignments script, it is filled in according to the script parameter settings "EAddressTypeAbbrEmail" and "EAddressTypeAbbrPhone" from the contact information of the Branch (entered in the Book of shipment services). |
||
Other prices, bank details
|
Button for displaying fields for entering a bank account and calculating some other values of the consignment. |
||
Service price |
Price of the service used (e.g. transport price). In the standard, the field is filled only in consignment communication with PPL and with an active request for automatic filling of this field. A more detailed description can be found in the Script catalogue for the Parameter settings for communication with PPL (MyApi) script. |
||
Price |
Total value of the consignment. The field is the sum of the Gross price in the client's currency of all packages of the consignment. |
||
Declared value (Additional insurance) |
Additional insurance value - the value at which the sender values the consignment. In the standard, it is used for consignment communication via Balíkobot. The consignment is valued at this price (if non-zero) if the Additional insurance option is activated for the selected carrier at the first confirmation of the consignment (in the Balíkobot - Settings for carriers configuration script). |
||
|
|||
Bank account |
Bank account. The field is a link to the Bank accounts book, which contains a list of all our accounts at financial institutions. |
||
Codes |
Button for displaying the consignment codes (Code 1, Code 2, Officer, Cost centre, Contract code) - they allow user-defined differentiation of the consignment. |
||
Dimensions |
Consignment parameters (Weight, Length, Width, Height, Handling unit used in pallet transport). |
||
Items
The Items tab lists all items of the consignment, i.e. the individual packages.

Picture: Consignments - Items
The top Packages table is a list of all packages belonging to this consignment. The bottom table shows the articles belonging to the currently highlighted package of the consignment. This part of the form is for display only. The package items cannot be changed here in any way. Each package of the consignment represents one delivery note, i.e. the list of articles in the package are the items of a specific delivery note. If the user wants to change the package in any way, e.g. by adding an item, they must change the delivery note.
Existing packages are added to the consignment from the Packages book using the F7 key. A package can be detached from the consignment in Change mode using the Delete key.
Package statuses
Every package is always in a certain status. The value of this field changes automatically after the individual operations when working with consignments. Besides the statuses set automatically by the system, further statuses can be assigned to packages using the standard Change package status script.
Package statuses:
Open |
Default status for a newly created package. |
Wrapped |
Confirming the consignment automatically confirms the delivery note and the package status changes to Wrapped. |
Ready to send |
Status after the package is assigned to a collection. |
Controlled |
The package has been checked before the collection is sent. This status is set by the standard Check packages in the shipment collection script. |
Sent |
The package is assigned to a twice-confirmed collection. |
The following statuses can be set as needed using the Change package status script.
Delivery attempt |
Information from the carrier. Unsuccessful attempt at delivery to the customer. |
Ready for pickup |
Delivered to the pick-up point. |
Cancel |
Cancelled package (must not be assigned to any collection). Setting this status detaches the package from the delivery note, so a new package can be created from the given delivery note (and put, for example, into another consignment). |
On the way back |
The customer did not pick up the package. |
On the way back |
The package has been sent back. |
Refused to accept |
The recipient refused to accept the package (e.g. a damaged package). |
Returned |
Information from the carrier. Delivered back. |
Undelivered |
The package could not be delivered to the recipient. |
Delivered |
Information from the carrier. The customer has received the consignment. |
Unpacked |
The package has been unpacked after being delivered back. Setting this status detaches the package from the delivery note, so a new package can be created from the given delivery note (and put, for example, into another consignment). |

Picture: Package statuses
External Documents and Documents (9th Page)
On the External Documents and Documents (9th Page) tab, as in other documents of IS K2, you can insert external documents, documents or processes. A more detailed description of working with external documents is given in the chapter Basic code lists and supporting modules of K2 - External Documents and Documents..
Support of services in consignments
The services of selected transport companies valid for specific consignments can be saved in an XML field in the consignment header. This is done using special scripts, or by the user on the consignment in Change mode using the Ctrl+F7 keys.
The elements are of the Boolean type. An overview of the consignment services can be displayed by the user on the form invoked by the Ctrl+F7 keys in View mode.

Picture: Form for setting services for a consignment
Functions over Consignments
F7 |
Inserting the current consignment / marked consignments on a collection (available on the List tab). Only consignments after the first confirmation can be inserted on a collection. |
Ctrl+F7 |
Creating a new collection. The function creates a new collection and inserts all marked consignments into it. Depending on the setting of the "Collections - only consignments with the same carrier" parameter, this function creates one or more collections, separately for each carrier. Only consignments after the first confirmation can be inserted on the created collection. |
Ctrl+F7 |
Services for the consignment. When invoked in Change mode, services for the consignment can be defined / changed. When invoked in View mode , the services saved for the consignment can only be displayed. |
Collection
A collection represents a list of packages that are ready to be picked up by the carrier.

Picture: Collection - list
The items of collections are packages. Individual packages are inserted into the collection via consignments. When creating an order for the carrier to pick up packages, the operator works from the created collections. Double confirmation of records is also available to the user in the Collection book. After the first confirmation (
), no more packages can be inserted into the collection; only some fields in the document header can be entered. The first confirmation of a collection means that the packages are ready for dispatch in the shipping area and the necessary check can take place. The operator physically checks whether the articles in the shipping area correspond to the articles placed on the collection. For checking purposes, the warehouse keeper can use a report that displays and prints a list of all packages placed on the collection. The Collection check script is also available to the user for checking collections.
The Second confirmation of the collection (
) means that the package has been taken away by the shipment service. With the second confirmation of the collection, the consignment is also automatically confirmed for the second time. Over collections after the second confirmation (for some carriers and solutions also after the first confirmation), scripts for exporting data records for the carrier or scripts for ordering a collection can be run.
Basic data
Page 1 of the Collection book shows the basic data of this document. This information forms the document header and relates to the entire collection.

Picture: Collection - basic data
Description of fields:
Collection |
Book of document, period and collection number. |
Carrier |
Carrier of the consignment. We select the record from the Partners book. |
Driver |
Driver of the shipment service who picked up the consignment. The field is a link to the contact persons book. After selecting the relevant contact person, the partner of this person is automatically filled in the Carrier field. |
Date from |
The date from which the collection can be taken away by the transport company. |
Date to |
The date until which the collection can be taken away by the transport company. |
Description |
User description of the document. |
Items
The Items tab displays all items of the collection. Physically, it is a list of all attached packages.

Picture: Collection - items
Packages are assigned to the collection via consignments, from the Consignments book using the F7 key. Existing packages can be removed from the collection in Change mode using the Delete key.
External Documents and Documents (9th Page)
On the External Documents and Documents (9th Page) tab, as in other documents of IS K2, you can insert external documents, documents or processes. A more detailed description of working with external documents is given in the chapter Basic code lists and supporting modules of K2 - External Documents and Documents.
Packages
The Packages book is a list of all created packages.

Picture: Packages - list
In this book, the user can create so-called free packages (i.e. packages without a consignment) and then attach them individually or in bulk to a consignment using the F7 function. Once a package is assigned to a twice-confirmed consignment, it cannot be changed.
A free package can be created in the standard way using the Insert key and then a delivery note can be assigned to it. Directly from the Delivery notes book, a free package can be created for the current delivery note on the List tab using the Shift+B keys. If the user uses the Shift+B keys on a delivery note that is already placed on a free package, the system only switches to this package.
Once a numbering service is assigned to a package, it will not be possible to change the consignment codes. To change a code or the delivery note, the user must CANCEL the package, create a new package and generate or type in new codes.
In the Delivery notes book, the "CFIDParcel" and "CBParcel" columns are available to the user. The user can add these columns to page 0 of the delivery notes book. Two bitmaps are associated with the "CBParcel" column. If the
icon is shown in this column for a particular delivery note, this delivery note is part of a package that has already been confirmed at least once. The
icon means that this delivery note is part of a package not yet confirmed, and the
icon means that the delivery note is part of a free package. The "CFIDParcel" column always shows the number of the package on which the relevant delivery note is placed. The "BFRepackedParcel" column is also available in the delivery notes book. This column is used to identify a "repacked" package. If the delivery note is part of a repacked package, the
icon is displayed in the column. A delivery note marked in this way is part of more than one package, and these packages are in the Cancel or Unpacked status.
Basic data
The Basic data tab shows the basic information relating to a specific package.

Picture: Packages - basic data
Description of fields:
Delivery note |
Delivery note number of the package. |
Consignment |
Number of the consignment to which the package is assigned. |
Collection |
Number of the collection in which the package is included. |
Status |
Current status of the package. The field is filled in automatically with a value from a predefined code list of statuses when working with the consignment system. |
Weight |
Value of the package (usually used for insuring the package). This amount may differ from the actual price of the package. When a package is created from a delivery note, it is filled with the gross price of the delivery note. |
Price |
Price of the package for determining the COD amount. When a package is created from a delivery note, it is filled with the gross price of the delivery note. |
Dimensions |
Consignment parameters (Weight, Length, Width, Height, Handling unit and Number of handling units used in pallet transport). |
Service |
The service according to which the package codes are generated is filled into this field. |
Package codes |
Fields into which the package codes are generated after the consignment is confirmed, according to the service settings. |
Status for tracking |
The last status of the package according to information from the carrier. It is filled in using the Balíkobot - consignment status script and further on the basis of the user definition of status abbreviations in the Balíkobot - settings for carriers script. The status of the first package of the consignment is also displayed in the consignment - in the preview panel. The package status is also displayed in the preview panel on the linked delivery note. |
Address for tracking |
After the consignment data are sent to Balíkobot (first confirmation of the consignment), the tracking address of the package - a link to the page of the relevant carrier - is saved in each package. It is also available in the preview panel. The address from the first package of the consignment is also displayed in Consignments, but only in the preview panel. The information is also displayed for the linked delivery note, again in the preview panel. |
The Method of transport, Payment method, Customer fields and its addresses are automatically taken over from the delivery note; they cannot be edited and are displayed to the user only in the record preview panel.
The bottom part of this form lists all articles belonging to the given package.
External Documents and Documents (9th Page)
On the External Documents and Documents (9th Page) tab, as in other documents of IS K2, you can insert external documents, documents or processes. A more detailed description of working with external documents is given in the chapter Basic code lists and supporting modules of K2 - External Documents and Documents.
Consignment configuration
Part of Commercial Consignments in IS K2 is also the Consignment configuration. This configuration is intended for setting the services of individual carriers, the method of transport or the method of numbering consignments. The path to the databases provided by the carriers is also set here. After the configuration is started, the List of consignment configurations form is displayed.
Picture: List of consignment configurations form
The form lists all carriers used by the company, i.e. a list of all configurations for these individual carriers. A new item is added here using the Insert key. After pressing this key, a form with several tabs is displayed in which the configuration of the carrier's services can be performed. The same form is also displayed after pressing the Enter key on an already created record.
Configuration
The first tab Configuration is used to specify the particular carrier whose configuration the user is performing.

Picture: Basic data tab
Description of fields:
Carrier |
Field for selecting the carrier. The user selects from the partners code list, in which this carrier must be included. |
Carrier abbr. |
Abbreviation of the carrier. |
Customer Id assigned by carrier |
Number assigned to us by the carrier. It is used e.g. for access to web services. |
Customer code |
Customer code for export. |
Depot |
Field for entering the carrier's depot number (if required). |
Services
The second tab Services is used to set the services that the carrier provides and that will be used.

Picture: Services tab
A new item (service) is entered here using the Insert key. A form for specifying this service is displayed.

Picture: List of consignment configurations form
Description of fields:
Method of transport |
Field for specifying the method of transport within this service. |
Service code |
Abbreviation or service code. |
Method of numbering |
Method of numbering of the service. The codes of the consignments transported by this service will be generated according to the numbering settings of the service. This concerns in particular Consignment code 3 and Consignment code 4. It determines the algorithm by which these codes will be generated, or which database table will be used when creating these codes. This field is a link to the Method of numbering code list. |
Types of consignments
The Types of consignments tab is used to enter the carrier's services by means of which the kind of consignment can be determined or specified. We select from a predefined code list that contains the basic services of the given carrier. This code list can be supplemented with further records at any time. The kind of consignment set here can then be entered in a specific consignment of the given carrier (the Kind field on page 1 of the consignment).
Examples of consignment kinds: Czech Post - DE (Parcel to hand + guaranteed delivery time)
Code list
This tab is used to set up files with auxiliary information. These auxiliary files are used by the scripts that generate the individual consignment codes in IS K2. This concerns, for example, determining whether Depots are entered. Each item is determined by the Type and the Path to the given file. A new item is entered here using the Insert key.
Picture: Code list tab
Reports over Consignments
Package - Postal submission sheet
List of consignments
List of packages on the consignment
List of packages
List of packages in a collection
List of packages on the Geis collection (Geis handover protocol)
Czech Post label
Czech Post label 1
Czech Post label 2
DPD label
DPD label (Api)
List of packages on the DPD collection (DPD handover protocol)
Geis Parcel label (l)
Geis Cargo label (l)
Geis Parcel A4 label
PPL label
PPL A4 label (w)
PPL SmartLabel label
PPL A4,l SmartLabel label
PPL Sprint (DHL Freight) label
List of packages in a collection (completion protocol) PPL Sprint (DHL Freight)
IN TIME label (l)
Scripts, Functions
The scripts of Shipment services can be found in the Script catalogue.
Carriers - setting specifics
Some settings, or even the behaviour of the program when creating consignments, differ depending on the individual carriers for which we prepare consignments. Therefore, in the following chapters we describe or point out the specifics or differences of the program settings for the individual carriers.
In Time
The settings and behaviour of the Consignments module for the carrier In Time differ from the standard settings and behaviour in the following points:
Setting up communication with the server
Using the Parameter settings for communication with IN TIME script (ParcelExportIntimeParams.pas), we set the parameters for communication with the server of the In Time company. The script can also be used to preset the filling of services into individual consignments for individual consignment books. The description of the script is given in the chapter Parameter settings for communication with IN TIME.
Consignment services
For the In Time company, we set the Type field = "Consignment". The numbering range (the From - To fields) can be set arbitrarily, but the range must be sufficient for the number of issued consignments and packages. This numbering range is not used to generate the main code (main identification) of the consignment for the In Time company, but for internal numbering within K2 (see the Consignment / package code 1 field).
Shipment numbering
Assigning the In Time identification code to a consignment is not handled by the K2 program, but takes place in the AZ application at the carrier. As with consignments for other carriers, the code is assigned when the consignment is confirmed - at this moment K2 generates an xml file with information about the consignment and sends it to the carrier's server. The server generates the relevant code and returns it to the K2 program. The consignment is saved in the AZ application (section "My consignments", the consignment status is "Sent" = "No") and the consignment is ready for further processing. In case of a communication problem, the relevant error message is returned.
Consignment code 1: Internal sequence number within K2, given by the From/To interval defined in the Consignment services.
Consignment code 2: The main identification code of the consignment, generated on the carrier's side; it is given by the client's identification code and the sequence number from the assigned interval.
Consignment code 3: The number of packages that were processed on the consignment when the request for code generation was sent; these packages therefore already have a code assigned.
Consignment code 4: Not used.
Package code 1: Internal sequence number within K2, given by the From/To interval defined in the Consignment services.
Package code 2: The main identification code of the package, generated on the carrier's side; it is given by the client's identification code + the service letter + the sequence number from the assigned interval, and after the asterisk there is information about the number and order of the colli within the consignment (example: 4V0S00000008*001003).
Package code 3 and 4: Not used.
Confirming / unconfirming consignments
Confirming a consignment has the same meaning as for consignments for other carriers - the document is locked and a unique code is generated for the consignment. However, this code is not created by the K2 program, but by the server of the transport company (see above in the Shipment numbering section).
A consignment can be unconfirmed only if the consignment is saved in the AZ InTime application and is in the "Sent" = "No" status. It is always in this status after the consignment is confirmed (after the consignment code has been generated). However, the changes made will no longer be reflected in the record in the "AZ InTime" application after re-confirmation!
Sending data from the collection
Consignments in the "AZ InTime" application need to be put into lots. This designates them for processing by the carrier. Lots can be created from the uploaded consignments directly in the "AZ InTime" application, or in the K2 program using the Send consignments to IN TIME script (ParcelExportInTimeCompleteArticle.pas), which is run over the specific collection in which the consignments are included. The script moves the consignments in "AZ InTime" into lots (status "Sent" = "Waiting", the consignments are in the "My consignment lots" section). After the consignments are put into lots, the collection can no longer be unconfirmed in K2.
Process number: CRM013 |
Script ID number: FCRM |
File: ParcelExportInTimeParams.pas |
Script description: The script is used to save the configuration for communication with the In Time server. The parameters are filled in in the input form. The script can also be used to preset the filling of services for consignments. |
||
Address in the tree: Logistics / Shipment services / Settings and configuration / Parameter settings for communication with IN TIME |
||
Script parameters:
URL address of the AZ InTime application - ' ' Internet address of the application server that communicates with the core of the "Zásilky" application using the XML protocol. Provided by the carrier. |
User name to access AZ InTime - ' ' Login name for the AZ application; assigned by the carrier. |
Password to access AZ InTime - ' ' The password is assigned by the carrier; the client can change it later. |
Import is performed only if it is successful for all consignments - No Yes - the import to AZ InTime is performed only if it is successful for all consignments. No - the import is performed for each individual consignment. |
Enter consignment weight - No Yes - when the consignment is confirmed, a form for entering / correcting the consignment weight is displayed. The weight is saved to the package. If the consignment contains several packages, the entered value is divided by the number of packages and this average weight is saved to each package. Based on the weight, the InTime product is then determined for the consignment (it is shown on the labels and passed in the data record). |
Enter information for additional services - No Yes - when the consignment is confirmed and the consignment has additional services set that allow entering an additional note (text), a form for entering additional information for these services is displayed. The information is added to the xml file sent to the carrier's server. |
Using the Services button, the filling of services for consignments can be preset. Services are preset for individual Books of shipment services. On saving, the file "InTimeAdditionalServices.xml" is created in the K2 directory (K2\SupportFiles\Parcel\Intime).
Process number: CRM013 |
Script ID number: FCRM |
File: ParcelExportInTimeCompleteArticle.pas |
Script description: The script is run over a collection and moves the consignments of the collection into batches in the "AZ InTime" application. In this way, the consignments are designated for processing by the carrier. (The script changes the consignment status in the application from "Odesláno" (Sent) = "Ne" (No) to "Odesláno" (Sent) = "Čeká" (Waiting); the consignments are moved from the "Moje zásilky" (My consignments) section to the "Moje dávky zásilek" (My consignment batches) section). |
||
Address in the tree: |
||
Script parameters:
No parameters.
DPD
Specifics and necessary settings for the DPD company.
Consignment services
For the DPD company, we set the Type field = "Package".
Configuration
For correct and complete printing of information about the consignment services on the label, the DPD services must be entered in the configuration of the DPD carrier on the Types of consignments tab, namely in the same way as they are entered in the DEMO client (the texts and descriptions given there are subsequently used on the label). The label print report always supports only the services that are entered in the DEMO client.
Setting up shipment numbering
The consignment number has 14 digits + a check digit: DDDD x y LLLLLLLL p.
The carrier should assign the client a 10-digit number formed in the example by the characters "x y LLLLLLLL". However, if the carrier gives the client the entire 14-digit number, the first 4 digits must be ignored when entering the number series into K2. (The first four letters DDDD are the numeric identification of the collection depot. K2 determines this by itself according to the address; it is not entered anywhere.) We therefore divide the remaining 10-digit number between the prefix and the numbering range in the Consignment service.
Czech Post
Identification of consignments by time zones (A, B)
Settings in K2:
- The "Zv_doruc_pasmo.csv" file must be copied to the K2\SupportFiles\Parcel\CP2 directory - it is part of the installation.
- If we require enforcing morning or afternoon delivery, the "DR1A" and "DR1B" records must be created in the Consignment category code list and assigned to the Czech Post record in the Consignment configuration (the 3-Types of consignments tab).
- Assign the required kind to the individual consignments (on page 1 in the Kind field).
According to the selected kind, the label is subsequently marked as follows:
- Kind DR (i.e. parcel to hand without specification of the time zone): if the locality supports afternoon delivery, then automatically with the letter B (afternoon delivery); if the locality does not support this delivery, then with the letter A (morning delivery).
- Kind DR1A (i.e. request for morning delivery): with the letter A.
- Kind DR1B (i.e. request for afternoon delivery): if the locality supports afternoon delivery, then with the letter B (afternoon delivery); if the locality does not support this delivery, then with the letter A (morning delivery).
The resulting service is written automatically to the data file (created by the Czech Post export file type N script ("ParcelCPExportN.pas").
Carriers - implementation
General implementation of shipment services
Structure of books
- Packages (1 package = 1 delivery note)
- Consignments (1 consignment contains 1 or more packages)
- Collection (1 collection consists of 1 or more consignments, but physically the items of collections are packages)
General steps of carrier implementation:
Contract – agreement with the carrier
- negotiating the conditions, agreement on services
- obtaining identification and login data
- obtaining numeric intervals of codes, if applicable
Setting up data in K2
- Create a Supplier/Customer card and a Partner card for the carrier
- Create a Branch with our address for the partner representing our own company
- Create Payment methods
- Create Methods of transport identifying the given carrier or the products used
- In the Consignment configuration, set up the given carrier according to the specifics described for each carrier
- Create records for consignment numbering in the Consignment services book
- If necessary, create a document book (books) for consignments
- Assign the consignment service records to the document books
- Perform any additional settings of the consignment communication (the functions are in the tree menu)
Verification process
Once all the settings are done, we can start creating data (consignments). Before live operation (communication) is started, most carriers require a verification process in which data and labels should be sent for all combinations that may occur (products, services, single-package and multi-package consignments, all payment methods).
Working with consignments
1. Creating consignments
- Using the Create consignments script (ParcelCreate.pas) over a sales order
- creates a consignment and packages + delivery notes
- Using the Ctrl+B keys over delivery notes
- creates a consignment and a package
- Using the Shift+B keys over delivery notes
- creates a free package (without a consignment)
2. Confirming consignments
- the first confirmation ensures that codes are generated
3. Printing labels
- labels can be printed over consignments that have at least the first confirmation
4. Putting consignments into Collections and sending data to the carrier, or ordering a collection
Support of additional services
The services of individual transport companies valid for specific consignments can be saved in an XML field in the consignment header. This is done using special scripts, or by the user using the Ctrl+F7 keys on page 1 of the consignment in Change mode.
An overview of the consignment services can be displayed by the user on the form invoked by the Ctrl+F7 keys on page 0 or page 1 in View mode.
There is no support for services in sales – this means that a sales order (e.g. from an e-shop) does not contain information about the services relating to it. In the standard, services can be added only after the consignment has been created.
In current versions, services for Geis parcel, Geis cargo and In Time are supported in the standard.
The solution for the COD - Cash on delivery service is universal for all transport companies. This service is handled by the COD option in the consignment header – it is preset automatically based on the COD option in the Payment method record.
DPD implementation (via API)
Contract – agreement - with the carrier
- we are assigned a login name and password for the DPD application
- if we are also assigned numbering, it is for information only; we do not work with it further
Setting up data in K2
- Creating records in the basic code lists
- Create a Supplier/Customer card and a Partner card for the carrier
- Create a Branch with the address of our company for the partner representing our own company
- Create Payment methods
- Create a Method of transport for DPD
- Consignment configuration - set up the configuration for the given carrier
- Page 1
- Carrier: Assign the DPD partner record from the Partners book
- Customer Id assigned by carrier: not filled in, it is set in the configuration script, see below
- Customer code: not filled in
- Depot: not filled in, it is set in the configuration script, see below
- Page 2 - Services
- To the method of transport (methods of transport) for DPD, we assign the "DPDApi" numbering (a system record)
- Page 3 – Types of consignments
- For correct and complete printing of information about the consignment services on the label, those DPD services that we want to use must be entered in the configuration of the DPD carrier on the Types of consignments tab, namely as shown in the list below (the texts and descriptions given here are subsequently used on the label). (Note: for a specific consignment, we then select the service in the Kind field on the first page of the consignment.)
Abbreviation |
Name |
Description |
101 |
D |
|
109 |
D-COD |
Cash on delivery / C.O.D. |
113 |
D–SWAP |
Exchange / swap |
155 |
PM2 |
DPD 18:00 / DPD GUARANTEE |
161 |
PM2-COD |
DPD 18:00 cash on delivery / DPD GUARANTEE C.O.D. |
164 |
PM2–SWAP |
DPD 18:00 exchange / swap |
179 |
AM1 |
DPD 10:00 |
191 |
AM1-COD |
DPD 10:00 cash on delivery / C.O.D. |
197 |
AM1–SWAP |
DPD 10:00 exchange / swap |
225 |
AM2 |
DPD 12:00 |
237 |
AM2-COD |
DPD 12:00 cash on delivery / C.O.D. |
243 |
AM2–SWAP |
DPD 12:00 exchange / swap |
302 |
IE2 |
DPD EXPRESS |
327 |
D-B2C |
PRIVATE ADDRESS / B2C |
329 |
D-B2C-COD |
PRIVATE ADDRESS / B2C - C.O.D. |
337 |
D–B2C–PSD |
DPD PARCEL SHOP |
341 |
D–B2C–COD–PSD |
DPD PARCEL SHOP cash on delivery / COD |
365 |
D–TYRE |
PNEU |
367 |
D–TYRE–COD |
TYRE cash on delivery / COD |
827 |
D–SWAP–B2C |
PRIVATE ADDRESS / B2C exchange / swap |
835 |
D–SWAP–COD–B2C |
PRIVATE ADDRESS cash on delivery exchange / swap COD |
839 |
D-EVE |
EVENING DELIVERY 17:00-20:00 |
841 |
D-COD-EVE |
EVENING DELIVERY 17:00-20:00 CASH ON DELIVERY |
Note: When using services 337 and 341 (DPD Parcel Shop), a pick-up point can be entered on the consignment (the Pick-up point field), which is then passed on as the recipient's address.
- Page 4 - Code list
- We do not set
- Consignment services - we create one or more records for numbering packages, depending on how the carrier distinguishes (assigns) numbering intervals. The basic principle of package numbering is that the consignment service is searched for based on a match of the fields Country - Method of transport - Payment method. In cases where the numbering interval is not assigned for a specific country, method of transport or payment method, the consignment service entry can be set so that the respective element is not taken into account when searching for a suitable service for consignment numbering. This is done as follows:
- leave the Country field empty;
- enter "-" (a dash) in the Method of transport field;
- enter "-" (a dash) in the Payment method field.
For DPD, we set the Type field to "Package". The numbering range (the From - To fields) can be set arbitrarily, but the range must be sufficient for the number of issued consignments and packages. This numbering range is used only for internal numbering within K2. The main package code is generated by the DPD server.
- Assigning the consignment service to the Book of shipment services - if we have not yet created document books, it is necessary to create a book (books) for consignments. Consignments are recorded in Books of shipment services. A record from the Branches book representing our own company (or rather the place with the address from which consignments from this book will be sent) must be inserted into the consignment book. The address of this branch is then filled in as the sender's address in consignments and on the label. On the Define services tab, we assign the numbering records from the Consignment services book that can be used in the given book.
- Additional settings of communication with the carrier and consignment behaviour - using the Parameter settings for communication with DPD script (ParcelDPDGeoApiParams.pas, located in the tree menu under Logistics / Shipment services / Settings and configuration), we set the parameters for communication with the DPD server and the properties of the consignment communication.
- Mandatory settings:
- Login for access to DPD app
- Password to access DPD app
- Customer Id assigned by carrier (generated based on the login)
- Collection depot (The identification number of the collection depot according to the contract with the carrier must be entered in the field. The list of collection depots can be displayed using the Collection depot button - and the selected value from the "Customer AddressId" column is then copied into the field.)
- Payment methods for cash on delivery in cash
- Payment methods for cash on delivery by payment card
- Other settings:
- Print K2 label: if we do not wish to print the label sent automatically via the API method at the first confirmation of the consignment, we activate this option. The user then prints the label separately using the prepared print report.
- Printing labels section: applies to the settings for displaying or printing the label sent via the DPD API (the fields are available when the Print K2 label option is turned off):
- we want to display the label in the default PDF viewer: leave the Command line to start printing field and the Command line parameters for printing field empty;
- we want to display the label in a defined PDF viewer: in the Command line to start printing field, enter a reference to the executable file of the PDF program in which the labels are to be displayed (e.g.: C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe) and in the Command line parameters for printing field, enter the characters "%s";
- we want to print the label: in the Command line to start printing field, enter a reference to the executable file of the PDF program used to load the labels (e.g.: C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe) and in the Command line parameters for printing field, enter the command for sending the label print from the given PDF program to the printer. This command differs depending on the PDF viewer. (Example for PDF Viewer: /printto :\\ANUP.k2.int\M452nw_5p: "%s"; example for Acrobat Reader: /t "%s" :\\ANUP.k2.int\M452nw_5p:). Wildcards can also be used in the printer name, e.g.: /printto :\\ANUP.k2.int\M452*: "%s".
Verification process and creation of consignments
Once all the settings have been made, we can start creating data (consignments). Before live operation (communication) is launched, most carriers require a verification process in which data and labels should be sent for all combinations that may occur (products, services, single-package and multi-package consignments, all payment methods, etc.).
- Creating consignments
- Using the Create consignments script (ParcelCreate.pas) over a sales order
- creates a consignment and packages + delivery notes
- Using the Ctrl+B keys over delivery notes
- creates a consignment and a package
- Using the Shift+B keys over delivery notes
- creates a free package (without a consignment)
- Confirmation of consignments - the DPD identification code is assigned to the consignment at its first confirmation - at this moment, K2 generates an xml file with information about the consignment and sends it to the carrier's server. The server generates the corresponding code and returns it to K2. At this moment, the consignment is saved on the DPD server and is ready for further processing by the carrier. (Caution: if we use K2 label printing, the consignments are saved on the DPD side, but they are not registered as valid for pick-up! See the collections topic below.) When the first confirmation of the consignment is cancelled, the consignment is automatically deleted from the DPD server, and the package codes on the documents in K2 are deleted as well. After the document is confirmed again, new package codes are generated (and new labels need to be printed).
- Printing labels - if we print labels by K2 itself (the Print K2 label option in the settings of the Parameter settings for communication with DPD script), we use the DPD Api label report (ParcelDPDLabelApi.am) to print labels. Otherwise, the label is displayed or printed automatically after the first confirmation of the consignment, and it can subsequently be displayed / printed using the DPD - Labels script (ParcelDPDGeoApiPrintLabels.pas). Note: When a label is printed, the file with routing codes is checked for being up to date and a new one is downloaded if necessary. The file is saved in the K2\SupportFiles\Parcel\Dpd directory.
- Including consignments in Collections, ordering a collection and registering labels - ordering collections electronically is not mandatory, it depends on the contract with the carrier - the collection of packages can be agreed contractually, for example, on a daily basis.
- If we do not order collections and we use labels via the DPD API for printing, it is not even necessary to create collections.
- If we do not order collections and we use K2 labels, the labels must be registered! Therefore, in this case it is necessary to create collections. The package labels are registered over the collection using the DPD Consignment communication script with the parameter "CommandProcessId" = 6.
- If we order collections, it must be kept in mind that collections cannot be ordered for the current day. We order a collection using the DPD Consignment communication script with the parameter "CommandProcessId" = 1 (default value). The script can be run on the collection already after the first confirmation; after successful communication with the DPD server (ordering the collection), the second confirmation of the collection is performed automatically. (If the user performs the second confirmation of the collection manually, they can also run the script.) When the collection is confirmed, the labels of the submitted consignments are also registered automatically.
Implementation of DPD via API 2
Support for the original DPD API will last until the end of 2026. After that, this solution must be replaced by the new API, which is already implemented in IS K2. The settings are very similar. In the Consignment configuration module, a service must be created for the DPD carrier, and here the DPDApi2 numbering (system record) must be assigned to the method of transport for DPD.
Further settings of communication with the carrier and consignment behaviour are then made using the Parameter settings for communication with DPD script (ParcelDPDGeoApi2SettingRun.pas). The script is located in the tree menu under Logistics / Shipment services / Settings and configuration. Here we set the parameters for communication with the DPD server and the properties of the consignment communication.
After support for the DPD API ends, communication will be handled only via the DPD API 2. Until then, both solutions will be available concurrently.
DPD implementation
Contract – agreement - with the carrier
- we are assigned a customer ID by the carrier - we use it in the Consignment configuration
- we receive a login name and password for the DPD application - these details will not need to be entered anywhere else
- it is necessary to request numeric intervals for packages and FTP login details
Setting up data in K2
- Creating records in the basic code lists
- Create a Supplier/Customer card and a Partner card for the carrier
- Create a Branch with the address of our company for the partner representing our own company
- Create Payment methods
- Create a Method of transport for DPD
- Consignment configuration - set up the configuration for the given carrier
- Page 1
- Carrier: Assign the DPD partner record from the Partners book
- Carrier abbr.: we enter "DPD"
- Customer Id assigned by carrier: we fill in the assigned number
- Customer code: not filled in
- Depot: we leave it blank
- Page 2 - Services
- We assign the "DPD" numbering (system record) to the method of transport (methods of transport) for DPD
- Page 3 – Types of consignments
- For correct and complete printing of information about the consignment services on the label, those DPD services that we want to use must be entered in the configuration of the DPD carrier on the Types of consignments tab, namely as shown in the list below (the texts and descriptions given here are subsequently used on the label). (Note: for a specific consignment, we then select the service in the Kind field on the first page of the consignment.)
Abbreviation |
Name |
Description |
101 |
D |
|
109 |
D-COD |
Cash on delivery / C.O.D. |
113 |
D–SWAP |
Exchange / swap |
155 |
PM2 |
DPD 18:00 / DPD GUARANTEE |
161 |
PM2-COD |
DPD 18:00 cash on delivery / DPD GUARANTEE C.O.D. |
164 |
PM2–SWAP |
DPD 18:00 exchange / swap |
179 |
AM1 |
DPD 10:00 |
191 |
AM1-COD |
DPD 10:00 cash on delivery / C.O.D. |
197 |
AM1–SWAP |
DPD 10:00 exchange / swap |
225 |
AM2 |
DPD 12:00 |
237 |
AM2-COD |
DPD 12:00 cash on delivery / C.O.D. |
243 |
AM2–SWAP |
DPD 12:00 exchange / swap |
302 |
IE2 |
DPD EXPRESS |
327 |
D-B2C |
PRIVATE ADDRESS / B2C |
329 |
D-B2C-COD |
PRIVATE ADDRESS / B2C - C.O.D. |
337 |
D–B2C–PSD |
DPD PARCEL SHOP |
341 |
D–B2C–COD–PSD |
DPD PARCEL SHOP cash on delivery / COD |
365 |
D–TYRE |
PNEU |
367 |
D–TYRE–COD |
TYRE cash on delivery / COD |
827 |
D–SWAP–B2C |
PRIVATE ADDRESS / B2C exchange / swap |
835 |
D–SWAP–COD–B2C |
PRIVATE ADDRESS cash on delivery exchange / swap COD |
839 |
D-EVE |
EVENING DELIVERY 17:00-20:00 |
841 |
D-COD-EVE |
EVENING DELIVERY 17:00-20:00 CASH ON DELIVERY |
- Page 4 - Code list
- it is necessary to insert links to the following files and adjust the link to them as stated here (i.e. shorten the link path):
- Type of code list = Countries, Link to file = SupportFiles\Parcel\DPD\COUNTRY
- Type of code list = Depot, Link to file = SupportFiles\Parcel\DPD\DEPOTS
- Type of code list = Services, Link to file = SupportFiles\Parcel\DPD\SERVICE.
- Consignment services - we create one or more records for numbering packages, depending on how the carrier distinguishes (assigns) numbering intervals. The basic principle of package numbering is that the consignment service is searched for based on a match of the fields Country - Method of transport - Payment method. In cases where the numbering interval is not assigned for a specific country, method of transport or payment method, the consignment service entry can be set so that the respective element is not taken into account when searching for a suitable service for consignment numbering. This is done as follows:
- leave the Country field empty;
- enter "-" (a dash) in the Method of transport field;
- enter "-" (a dash) in the Payment method field.
For DPD, we set the Type field to "Package". In the Prefix field, we enter the first four digits of the assigned numbering interval - these represent the assigned collection depot. The assigned interval without these first four digits is then entered in the From - To fields.
- Assigning the consignment service to the Book of shipment services - if we have not yet created document books, it is necessary to create a book (books) for consignments. Consignments are recorded in Books of shipment services. A record from the Branches book representing our own company (or rather the place with the address from which consignments from this book will be sent) must be inserted into the consignment book. The address of this branch is then filled in as the sender's address in consignments and on the label. On the Define services tab, we assign the numbering records from the Consignment services book that can be used in the given book.
- Settings of communication with the carrier and settings of consignment behaviour - although there will be no communication with DPD via the API, it is necessary to create a record using the Parameter settings for communication with DPD script (ParcelDPDGeoApiParams.pas, located in the tree menu under Logistics / Shipment services / Settings and configuration) and activate the Print K2 label option in it.
Verification process and creation of consignments
Once all the settings have been made, we can start creating data (consignments). Before live operation (communication) is launched, most carriers require a verification process in which data and labels should be sent for all combinations that may occur (products, services, single-package and multi-package consignments, all payment methods, etc.).
- Creating consignments
- Using the Create consignments script (ParcelCreate.pas) over a sales order
- creates a consignment and packages + delivery notes
- Using the Ctrl+B keys over delivery notes
- creates a consignment and a package
- Using the Shift+B keys over delivery notes
- creates a free package (without a consignment)
- Confirmation of consignments - the DPD identification code is assigned to the packages at the first confirmation of the consignment. The codes are generated by K2 itself; there is no communication with the DPD server.
- Printing labels - we use the DPD label report (ParcelDPDLabel.am) to print labels. Note: When a label is printed, the file with routing codes is checked for being up to date and a new one is downloaded if necessary. The file name is ROUTING_CZ_CZ_date. When the ROUTING file is updated, the current COUNTRY and DEPOTS files are downloaded as well. The files are saved in the K2\SupportFiles\Parcel\Dpd directory.
- Including consignments in Collections and sending data to the carrier - we create the data file and send it via FTP over the collection using the DPD export file script (ParcelDPDExport.pas). The script parameters are described in the Script catalogue document.
Balíkobot implementation
Why did we decide to address this functionality?
Thanks to the implementation of the Balíkobot service, the customer gains the option to send their consignments via all carriers supported by this service (currently 18 carriers and more than 150 of their services in total). The advantage of this solution is that communication takes place only with this one service, uniformly for all interfaces. Nevertheless, contracts with carriers remain at the customer - carrier level, so the negotiated terms can still be applied.
How will it work?
The customer must have an account set up with the Balíkobot service. In the client zone, they then register all carriers they want to use and, if necessary, set up other required details. In K2, there is then a new transport service of the Balíkobot type, which communicates with this service and takes care of registering the consignment and downloading labels. K2 communicates with the Balíkobot service via a uniform API interface and authenticates itself with the assigned API key. The Method of transport and Shipping method details are used to identify whether the given sales order is to be dispatched using this solution. When the given consignment is confirmed, communication with the Balíkobot API takes place. The K2 script sends the internal consignment number, and after successful registration of the consignment by the service, the API returns its own internal number, the carrier's consignment identification (for example for Track & Trace) and a link to the label.
General steps of implementing the Balíkobot service in K2
- Set up communication with Balíkobot using the Parameter settings for communication with Balikobot script.
- Create a Supplier/Customer card and a Partner card for the carrier (for user identification of consignments).
- Create a Branch with our address for the partner representing our own company (for the sender's address on labels).
- Create Payment methods.
- Create Methods of transport identifying the carriers (for example "Balíkobot ČP", "Balíkobot PPL", etc.; the abbreviation is not bound to anything, because the link to the Balíkobot service and the carrier is in the Shipment services configuration).
- Create Shipping methods identifying the carrier's services (products). The identifier of the given service must be entered in the Service code field; we fill in the service by selecting it from the list for the chosen carrier (using the
button in the field). The Description field on the Shipping method card does not need to be filled in manually, because if it is empty, the official description of the service is filled in automatically when the service is selected. Note: If return consignments (B2A) are supported in K2 for the chosen carrier in addition to standard consignments, a menu for selecting the type of consignments (standard / return) is displayed after the carrier is selected. Only then does the user select the required service (product). - in the Consignment configuration, create a record for each carrier within Balíkobot
- in the Carrier field, select the carrier record from the Partners book;
- on the Services tab, create a record for numbering (i.e. for the Method of transport identifying the given carrier, select Method of numbering = "Balikobot" (system record)) (see Picture 2);
- on the form with the numbering definition, fill in the carrier identifier in the Service code field (using the Select service code button).
- It is not necessary to create records for consignment numbering in the Consignment services book; when communicating via Balíkobot, numbering takes place outside K2. However, if we want to use a specific carrier (service) only in a specific selected Consignment book, we must create the service record according to the general rules described in the Consignment services chapter. We then include the service record in the respective Consignment book.
- If necessary, create a document book (books) for consignments.
- Set the general behaviour properties for consignment communication, set up label printing, etc., and set up the individual carriers and their services using the Balíkobot – carrier settings script (see Picture 3).
Confirming Consignments and Printing Labels
- the first confirmation sends the requests (packages) to the Balíkobot system (but not to the specific carrier) and the consignments are numbered (by Balíkobot)
- the labels for the consignment are displayed automatically
- automatic label printing can be set
- the sender details on the label (name, address) come from the specific client registration (API key)
Including consignments in Collections and ordering a collection
- Over the Collection after the first confirmation, we send a request to order the collection using the Balikobot - collection order script. This passes the package data to the respective carrier's system. This step must therefore be performed even if the client has agreed with the carrier on regular pick-up of packages without orders. The Handover protocol is displayed automatically.
- After successful communication, the second confirmation of the collection is performed.
- After the collection has been ordered (and thus the data passed to the carrier), the collection can no longer be unconfirmed.

Picture 2: Numbering settings for Czech Post in the Consignment configuration

Picture 3: Script for general settings and settings of individual carriers
Auxiliary scripts for Balikobot
- Balíkobot - Consignment check before confirmation: checks the correctness and completeness of the consignment details for the given carrier.
- Balíkobot - Package status: returns the status of the packages of the current consignment at the carrier.
- Balíkobot - Labels: returns the labels for the given consignment.
- Balíkobot - Collection order: sends a request to order a collection.
- Balíkobot - Shipping methods - services: returns the list of services for the carrier of the current consignment.
- Balíkobot - Handling units: returns the list of permitted handling units for the carrier of the current consignment.
- Balíkobot - List of packages on the collection: returns the carrier's handover protocol for the current collection; the labels for the packages on the collection can also be printed again.
- Balíkobot - Recording package statuses: returns and saves into the packages information about the package status during its delivery; the latest current status is saved in the package header.
- Balíkobot - Getting the transport price for a consignment: used to find out the transport price for the current consignment. It can also be run before the first confirmation of the consignment, i.e. before the consignment data is sent to Balíkobot. The service is supported by these carriers: Top Trans, DHL Express, TNT, FedEx.
- Balíkobot - Administrator - undo consignment confirmation without communication with Balíkobot: a service script that unconfirms a consignment without communicating with Balíkobot. It can be used to unconfirm a consignment that was confirmed without a code being generated for it by Balíkobot.
Support files for Balikobot
For consignment communication with Balíkobot to work, the K2\SupportFiles\Parcel\Balikobot directory must always contain the current support files, which are part of every K2 version.
- BalikobotCarrier.csv - list of supported carriers;
- BalikobotCarrierB2A.csv - list of supported carriers for return consignments;
- BalikobotServicesInK2.csv -- list of consignment types (standard / return consignments).
Return consignments (B2A)
- The implementation (data preparation) is the same as for standard consignments. Only when defining the service (product) on the Shipping method record, if return consignments (B2A) are supported in K2 for the chosen carrier in addition to standard consignments, a menu for selecting the type of consignments (standard / return) is displayed first after the carrier is selected, and only then does the user select the required service (product).
- If the basis for a return consignment is a sales order document with a negative item, and we create consignments using the Create consignments script, it is necessary to allow loading of negative items via a parameter ("IgnoreNegativeItems" = No).
- At the first confirmation of the consignment, the transport is ordered directly from the carrier (unlike standard consignments, return consignments are therefore not ordered over the Collection document) - consequently, return consignments do not need to be inserted into a Collection, but in that case their second confirmation cannot be performed. For this reason, return consignments cannot be unconfirmed either.
- Labels are not printed for return consignments.
- The check script Balíkobot - Consignment check before confirmation cannot be run for return consignments.
DHL (PPL Sprint) implementation
Contract – agreement - with the carrier
- we are assigned a login name and password for the PPL application
- we are assigned a customer number
- we are assigned numbering for the individual products
Setting up data in K2
- Creating records in the basic code lists
- Create a Supplier/Customer card and a Partner card for the carrier
- Create a Branch with the address of our company for the partner representing our own company
- Create Payment methods
- Create a Method of transport for the individual DHL (PPL sprint) products (DHL (PPL sprint) provides a different numbering range and a different prefix for each of its product types; in the case of DHL (PPL Sprint), these are the products "Private pallet" and "Company pallet", and it is not necessary to follow any prescribed format of the record abbreviation or description). For DHL (PPL Sprint) pallet transport, cargo items are numbered in addition to consignments. To number cargo items, a separate Method of transport with the abbreviation "PPLS Item" must be created!
- Consignment configuration - set up the configuration for the given carrier
- Page 1
- Carrier: assign the DHL partner record from the Partners book
- Customer Id assigned by carrier: fill in the assigned number (we also fill it in the script for setting up the communication, see below)
- Customer code: not filled in
- Depot: we leave it blank
- Page 2 - Services
- To the methods of transport representing the products used and to the method of transport for numbering cargo items, we assign the "PPL Sprint" numbering (system record)
- Page 3 – Types of consignments
- Not filled in
- Page 4 - Code list
- we add a record that will contain the path to the routing table file. We set the Type of code list to "Routes" and in the File field, we enter a link to the file "K2\SupportFiles\Parcel\PPL\PplRT.xml"). We shorten the link to just: "SupportFiles\Parcel\PPL\PplRT.xml". If the file is older than 1 day, it is updated automatically at the first confirmation of a consignment (i.e. when generating the consignment codes).
- Consignment services - for each product type used, we create a record with the relevant method of transport and the relevant permitted payment method, and with the Type field set to "Consignment". In the Prefix field, we fill in the first 5 digits of the assigned interval. Furthermore, we create a record for numbering items with the method of transport "PPLS Item" and the payment method "-" (unspecified payment method), and with the Type field set to "Package". In the Prefix field, we fill in the first 11 characters of the assigned interval (JD + 9 digits). If the subsequent numeric interval (10 positions) starts with zeros, we do not enter them anywhere - the program adds them itself when generating the code.
- Assigning the consignment service to the Book of shipment services - if we have not yet created document books, it is necessary to create a book (books) for consignments. Consignments are recorded in Books of shipment services. A record from the Branches book representing our own company (or rather the place with the address from which consignments from this book will be sent) must be inserted into the consignment book. The address of this branch is then filled in as the sender's address in consignments and on the label. On the Define services tab, we assign the numbering records from the Consignment services book that can be used in the given book.
- Additional setting of communication with the carrier and consignment behaviour - using the Parameter settings for communication with PPL (MyAPI) script (ParcelPPLMyApiParams.pas), we set the parameters for communication with the DHL (PPL) server (user name, password, customer number assigned by the carrier). Furthermore, the Use weight from package option can be used to determine how the weight is calculated for the individual items within DHL (PPL Sprint) consignments. The Item numbering by packages option determines whether a transport item means each delivery note item or the package (delivery note) as a whole. A more detailed description is in the Script catalogue document.
Verification process and creation of consignments
Once all the settings have been made, we can start creating data (consignments). Before live operation (communication) is launched, most carriers require a verification process in which data and labels should be sent for all combinations that may occur (products, services, single-package and multi-package consignments, all payment methods, etc.).
- Creating consignments
- Using the Create consignments script (ParcelCreate.pas) over a sales order
- creates a consignment and packages + delivery notes
- Using the Ctrl+B keys over delivery notes
- creates a consignment and a package
- Using the Shift+B keys over delivery notes
- creates a free package (without a consignment)
- Confirmation of consignments - the identification code is assigned at the first confirmation of the consignment - numbering takes place on the K2 program side. Overview of generated consignment codes:
- Package code 1: Serial number from the assigned interval for the first item of the package, without prefix. (If numbering by packages is set, the package number).
- Package code 2: Serial number from the assigned interval for the first item of the package, without prefix. (If numbering by packages is set, the package number).
- Package code 3: Prefix from the service record for item numbering.
- Package code 4: Serial number from the assigned interval for the last item of the package, without prefix. (If numbering by packages is set, the package number).
- Consignment code 1: Internal number of the consignment.
- Consignment code 2: Actual consignment code, i.e. the current number from the assigned interval for consignment numbering, including the prefix.
- Consignment code 3 and 4: Sorting code and routing of the consignment (for the label).
- Printing labels - for printing labels, we use the PPL Sprint label report (ParcellPPLSprintLabel.am).
- Assigning consignments to Collection and sending data to the carrier - we send the consignment data to the carrier using the PPL consignment communication script (ParcelPPLMyApi.pas) with the parameter "CommandProcessId" = 1 (default value). To print the handover protocol, we use the List of packages on PPL Sprint collection report (ListPackagesToCollectionPPLSprint.am) on Collection . Other functions of the PPL consignment communication script are described in the Script catalogue document.
Note: Cargo item dimensions - If the Item numbering by packages parameter is activated by the Parameter settings for communication with PPL (MyAPI) script, the fields with the package dimensions are also filled in the data sentence and on the handover protocol. The values are taken from the package header (if all dimensions are entered); otherwise from the consignment header.
PPL Parcel implementation
Contract – agreement - with the carrier
- we are assigned a login name and password for the PPL application
- we are assigned a customer number
- we are assigned numbering for the individual products
Setting up data in K2
- Creating records in the basic code lists
- Create a Supplier/Customer card and a Partner card for the carrier
- Create a Branch with the address of our company for the partner representing our own company
- Create Payment methods
- Create a Method of transport for the individual PPL products (PPL provides a different numbering range and a different prefix for each of its product types (the prefix encodes the product kind, the depot number, the distinction between cash on delivery and non-cash on delivery payment, and the use of the "Documents back" service). The record abbreviation can be arbitrary (according to the customer's needs). However, the Description field must describe the service as required by PPL (the text is taken over when printing the label):
- PPL Parcel CZ Business
- PPL Parcel CZ Private
The export package products PPL Parcel Business Europe and PPL Parcel Connect have one number series, and one method of transport with any description (e.g. Export package) can be created for them. The specific product (Business Europe vs Connect) is applied according to the recipient's country. If the given country allows both products to be used (according to the contract), the PPL Parcel Business Europe product is applied by default. However, if the PPL Parcel Connect product is to be applied, it is necessary to activate the Use PPL Parcel Connect product for the countries listed below option in the Parameter settings for communication with PPL (MyApi) script and list the codes of these countries in the field. Information about the relevant product is transferred to the data sentence and the label automatically.
If any product is used in combination with the "cash on delivery" payment method, the text "dobírka" (cash on delivery) is automatically added after the product name for the purpose of printing the label.
- Consignment configuration - set up the configuration for the given carrier
- Page 1
- Carrier: assign the PPL partner record from the Partners book
- Customer Id assigned by carrier: fill in the assigned number (we also fill it in the script for setting up the communication, see below)
- Customer code: not filled in
- Depot: we leave it blank
- Page 2 - Services
- To the methods of transport representing the products used, we assign the "PPL" numbering (system record)
- Page 3 – Types of consignments
- If we want to use the services for evening or Saturday delivery, we must create the relevant records in the Consignment category code list and then insert them on this tab. For Saturday delivery, a record with the abbreviation "SD", and for evening delivery, a record with the abbreviation "ED". The requirement for Saturday or evening delivery is then set in the consignment using the Kind field. (When printing labels and sending data, such a requirement from the consignment is evaluated, and if the recipient's zip code supports the given service, information about it is added to the label or data file.)
- Page 4 - Code list
- Not filled in.
- Consignment services - for each product type used, we create a record with the relevant method of transport and the relevant permitted payment method, and with the Type field set to "Package". In the Prefix field, we fill in the first 5 digits of the assigned interval. (Note: For the products "PPL Export package" and "PPL Parcel Connect", there is only one number series. If both products are used, the assigned interval will therefore have to be divided between these two products (service records).)
Example: We use the product type "PPL Parcel Business". We will use the payment methods "by transfer" and "cash on delivery". PPL assigns us two intervals (with a prefix) - one for "Parcel Business non-cash on delivery" and one for "Parcel Business cash on delivery". So we create a method of transport with the abbreviation e.g. "PPL Business" and a description exactly in the format "PPL Parcel CZ Business". In the Consignment configuration, on tab 2-Services, we create a record: method of transport = PPL Business, method of numbering = PPL. In Consignment services, we create two services: the first with the method of transport "PPL Business" and the payment method "By transfer", the second with the method of transport "PPL Business" and the payment method "Cash on delivery". For each service, we fill in the assigned numbering.
- Assigning the consignment service to the Book of shipment services - if we have not yet created document books, it is necessary to create a book (books) for consignments. Consignments are recorded in Books of shipment services. A record from the Branches book representing our own company (or rather the place with the address from which consignments from this book will be sent) must be inserted into the consignment book. The address of this branch is then filled in as the sender's address in consignments and on the label. On the Define services tab, we assign the numbering records from the Consignment services book that can be used in the given book.
- Additional setting of communication with the carrier and consignment behaviour - using the Parameter settings for communication with PPL (MyAPI) script (ParcelPPLMyApiParams.pas), we set the parameters for communication with the PPL server (user name, password, customer number assigned by the carrier). A more detailed description is in the Script catalogue document.
Verification process and creation of consignments
Once all the settings have been made, we can start creating data (consignments). Before live operation (communication) is launched, most carriers require a verification process in which data and labels should be sent for all combinations that may occur (products, services, single-package and multi-package consignments, all payment methods, etc.).
- Creating consignments
- Using the Create consignments script (ParcelCreate.pas) over a sales order
- creates a consignment and packages + delivery notes
- Using the Ctrl+B keys over delivery notes
- creates a consignment and a package
- Using the Shift+B keys over delivery notes
- creates a free package (without a consignment)
- Confirmation of consignments - the identification code is assigned at the first confirmation of the consignment - numbering takes place on the K2 program side. Overview of generated consignment codes:
- Package code 1: Current number for the package from the assigned interval, without prefix.
- Package code 2: Current number for the package from the assigned interval, including the prefix (11-digit number).
- Package code 3: Current number for the package from the assigned interval, including the prefix + check digit (12-digit number).
- Consignment code 2: Code 2 from the first package of the consignment.
- Printing labels - for printing labels, we use the PPL label report (ParcelPPLLabelMyApi.am) or PPL label, A4, w (ParcelPPLLabelMyApiA4.am).
- Assigning consignments to Collection and sending data to the carrier - we send the consignment data to the carrier using the PPL consignment communication script (ParcelPPLMyApi.pas) with the parameter "CommandProcessId" = 1 (default value). To print the handover protocol, we use the List of packages on PPL collection report (ListPackagesToCollectionPPL.am) on Collection . Other functions of the PPL consignment communication script are described in the Script catalogue document. Using the PPL - Ordering consignment collection script (PPLCreatePickupOrder.pas), an order for the pickup of consignments can be sent to the carrier.
Geis Cargo implementation
Contract – agreement - with the carrier
- we are assigned a customer number of up to 8 digits (also referred to as the "collection address number")
- we are assigned a consignment numbering range
Setting up data in K2
- Creating records in the basic code lists
- For the carrier, create a Supplier/Customer card and a Partner card. A comment must be added to the partner card (of any type - this type must then be referenced in the List of packages on Geis collection report) with the text:
- Transport is carried out in accordance with the General Terms and Conditions, current version, of GEIS CZ,spol. s r.o., Comp. Reg. No.: 44567359. The company is registered in the Commercial Register maintained by the Regional Court in Plzen, Section C, Insert No. 14475.
- Create a Branch with the address of our company for the partner representing our own company
- Create Payment methods (for communication with Geis Cargo, it is not necessary to distinguish payment methods, consignment numbering is uniform; payment methods will only be used for the usual business distinction - cash on delivery, by transfer, etc.)
- Create a Method of transport (e.g. Geis cargo)
- Consignment configuration - set up the configuration for the given carrier
- Page 1
- Carrier: assign the Geis Cargo partner record from the Partners book
- Customer Id assigned by carrier: not filled in
- Customer code: fill in the assigned customer number of up to 8 digits (the collection address number)
- Depot: we leave it blank
- Page 2 - Services
- To the method (methods) of transport for Geis Cargo, we assign the "Geis cargo" numbering (system record)
- Page 3 – Types of consignments
- Not filled in
- Page 4 - Code list
- Not filled in
- Consignment services - we create one or more records for consignment numbering, depending on how the carrier distinguishes (assigns) numbering intervals. For Geis Cargo, the numbering should not be divided in any way, so it should be sufficient to create a single record. The basic principle for numbering packages is that the consignment service is searched for based on a match of the Country - Method of transport - Payment method fields. In cases where the numbering interval is not assigned for a specific country or payment method, the consignment service entry can be set so that the relevant element is not taken into account when searching for a suitable service for consignment numbering. For Geis Cargo, the following setting should therefore be sufficient:
- leave the Country field empty;
- in the Method of transport field, we fill in the method of transport we created (e.g. Geis Cargo)
- enter "-" (a dash) in the Payment method field.
For Geis Cargo, we set the Type field to "Consignment". We set the numbering range (the From - To fields) according to the assigned range.
- Assigning the consignment service to the Book of shipment services - if we have not yet created document books, it is necessary to create a book (books) for consignments. Consignments are recorded in Books of shipment services. A record from the Branches book representing our own company (or rather the place with the address from which consignments from this book will be sent) must be inserted into the consignment book. The address of this branch is then filled in as the sender's address in consignments and on the label. On the Define services tab, we assign the numbering records from the Consignment services book that can be used in the given book.
- Additional setting of communication with the carrier and consignment behaviour - using the Parameter settings for communication with Geis script (ParcelGeisParams.pas), we set additional parameters for managing consignments. A more detailed description is in the Script catalogue document.
Verification process and creation of consignments
Once all the settings have been made, we can start creating data (consignments). Before live operation (communication) is launched, most carriers require a verification process in which data and labels should be sent for all combinations that may occur (products, services, single-package and multi-package consignments, all payment methods, etc.).
- Creating consignments
- Using the Create consignments script (ParcelCreate.pas) over a sales order
- creates a consignment and packages + delivery notes
- Using the Ctrl+B keys over delivery notes
- creates a consignment and a package
- Using the Shift+B keys over delivery notes
- creates a free package (without a consignment)
- Confirmation of consignments - the identification code is assigned at the first confirmation of the consignment - numbering takes place on the K2 program side. Overview of generated consignment codes:
- Consignment code 1: Current number from the assigned interval, without prefix.
- Consignment code 2: Current number from the assigned interval, including the prefix.
- Consignment code 3: Current number from the assigned interval, including the prefix.
- Consignment code 4: Not used.
- Printing labels - for printing labels, we use the Geis Cargo label w report (ParcelGeisCargoLabelW.am).
- Label numbering - by sales items: one number from the assigned numbering interval is used for each consignment. By default, labels are printed according to the number of items on the delivery note (each item is a transported piece). The complete Geis Cargo consignment number (on the label) then consists of the consignment number (13 digits), the item serial number (2 digits) and a check digit (1 digit).
- Label numbering - by packages (delivery notes): one number from the assigned numbering interval is used for each consignment. Using the Parameter settings for communication with Geis script and activating the Cargo by packages (1 package = 1 label) option, we ensure that labels are printed by packages. We use this when several sales items form one transport item (they must be on one delivery note). The complete Geis Cargo consignment number (on the label) then consists of the consignment number (13 digits), the package serial number (2 digits) and a check digit (1 digit).
- Assigning consignments to Collection and creating a data file for the carrier: to create a text file for submitting consignments to Geis, we use the Geis export file type EDI script (ParcelGeisExportEdi.pas) on the collection. To print the handover protocol, we use the List of packages on Geis collection report (ListPackagesToCollectionGeis.am) on Collection .
Note: The routing table files are updated automatically when printing labels, printing the handover protocol and running the script for creating the data file. Physically, they are stored in the K2\SupportFiles\Parcel\Geis directory.
Czech Post Implementation (via API)
General Implementation Steps
- Create a book (books) of documents for consignments.
- Set up communication with Czech Post using the Czech Post - Parameter settings for communication script for the required parcel service books. The mandatory fields ensuring communication must be filled in (URL for communication, API key, Secret key, Technological number of the sender, Zip code of post office, Customer CČK ID). Then use the Create submission point button to register your company (submission point) with Czech Post. It is mandatory to fill in the sender's address and also the address of the addressee of the cash on delivery amount. Caution: Once the submission point is created, it cannot be edited afterwards, e.g. to add further data. Only a new submission point can be created. Therefore, we recommend filling in the form properly with all data. Use the OK button to close the form and register the submission point. The submission point number is automatically filled in the Submission point number field in the main form. Note: The list of other submission points we have registered can be displayed using the Show list of submission points button. Invalid or unused submission points can be cancelled using the Czech Post - Cancel selected submission point script.
- Create a Supplier/Customer card and a Partner card for the carrier (for user identification of consignments).
- Create a Branch with our address for the partner representing our own company - it is used in the parcel service books.
- Create Payment methods.
- Create the Method(s) of transport identifying consignments with Czech Post (the abbreviation is not bound by anything, because the link to the numbering for Czech Post API and to the carrier is in the Consignment configuration).
- In the Consignment configuration, create a record for the carrier
- in the Carrier field, select the carrier record from the Partners book; the other fields do not need to be filled in;
- create a record for numbering (i.e. for the method of transport identifying the given carrier, select Method of numbering = "CP API" (system record));
- set up the Types of consignments (DR, NA, etc.) - we do this if we will declare the product (service) used in each consignment using the standard Kind field. Another option is to have the consignment category (Abbreviation) preset in the settings form for Czech Post in the Type of letter (Prefix) field (this is useful if we use one kind in one Consignment book), or to fill in the kind abbreviation, e.g. by a special function, into a special customer field - in this case, we then refer to the given consignment field in the settings form using the program name of the field.
- It is not necessary to create records for consignment numbering in the Consignment services book; when communicating with Czech Post via the API, numbering takes place outside K2. If we divide Czech Post consignments into several parcel service books (e.g. by country, by method of transport), we create records in the Consignment services book and then assign them to the relevant parcel service books.
Confirming Consignments and Printing Labels
- the first confirmation sends the requests (packages) to the Czech Post system and numbers the consignments;
- labels for the consignment are displayed automatically (or not displayed, depending on the settings);
- option to set automatic printing of labels;
- a confirmed consignment (with assigned package codes) can be unconfirmed - the assigned package codes are deleted, and at the subsequent re-confirmation new codes are created (so it may be necessary to re-label the physical packages). Information about the deletion of already assigned codes is not sent to the Czech Post system; Czech Post releases assigned but physically unused package codes for reuse after a certain time.
Including consignments in Collections and ordering a collection
- For communication with Czech Post via the API, it is not necessary to assign consignments to Collection, because no collections are ordered here.
- Consignments can be assigned to collections only for process reasons, for own records and possibly for the option of a second confirmation of the consignment.
Auxiliary Scripts for Czech Post API
- Czech Post - Parameter settings for communication: basic settings of communication and services with the Czech Post API
- Czech Post - Cancel selected posting point: deletes the data of the specified posting point.
- Czech Post - Labels: additionally prints labels for the current consignment or for consignments marked with asterisks.
- Czech Post - Create and save information about the submission point: the script is called by the Create submission point button in the form of the Czech Post - Parameter settings for communication script.
- Czech Post - List of submission points, addresses, bank details and contacts: the script is called by the Show list of submission points button in the form of the Czech Post - Parameter settings for communication script.
Branches
The Branches book is used to record own branches or also to record pickup points of parcel service carriers. Each branch record must be assigned to a selected Partner.

Picture: Branches - List
Basic data

Picture Branches - Basic data
Description of fields:
Partner |
Partner to whom the branch (pickup point) belongs |
Warehouse |
Branch warehouse |
Abbreviation |
Unique abbreviation of the branch |
Name, Description, Long description |
Supplementary identification of the record |
Address |
Branch address |
Territory |
Branch office region |
Contact person |
Contact person of the branch |
Heureka ID |
|
Date of import |
Date of import of the record into the K2 program |
Contact information |
Option to define up to four records of contact details |
Opening hours
On this tab, the opening hours of the branch / pickup point can be defined. We always enter the day of the week and the time from / to. Records can be inserted and edited only using row editing.