Delivery types

Use this function to define the delivery types. To each type the following elements are associated:

  • a functional category (normal delivery, loan delivery, delivery for subcontracting or nonbillable delivery),
  • one or, if necessary, several sequence number counters.

It is possible to dedicate a delivery type to a given legislation and/or to a company group.

This setup is used in the management of deliveries: the delivery type (always specified in the delivery header) will determine the process to be applied to the delivery with respect to the category.

Prerequisites

See also Refer to documentation Implementation

Screen management

Entry screen

A delivery type is defined by an alphanumeric code of three characters. It is this code that will be called upon customer delivery entry.

By entering a company group, you can limit the scope to companies in the selected group only. When this data is used for another record or with a setup element also defined in the group, a control checks that the groups have at least one company in common when the groups are different.  

In addition, a consistency check is performed for the legislations of the companies in the selected group.
At least one of these companies must have the same legislation as the one entered in the Legislation field. If  not, a warning message displays.

When using the document type, a consistency check is also performed between the legislation/group of the document type and the legislation/group of the document.

See also For further information, click here.

General

Delivery category (field SDHCAT)

This is the category of the delivery type which is to be chosen amongst the following categories:

  • Normal
    This category answers to the common delivery cycle: order, delivery and invoicing. The delivery can be replaced by a direct back-to-back order. The stocks are moved during the delivery.
  • Loan
    This delivery category concerns a loan of goods: order, delivery with stock transfer to a BP location on validating. The stock of loaned goods must always be managed for locations.
    It includes the management of a return date with a return of the stock to its original location and does not include any invoicing (except when the planned return date is exceeded).
  • For subcontracting
    This category concerns deliveries to be sent to sub-contractors. It is available only if the activity code LST - Sub-contracting deliveries is active at folder level.

  • Nonbillable
    This delivery category relates to nonbillable deliveries: these can be direct deliveries or deliveries created from tasks managed in the Project management module (the creation of deliveries from tasks managed in the Project management feature is not available yet).
Manual sequence no. (field MANCOU)

This information is used to specify whether the document number can be entered manually.

  • If this field is set to 'No', the number can only be assigned automatically.
  • If it is set to 'Yes', the number can also be entered. If it is not entered, a number will be assigned automatically by the counter upon creating the document.
Update document date (field DATUPDFLG)
Sequence number (field CODNUM)

The counter code associated to the defined type of delivery must be entered, whether the number allocation is automatic or manual.
It is therefore recommended to have previously defined a sequence number counter in the Sequence Numbers table (that can be accessed by tunnel from this field).

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

  • The first component must be a constant component type. Its value must be equal to:
    - the code of the sequential number code that may contain or not the PT abbreviation,
    - the value of the original type of document. This value must match with the constant one, the “-“ character is optional.
    Example: invoice type FCL has associated the PTFCL counter and the FCLconstant.
  • The second component must be the company code or the code site, if the counter is defined at the company level or at the site level.
  • The third component should correspond to the year or the fiscal year, if the counter is set at the year or fiscal year level. It is strongly recommended that you do not use the month or the period within the framework of the electronic signature.
  • The fourth component must be a constant type with the ' / ' value.
  • The fifth component must be a sequential type one.

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.

Final sequence no. (field CODNUMEND)

This field can only be viewed if the following conditions are met:

  • The KPO - Portuguese localization activity code is active.
  • the legislation code of the return type is empty or is set to: POR.

You can indicate here a final sequence number, it must be different from the main sequence number. This sequence number is used upon delivery validation, in order to assign a new number to the delivery.
The SDHENDNBR - Final delivery sequence No. parameter must be set to: Yes. If this parameter is set to: Yes but no final sequence number is specified, the final sequence number specified in the Sequence number assignments table for Final deliveries will be taken into account.
The former number is no longer displayed but it is still recorded in a specific field (TMPSDHNUM) in the delivery table.

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

  • The first component must be a constant component type. Its value must be equal to:
    - the code of the sequential number code that may contain or not the PT abbreviation,
    - the value of the original type of document. This value must match with the constant one, the “-“ character is optional.
    Example: invoice type FCL has associated the PTFCL counter and the FCLconstant.
  • The second component must be the company code or the code site, if the counter is defined at the company level or at the site level.
  • The third component should correspond to the year or the fiscal year, if the counter is set at the year or fiscal year level. It is strongly recommended that you do not use the month or the period within the framework of the electronic signature.
  • The fourth component must be a constant type with the ' / ' value.
  • The fifth component must be a sequential type one.

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.

Intersite sequence no. (field CODNUMFCY)

This field is only displayed for delivery types of the Normal or For subcontract category. This field is used to indicate a specific sequence number counter for inter-site deliveries.
It is thus necessary to have defined a sequence number counter beforehand in the Sequence numbers table (that can be accessed using a tunnel from this field).

Note:

 It is possible to assign the same sequence number counter to inter-site deliveries and inter-companies deliveries.

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

  • The first component must be a constant component type. Its value must be equal to:
    - the code of the sequential number code that may contain or not the PT abbreviation,
    - the value of the original type of document. This value must match with the constant one, the “-“ character is optional.
    Example: invoice type FCL has associated the PTFCL counter and the FCLconstant.
  • The second component must be the company code or the code site, if the counter is defined at the company level or at the site level.
  • The third component should correspond to the year or the fiscal year, if the counter is set at the year or fiscal year level. It is strongly recommended that you do not use the month or the period within the framework of the electronic signature.
  • The fourth component must be a constant type with the ' / ' value.
  • The fifth component must be a sequential type one.

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.

