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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 539,599
» Latest member: 23winreviews
» Forum threads: 1,745
» Forum posts: 9,084

Full Statistics

Online Users
There are currently 3 online users.
» 0 Member(s) | 1 Guest(s)
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: 628
Product Catalog / parts c...
Forum: Modules/Extension Support
Last Post: joebordes
09-15-2024, 09:40 AM
» Replies: 1
» Views: 1,107
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,766
Zapier | Integration
Forum: Modules/Extension Support
Last Post: bernardgbailey
07-29-2024, 11:45 PM
» Replies: 7
» Views: 9,847
Versión PHP recomendada
Forum: International
Last Post: joebordes
07-04-2024, 05:42 PM
» Replies: 7
» Views: 3,328
Could Someone Give me Adv...
Forum: Open Discussions
Last Post: joebordes
06-27-2024, 08:32 AM
» Replies: 1
» Views: 1,705
RESTRICTED FILE
Forum: Administrator Support
Last Post: inspectorflint
06-22-2024, 08:08 AM
» Replies: 7
» Views: 5,659
GENDOC imágenes
Forum: Open Discussions
Last Post: joebordes
06-02-2024, 05:11 PM
» Replies: 4
» Views: 2,038

 
Exclamation Campo personalizado (relacionado con) en Eventos
Posted by: julioval - 10-14-2016, 08:25 AM - Forum: Administrator Support - Replies (4)

Buenos días,
A la hora de crear un Evento (una llamada o una reunión), actualmente tengo la posibilidad de relacionarlo con:

  • por una parte, un desplegable en el que puedo elegir entre: precontactos, cuentas, oportunidades, incidencias, campañas, proveedores.
  • o, por otro lado, con contactos
Querría poder relacionar un Evento con un presupuesto pero el problema es que si quiero crear un campo personalizado, este no puede ser del tipo relacionado con.
Cómo puedo solucionar situación?
Saludos.

Print this item

  Different way of handling inventorylines in template
Posted by: Guido1982 - 10-12-2016, 07:40 PM - Forum: coreBOS Development - Replies (2)

I'd like to suggest a different way of handling inventorylines in the Smarty template (did not post this in the PackingSlip thread because I think it should be more generic):

In "Smarty/templates/Inventory" we have "InventoryEditView.tpl" and "InventoryCreateView.tpl" (and I think also detailview) we have this line:

PHP Code:
{if $MODULE eq 'PurchaseOrder' || $MODULE eq 'SalesOrder' || $MODULE eq 'Quotes' || $MODULE eq 'Invoice'

That limits the use of inventorylines to only these modules, but why? First of all, this is a special Inventory template, why would it even ask if it should show inventorylines? That's its job, right? And if we still want to impose an 'if' statement here, why not make it more general. Make every module that has inventory capabilities set a smarty variable called 'HAS_INVENTORY' (or something like that) in its EditView.php file and then use that in the 'if' statement. Right now, when creating the packingslip module I'm struggling because the only way to create packingslips using the system templates is to include my modulename in the file, which I don't want to do (shouldn't change core files for module development).

So, I'd be happy to create a PR for this if there are no objections.

Print this item

  Is coreBos ready for muti tenant
Posted by: estares - 10-12-2016, 04:30 PM - Forum: Administrator Support - Replies (2)

Hi all

Can coreBos be configured to run for more than one client? Each client must not see data from other clients but the database is the same.
Or is there a way to run mutliple instances of CoreBos which uses the same database?

Best regards.
Andy

Print this item

  Use one table for multple picklists?
Posted by: Guido1982 - 10-10-2016, 07:26 PM - Forum: coreBOS Development - Replies (2)

Is it possible to create multiple UI15 or 16 fields (in multiple modules) that use the same source table for the picklist values?

Print this item

  SOLVED: Setting standard dropdown item does not work
Posted by: Guido1982 - 10-10-2016, 03:00 PM - Forum: coreBOS Development - Replies (1)

Beware: this is on my ExactOnline module, the first module I made so probably I made some mistake there. One of the fields created is a dropdown in the invoice module. From time to time, it updates the optional items. The problem is, I set a standard value for this picklist in the layout editor of invoices, but it doesn't work. Where is this standard value stored?

EDIT
I found the default value is stored on the field row in vtiger_field. The default value I selected is stored, but not used when I create a new invoice.


Think I found it. The script I use to sync the field options adds a bunch of spaces. That's why when in Smarty the option labels/values don't exactly match and the "selected" attribute is not set.

Print this item

  Autofilling fields from one module to antoher
Posted by: Guido1982 - 10-09-2016, 04:23 PM - Forum: coreBOS Development - Replies (3)

This one took me some time to figure out, and in the end it was dead-simple:

Let's say you want to create a module, of which the records can be created using an entry from another module as the starting point. So you create an action link in the source module's action column that includes the record ID from that source module in the query params.

Now you have a UI10 field in your new module that needs to be filled out with that record. Just edit "CreateView.php" in your new module and add:

PHP Code:
if (isset($_REQUEST['source_id']) && $_REQUEST[source_id'] != '') {
 $focus->column_fields['
your_module_column_name'] = $_REQUEST['source_id'];


Before the smarty BLOCKS are assigned. This will take care of the rest. The source_id is your query param, the columnname is the field/column name in your new module, where you want the link to take place.

Hope this helps someone.

Print this item

  What is "validationdata"
Posted by: Guido1982 - 10-09-2016, 10:45 AM - Forum: coreBOS Development - Replies (2)

Again, as to not pollute the "PackingSlip" thread with global questions:

What does this part do:

PHP Code:
$tabid getTabid("PackingSlip");
$validationData getDBValidationData($focus->tab_name$tabid);
$data split_validationdataArray($validationData);
$category getParentTab();
$smarty->assign("CATEGORY"$category); 

Found here. Are all these functions native app functions?

Print this item

  Request: isDuplicate. CRM variable name?
Posted by: Guido1982 - 10-09-2016, 10:17 AM - Forum: coreBOS Development - Replies (2)

Since I think this question could also come up for module development in general I thought I'd start a new topic for it, as to not clutter the "PackingSlip" topic with too much info:

I saw this line in EditView.php (taken from the example IssueCards module):

PHP Code:
if (isset ($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') { 

Is the "isDuplicate" a CRM default variablename, that is set to the REQUEST array for each entity record that is created as a duplicate? If so, I should not rename it.

Print this item

  htaccess
Posted by: rslemer - 10-09-2016, 01:46 AM - Forum: Administrator Support - Replies (3)

There many htaccess in different directory in coreBOS

Actived apache use this, impact all system performance

What do you think about this? For security reasons ?

Print this item

  new module development: Packing Slips
Posted by: Guido1982 - 10-07-2016, 04:25 PM - Forum: coreBOS Development - Replies (36)

Since I found the current Packing Slips repo to be quite outdated and missing functionality, I took it upon myself to create a training repo for myself. The purpose is to create a good packing slip module from scratch (scratch being the skeleton module). Here is the repo. I'd like some help on the main PHP file:

  1. column_fields: What does this array do?
  2. related_tables: Does this mean you have to activate this line to be able to show custom field names in related lists? But you can only set the related list columns in this file right?
  3. list_fields: These are the fields used in the related list columns I think I know.. But am I using this correctly? I mean, I create a field for the related sales order on line 53, but can I do that this way? And how is the link text generated in this case?
  4. list_field_name: Is related to the previous question. Is this where the link names are generated? And if so, shouldn't I use different column names then?

That's it for now. I'll proceed creating the manifest and get back if I have more questions.

Print this item