---
title: "StockTakesByReferenceNumber (Visma.net Financials)"
description: "Lageropg\u00F8relser efter referencenummer"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/vismanet/VismaNet.StocktakeV2.StockTakesByReferenceNumber
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.StocktakeV2.StockTakesByReferenceNumber
updated: 2026-12-05T17:15:58Z
license: https://documentation.invantive.eu/da/
---

# StockTakesByReferenceNumber: Visma.net Financials Stock Takes by Reference Number

`read only` `REST`

- Katalog: `VismaNet`
- Skema: `StocktakeV2`
- Label: Stock Takes by Reference Number

Get a specific

Kan kun hente data.

## API-kilde

- Endepunkt: `/v2/stocktake/{referenceNumber}`
- Operation: `get /v2/stocktake/{referenceNumber}`

## Ydeevneegenskaber

| Karakteristika | Værdi |
|---|---:|
| Gennemsnitlig adgangsforsinkelse (ms) | 155 |
| Antal rækker pr. minut ved fuld scanning | 29,100 |
| Antal Query-rækker pr. minut | 387 |

Resultatet kan gemmes i cachen på klienten.

## Parametre

| Navn | Datatype | Krævet | Standard | Dokumentation |
|---|---|:---:|---|---|
| `referenceNumber` | `` | [x] |  | Identifies the Stocktake |

## Tabelkolonner

