---
title: "StockChanges (Robaws)"
description: "\u5728\u5EAB\u306E\u5909\u52D5"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/robaws/Robaws.StockChanges.StockChanges
original: https://documentation.invantive.eu/en/datamodels/robaws/Robaws.StockChanges.StockChanges
updated: 2026-12-04T17:54:19Z
license: https://documentation.invantive.eu/ja/
---

# StockChanges: Robaws Stock Changes

`insert` `update` `delete` `REST`

- カタログ：`Robaws`
- スキーマ: `StockChanges`
- 主キー：`id`
- Label: Stock Changes

検索

`insert`、`update`、`delete` を使用して、データの取得や変更を行うことができます。

## APIソース

- エンドポイント: `/api/v2/stock-changes`
- 作戦名：`get /api/v2/stock-changes`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 100 |
| 全件スキャンの毎分行数 | 37,848 |
| ポイントクエリの毎分行数 | 792 |
| 書き込みの毎分行数 | 539 |

結果はクライアント側でキャッシュすることができます。

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `articleId` | `` | [ ] |  |  |
| `assignedEmployeeId` | `` | [ ] |  |  |
| `deliveryNoteId` | `` | [ ] |  |  |
| `isBookedOnly` | `` | [ ] |  |  |
| `materialId` | `` | [ ] |  |  |
| `orderId` | `` | [ ] |  |  |
| `projectId` | `` | [ ] |  |  |
| `salesOrderId` | `` | [ ] |  |  |
| `searchText` | `` | [ ] |  |  |
| `sort` | `` | [ ] |  |  |
| `supplyOrderId` | `` | [ ] |  |  |
| `updatedFrom` | `` | [ ] |  |  |
| `withArchived` | `` | [ ] |  |  |
| `workOrderId` | `` | [ ] |  |  |

## 表の列

