Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 449,229
» Latest member: w9azjcc172
» Forum threads: 1,743
» Forum posts: 9,046

Full Statistics

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

 
  The QueryGenerator class
Posted by: Guido1982 - 07-17-2017, 05:17 AM - Forum: coreBOS Development - Replies (8)

Looking at the code from this PR, I saw a class called QueryGenerator that could save me coding I think. Can anyone explain a bit about this class?

Print this item

  Wich module is use for Calendar?
Posted by: rslemer - 07-14-2017, 06:00 PM - Forum: Administrator Support - Replies (5)

In code, we have

Calendar
Calendar4you
cbCalendar

What module is really use?

In menu, for new version, is two entries, one for Calendar e another ( new ) for cbCalendar

Print this item

  Html Entities in Field created by workflow
Posted by: rslemer - 07-14-2017, 05:23 PM - Forum: Administrator Support - Replies (2)

I created a workflow to change some text area in Ticket Modules

But the text created showed </ br>, rather than the text i correct formatted ( in this case, jump to another line )

See attached image



Attached Files Thumbnail(s)
   
Print this item

  Error after clean install
Posted by: rslemer - 07-14-2017, 11:21 AM - Forum: Administrator Support - Replies (2)

After created only 1 lead, graph in dashboard show wrong number formatted ( see attached image )

After run, vtigercron.sh in first time, show PHP Fatal error:  Call to a member function FetchRow() on boolean in /usr/share/coreBOS/corebos-master/include/database/PearDatabase.php on line 610



Attached Files Thumbnail(s)
   
Print this item

  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

Print this item

  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

Print this item

  Workflow Only on the first save
Posted by: sergiogonzalezg - 07-01-2017, 11:35 AM - Forum: Administrator Support - Replies (1)

Ive created a Workflow  "Only on the first save" option within service contract module.

ive added a condition (when it is assigned to an specific user)

the task added is to send an email.

The email is not sent. The work flow is not working.

if i change "Only on the first save" by "programmed" every hour it works which means the condition and the task works fine.
any idea why "Only on the first save" doesnt work when i create a new entity?
txs in advance



Attached Files Thumbnail(s)
   
Print this item

  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

Print this item

  PHP 7
Posted by: rslemer - 06-28-2017, 05:21 PM - Forum: Administrator Support - Replies (1)

coreBOS 7 is compatible with php 7 ?

Print this item

  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?

Print this item