Stocks
在庫情報:在庫
Columns
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | Long | False |
Products.ProductId |
商品ID (PK) : 数字15桁以内。 |
| StoreId [KEY] | Integer | False |
Stores.StoreId |
店舗ID (PK) : 数字5桁以内。 |
| StockAmount | Integer | False |
在庫数 : 更新する在庫数を設定。(相対値/絶対値) | |
| UpdDatetime | Datetime | True | ||
| StockDivision | String | False |
在庫区分 : 在庫を更新理由となる区分を設定。01:マスタ、02:売上、03:仕入、04:出庫、05:入庫、06:レンタル、07:取置、08:棚卸、09:調整、10:出荷、11:EC連携、12:返品、13:販促品、14:ロス、15:スマレジAPI連携、16:売上引当、17:入庫欠品※在庫履歴の区分に表示される区分です。注意して区分の設定を行ってください。※通常は15:スマレジAPI連携を設定する事を推奨します。 | |
| Memo | String | False |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| AmountType | String |
If you want to update the stockAmount with an absolute value use 'Absolute' and if you want to add or subtract some value from stockAmount use 'Relative' 使用できる値は次のとおりです。Absolute, Relative デフォルト値はAbsoluteです。 |