frozen_string_literal: true Who a Salesforce task or event belongs to. Salesforce splits an activity's relations in two: `WhoId` points at a person (a Contact or a Lead) and `WhatId` at whatever else it concerns -- an Opportunity, an Account, a custom object. Woofed requires a co
# Source: https://github.com/douglara/woofed-crm | License: MIT | Copyright 2026 WOOFED DESENVOLVIMENTO DE SOFTWARES LTDA - ME - CNPJ 60.076.777/0001-61 # Provided via justclaw.it.com; keep this notice with the code. # frozen_string_literal: true # Who a Salesforce task or event belongs to. # # Salesforce splits an activity's relations in two: `WhoId` points at a person (a # Contact or a Lead) and `WhatId` at whatever else it concerns -- an Opportunity, # an Account, a custom object. Woofed requires a contact on every event, so the # person is looked for in that order: # # 1. WhoId, the person Salesforce itself recorded # 2. the contact of the deal in WhatId # 3. a contact of the company in WhatId # # A call logged against an opportunity with nobody on it, and against a company # wi ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key