Aggregated shipment

This table is a view that contains values summarised from the Shipment table per product/warehouse combination.

It can be used, for example, to simplify the reconciliation between the Stock balance and Shipment tables.

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

The following fields exist in this table:

Accounting value

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameAcValThe database field name.
API identifieraccountingValueThe API identifier used in GraphQL.
Number16619 

Available in stock

How much stock is available for reservation in the warehouse.

Calculated as follows: Realised stock + Unrealised stock inc. - Reserved from stock - Picked without reservation.

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 nameAvStcThe database field name.
API identifieravailableInStockThe API identifier used in GraphQL.
Number16570 

Available stock

How much stock is currently available for reservations in the warehouse.

The value is calculated as Available in stock + Purchased/prod. not received.
Note:
If you do not want to reserve against Purchased/prod. not received, you must use the Available in stock field to see what is available.

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 nameAvThe database field name.
API identifieravailableThe API identifier used in GraphQL.
Number16569 

Further processed

The quantity which has been processed using transaction type 5 - Further processing.

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 nameNoFrProdThe database field name.
API identifierfurtherProcessedThe API identifier used in GraphQL.
Number16578 

Hired

How many units are currently hired. It is updated at the same time as the Reserved quantity field.

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 nameNoHireThe database field name.
API identifierhiredThe API identifier used in GraphQL.
Number16575 

Inflow

Incoming quantity.

Inflow is generated by purchase and production orders.

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 nameInIncThe database field name.
API identifierinflowThe API identifier used in GraphQL.
Number16565 

Loaned

How many units are currently loaned. It is updated at the same time as the Reserved quantity field.

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 nameNoLoanThe database field name.
API identifierloanedThe API identifier used in GraphQL.
Number16576 

Lost

The reduction in stock balance due to loss.

The following actions will trigger this field:
  • Use of the processing Correct stock balances in the Stock balance table.
  • Goods being discarded or needing to be compensated in connection with hire/loan
  • Orders with Transaction type set to 4 - Adjustment/internal issue

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 nameLossThe database field name.
API identifierlostThe API identifier used in GraphQL.
Number16577 

Physical stock

The actual stock of goods in the warehouse.

It is calculated as follows: Physical stock = Realised stock + Unrealised stock inc.

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 namePhStcThe database field name.
API identifierphysicalStockThe API identifier used in GraphQL.
Number16562 

Physical stock value

The actual value of the goods in the warehouse in domestic currency.

It is calculated as the product of the Average cost price and the Physical stock. Physical stock value = Average cost price x Physical stock.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL namePhStcValThe database field name.
API identifierphysicalStockValueDomesticThe API identifier used in GraphQL.
Number16572 

Produced

The quantity of the shipment which has been produced for transaction type 7 - Production.

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 nameNoProdThe database field name.
API identifierproducedThe API identifier used in GraphQL.
Number16580 

Product no.

Which product no. in the Product table the Stock balance row relates to.

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., Warehouse no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameProdNoThe database field name.
API identifierproductNoThe API identifier used in GraphQL.
Number16560 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
ProductProduct
  • Product no.

Purchase value

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL namePurcValThe database field name.
API identifierpurchaseValueThe API identifier used in GraphQL.
Number16620 

Purchased/prod. not received

The unfinished quantity on a purchase or production order.

It is calculated as the not yet finished quantity on production and purchase orders minus the following:
  • Purchase order returns
  • Production order returns
  • Already reserved quantity against inflow

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 nameAvIncThe database field name.
API identifierpurchaseOrProductionNotReceivedThe API identifier used in GraphQL.
Number16571 

Realised stock

The stock in the warehouse after realizing an order.

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 nameRestBalThe database field name.
API identifierrealisedStockThe API identifier used in GraphQL.
Number16563 

Realised stock value

The actual value of the goods in the warehouse.

It is calculated as the product of the Average cost price and the Realised stock. Realised stock value = Average cost price x Realised stock.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameStcValThe database field name.
API identifierrealisedStockValueDomesticThe API identifier used in GraphQL.
Number16573 

Received

The quantity of the shipment which has been received for transaction type 6 - Purchase.

A quantity is considered as received after the finish and invoice processing.

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 nameNoRecThe database field name.
API identifierreceivedThe API identifier used in GraphQL.
Number16579 

Reserved

How much is reserved in total, calculated on the basis of the Reserved from stock and Reserved from inflow 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 nameRsvThe database field name.
API identifierreservedThe API identifier used in GraphQL.
Number16566 

Reserved from inflow

How much is reserved from inflow.

Calculated as the sum of the corresponding field in the Shipment table of the same product.

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 nameNoRsvIncThe database field name.
API identifierreservedFromInflowThe API identifier used in GraphQL.
Number16568 

Reserved from stock

How much is reserved from stock.

Calculated as the sum of the corresponding fields in the Shipment table. If goods are returned, discarded, replaced or invoiced/realised, reservations are cancelled.

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 nameNoRsvThe database field name.
API identifierreservedFromStockThe API identifier used in GraphQL.
Number16567 

Sold

The quantity of the shipment which has been invoiced/realized for transaction type 1 - Sales.

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 nameNoDelThe database field name.
API identifiersoldThe API identifier used in GraphQL.
Number16574 

Transferred

The quantity which has been transferred between warehouses or shipments for transaction type 8 - Stock transfer.

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 nameNoTrfThe database field name.
API identifiertransferredThe API identifier used in GraphQL.
Number16581 

Unrealised stock inc.

The amount of units which are received but not yet invoiced.

After goods are purchased, received goods remain in the Unrealised stock inc. field until you invoice receive the purchased quantity. On receipt of invoice, Unrealised stock inc. field is transferred to the Realised stock field.

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 nameStcIncThe database field name.
API identifierunrealisedStockIncreaseThe API identifier used in GraphQL.
Number16564 

Warehouse no.

The warehouse the Stock balance row relates to.

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 keyYesProduct no., Warehouse no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameStcNoThe database field name.
API identifierwarehouseNoThe API identifier used in GraphQL.
Number16561 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
WarehouseWarehouse
  • Warehouse no.