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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 539,601
» Latest member: cubanpath23
» Forum threads: 1,745
» Forum posts: 9,084

Full Statistics

Online Users
There are currently 4 online users.
» 0 Member(s) | 1 Guest(s)
Applebot, Bing, Google

Latest Threads
Finetuning the way you se...
Forum: coreBOS Development
Last Post: alexandy40d
12-06-2024, 07:38 AM
» Replies: 4
» Views: 8,140
MariaDB Version
Forum: Administrator Support
Last Post: joebordes
11-01-2024, 11:49 AM
» Replies: 1
» Views: 631
Product Catalog / parts c...
Forum: Modules/Extension Support
Last Post: joebordes
09-15-2024, 09:40 AM
» Replies: 1
» Views: 1,108
Challenges and Best Pract...
Forum: coreBOS Development
Last Post: wishforbes
08-30-2024, 04:21 PM
» Replies: 0
» Views: 720
PRODUCTS IN ACCOUNTS BY O...
Forum: User Support
Last Post: jonathanmoore858
08-03-2024, 04:14 PM
» Replies: 4
» Views: 2,768
Zapier | Integration
Forum: Modules/Extension Support
Last Post: bernardgbailey
07-29-2024, 11:45 PM
» Replies: 7
» Views: 9,848
Versión PHP recomendada
Forum: International
Last Post: joebordes
07-04-2024, 05:42 PM
» Replies: 7
» Views: 3,331
Could Someone Give me Adv...
Forum: Open Discussions
Last Post: joebordes
06-27-2024, 08:32 AM
» Replies: 1
» Views: 1,706
RESTRICTED FILE
Forum: Administrator Support
Last Post: inspectorflint
06-22-2024, 08:08 AM
» Replies: 7
» Views: 5,660
GENDOC imágenes
Forum: Open Discussions
Last Post: joebordes
06-02-2024, 05:11 PM
» Replies: 4
» Views: 2,038

 
  Error en relacion Assets/Projects
Posted by: julioval - 12-15-2016, 11:38 AM - Forum: Administrator Support - Replies (4)

En un proyecto inserto un campo "relacionado con" los recursos y cuando lo pincho me sale la ventana emergente con el siguiente mensaje:

Fatal error: Uncaught exception 'Exception' with message 'result is not an object' in /var/www/html/cB_XXXXX/include/database/PearDatabase.php:789 Stack trace: #0 /var/www/html/cB_XXXXX/Popup.php(425): PearDatabase->query_result(false, 0, 'count') #1 /var/www/html/cB_XXXXX/modules/Assets/Popup.php(10): require_once('/var/www/html/c...') #2 /var/www/html/cB_XXXXX/index.php(675): include('/var/www/html/c...') #3 {main} thrown in /var/www/html/cB_XXXXX/include/database/PearDatabase.php on line 789

¿Por qué? ¿Qué tengo o hago mal? ¿Cómo lo puedo solucionar?

Saludos.

Print this item

  Can we use joins in webservice queries?
Posted by: Guido1982 - 12-14-2016, 02:33 PM - Forum: coreBOS Development - Replies (1)

Maybe a silly question, but I just assumed this was not possible: Can we use JOINS in queries made over webservice?

Print this item

  Registering a custom function to be invoked by webservice
Posted by: Guido1982 - 12-14-2016, 01:34 PM - Forum: coreBOS Development - Replies (3)

I know I've asked this before, but I'm still a bit fuzzy on this:

