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: 632
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

 
  I'd like your thoughts on Product Relations
Posted by: Guido1982 - 10-26-2018, 05:34 PM - Forum: coreBOS Development - No Replies

I'm thinking about a small yet in my view important module that I'd like to call 'ProductRelation'. The goal is as follows:

Products can't always be regarded as a flat family. Some products may be assembled by combining other products from the products database, some may not be assembled in your company but could be a spare part for another product. Some products could even qualify as a 'part' for multiple products, but in different quantities. This is just a quick list from the top of my head, but I'm sure other company's could have different use cases.

The goal of the module I'm thinking of is to keep track of the nature in which products are related to another. The reason that I want to create a module for this, in stead of some extra fields is that the relations themselves have some unique attributes. Imagine for instance that you could qualify the relation as 'spare part', or 'assembly part', or both. You would also want to set a quantity. Lets say I sell a machine that uses 2 standard belt drives. The belts, subject to wear, are a separate product in my database. But those belts could also be used in another, more complicated machine that uses that same belt, but uses 4 in stead of 2.

This comes to play especially in assembled products. When you assemble a certain machine, the parts will virtually 'leave the stock', as in they're no longer available to use in another machine or to be sold as a spare part. So when we complete the assembly, we want to increase the stock amount of the assembled product but at the same time, decrease the stock of all assembly parts. For this, we need to know how many parts are used in a single assembly.

So basically, I would start out with the fields:

  • Master product
  • Slave product
  • Slave quantity
  • Relation type

I would like to know your thoughts and possible additions to this functionality, so feel free to speak up!

Print this item

  [ solved ] document - shows a incorrect character code
Posted by: rslemer - 10-25-2018, 04:42 PM - Forum: Administrator Support - Replies (3)

In related list, file name in documents, not shows correctly



Attached Files Thumbnail(s)
   
Print this item

  Mobile user get white screen after login
Posted by: addady2 - 10-25-2018, 01:04 PM - Forum: Administrator Support - Replies (7)

Hello,

After working fine some time in the mobile interface. Two on my user getting white screen after login.

There error is:

Code:
PHP Fatal error:  Call to a member function label() on boolean in ..../Smarty/templates_c/f3e8ee7270cb8098d4eff6bd5b57ca8ba1db8219_0.file.ListView.tpl.php on line 27

line 27 is:
PHP Code:
<head><title><?php echo $_smarty_tpl->tpl_vars['_MODULE']->value->label();?>


Deleting the temp file f3e8ee7270cb8098d4eff6bd5b57ca8ba1db8219_0.file.ListView.tpl.php don't help.

Those users can't load any mobile page expect the login form.

For example:
http://domain/modules/Mobile/index.php?_...e=HelpDesk
http://domain/modules/Mobile/index.php?_...rd=17x2209

Show white screen

As workaround I duplicate the user and the new user can access the mobile interface.

It's not look like this language / translation problem like in this post: https://discussions.corebos.org/showthre...ank+screen

Because other users with the same setting can work.

Please advise

Print this item

  [ solved ] Global Search return a error message
Posted by: rslemer - 10-23-2018, 06:53 PM - Forum: Administrator Support - Replies (2)

I don't have any customer Portal, and when I try make a simple search ( global ) system shows

Fatal error: Cannot redeclare getSearchModules() (previously declared in /usr/share/coreBOS/corebos-master/include/Webservices/CustomerPortalWS.php:345) in /usr/share/coreBOS/corebos-master/modules/Home/UnifiedSearch.php on line 313

Print this item

  Suggestion - function for put a Mask in filed
Posted by: rslemer - 10-21-2018, 08:22 PM - Forum: Administrator Support - No Replies

One funcionality missed in coreBOS is a capable shows data with mask

Example:

User input a telephone number 551120201999

and system exhibit as :

Telephone +55 (11) 2020-1999

I know architecture of system turn this compliated

But I suggest, create a funcition in Workflow for put a mask in fields, this way, the problem is minimized.

Example of code, for ilustrate my suggestion

<?
function mask($val, $mask) {
$maskared = '';
$k = 0;
for ($i = 0; $i <= strlen($mask) - 1; $i++) {
if ($mask[$i] == '#') {
if (isset ($val[$k]))
$maskared .= $val[$k++];
} else {
if (isset ($mask[$i]))
$maskared .= $mask[$i];
}
}
return $maskared;
}
?>

Print this item

  Help with Business Map - List Columns
Posted by: rslemer - 10-21-2018, 07:42 PM - Forum: Administrator Support - Replies (7)

I created a new BM for list column

Module Service Contracts to Contacts

Defaul filters works fines

Custom Field - Works for search

But in pop up, system not show a value with any custom field

There any restriction for use a custom fields?

<map>
<originmodule>
<originname>Contacts</originname>
</originmodule>
<relatedlists>
<relatedlist>
<module>ServiceContracts</module>
<linkfield>lastname</linkfield>
<columns>

<field>
<label>CPF</label>
<name>CF_846</name>
</field>

<field>
<label>Sobrenome</label>
<name>lastname</name>
</field>

<field>
<label>Responsável</label>
<name>assigned_user_id</name>
</field>

</columns>
</relatedlist>
</relatedlists>
<popup>
<linkfield>lastname</linkfield>
<columns>
<field>
<label>CPF</label>
<name>cf_846</name>
</field>

<field>
<label>Nome</label>
<name>lastname</name>
</field>

<field>
<label>Celular</label>
<name>mobile</name>
</field>

<field>
<label>Responsável</label>
<name>assigned_user_id</name>
</field>

</columns>
</popup>
</map>


and not clear for me how I use a <linkfield></linkfield>



Attached Files Thumbnail(s)
   
Print this item

  [ solved ] Question about documents
Posted by: rslemer - 10-21-2018, 12:54 AM - Forum: Administrator Support - Replies (2)

I see at newer version, in documents module exists a new section for control  the Total Space for Documents

How I can setting this?



Attached Files Thumbnail(s)
   
Print this item

  [ solved ] Error on created a new user
Posted by: rslemer - 10-21-2018, 12:45 AM - Forum: Administrator Support - Replies (2)

After my last update when I try created a new user, fields for password not showed anymore

and when I click at salve button nothing to do too ...


Apparently this occurs in installation with more time without run a git pull ....



Attached Files Thumbnail(s)
       
Print this item

  [ solved ] revised ṕt-lang translation for Service Contracts
Posted by: rslemer - 10-20-2018, 02:09 PM - Forum: Administrator Support - Replies (1)

I revised some terms for Portuguese Translation

User  made a litle confuses, principaly with a new format for a Date, in fact, Date Field ( Creation and Modify ) is a Date + Time ... and at older translation  this kind of field, shows only Date ( "Data in portuguese )

When user try crated a new filters or reports, need add a condition for Date + Time ( in some cases ... )



Attached Files
.php   pt_br.lang.php (Size: 2.13 KB / Downloads: 1)
Print this item

  [solved] How 2fa Activiation works
Posted by: rslemer - 10-19-2018, 07:24 PM - Forum: Administrator Support - Replies (4)

How was implemented 2fa in coreBOS?

I means code is sent thru email? or need any mobile app?

I don't found any documentation about it

Print this item