0
我想知道在通過Web Service API從Acumatica檢索數據時是否有添加「Order By」子句的方法?「排序依據」當從Acumatica Web服務API中檢索
IN202500Content IN202500 = oScreen.IN202500GetSchema();
oScreen.IN202500Clear();
Command[] oCmd = new Command[] {IN202500.StockItemSummary.ServiceCommands.EveryInventoryID,
IN202500.StockItemSummary.InventoryID,
IN202500.StockItemSummary.Description,
IN202500.StockItemSummary.ItemStatus,
IN202500.GeneralSettingsItemDefaults.ItemClass,
IN202500.GeneralSettingsItemDefaults.LotSerialClass,
IN202500.PriceCostInfoPriceManagement.DefaultPrice,
};
Filter[] oFilter = new Filter[] {new Filter
{
Field = new Field {ObjectName = IN202500.StockItemSummary.InventoryID.ObjectName,
FieldName = "LastModifiedDateTime"},
Condition = FilterCondition.GreaterOrEqual,
Value = SyncDate
}
};
String[][] sReturn = oScreen.IN202500Export(oCmd, oFilter, iMaxRecords, true, false);
我想通過DefaultPrice例如對結果進行排序,這樣我可以(在這種情況下使用iMaxRecords = 200)檢索我的列表中的前200個最昂貴的物品
我還沒有看到任何允許我進行排序的參數。
我還沒有前測試這一個,但對於頂部200 'TOP200 = MaxPriceList.Take(200);' –