Hello,
I am trying to add a custom field on the Supplier Invoices Analysis (Entity = IncomingInvoice, View = INCOMING_INVOICE2).
The field I want to add is to display the most recent note added to the invoice using expression: INVOICE_NOTE_API.Get_Last_Notes(v.company, v.invoice_id).
The expression runs perfectly fine if I run it in a SQL tool. However once I add the field to the page I get this error:
SupplierInvoicesAnalysis/List (server error)
Malformed Request.
Error details: [{"code":"EXPRESSION_PROPERTY_NOT_IN_TYPE","message":"The property 'Cf_Latest_Note', used in a query expression, is not defined in type 'IncomingInvoice'."}]
We are on Cloud 25.1.6. In our configuration IncomingInvoice is not in the excluded entity list.
Can anyone help me understand why I am receiving that error.
Thanking you in advance!


