如何过滤关联实体的属性? 我必须在关联实体中的属性上进行过滤,而URL如下。 产品$ count = true&$ explient = _roductDescription($ select = productDescription),_ productplant($ select = plant; $ filter = pla = pla ...

问题描述 投票:0回答:0
_ProductDescription

_ProductPlant
是相关的实体,在植物上需要过滤,这是
_ProductPlant

我已经尝试了下面的尝试,但它不起作用,并以
_ProductPlant($select=Plant;$filter=Plant eq '1710')
的格式进行期望。
为此,SAPUI5代码中的过滤器语法是什么?
new Filter("_ProductPlant/Plant", FilterOperator.EQ, 1710))

oModel.read("/_ProductPlant", {
  filters: [new Filter("Plant", "EQ", 1710)]
});

javascript sapui5
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.