ERP DOCS DEVELOPER
  • ℹ️Welcome
    • Pengantar
    • Alur Aplikasi
  • 📍Getting Started
  • 💡Konsep
    • Core Concept
      • Company
      • User
      • Role
      • Permission
    • Account Concept
      • Chart of Accounts
    • Buying Concept
      • Supplier
        • Supplier
        • Supplier Group
      • Request for Quotation
      • Supplier Quotation
      • Purchase Order
      • Purchase Invoice
    • CRM Concept
      • Lead
      • Opportunity
      • Prospect
      • Customer
      • Contact
      • Address
    • HRM Concept
    • Manufacturing Concept
    • Selling Concept
      • Quotation
      • Sales Order
      • Sales Invoice
      • Blanked Order
      • Sales Partner
      • Territory
    • Stock Concept
      • Basic
        • Brand
        • Item Group
        • Warehouse
        • Unit of Measure
        • Item
        • Item Manufacturer
        • Item Price
        • Price Lists
      • Item Variants
        • Item Variants
        • Item Attribute
      • Stock Transactions
        • Material Request
        • Purchase Receipt
        • Delivery Note
        • Stock Entry
        • Packing Slip
        • Shipment
        • Pick List
      • Return
        • Sales Return
        • Purchase Return
    • 🛡️System Security
      • 🐞Logs & Debugging
      • 📋Audit Record
  • 👨‍💻Back-End
  • 💻Front-End
  • 📚Note, Reference
Powered by GitBook
On this page
  1. 💡Konsep
  2. CRM Concept

Lead

Logika dan Relasi Lead

PreviousCRM ConceptNextOpportunity

Last updated 2 years ago

CtrlK
  • Lead
  • Logika
  • Relasi
  • Table Structure

Lead

Lead adalah potensial calon pelanggan yang belum memenuhi kriteria sebagai pelanggan. Lead biasanya diperoleh melalui aktivitas pemasaran seperti pameran dagang, pendaftaran situs web, atau penawaran promosi. Lead harus dikonversi menjadi peluang sebelum dapat menjadi pelanggan. Lead dapat di teruskan atau di ubah ke entitas berikut :

  • Opportunity (Peluang)

  • Customer (Pelanggan)

Logika

  • Lead milik Company (secara sistem).

  • Lead milik Sales Partner (secara individu).

  • Lead milik Salesperson (secara individu).

  • Lead memiliki satu atau lebih Address (Alamat).

  • Lead memiliki satu atau lebih Contact (Kontak).

  • Lead dapat menjadi Opportunity.

  • Lead dapat menjadi Customer.

  • Lead memiliki 0 atau lebih Quotation.

Relasi

  • Lead belongs to a Company; Company has 0 to many Leads.

  • Lead belongs to a Sales Partner; Sales Partner has 0 to many Leads.

  • Lead belongs to a Salesperson; Salesperson has 0 to many Leads.

  • Lead morph to many Addresses; Address morphed by Many Leads. *

  • Lead morph to many Contacts; Contact morphed by Many Leads. *

  • Lead has 0 to one Opportunity; Opportunity belongs to a Lead.

  • Lead has 0 to one Customer; Customer belongs to a Lead.

  • Lead has 0 to many Quotations; Quotation belongs to Lead.

Lead dapat berubah menjadi Opportunity / Customer. Bukan berarti hanya statusnya saja yang berubah tapi menyalin datanya juga ke entitas Opportunity atau Customer sehingga pada relasi di atas "has 0 to one" yang artinya Opportunity / Customer dapat dimiliki Lead.

Ini dilakukan untuk memudahkan dalam pelaporan.

Item yang ada disini adalah daftar keinginan (wish list) dan belum masuk ke transaksi.

Note: *

  • Addressable : Polymorphic ( Many To Many )

  • Contactable: Polymorphic ( Many To Many )

Table Structure

https://dbdocs.io/mohamadsyalvasr/bumicode_erp?table=leads&schema=crm&view=table_structure