#freeside
Agentnum => [ 'FREESIDEFIELD', ],
Classnum => [ 'FREESIDEFIELD', ],
+ Refnum => [ 'FREESIDEFIELD', ],
Tagnum => [ 'FREESIDEFIELD', 'cust_tag' ],
WillResolve => [ 'DATE' => 'WillResolve', ], #loc_left_pair
);
elsif ( $subkey eq 'Agent' ) {
$field = "$custalias.agentnum";
}
+ elsif ( $subkey eq 'Referral' ) {
+ $field = "$custalias.refnum";
+ }
else {
# no other cases exist yet, but for obviousness:
$field = $subkey;