What are the basic steps to register a new webservice function (for instance in a module's postinstall), so that it can be invoked from the outside (by the doInvoke command) through webservice?


So far I've found this in the repo. Is that a good lead?

Print this item

  My module is showing 'undefined' in the operator list
Posted by: Guido1982 - 12-13-2016, 07:41 PM - Forum: coreBOS Development - Replies (5)

I'm creating a new module, that is related to both Assets and SalesOrders through UI 10 fields. When I want to setup a workflow for my module, that filters on the productname in assets, I see 'is', 'is not' and four times 'undefined' (see attached image). Also, the workflow is not working.



Attached Files Thumbnail(s)
   
Print this item

  Zapier | Integration
Posted by: rslemer - 12-13-2016, 04:03 PM - Forum: Modules/Extension Support - Replies (7)

There any plan to integrate coreBOS with Zapier ?

Zapier is a lot of integration, with many products in the world.

See www.zapier.com

Print this item

  Different instantiation of a module
Posted by: Guido1982 - 12-13-2016, 12:02 PM - Forum: coreBOS Development - Replies (3)

I see that we have:

PHP Code:
        $modname 'SalesOrder';
        
$module Vtiger_Module::getInstance($modname); 

To get a module instance. But is that (and if so, how) different from

PHP Code:
$so_focus = new SalesOrder(); 
?

Print this item

  How to register a webservice function in your module installation
Posted by: Guido1982 - 12-13-2016, 11:56 AM - Forum: coreBOS Development - Replies (2)

I want to register a new webservice function that can be called from outside. It'll create a PDF with the values passed into it. This function belongs to a module, so I want to register the new webservice function on module installation. Are there any examples on how to do this?

Print this item

  Creating a UI16 field with values in manifest file
Posted by: Guido1982 - 12-13-2016, 11:19 AM - Forum: coreBOS Development - Replies (7)

I'm creating a manifest file, and I want to create a UI 16 field and populate it with some values in the manifest file, does anyone have an example of the syntax?

Print this item

  Adding event handlers to extension modules
Posted by: Guido1982 - 12-13-2016, 10:19 AM - Forum: coreBOS Development - Replies (2)

I was reading the vtlib docs and came accross this code:

Code:
<?xml version="1.0" encoding=”utf-8”?>
<module>
<type>extension</type>
<name>MODULENAME</name>
<label>MODULE LABEL</label>
<parent>Tools</parent>
<version>1.0</version>
<dependencies>
<vtiger_version>5.1.0</vtiger_version>
</dependencies>
<tables>
<table>
<name>TABLE-NAME</name>
<sql><![CDATA[CREATE_TABLE_SQL]]></sql>
</table>
</tables>
<events>
<event>
<eventname>EVENT_NAME</eventname>
<classname>EVENT_HANDLER_CLASS</classname>
<filename>EVENT_HANDLER_CLASS_FILE</filename>
<condition><![CDATA[modulename in ['MODULENAME']]]></condition>
</event>
</events>
</module>

Where I see you can add event handlers in the manifest file of an extension module. But we could just as easily do it in the vtlib_handler class method of the main file right? So in modules/MyModuleName/MyModuleName.php I would create:

PHP Code:
    function vtlib_handler($modulename$event_type) {
        if(
$event_type == 'module.postinstall') {
            
// TODO Handle post installation actions
        
} else if($event_type == 'module.disabled') {
            
// TODO Handle actions when this module is disabled.
        
} else if($event_type == 'module.enabled') {
            
// TODO Handle actions when this module is enabled.
        
} else if($event_type == 'module.preuninstall') {
            
// TODO Handle actions when this module is about to be deleted.
        
} else if($event_type == 'module.preupdate') {
            
// TODO Handle actions before this module is updated.
        
} else if($event_type == 'module.postupdate') {
            
// TODO Handle actions after this module is updated.
        
}
    } 

Where I would do the event handler creation in the postinstall?

Print this item

  Corebos no envía correo de TKT clientes
Posted by: jvillegas - 12-12-2016, 10:46 PM - Forum: coreBOS Mail - Replies (3)

Saludos,

Los correos que le confirma al cliente que su incidencia se recibió no se están llegando al cliente, es decir, un cliente escribe un incidente y el sistema nos les devuelve la confirmación y el número de la incidencia.

Que puedo revisar o como puedo dar solución a este problema.

Gracias

Print this item