Triggers

Ejecución manual sobre un registro

Se inicia para un registro de un tipo que eliges. La entrada de la ejecución es el id de ese registro.

Trigger
entity

Más en Triggers.

Elige un tipo de registro. La ejecución lo lee con la variable indicada y arranca desde el id del registro.

RegistroVariableCampos
Pedidotrigger_orderid, orderNumber, status, contactId, contactName, contactEmail, projectName, projectAlias, startDate, endDate
Proyectotrigger_projectid, name, projectNumber, contactId, totalOrders, totalIncidents
Subalquilertrigger_subrentid, itemId, itemName, type, status, quantity, providerId, providerName, providerPrice, startDate, endDate, purchaseOrderNumber, orderNumber
Presupuestotrigger_quoteid, versionId, quoteNumber, status, operativeStatus, total, contactId, contactName, contactEmail, contactNif, orderNumber, projectName
Facturatrigger_invoiceid, invoiceNumber, status, total, contactId, contactName, contactEmail, orderNumber, projectName, invoiceDate, dueDate
Orden de compratrigger_purchaseOrderid, poNumber, status, poDate, supplierId, currency, subTotal
Factura de proveedortrigger_supplierInvoiceid, invoiceNumber, supplierInvoiceNumber, status, invoiceDate
Parte de reparacióntrigger_repairTicketid, number, status, date, orderId, orderNumber, contactId, contactName, total
Contactotrigger_contactid, name, commercialName, nif, contactType, status, email, phone, contactNumber
Artículotrigger_itemid, sku, name, description, itemType, collectionName
Artículo serializadotrigger_serializedItemid, code, serialNumber, status, inventoryType, itemId, itemName, itemSku, spaceId, purchaseDate, warrantyExpiration
Kittrigger_kitid, name, description
Persona del equipotrigger_staffid, fullName, staffType, collectionName, email, phone, hasDrivingLicense, contractType, contractHoursPerWeek, contractStartDate
Vehículotrigger_vehicleid, name, status, registrationNumber, collectionName, inspectionDate, seats, payloadKg, costPerKm, fixedCost
Oportunidadtrigger_opportunityid, identifier, name, status, pipelineId, stageId, amount, currency, contactId, companyId, ownerStaffId, expectedCloseDate
Serviciotrigger_serviceid, nameExternal, nameInternal, serviceType, collectionName, defaultQty, showInPlanner, includeInPrice, breakMinutes, hourlyRate, fixedPrice, perKmRate
Servicio internotrigger_internalServiceid, title, description, serviceType, status, startDate, endDate, serviceId, serviceName, projectId, projectName, assignedStaffCount, assignedVehiclesCount
Incidenciatrigger_incidentid, identifier, title, description, type, scope, status, priority, severity, blocksAvailability, orderId, orderNumber, projectId, dueDate, estimatedCost
Cuenta de tesoreríatrigger_treasuryAccountid, name, type, status, currency, iban, provider, initialBalance
Proformatrigger_proformaid, proformaNumber, status, operativeStatus, total, contactId, contactName, contactEmail, orderNumber, projectName, issueDate, validUntil
Nota de créditotrigger_creditNoteid, creditNoteNumber, status, total, contactId, contactName, contactEmail, originalInvoiceId, originalInvoiceNumber, issueDate
Nota de crédito simplificadatrigger_simpleCreditNoteid, simpleCreditNoteNumber, status, total, contactId, contactName, contactEmail, originalReceiptId, originalReceiptNumber, issueDate
Ticket de ventatrigger_salesReceiptid, receiptNumber, status, total, contactId, contactName, contactEmail, orderNumber, receiptDate, dueDate
Tareatrigger_taskid, title, description, type, isCompleted, startDate, endDate

Configuración

entityenum<string>Obligatorio

El tipo de registro para el que se inicia la ejecución.

Valores para los pasos

system_todaystring

Hoy

trigger_orderobject

Pedido

Mostrar atributos hijos
trigger_order.idstring

Id

trigger_order.orderNumberstring

Número de pedido

trigger_order.statusenum<string>

Estado

Opciones disponibles: draft, reserved, prepared_partially, prepared, picked_up_partially, picked_up, returned_partially, returned, checked_in_partially, checked_in, archived, cancelled

trigger_order.contactIdstring

Id del contacto

trigger_order.contactNamestring

Nombre del contacto

trigger_order.contactEmailstring

Correo del contacto

trigger_order.projectNamestring

Nombre del proyecto

trigger_order.projectAliasstring

Alias del proyecto

trigger_order.startDatestring

Fecha de inicio

trigger_order.endDatestring

Fecha de fin

trigger_createdAtstring

Fecha de ejecución

trigger_createdBystring

Dueño del workflow

¿Te ha resultado útil esta página?