Lead @CRM defaultlisting="main" order="state desc"
#tab Datos
shop Shop "Comercio"
logo
name "Nombre" d
state LeadState "Estado" ds default="LeadState:findOneBy('id', 1)"
lastStateDate date "Fecha" ds fixed
codes "ABCD" ds
leadCategory "Rubro" LeadCategory ds
leadCategory1 "Rubro1" LeadCategory ds
leadCategory2 "Rubro2" LeadCategory ds
province "Provincia" Province ds
city "Ciudad" City ds subset="forProvince" subsetparams="province"
withoutAddress boolean "Sin dirección"
street "Calle" ds displayif="withoutAddress != 'true'" style="width:300px;"
streetNumber "Número" ds displayif="withoutAddress != 'true'"
apartment "Local/Depto" displayif="withoutAddress != 'true'"
whatsapp ds style="width:300px;"
phone ds style="width:300px;"
email ds style="width:300px;"
bounced boolean "Email Rebotado"
instagram ds style="width:300px;"
facebook
twitter
website ds style="width:300px;"
featured boolean "Destacar"
bigBrand boolean "Marca Grande"
time "Horario" text
usesMeli boolean "Usa MercadoLibre?"
meliItem "URL Artículo MercadoLibre" displayif="usesMeli = 'true'" style="width:300px;"
hasOnlineStore boolean "Tiene Tienda Online?"
usesTiendaNube boolean "Usa TiendaNube?"
lastTiendaNubeUpdate datetime fixed "Actualización TiendaNube" ds
usesShopify boolean "Tiene shopify?" hidden
scrapper Scrapper
hash
placeId fixed
vicinity fixed ds
businessStatus fixed
types set fixed
latitude double fixed
longitude double fixed
url
rating double
websiteUrls text
googlePhotos text
googleMapPhoto
color
instagramBio
instagramPicture
instagramError boolean
lastEmail "Ultimo email" type="datetime" fixed ds
#tab Marcas y productos
brands text "Marcas"
products text "Productos" style="height:400px;"
categories text "Categorias"
#tab Eventos y mails
Eventos]]>
Mails]]>
emails "Emails enviados" integer formula="(SELECT COUNT(*) FROM email e WHERE e.lead = id)" fixed ds
Historial del estado]]>
#tab Productos
InstagramPost @
lead Lead ds
instagramId ds
text
thumbnail ds
datetime ds
lastUpdate datetime
Shop @ order="name"
name d
logo ds
LeadProduct @Products
code ds
lead Lead d
title d r
description text
price d double
discount d integer
picture image d
category LeadProductCategory
link
itemGroupId
disabled boolean
outOfStock boolean
lastUpdate datetime
LeadVariation @Products
leadProduct LeadProduct
code ds
title d
price double d
discount d integer
disabled boolean
outOfStock boolean
lastUpdate datetime
LeadProductCategory @Products
lead Lead ds
name d
picture image d
link
productsCount integer
Province @Configuración
name "Nombre" d
code "Codigo"
featured "Destacado" boolean
City @Configuración order="name"
name "Nombre" d
province "Provincia" Province ds
featured "Destacado" boolean
url
LeadState @Configuración
name "Estado" d r
color
rating ds integer
LeadCategory @Configuración order="name" defaultlisting="itemList"
name "Name" d
keywords text
featured boolean
type LeadCategoryType ds
noShow boolean "No mostrar"
icon
url
LeadCategoryType @Configuración order="name"
name d
icon
url
orderBy "Ordenar" integer
showItem "mostrar" boolean
GooglePlaceType @Configuración order="name"
name "Name" d fixed
category LeadCategory ds
LeadTemplate @CRM
name "Nombre" d
enabled "Habilitado" boolean
media type="enum" ds \
Email
Printable
Whatsapp
SMS
addNewLines "Agregar saltos de líneas" boolean
useHTML "Usar HTML" boolean displayif="media = 'email'"
from "Remitente" displayif="media = 'email'"
subject "Asunto" displayif="media = 'email'"
alternativeSubjects "Asuntos alternativos" set displayif="media = 'email'"
text "Texto" style="height:350px;"
attachments text "Adjuntos" displayif="media = 'email'"
code ds
delivered integer ds fixed "Enviados"
validated integer ds fixed "Validados"
rate ds fixed "Conversión"
LeadHistory @Eventos order="id desc"
datetime "Fecha" fixed ds
lead Lead fixed ds
state LeadState fixed ds
LeadEventType @Eventos order="name"
name d r
LeadEvent @Eventos order="id desc"
lead Lead fixed d
type LeadEventType fixed d
datetime fixed d
state LeadState fixed d
leadTemplate LeadTemplate d fixed
ip fixed
userAgent fixed
result fixed ds
comments fixed ds
log fixed text
LeadPrintable @Eventos
datetime fixed d
leadTemplate LeadTemplate d fixed
leads Lead set fixed ds
totalLeads integer ds fixed
sended "Enviado" boolean ds
SendTemplate @Acciones transient="transient"
leads Lead set fixed
leadTemplate LeadTemplate subset="enabled"
subject "Asunto" readonly="readonly" \
text "plantilla" style="height:350px" readonly="readonly" \
EmailTemplate @Configuración
code d r
subject d r
emailFrom d
isHTML boolean
text style="height:300px;width:700px;"
ScheduledEmail @Eventos order="id desc"
lead Lead fixed ds
datetime fixed ds
template LeadTemplate fixed ds
sent boolean fixed ds
Email @Configuración stereotype="Email" order="id desc"
lead Lead fixed
ChangeState @Acciones transient="transient"
leads Lead set fixed
state "Estado" LeadState
leadCategory "Rubro" LeadCategory
MergeLeads @Acciones transient="transient" &Unificar
leads Lead list fixed
Scrapper @Scrappers
name d
javaClass ds