KamoCRM

The lead→application conversion seam — POST /portal/promote

FeatureSecurityService
Shipped
10 ஜூலை, 2026 அன்று 10:23 PM UTC
Author
Kamo
Commit
62435e5

The funnel was a closed loop: nothing ever converted the portal lead into an application (blank mints only — no sourceLead, no seeded fields, no LO inheritance). promoteToApplication: merge GUID (idempotent) → reuse-or-createFromLead (URLA seeded from stated facts, sourceLead set) → link the member's ACCOUNT (party authz keys on it — createFromLead never set it) → ensureTransaction (inherits the accepted loan officer).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing