Alternative product

In the Alternative product table, you enter which alternative products can replace a product if the original product is currently sold out or you have too few in stock.

You can enter the products in order of priority, for example with the product that generates the most profit in first place.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameAltProdThe table name in the database.
API identifieralternativeProductThe API identifier used in GraphQL.
Table no.118The table number in the data model.

The following fields exist in this table:

Accessories Zpider

The field is intended for use in the Zpider solution.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAccessories ZpiderInteger
SQL nameAltProdStThe database field name.
API identifieraccessoriesZpiderThe API identifier used in GraphQL.
Number12444 

Alternative product no.

The product that is an alternative.

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.
DomainProduct no.Text (40)
SQL nameAltProdThe database field name.
API identifieralternativeProductNoThe API identifier used in GraphQL.
Number2685 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
ProductAlternativeProduct
  • Alternative product no.
Search productAlternativeSearchProduct
  • Alternative product no.

Country no.

The country the product comes from.

The field is intended to be used by third party products.

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.
DomainCountry no.Integer
SQL nameCtryThe database field name.
API identifiercountryNoThe API identifier used in GraphQL.
Number12433 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
CountryCountry
  • Country no.

Description

The alternative text for the alternative product.

The field is intended to be used by third party products..

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDescriptionText (60)
SQL nameDescrThe database field name.
API identifierdescriptionThe API identifier used in GraphQL.
Number12435 

Free 1

Additional numeric information about the alternative product.

The field is intended to be used by third party products.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameFree1The database field name.
API identifierfree1The API identifier used in GraphQL.
Number12440 

Free 2

Additional numeric information about the alternative product.

The field is intended to be used by third party products.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameFree2The database field name.
API identifierfree2The API identifier used in GraphQL.
Number12441 

Free 3

Additional numeric information about the alternative product.

The field is intended to be used by third party products.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameFree3The database field name.
API identifierfree3The API identifier used in GraphQL.
Number12442 

Free 4

Additional numeric information about the alternative product.

The field is intended to be used by third party products.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameFree4The database field name.
API identifierfree4The API identifier used in GraphQL.
Number12443 

From date

The start date of the period when the product will have a valid alternative product.

The field is intended to be used by third party products.

The date is validated using the regional settings in Windows.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDateInteger
SQL nameFrDtThe database field name.
API identifierfromDateThe API identifier used in GraphQL.
Number12438 

Gr. 1

A group to which the alternative product belongs.

The field is intended to be used by third party products.

Alt. product grouping 1 texts for different languages can be defined in the Text table. These texts has text type 166.
Note:
If you double-click or press * in this field, you can look up a Alt. product grouping 1 in the Text table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAlt. product grouping 1Integer
SQL nameGrThe database field name.
API identifiergroup1The API identifier used in GraphQL.
Number12436 

Gr. 2

A group to which the alternative product belongs.

The field is intended to be used by third party products.

Alt. product grouping 2 texts for different languages can be defined in the Text table. These texts has text type 167.
Note:
If you double-click or press * in this field, you can look up a Alt. product grouping 2 in the Text table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAlt. product grouping 2Integer
SQL nameGr2The database field name.
API identifiergroup2The API identifier used in GraphQL.
Number12437 

Language no.

The language you want the product texts to have on printouts.

The field is intended to be used by third party products.

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.
DomainLanguage no.Integer
SQL nameLangThe database field name.
API identifierlanguageNoThe API identifier used in GraphQL.
Number12434 
Table 3. Table relations
To tablePurposeFrom columnsTo columnsComments
LanguageLanguage
  • Language no.

Line no.

Each line in the table is given a consecutive number in the order in which they are entered.

Note:
The Line no. does not change when inserting new lines between existing ones. The Sort seq. no. specifies the order of the lines and is affected when new lines are inserted between existing lines.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Primary keyYesProduct no., Line no.
SQL nameLnNoThe database field name.
API identifierlineNoThe API identifier used in GraphQL.
Number2684 

Product category

The category for the product.

Product category texts for different languages can be defined in the Text table. These texts has text type 145.
Note:
If you double-click or press * in this field, you can look up a Product category in the Text table.
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.
DomainProduct categoryInteger
SQL namePrCatNoThe database field name.
API identifierproductCategoryNoThe API identifier used in GraphQL.
Number13807 
Table 4. Table relations
To tablePurposeFrom columnsTo columnsComments
Product categoryProductCategory
  • Product category

Product no.

The product you are defining alternatives for.

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.
DomainProduct no.Text (40)
Primary keyYesProduct no., Line no.
SQL nameProdNoThe database field name.
API identifierproductNoThe API identifier used in GraphQL.
Number2683 
Table 5. Table relations
To tablePurposeFrom columnsTo columnsComments
ProductProduct
  • Product no.
Search productSearchProduct
  • Product no.

Sort seq. no.

The order of the lines.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainSort seq. no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSrtThe database field name.
API identifiersortSequenceNoThe API identifier used in GraphQL.
Number2686 

To date

The end date of the period when the product will have a valid alternative product.

The field is intended to be used by third party products.

The date is validated using the regional settings in Windows.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDateInteger
SQL nameToDtThe database field name.
API identifiertoDateThe API identifier used in GraphQL.
Number12439 

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 6. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.