Update_NC_ProductInventory 訊息是一種內含產品之庫存資訊的入埠訊息。後端應用程式會產生此訊息並將之傳送到 WebSphere Commerce 入埠訊息佇列中,供 WebSphere Commerce 系統從中接收訊息。WebSphere Commerce 會以新庫存資訊來更新 INVENTORY 表格。
Update_NC_ProductInventory 訊息採用 XML 訊息格式且遵循 Update_NC_ProductInventory_10.dtd。
附註: 建議您使用 改良版的 Update_WCS_ProductInventory 訊息,以取代 Update_NC_ProductInventory。當您使用 Update_WCS_ProductInventory 訊息時,可選擇性地以 ProductSKU 取代 ProductNumberByMerchant 欄位。
下表說明 XML 元素值的格式與來源。有關資料庫直欄的說明, 請依循其相關表格的鏈結進行。欄位皆為選用的(除非另有註明)。 在 XML 訊息中,INT、BIGINT 與 DOUBLE 類型之資料庫欄位的標籤值長度分別是 CHAR (10)、CHAR(19) 與 CHAR(16)。
層次 | XML 元素 | 備註 | 表格名稱 | 直欄名稱 |
---|---|---|---|---|
1 | ProductNumber ByMerchant |
必要 | INVENTORY | CATENTRY_ID |
2 | MerchantID | 必要 | INVENTORY | STORE_ID |
3 | Quantity | 必要 | INVENTORY | QUANTITY |
4 | UserData | N/A | N/A |
規則:
![]() |