Transport agreement

In this table you can enter transport agreements for each supplier with the appropriate ton rates.

This function makes it easier to print transport lists from the order module. What is calculated is the freight price in relation to the weight of the goods. This also appears on the printout form.

When you register an order and enter the correct weight in the field Finished weight, the field Freight 1, 2, 3 or 4 (depending on what is contained in the Company information table) is completed automatically. This requires that the weight that you have entered falls within the range registered in the Transport zones table. The amount in the freight field is calculated on the basis of the Ton rate field for the associate and the cost for the transport zone.

In transport agreements, you can have different agreements for each of the zones with different transport companies.

The calculation is based on the following settings:
Table/field Description
The Company information table/the Transp. agr. processing field Determines whether to compute ton rate and/or cost, and in which of the 4 freight fields to store the result
The Ton rate field on the order Determines which of Ton rate 1 - Ton rate 4 to apply
The Transport zone table/the row with the zone on the transport agreement and actual weight interval Determines the cost

The Transport agreement table contains one row for each transport agreement.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameTspAgrThe table name in the database.
API identifiertransportAgreementThe API identifier used in GraphQL.
Table no.242The table number in the data model.

The following fields exist in this table:

Sup. no.

The supplier who is associated with the transport agreement.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainSup. no.Integer
SQL nameSupNoThe database field name.
API identifiersupplierNoThe API identifier used in GraphQL.
Number9040 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateSupplier
  • Sup. no.

Ton rate 1

The fixed rate for the transport agreement.

The Price/discount processing parameters in the Company information table provide settings whether the calculations are based on Ton rate or Cost.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
SQL nameTonRt1The database field name.
API identifiertonRate1The API identifier used in GraphQL.
Number9041 

Ton rate 2

The fixed rate for the transport agreement.

The Price/discount processing parameters in the Company information table provide settings whether the calculations are based on Ton rate or Cost.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
SQL nameTonRt2The database field name.
API identifiertonRate2The API identifier used in GraphQL.
Number9042 

Ton rate 3

The fixed rate for the transport agreement.

The Price/discount processing parameters in the Company information table provide settings whether the calculations are based on Ton rate or Cost.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
SQL nameTonRt3The database field name.
API identifiertonRate3The API identifier used in GraphQL.
Number9043 

Ton rate 4

The fixed rate for the transport agreement.

The Price/discount processing parameters in the Company information table provide settings whether the calculations are based on Ton rate or Cost.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
SQL nameTonRt4The database field name.
API identifiertonRate4The API identifier used in GraphQL.
Number9044 

Transp. agr. no.

A unique number identifying the transport agreement.

Note:
If you press + in this field, the next available number is suggested. Gaps in the number series resulting from any deleted rows are not suggested. If you enter an existing number you will receive an error message. The number cannot be changed once it is entered.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTransp. agr. no.Integer
Primary keyYesTransp. agr. no.
SQL nameTspAgrNoThe database field name.
API identifiertransportAgreementNoThe API identifier used in GraphQL.
Number9039 

Zone

The freight zone number.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 2Text (2)
SQL nameZoneThe database field name.
API identifierzoneThe API identifier used in GraphQL.
Number9045 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
Transport zoneZone
  • Zone

Control columns

Control columns include information about who has changed the record last and when, and which process that is currently editing the record.

Changed by provenance

The provenance for the record change.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPvnThe database field name.
API identifierchangedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Changed by user

The name of the user that changed the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChUsrThe database field name.
API identifierchangedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Changed date

The date when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChDtThe database field name.
API identifierchangedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time

The time when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTmThe database field name.
API identifierchangedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time stamp

The date and time when the record was changed.

The field is updated with the UTC time.

This value can be used by external systems to replicate changed data. The column is indexed. 

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTsThe database field name.
API identifierchangedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Created by provenance

The provenance for the record creation.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCrePvnThe database field name.
API identifiercreatedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Created by user

The name of the user that created the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreUsrThe database field name.
API identifiercreatedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Created date

The date when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreDtThe database field name.
API identifiercreatedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Created time

The time when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTmThe database field name.
API identifiercreatedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Created time stamp

The date and time when the record was created.

The field is updated with the UTC time.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTsThe database field name.
API identifiercreatedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Edit status

The current status of the record.

A look-up in this field gives you the following list of possible values:

0 - Unchanged: The record is read, but not changed.

1 - Inserted: The record is new.

2 - Changed: The record is changed.

3 - Deleted: The record is deleted.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainEdit statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLckStThe database field name.
API identifiereditStatusThe API identifier used in GraphQL.
NumberA unique column number. 

Process no

The Process no. from the Active company process table which is currently using or has control of this record.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProcess no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPrcThe database field name.
API identifierlockedByProcessNoThe API identifier used in GraphQL.
NumberA unique column number. 
Table 3. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.