I'm working on configuring a formula in Electronic Reporting and need some help. Specifically, I want to modify the formula so that if a value is empty, it displays as blank instead of causing an error.
Currently, the formula in Cell<Prepayments_Date_Value> = model.CustomerTransaction.Settlement.OffsetTransDate is set as:
model.CustomerTransaction.Settlement.OffsetTransDate
The issue I'm facing is that if a Free Text invoice is not settled, users are unable to view invoices due to the following error:
"Evaluating binding of format component Folder/Free text invoice/Invoice/Totals/Prepayments/Prepayments_Date_Value."
"Evaluating expression for path 'model/CustomerTransaction/Settlement/OffsetTransDate'. List is empty at 'model/CustomerTransaction/Settlement'"
I've attempted a few solutions, but none have worked. Can anyone suggest a formula that would handle empty values properly and prevent this error?