Hi all. Any idea why this query breaks the minute ...
# suiteanalytics
r
Hi all. Any idea why this query breaks the minute I try to pull the Internal ID instead of the Entity ID for Customer and Vendor? When I query those fields individually they render just fine. But when I want them to output to this Formula, I receive an invalid expression error: CASE WHEN NVL({type},'X') IN ('Assembly Build', 'Deposit', 'Journal') THEN RTRIM(LPAD({entity}, 4)) WHEN NVL({type},'X') IN ('Cash Sale', 'Credit Memo', 'Item Fulfillment') THEN {customer.entityid} WHEN NVL({type},'X') IN ('Expense Report') THEN {employee.entityid} ELSE {vendor.entityid} END