DSS

Syncs with Zoho

These keep the app in step with Zoho and run on their own. Run now starts one within a minute, in the background, the same way the schedule does — for when something was just changed in Zoho and can't wait. Times are California time.

Customers changed in Zoho

New customers, and changes to names, emails and active status, from the last two hours. New customers start at tier C.

Runs
Every hour, on the hour · next Nov 24, 1:00 AM
Last run
Done Nov 24, 12:00 AM · on schedule · took 6s
What the last run said
Reading customers changed in Zoho since 06:00...


+-------------------------+-------+
|                         | Count |
+-------------------------+-------+
| Changed in Zoho         | 0     |
| New to us               | 0     |
| Marked inactive in Zoho | 0     |
| We had before           | 2636  |
| We have now             | 2636  |
+-------------------------+-------+

All customers

Reads every customer in Zoho again, in case an hourly run missed one. Takes about a minute.

Runs
Every night at 3:30 AM · next Nov 24, 3:30 AM
Last run
Failed Nov 23, 3:35 AM · on schedule · took 5m 4s
What the last run said
Reading customers from Zoho...
............
In ZohoClient.php line 89:
                                                                               
  Zoho GET /contacts could not connect: cURL error 28: Operation timed out af  
  ter 30000 milliseconds with 391833 bytes received (see https://curl.se/libc  
  url/c/libcurl-errors.html) for https://www.zohoapis.com/books/v3/contacts?c  
  ontact_type=customer&page=7&per_page=200&organization_id=712129790           
                                                                               

In PendingRequest.php line 2055:
                                                                               
  cURL error 28: Operation timed out after 30000 milliseconds with 391833 byt  
  es received (see https://curl.se/libcurl/c/libcurl-errors.html) for https:/  
  /www.zohoapis.com/books/v3/contacts?contact_type=customer&page=7&per_page=2  
  00&organization_id=712129790                                                 
                                                                               

In CurlFactory.php line 1140:
                                                                               
  cURL error 28: Operation timed out after 30000 milliseconds with 391833 byt  
  es received (see https://curl.se/libcurl/c/libcurl-errors.html) for https:/  
  /www.zohoapis.com/books/v3/contacts?contact_type=customer&page=7&per_page=2  
  00&organization_id=712129790

Items

Item names, prices, costs and active status from Zoho, so a price changed in Zoho reaches the estimator.

Runs
Every night at 4:00 AM · next Nov 24, 4:00 AM
Last run
Done Nov 23, 9:14 AM · run by hand · took 23s
What the last run said
Importing items from Zoho Books...
.......................

+----------------+--------------+
|                | Count        |
+----------------+--------------+
| Items imported | 2327         |
| Size parsed    | 1661 (71.4%) |
| Not parsed     | 666          |
| Elapsed        | 22.5s        |
+----------------+--------------+
Names with no readable size (first 25):
  - #2 Backing.
  - #2 Gravel - Irwindale
  - 40-lb-bag
  - 44 lb Bag (45 bags per pallet)
  - 50 lb bags 60 bags per pallet
  - 50-lb-bags-60-bags-per-pallet
  - 50-lb-bags-60-bags-per-pallet
  - 75 lb Bag (40bags per pallet)
  - 75-lb-bag
  - 75-lb-bag
  - Alpine Rapids.
  - Amber Cloud Boulders.
  - Amber Cloud Non-Stabilized D.G.
  - Amber Cloud Stabilized D.G.. (do not sell)
  - Amended Topsoil
  - Apache Brown Boulders
  - Apache Brown D.G.
  - Apache Brown D.G. "Stabilized"
  - Aqua Pebble Sample- OSS
  - Aqua Pebble Sample/1 1/2"-2 1/2"
  - Aqua Pebble Sample/3/4"-1 1/2"
  - Arizona Buff Sandstone Boulders (SEE Internal Notes)
  - Arizona Chocolate Flagstone, Pa.
  - Arizona Moss Boulder
  - Arizona River Rock Sample

These are excluded from size-based fallback rather than guessed at.

Quarries

The quarry list, from the vendors on the items, with their addresses from Zoho. Freight is measured from these. Run it after Items.

Runs
Every night at 4:30 AM · next Nov 24, 4:30 AM
Last run
Done Nov 23, 4:36 AM · on schedule · took 6m 38s
What the last run said
Reading vendor addresses from Zoho...
.........

  930 vendor records checked, 133 matched to a quarry we buy from.
  22 addresses look like a PO box or an office rather than a pit - flagged for review.
+-----------------------------------+-------+
|                                   | Count |
+-----------------------------------+-------+
| Vendors found                     | 130   |
| New origins created               | 0     |
| Origins on file                   | 133   |
| With a shipping address from Zoho | 104   |
| Falling back to a billing address | 22    |
| Needs review (PO box or office)   | 22    |
| Still without an address          | 6     |
+-----------------------------------+-------+

6 of 133 quarries have no address yet.
  Until they do, quotes for their material fall back to Corona, CA and say so.
  Fill them in at /origins, highest item count first:

      12 items   Mario Abundiz
       9 items   Fernando Soto
       6 items   Holt Rock
       5 items   Mojave Agg.
       3 items   Gerardo Antonio Castro Saldivar
       3 items   Vulcan - El Centro

Also every minute, with nothing to press: the check of the estimating@ inbox (off until email estimating is switched on) and the background worker that reads those emails.