Добавил источник данных таблица
AssetLedgerAccounts(Asset Ledger Accounts):Таблица AssetLedgerAccounts
у нее есть метод
assetLedgerDimension():Int64 (String _assetId, String _assetBookId, AssetTransType _assetTransType, String _assetPostingProfile, AssetDocumentType_JP _assetDocumentType_JP, Int64 _assetDocumentEntryRecId)
Каждый параметр определил отдельной внутренней переменной
$CurAssetId(Current Asset Id):Вычисляемое поле = @.AssetId: Строка
$CurBookId(Current BookId):Вычисляемое поле = @.BookId: Строка
$CurPostingProfileId(Current PostingProfileId):Вычисляемое поле = model.'$BooksRecords'.General.PostingProfile.Id: Строка
$CurTransTypeAcquisition(TransType Acquisition):Вычисляемое поле = model.AssetTransTypeJournal.Acquisition: Перечислимый тип
и хочу получить значение, вычисляемое методом
$LDIm03(Ledger dimension ref 03):Вычисляемое поле = model.AssetLedgerAccounts.'assetLedgerDimension()'("$CurAssetId", "$CurBookId", "$CurTransTypeAcquisition", "$CurPostingProfileId"): Int64
Синтаксическая проверка проходит, формула сохраняется. Но при выполнении выдается ошибка
Ошибка при вычислении выражения для пути "$LDIm03".
Пробовал параметры задать просто константами
$LDIm03(Ledger dimension ref 03):Вычисляемое поле = model.AssetLedgerAccounts.'assetLedgerDimension()'("000006", "БО", "1", "Головний"): Int64
результат такой же.
Можете что-то подсказать?
|