Tabellens kolonner `StockTakesByReferenceNumber` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2(30)` | Selskabsnummer | [x] | writable | Partitionskode, som opdeler dataene. |
| `COMPANY_NAME` | `varchar2(240)` | Virksomhedens navn | [x] | writable | Navn på partitionen. |
| `baseUnit` | `varchar2` | Basisenhed | [ ] | skrivbar, `baseUnit` | Stocktaking details tab &gt; Base Unit &gt; The base unit for the item. |
| `bookQuantity` | `double` | Antal bøger | [ ] | skrivbar, `bookQuantity` | Stocktaking details tab &gt; Book quantity &gt; The book quantity of the item, which is calculated based on the system records. |
| `description` | `varchar2` | Beskrivelse | [ ] | filtre på platformen, skrivbar, `::ancestor.description` | The top part &gt; Description &gt; The description of the stocktaking. |
| `errorInfo` | `varchar2` | Fejlmeddelelse | [ ] | filtre på platformen, skrivbar, `::ancestor.errorInfo` |  |
| `expirationDate` | `datetime` | Udløbsdato | [ ] | skrivbar, `expirationDate` | Stocktaking details tab &gt; Expiration date &gt; The expiration date of the item with this specific lot or serial number. |
| `extVarianceCost` | `double` | itgen_vnet_extvariancecost | [ ] | skrivbar, `extVarianceCost` | Stocktaking details tab &gt; Variance cost &gt; The difference between the extended cost calculated based on the book quantity and the extended cost calculated based on the physical quantity for the item. |
| `freezeDate` | `datetime` | itgen_vnet_freezedate | [ ] | filtre på platformen, skrivbar, `::ancestor.freezeDate` | The top part &gt; Freeze date &gt; An info field that shows the date when the stocktaking document was created. |
| `inventory_description` | `varchar2` | Lagerbeskrivelse | [ ] | skrivbar, `inventory.description` | Click on the magnifier. &gt; The description. |
| `inventory_id` | `varchar2` | itgen_vnet_inventory_id | [ ] | skrivbar, `inventory.id` | Click the magnifier &gt; The displayed name |
| `inventory_internalId` | `int32` | itgen_vnet_inventory_internalid | [ ] | skrivbar, `inventory.internalId` | Click the magnifier &gt; The identifier |
| `lastModifiedDateTime` | `datetime` | Senest ændret | [ ] | skrivbar, `lastModifiedDateTime` | System generated information. |
| `lastModifiedDateTime_2` | `datetime` | Seneste ændringsdato/klokkeslæt 2 | [ ] | filtre på platformen, skrivbar, `::ancestor.lastModifiedDateTime` | System generated information. |
| `lineNbr` | `int32` | itgen_vnet_linenbr | [ ] | skrivbar, `lineNbr` | Stocktaking details tab &gt; Line no. &gt; The number of the line in the stocktaking document. |
| `location_description` | `varchar2` | Beskrivelse af placeringen | [ ] | skrivbar, `location.description` | Click on the magnifier. &gt; The description. |
| `location_id` | `varchar2` | Lokations-id | [ ] | skrivbar, `location.id` | Click the magnifier &gt; The displayed name |
| `location_internalId` | `int32` | itgen_vnet_location_internalid | [ ] | skrivbar, `location.internalId` | Click the magnifier &gt; The identifier |
| `lotSerialNbr` | `varchar2` | itgen_vnet_lotserialnbr | [ ] | skrivbar, `lotSerialNbr` | Stocktaking details tab &gt; Lot/serial number &gt; The lot or serial number of the item. |
| `metadata_maxPageSize` | `int64` | Maksimal sidestørrelse for metadata | [ ] | filtre på platformen, skrivbar, `::ancestor.metadata.maxPageSize` |  |
| `metadata_totalCount` | `int64` | Samlet antal | [ ] | filtre på platformen, skrivbar, `::ancestor.metadata.totalCount` |  |
| `numberOfLines` | `int32` | itgen_vnet_numberoflines | [ ] | filtre på platformen, skrivbar, `::ancestor.numberOfLines` |  |
| `physicalQty` | `double` | itgen_vnet_physicalqty | [ ] | filtre på platformen, skrivbar, `::ancestor.physicalQty` | The top part &gt; Total physical qty. &gt; An info field showing the total actual quantity of all stock items listed in the document. |
| `physicalQuantity` | `double` | itgen_vnet_physicalquantity | [ ] | skrivbar, `physicalQuantity` | Stocktaking details tab &gt; Physical quantity &gt; The physical quantity of the item as entered manually. |
| `reasonCode` | `varchar2` | Årsagskode | [ ] | skrivbar, `reasonCode` | Stocktaking details tab &gt; Reason code &gt; The reason code for the item. |
| `referenceNbr` | `varchar2` | Referencenummer | [ ] | filtre på platformen, skrivbar, `::ancestor.referenceNbr` | The top part &gt; Ref. no. &gt; The reference number of the stocktaking document to be reviewed. |
| `status` | `varchar2` | Status | [ ] | skrivbar, `status` | Stocktaking details tab &gt; Status &gt; The status of the line of the stocktaking document, which indicates whether the actual physical quantity has been specified for the line. |
| `summaryStatus` | `varchar2` | itgen_vnet_summarystatus | [ ] | filtre på platformen, skrivbar, `::ancestor.summaryStatus` | The top part &gt; Status &gt; An info field that shows the current status of this stocktaking document. |
| `tagNbr` | `int32` | itgen_vnet_tagnbr | [ ] | skrivbar, `tagNbr` | Stocktaking details tab &gt; Tag no. &gt; The tag number for the line item, which is the stock item with the properties specified in the line, such as location, subitem, and lot or serial number. |
| `timestamp` | `varchar2` | Tidspunkt | [ ] | filtre på platformen, skrivbar, `::ancestor.timestamp` | Timestamp of the stocktake record |
| `unitCost` | `double` | Enhedsomkostninger | [ ] | skrivbar, `unitCost` | Stocktaking details tab &gt; Unit cost &gt; The last cost of the item’s base unit as approximation of its unit cost during the count. |
| `varianceCost` | `double` | itgen_vnet_variancecost | [ ] | filtre på platformen, skrivbar, `::ancestor.varianceCost` | The top part &gt; Total variance cost &gt; An info field showing the total variance cost for all stock items listed in the document. |
| `varianceQty` | `double` | itgen_vnet_varianceqty | [ ] | filtre på platformen, skrivbar, `::ancestor.varianceQty` | The top part &gt; Total variance qty. &gt; An info field showing the total variance quantity for the document. |
| `varianceQuantity` | `double` | itgen_vnet_variancequantity | [ ] | skrivbar, `varianceQuantity` | Stocktaking details tab &gt; Variance quantity &gt; The difference between the book quantity and the physical quantity for the line item. |
| `warehouse_description` | `varchar2` | Beskrivelse af lageret | [ ] | skrivbar, `warehouse.description` | Click on the magnifier. &gt; The description. |
| `warehouse_id` | `varchar2` | Lager-ID | [ ] | skrivbar, `warehouse.id` | Click on the magnifier. &gt; The identifier. |


## Udgivelsesnoter

Hvilke ændringer der er sket i hver udgivelse med hensyn til driverens tabeller, kolonner, attributter og funktioner:

- [Visma.net Financials](/da/release-notes/drivers/visma-net-financials)
