Good morning everybody,
I have created an summary view interface, which has two RI (solicitud and expenses). So when i call the interface in the record type: ,
When I clicked in the list view, I obtained this error An Error Has Occurred An error occurred while retrieving the data for "AT Expense Report". Details: Expression evaluation error: Keyword and non-keyword arguments must not be mixed. Used in: recordbodywrapper. (APNX-1-4205-003)
When I changed the setting (second screenshot) in the list view, I obtained this error
Error Evaluating UI Expression Expression evaluation error [evaluation ID = 7e51d:51052] in rule 'copypruebaexpenseinfo' : Could not cast from AT Expense Report to AT Expense Information. Details: AT Expense Report cannot be cast to AT Expense Information (APNX-1-4198-000)
Could you help me, please and explaining me what is happening?
Best regards,
Discussion posts and replies are publicly visible
Hi,
You seem to be using rv!record incorrectly.
The sintax should be rv!record[recordtype!RECORD.field]
You may have a look at this documentations:
docs.appian.com/.../reference-records.html
https://docs.appian.com/suite/help/21.2/records-filter-source-data.html
Hello,
I changed the records list
but I have this error
Error Evaluating UI Expression Expression evaluation error [evaluation ID = 92245:714a3] in rule 'copypruebaexpenseinfo' : Could not cast from Number (Integer) to AT Expense Information. Details: CastInvalid (APNX-1-4198-000)
Could you help me , please?
BR
Do you have a query rule that fetch the whole cdts?
This way you are sending the ids (type integer) to the interface
what i would expect is something like:
solicitud: rule!getSolicitudByfilters(id: AT Expense Report.id)
expenses: rule!getExpensesByFilters(id: AT Expense Report.idexpesedet)
IN the summary interface I am using a record type (RI) and I did a query for the record type: a!queryRecordType to recovery the data.
IS it possible to post the query?
Also testing the interface in design mode with the expected values to be passed works?
I have two query
one of the to populate information (header interface) (Id PK) join to idexpensedet
the other to populate a GIRD (idexpensedet (FK))
When I test the interface is OK. but when I click i my record list, (error)
I see that in the record you are passing to the rule the rule inputs "Solicitud" and "expenses", while the rule inputs of the queries are "id" and "expense"Try to change in the record summary "solicitud:" with "id:" and "expenses:" with "expense:"
Good morning,
I have made the changes and I got the error: invalid parameter. If I leave it as it is I continue with the error: Invalid cash :(