KevinC.
03/05/2020, 2:09 PMdmashburn3
03/05/2020, 2:20 PMs.Type.SUPPORT_CASE
or supportcase
not s.Type.supportcase
KevinC.
03/05/2020, 2:22 PMdmashburn3
03/05/2020, 2:23 PMsupportcase
you put it in quotesdmashburn3
03/05/2020, 2:26 PMN/record, N/search...
and in your function you have the corresponding variables set as s, r...
This means s
corresponds to the record
module and r
is set to correspond to the search
module. Kind of confusing as most people would reverse those.
Either way, with s
pointing to the record
module, that module has an enumeration of Type
set on it, and Type
has a property on it called SUPPORT_CASE
. When you reference s.Type.SUPPORT_CASE
from the record
module, it's sourcing the string "supportcase"
and that's why you can use either one.KevinC.
03/05/2020, 2:29 PMdmashburn3
03/05/2020, 2:29 PMKevinC.
03/05/2020, 2:30 PM