Bool findFromEmail(String email)
Looks up a customer in the primary database based on an email address.Bool findExternallyFromEmail(String email)
Same asfindFromEmail(), but looks in external data sources.
Bool findExternallyFromEmail(String email, Integer extTable)
A variant offindExternallyFromEmail() that limits the look-up to 1 specific source.
Bool findFromCellphone(String cellphone)
Looks up a customer in the primary database based on a cellphone number.Integer findExternallyFromKey(Integer table, String key)
Looks up a customer in an external data source (ext_table.id) based on its primary key.
- If a match is found in the local proxy, the customer is loaded.
- Otherwise, if a match is found externally, a proxy is created and saved.