Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 759 online users. » 4 Member(s) | 755 Guest(s)
|
Latest Threads |
Import a big spreasheet
Forum: Open Discussions
Last Post: raavikant
2 hours ago
» Replies: 2
» Views: 5,716
|
Workflow send email - mor...
Forum: Open Discussions
Last Post: frelanhardware091
8 hours ago
» Replies: 5
» Views: 9,544
|
[RESUELTO] - Tipo de impu...
Forum: Administrator Support
Last Post: joebordes
11 hours ago
» Replies: 16
» Views: 8,186
|
little bug trasformin LEA...
Forum: Administrator Support
Last Post: sapnamathur
Today, 07:05 AM
» Replies: 5
» Views: 3,705
|
Workflow: función para ex...
Forum: User Support
Last Post: joebordes
Yesterday, 01:45 PM
» Replies: 1
» Views: 33
|
Actualizar campo relacion...
Forum: User Support
Last Post: joebordes
05-02-2024, 07:48 PM
» Replies: 1
» Views: 42
|
PRODUCTS IN ACCOUNTS BY O...
Forum: User Support
Last Post: joebordes
05-02-2024, 11:28 AM
» Replies: 3
» Views: 430
|
como manejar github en un...
Forum: International
Last Post: ntermacabre
04-10-2024, 03:52 AM
» Replies: 2
» Views: 1,342
|
whatsapp
Forum: User Support
Last Post: Yash
04-03-2024, 09:26 AM
» Replies: 2
» Views: 6,184
|
Attachment in e-mail not ...
Forum: User Support
Last Post: julikarole
03-13-2024, 05:59 AM
» Replies: 2
» Views: 1,212
|
|
|
PDF maker in Customer Portal |
Posted by: sergiogonzalezg - 07-11-2017, 10:28 AM - Forum: Modules/Extension Support
- Replies (4)
|
|
I have PDF maker installed and we use it in main corebos with no issues.
If i click on download pfds (invoices,quotes, etc..) within CUSTOMER PORTAL the template picked up by default is the default corebos and no pdf maker.
how could i select the pdf maker templates on customer portal?
txs
|
|
|
How to relate records the correct way and use event handlers on them |
Posted by: Guido1982 - 07-05-2017, 08:21 AM - Forum: coreBOS Development
- No Replies
|
|
A copy/paste from a Gitter discussion that might be usefull:
@Luke1982
09:13
Guys, I have a question. I'm creating a workflow that handles the first save of a Schedular record. I'd like this workflow to take into account the related module records I set in vtiger_crmentityrel. But those only get set AFTER I save the record for the first time, because I need the new record's ID. Now I'm thinking about using the value in vtiger_crmentity_seq to save the related records BEFORE I save the Schedular record. But the danger here is maybe that when multiple people are working in the CRM at the same time, this value could be wrong. But I'm not sure how PHP handles this. Are all other scripts blocked as long as I'm executing my script? Because then, I could use this value without the risk of it changing between setting the related modules and saving the record.
@Luke1982
09:22
Hmm, reading into this I see I can write-lock the table and release that lock when I'm done. I think I'll give that a go.
@joebordes
09:33
I would recommend an event handler
Instead of a workflow
coreBOS.link.after
(I think)
Or is it mandatory that it be a workflow?
@Luke1982
09:36
Would that event trigger after the full save script I created is done? Because basically, this is the save script: https://github.com/Luke1982/newSchedular/blob/master/modules/Schedular/ajax.php#L325-L381. If the event handler triggers on the save method, I still would have no related records saved yet, because I have no ID to link them to.
No that is not a requirement per se.
@joebordes
09:44
Link event gets launched when the two records are related
Right before and after the insert in crmentityrel
@Luke1982
09:46
Ah OK, but only if you use vtlib I think? I place them into the DB directly.
@joebordes
09:46
https://github.com/tsolucio/corebos/blob/master/build/HelperScripts/coreBOSEventsExample.php#L50
yes, correct but that is easy to fix
@Luke1982
09:48
That's true. Do you have a hint where this method lives?
And when it was introduced? This module needs to work on an older installation
@joebordes
09:49
https://github.com/tsolucio/corebos/blob/master/modules/Vtiger/updateRelations.php#L40
Use related entities function
That has been there since May 2015
@Luke1982
09:51
That should be OK I think.
@Luke1982
10:10
One question
When corebos.entity.link.after is fired, and the 'handleEvent' function receives the 'entityData' param, is that entity data the data of the LINKED module record, or the SOURCE module record?
@joebordes
10:12
Both
You get the name of both modules and both crmid
Look at the first link I pasted
In the coreboseventexample script
@Luke1982
10:14
You mean this: $entityData['destinationModule'].' '.$entityData['destinationRecordId']?
@joebordes
10:15
Yes
And the other two
source*
@Luke1982
10:17
So I could retrieve the linked module record through new $entityData['destinationModule'](); and then get the entity info through retrieve_entity_info()?
@joebordes
10:18
Sounds good
|
|
|
marketing dashboard |
Posted by: sergiogonzalezg - 06-29-2017, 11:36 AM - Forum: Modules/Extension Support
- Replies (2)
|
|
Ive created a marketing campaign using the marketing dashboard. Sendgrid credits run out in the middle of the sending batch. I realoaded credits on sendgrid but now the pending items show as pending but they don not get sed. Is there any way of force sending the schedled tasks?
txs
he creado el envio de unos emails usando el marketing dashboard pero se acabo el crédito de sendgrid a mitad de envio. despues de recargar el credito en sendgrid las tareas estan en "tareas programadas" del marketing dashboard pero no se relanzan. hay algún truco?
saludos
|
|
|
Capturing client responses to trouble ticket notifications |
Posted by: mweaver - 06-27-2017, 03:56 PM - Forum: Administrator Support
- Replies (3)
|
|
Hi All,
I've been wondering about this for a little while trying to figure out exactly how to intelligently ask this question: Is there a way to capture client responses to trouble-ticket notifications?
I've seen that other systems do this, but it's not clear as to how they're doing it, so I'm not exactly certain if this should be a workflow thing or what. Any ideas?
|
|
|
|