為什麼 Invantive Data Access Point 中的「ItemsRead」不再運作?

為什麼 Invantive Data Access Point 中的「ItemsRead」不再運作?

過去幾個月我有一個有效的更新腳本,但從 3 天前開始更新就不再運作了。該錯誤傳回它找不到表 ItemsRead,但它在替代項中。我的查詢傳回以下錯誤。

Invantive error: ValidationException itgeneor028
Unknown table 'ItemsRead'. Possible valid alternatives: ItemsRead, Items, Me, ItemPrices, Titles, ItemDetails, Lines, Units, Leads

發生了什麼變化以及如何解決這個問題?客戶的網站上還沒有任何產品,所以很緊急。我的查詢:

use <id>

select e.ID, e.Code, e.Description, e.SalesPrice, e.DefaultSalesPrice, e.ItemGroup, e.ItemGroupCode, e.ItemGroupDescription, e.Notes, e.PictureName, e.PictureUrl, e.Stock, e.Unitdescription, e.IsWebshopItem, i.Class_01, i.Class_02, i.Class_03 from exactonlinerest..items e left join logistics.ItemsRead i on e.ID = i.ID

答案1

錯誤訊息有點不清楚,是的。問題是:它找不到*Logistics*.ItemsRead.ItemsRead沒關係。因此該物件位於替代清單中。

順便說一下,物件被重新命名了:Items並且ItemsRead被意外地交換了。現在已更正,因此現在您必須使用以下查詢:

select e.ID
,      e.Code
,      e.Description
,      i.SalesPrice
,      i.DefaultSalesPrice
,      i.ItemGroup
,      i.ItemGroupCode
,      i.ItemGroupDescription
,      i.Notes
,      i.PictureName
,      i.PictureUrl
,      i.Stock
,      i.Unitdescription
,      i.IsWebshopItem
,      e.Class_01
,      e.Class_02
,      e.Class_03
from   exactonlinerest..items e
join   exactonlinerest..ItemsRead i
on     e.ID = i.ID

相關內容