テーブル `StockChanges` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `archivedAt` | `datetime` | アーカイブ先： | [ ] | プラットフォーム上のフィルター、書き込み可能、`archivedAt` |  |
| `assignedEmployeeId` | `varchar2` | 割り当てられた社員ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`assignedEmployeeId` |  |
| `assignedSupplierId` | `varchar2` | 割り当てられたサプライヤーID | [ ] | プラットフォーム上のフィルター、書き込み可能、`assignedSupplierId` |  |
| `assignedUserId` | `varchar2` | 割り当てられたユーザーID | [ ] | プラットフォーム上のフィルター、書き込み可能、`assignedUserId` |  |
| `booked` | `char` | 予約済み | [ ] | プラットフォーム上のフィルター、書き込み可能、`booked` |  |
| `bookedAt` | `datetime` | 予約先： | [ ] | プラットフォーム上のフィルター、書き込み可能、`bookedAt` | The exact moment the stock change was booked, with the time of day (bookingDate holds only the date).Empty while the stock change is not booked.It is set while the booking is processed, before the booking is saved and the stock is revalued, so a booking only becomes visible some time after this moment; on a large stock that delay can be several minutes or more.Use it to order bookings within one day.To fetch changes incrementally, let each window overlap the previous one generously and skip ids you already have. |
| `bookingDate` | `datetime` | 予約日 | [ ] | プラットフォーム上のフィルター、書き込み可能、`bookingDate` |  |
| `createdAt` | `datetime` | 作成日： | [ ] | プラットフォーム上のフィルター、書き込み可能、`createdAt` |  |
| `date` | `datetime` | 日付 | [ ] | プラットフォーム上のフィルター、書き込み可能、`date` |  |
| `deletedAt` | `datetime` | 削除日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`deletedAt` |  |
| `deliveryNoteId` | `varchar2` | 納品書ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`deliveryNoteId` |  |
| `description` | `varchar2` | 説明 | [ ] | プラットフォーム上のフィルター、書き込み可能、`description` |  |
| `enumeration` | `char` | 列挙 | [ ] | プラットフォーム上のフィルター、書き込み可能、`enumeration` |  |
| `extraFields` | `varchar2` | 追加フィールド | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `fromLocationId` | `varchar2` | ロケーションIDから | [ ] | プラットフォーム上のフィルター、書き込み可能、`fromLocationId` |  |
| `id` | `varchar2` | ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`id` |  |
| `lockedAt` | `datetime` | ロックされた時刻： | [ ] | プラットフォーム上のフィルター、書き込み可能、`lockedAt` |  |
| `logicId` | `varchar2` | 論理ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`logicId` |  |
| `salesOrderId` | `varchar2` | 受注ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`salesOrderId` |  |
| `status` | `varchar2` | ステータス | [ ] | プラットフォーム上のフィルター、書き込み可能、`status` |  |
| `supplyOrderId` | `varchar2` | 発注ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrderId` |  |
| `supplyOrder_archivedAt` | `datetime` | 発注書は以下の場所に保管されています | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.archivedAt` |  |
| `supplyOrder_assignedUserId` | `varchar2` | 発注書に割り当てられたユーザーID | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.assignedUserId` |  |
| `supplyOrder_companyId` | `varchar2` | 発注書 会社ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.companyId` |  |
| `supplyOrder_completed` | `char` | 発注完了 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.completed` |  |
| `supplyOrder_completionPercentage` | `decimal` | 発注の完了率 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.completionPercentage` |  |
| `supplyOrder_createdAt` | `datetime` | 発注書作成日時 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.createdAt` |  |
| `supplyOrder_deletedAt` | `datetime` | 発注書が削除された日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.deletedAt` |  |
| `supplyOrder_extraFields` | `varchar2` | 発注書の追加フィールド | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `supplyOrder_footerText` | `varchar2` | 発注書のフッターテキスト | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.footerText` | When reading, only present if requested via 'include' query parameter, otherwise null.HTML content.Embedded images are resolved to URLs based on the 'x-robaws-html-image-mode' request header: TEMPORARY_URL (default) returns time-limited presigned URLs that require no authentication; PERMANENT_URL returns stable URLs that require an authenticated session; NONE returns the stored HTML, where each image is an <img> with a data-robaws-id and an empty src — keep that tag and its data-robaws-id when writing the HTML back, or the image is lost.Any other value (e.g.BASE64_INLINE) returns 400 Bad Request.When writing, omit it or send null to keep the current text; send an empty string to clear it. |
| `supplyOrder_id` | `varchar2` | 発注ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.id` |  |
| `supplyOrder_introText` | `varchar2` | 発注書の冒頭文 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.introText` | When reading, only present if requested via 'include' query parameter, otherwise null.HTML content.Embedded images are resolved to URLs based on the 'x-robaws-html-image-mode' request header: TEMPORARY_URL (default) returns time-limited presigned URLs that require no authentication; PERMANENT_URL returns stable URLs that require an authenticated session; NONE returns the stored HTML, where each image is an <img> with a data-robaws-id and an empty src — keep that tag and its data-robaws-id when writing the HTML back, or the image is lost.Any other value (e.g.BASE64_INLINE) returns 400 Bad Request.When writing, omit it or send null to keep the current text; send an empty string to clear it. |
| `supplyOrder_lockedAt` | `datetime` | 発注がロックされた時点： | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.lockedAt` |  |
| `supplyOrder_logicId` | `varchar2` | 供給注文ロジックID | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.logicId` |  |
| `supplyOrder_reference` | `varchar2` | 発注書参照番号 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.reference` |  |
| `supplyOrder_remark` | `varchar2` | 発注書の備考 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.remark` |  |
| `supplyOrder_status` | `varchar2` | 発注状況 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.status` |  |
| `supplyOrder_totalExclVat` | `decimal` | VATを除く発注総額 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.totalExclVat` |  |
| `supplyOrder_totalInclVat` | `decimal` | VATを含む発注総額 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.totalInclVat` |  |
| `supplyOrder_type` | `varchar2` | 発注書の種類 | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.type` |  |
| `supplyOrder_updatedAt` | `datetime` | 発注書の更新日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`supplyOrder.updatedAt` |  |
| `toClientId` | `varchar2` | client IDへ | [ ] | プラットフォーム上のフィルター、書き込み可能、`toClientId` |  |
| `toLocationId` | `varchar2` | ロケーションIDへ | [ ] | プラットフォーム上のフィルター、書き込み可能、`toLocationId` |  |
| `updatedAt` | `datetime` | 更新日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`updatedAt` |  |
| `workOrderId` | `varchar2` | 作業指示書ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`workOrderId` |  |

## キー

| キー | コラム | 「～を指す」 | 種類 | 説明 |
|---|---|---|---|---|
| `StockChanges_assignedEmployeeId_fk` | `assignedEmployeeId` | [Employees](Robaws.Employees.Employees)`.id` | キー |  |
| `StockChanges_assignedSupplierId_fk` | `assignedSupplierId` | [Suppliers](Robaws.Suppliers.Suppliers)`.id` | キー |  |
| `StockChanges_assignedUserId_txt` | `assignedUserId` | [Users](Robaws.Users.Users)`.id` | テキスト | The referenced row, for as long as Robaws still lists it: a deleted or purged row is no longer listed, and a document may keep referring to it. |
| `StockChanges_deliveryNoteId_fk` | `deliveryNoteId` | [DeliveryNotes](Robaws.DeliveryNotes.DeliveryNotes)`.id` | キー |  |
| `StockChanges_fromLocationId_fk` | `fromLocationId` | [StockLocations](Robaws.StockLocations.StockLocations)`.id` | キー |  |
| `StockChanges_salesOrderId_fk` | `salesOrderId` | [SalesOrders](Robaws.SalesOrders.SalesOrders)`.id` | キー |  |
| `StockChanges_toClientId_txt` | `toClientId` | [Clients](Robaws.Clients.Clients)`.id` | テキスト | The referenced row, for as long as Robaws still lists it: a deleted or purged row is no longer listed, and a document may keep referring to it. |
| `StockChanges_toLocationId_fk` | `toLocationId` | [StockLocations](Robaws.StockLocations.StockLocations)`.id` | キー |  |
| `StockChanges_workOrderId_txt` | `workOrderId` | [WorkOrders](Robaws.WorkOrders.WorkOrders)`.id` | テキスト | The referenced row, for as long as Robaws still lists it: a deleted or purged row is no longer listed, and a document may keep referring to it. |


## リリース情報

各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか：

- [ROBAWS](/ja/release-notes/drivers/robaws)
