Skip to content

A read-only custom attribute needs to equal the sum of several other custom attributes that live on a different entity/view — is this achievable, given that a PL/SQL block with an addition statement doesn't work as a Read-Only Custom Field's SQL?

Answer

A Read-Only Custom Field's SQL needs to be a single SELECT expression, not a multi-statement PL/SQL block — reference the other entity's view (enabled as an Additional View on the target entity) and perform the addition directly inside the SELECT list, adding the source columns together as a single computed expression parameterized on the shared key, rather than trying to select values into variables and add them in separate statements.

← Browse Platform, Aurena, and customization questions