Имя: Пароль:
1C
1С v8
Остатки по счету регистра бухгалтерии OData
0 Jokerman
 
23.12.20
13:57
Добрый день. Не получается фильтровать остатки по счету, выдает остатки всех счетов. Вот строка запроса: https://xxx/xxxx/odata/standard.odata/AccountingRegister_Хозрасчетный/Balance(AccountCondition='Account_Key eq guid'2f91458c-e44b-4e1d-805d-33bc049644dc')?$format=json&$top=3. Платформа 8.3.16
1 Jokerman
 
23.12.20
13:58
Если убираю одинарную кавычку перед Account_Key, то ошибка: Wrong parameters of comparison operation. Cannot compare fields of\nunlimited length and fields of incompatible types.\nSELECT   TOP 3 alias1.*  FROM AccountingRegister.Хозрасчетный.Balance(, ( Account )  <<?>>=  ( &cnp_AccountCondition0 ) ,,) AS alias1 AUTOORDER"
2 Jokerman
 
23.12.20
15:12
up
Закон Брукера: Даже маленькая практика стоит большой теории.