Use of { & } to delimit functions in an object
I'm in a discussion with a colleague on whether its legal to use {} to delimit nested variables in an if statement.
I.e.:
if(
{ this
and(or(
isnull(local!shortRecon.recordsRequested),
isnull(local!shortRecon.reconsiderationRequested)
),
local!claim.claimStatusId<>cons!OWB_DBID_LOOKUP_ID_CLAIM_STATUS_FINAL_ORDER_ISSUED
)
}, and this
{ this
if(isnull(local!shortRecon.recordsRequested),a!save(ri!recon.recordsRequested,false),{}),
if(isnull(local!shortRecon.reconsiderationRequested),a!save(ri!recon.reconsiderationRequested,false),{})
}, and this
{}
)
Is this acceptable use?