Final intersite sequence no. (field CODNUMFCYD)

This field is only displayed for delivery types of the Normal or For subcontract category.
You can indicate a final sequence number for inter-site deliveries, which must be different from the main inter-site sequence number.
This sequence number is used when validating the delivery, in order to assign a new number to the delivery. The SDHENDNBR - Final delivery sequence No. parameter must be set to: Yes. If this parameter is set to: Yes but no final sequence number is specified, the final sequence number specified in the Sequence number assignments table for Final deliveries will be taken into account. 
The former number is no longer displayed but it is still recorded in a specific field (TMPSDHNUM) in the delivery table.

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

  • The first component must be a constant component type. Its value must be equal to:
    - the code of the sequential number code that may contain or not the PT abbreviation,
    - the value of the original type of document. This value must match with the constant one, the “-“ character is optional.
    Example: invoice type FCL has associated the PTFCL counter and the FCLconstant.
  • The second component must be the company code or the code site, if the counter is defined at the company level or at the site level.
  • The third component should correspond to the year or the fiscal year, if the counter is set at the year or fiscal year level. It is strongly recommended that you do not use the month or the period within the framework of the electronic signature.
  • The fourth component must be a constant type with the ' / ' value.
  • The fifth component must be a sequential type one.

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.

Intercompany sequence no. (field CODNUMCPY)

This field is only displayed for delivery types of the Normal or For subcontract category. This field is used to specify a particular sequence number counter for inter-company deliveries.
It is thus necessary to have defined a sequence number counter beforehand in the Sequence numbers table (that can be accessed using a tunnel from this field).

Note:

 It is possible to assign the same sequence number counter to inter-site deliveries and inter-companies deliveries.

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

  • The first component must be a constant component type. Its value must be equal to:
    - the code of the sequential number code that may contain or not the PT abbreviation,
    - the value of the original type of document. This value must match with the constant one, the “-“ character is optional.
    Example: invoice type FCL has associated the PTFCL counter and the FCLconstant.
  • The second component must be the company code or the code site, if the counter is defined at the company level or at the site level.
  • The third component should correspond to the year or the fiscal year, if the counter is set at the year or fiscal year level. It is strongly recommended that you do not use the month or the period within the framework of the electronic signature.
  • The fourth component must be a constant type with the ' / ' value.
  • The fifth component must be a sequential type one.

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.

Final intercompany sequence no. (field CODNUMCPYD)

This field is visible only for delivery types for which the category is Normal or For subcontract.
You can indicate here a specific final sequence number for intercompany deliveries, which must be different from the main intercompany sequence number.
This sequence number is used upon delivery validation in order to assign a new number to the delivery. The parameter entitled SDHENDNBR - Final delivery sequence No. must be set to: Yes. If this parameter is set to: Yes but no final sequence number is specified, the final sequence number specified in the Sequence number assignment table for Final deliveries is taken into account.
The former number is no longer displayed but it is still recorded in a specific field (TMPSDHNUM) in the delivery table.

When the counter is used for the Portuguese legislation, the sequential number is applied to the document when it is subject to the electronic signature and SAFT-PT (Standard Audit File - Tax) payment processes. The parameter entitled PORDKS-Electronic signature Portugal(LOC chapter, POR group) must be set to: Yes, and the DKS-Electronic signature must be active.
The counter must have the following structure:

  • The first component must be a constant component type. Its value must be equal to:
    - the code of the sequential number code that may contain or not the PT abbreviation,
    - the value of the original type of document. This value must match with the constant one, the “-“ character is optional.
    Example: invoice type FCL has associated the PTFCL counter and the FCLconstant.
  • The second component must be the company code or the code site, if the counter is defined at the company level or at the site level.
  • The third component should correspond to the year or the fiscal year, if the counter is set at the year or fiscal year level. It is strongly recommended that you do not use the month or the period within the framework of the electronic signature.
  • The fourth component must be a constant type with the ' / ' value.
  • The fifth component must be a sequential type one.

Between the first and the penultimate component, the complement can be used as an option. Although, the complement is mandatory for purchase auto-invoices. If the structure is not properly defined, a blocking error will occur once the document is validated or signed.

Electronic signature

Record type (field RECTYP)

This field is displayed only when the KPO activity code is active.

The type of document is necessary so that it can be possible to assign to it a dedicated sequence number.
It can take the value :

  • Normal
  • Manual document recovery
    This means that the source document has been generated manually in paper form (as the system was unavailable).
  • Backup document recovery
    This means that already recorded documents have been lost due to the restoring of a backup. These are documents recorded between the time when the backup has been performed and the time when the backup has been restored.
    It will be necessary to create them again manually.
    For these two types of documents, it will be necessary to enter the original document number in the transaction (ORIDOCNUM field -Original document no. for invoices and MANDOC -Manual document, for the other types of documents).
  • External document
    This means that the document was originally created in another software, which has provided the electronic signature. No electronic signature will be generated by Sage X3 for this document type.
Note:

 The document number which is entered must be unique.

SAF-T document type (field SAFTTRNTYP)

This field will determine the available document type in order to distinguish the several document types allowed by SAFT.

Specific buttons

Copy

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Document sequence number counter: XXX. Record does not exist

This message appears when an attempt has been made to allocate a non-existent sequence number counter to the delivery type.

Tables used

See also Refer to documentation Implementation