Anthony OConnor
09/13/2023, 5:54 PM"custom"
I was loading the record and checking for an entityid but I have this new requirement that I can't load the record.
I was never really happy with that solution anyway, so wondering if there's better wayClay Roper
09/13/2023, 5:55 PMAnthony OConnor
09/13/2023, 5:56 PMClay Roper
09/13/2023, 5:56 PMClay Roper
09/13/2023, 5:56 PMClay Roper
09/13/2023, 5:57 PMClay Roper
09/13/2023, 5:58 PMSELECT id, recordtype FROM transaction WHERE id = ${id} and compare the results to what I haveClay Roper
09/13/2023, 5:59 PMSELECT COUNT(id) FROM transaction WHERE id = ${id} AND recordtype = ${type}Clay Roper
09/13/2023, 5:59 PMAnthony OConnor
09/13/2023, 5:59 PMClay Roper
09/13/2023, 5:59 PMClay Roper
09/13/2023, 6:00 PMSELECT DISTINCT recordtype FROM transaction to get a list of record types for transactions in your environmentClay Roper
09/13/2023, 6:01 PMrecordtype isn't on the entity tableAnthony OConnor
09/13/2023, 9:36 PMAnthony OConnor
09/13/2023, 9:38 PMrender.mergeEmail has 3 different attributes depending on broad record type