getCSLBInfo
Selects the first licensed professional on the record and retrieves its data from the California State License Board (CSLB). If doWarning is true, shows a warning message if the license has expired. If doPop is true, updates the record's licensed professional with data from CSLB.
Version
1.4
Parameters
| Parameter | Type | Description | 
|---|---|---|
| doPop | boolean | Use true if the record's license professional must be updated with data from the California State License Board (CSLB); otherwise, use false. | 
| doWarning | boolean | Use true if warning message should appear if license has expired; otherwise, use false. | 
Returns
Returns false if the record has no licensed professional, if the license cannot be found at CSLB, or if any error is encountered.
Notes
The following fields are updated:
- Business Name 
- Phone Number 
- Address Line 1 
- Issued Date 
- Address Line 2 
- Expiration Date 
- City 
- State 
- Zip