Location balance

The Location balance table shows quantity, weight and dimensions for each location, per warehouse.

The table is defined as a view in the database.

PropertyValueDescription
DatabaseCompanyThis table is a view in the company databases.
View nameLocBalThis table is a view and only displayed in the program, it is not stored in the database.
API identifierlocationBalanceThe API identifier used in GraphQL.
Table no.371The table number in the data model.

The following fields exist in this table:

Free volume

The difference between the Volume and the Used volume fields.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameFreeVolThe database field name.
API identifierfreeVolumeThe API identifier used in GraphQL.
Number16169 

Free weight

The difference between the Weight and the Used weight fields.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameFreeWgtThe database field name.
API identifierfreeWeightThe API identifier used in GraphQL.
Number16172 

Location

Together with the Warehouse no. field, the unique identifier for the location balance.

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.
DomainLocationText (18)
Primary keyYesWarehouse no., Location
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLocThe database field name.
API identifierlocationThe API identifier used in GraphQL.
Number16166 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
LocationLocation
  • Warehouse no.
  • Location
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.
Order lineOrderLineStockLocation
  • Warehouse no.
  • Location
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.
Item locationItemLocationStockLocation
  • Warehouse no.
  • Location
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Used quantity

The total from the Physical stock field in the Shipment table.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameUsdQtyThe database field name.
API identifierusedQuantityThe API identifier used in GraphQL.
Number16173 

Used volume

The total volume based on the Physical stock field in the Shipment table and the Volume field in the Product table.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameUsdVolThe database field name.
API identifierusedVolumeThe API identifier used in GraphQL.
Number16168 

Used weight

The total net weight based on the Physical stock field in the Shipment table and the Net weight field in the Product table.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameUsdWgtThe database field name.
API identifierusedWeightThe API identifier used in GraphQL.
Number16171 

Volume

The Volume from the Location table.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameVolumeThe database field name.
API identifiervolumeThe API identifier used in GraphQL.
Number16167 

Warehouse no.

Together with the Location field, the unique identifier for the location balance.

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.
DomainWarehouse no.Integer
Primary keyYesWarehouse no., Location
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameStcNoThe database field name.
API identifierwarehouseNoThe API identifier used in GraphQL.
Number16165 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
LocationLocation
  • Warehouse no.
  • Location
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.
ProductProduct
  • Warehouse no.
Order lineOrderLineStock
  • Warehouse no.
Order lineOrderLineToStock
  • Warehouse no.
Order lineOrderLineStockLocation
  • Warehouse no.
  • Location
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.
Item locationItemLocationStockLocation
  • Warehouse no.
  • Location
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Weight

The Weight from the Location table.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameWgtThe database field name.
API identifierweightThe API identifier used in GraphQL.
Number16170