CoreBOSBB
[ solved ] - Service Contracts - doubt - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: [ solved ] - Service Contracts - doubt (/showthread.php?tid=961)

Pages: 1 2 3


[ solved ] - Service Contracts - doubt - rslemer - 03-21-2018

My system is setting to B2B = 0, and Account module is disabled.

When I try add a to do or ticket in service contracts module, system not maintain the relation previous selected.

I think the the problem, system not allow user create ticket or task to a contract services

See attached images


RE: Service Contracts - Issues - joebordes - 03-21-2018

Works correctly for me.


RE: Service Contracts - Issues - rslemer - 03-21-2018

But this screen I printed in demo system

Choose in Menu, Service Contracts, tab more information, and add a ticket.

This ticket not maintain relation with the service contract.

If you try the same way, fot create a new to do, will not able to set a contracts service in relation field and will need to put a contact manually, too.


RE: Service Contracts - Issues - joebordes - 03-21-2018

I cannot reproduce: both the new Ticket and the new Todo end up related to the service contract.

http://corebos.org/demos/corebos/index.php?module=ServiceContracts&action=CallRelatedList&viewname=0&start=&record=9766&;

Yes, you have to fill in the fields manually, but the records are correctly related on save.

It is impossible to establish all the relations and capture fields in the system, not only are there too many but also you can create as many as you need. If you need to fill in some fields automatically that functionality has to be added specifically for your use case.


RE: Service Contracts - Issues - rslemer - 03-21-2018

Ok,

But in another parts of system, when I do the same, system complete this fields, for example if you active Account module, system will complete relation to field.

And, if you try created a new todo, from menu, not is possible choose relation to service contracts


RE: Service Contracts - Issues - joebordes - 03-21-2018

As I said above, it is impossible to foresee and prepare all the different possible combinations anyone can construct. Some have been implemented, others have not. If you need one you can add it. You can even share it with the project too :-)


RE: Service Contracts - Issues - rslemer - 03-21-2018

Sure,
How you suggest, for I start make this changes like that?


RE: Service Contracts - Issues - joebordes - 03-22-2018

I'm not quite sure what you want to do. If you want to add Service Contracts to the calendar related field and then you will need a cbupdater update with some vtlib code to capture the field and add the relation. That is in case you want to share it with everyone. If you just want to add it to your install a simple vtlib script can do that easily or directly insert into vtiger_fieldmodulerel

If you want to fill in other fields, the field mapping business map should be able to do that or you can add some code to the EditView.php script in calendar like you will find in Payments, or many inventory modules.


RE: Service Contracts - Issues - rslemer - 03-22-2018

I only wish the option Services Contracts appears in relation to when user create Task or Tickets

See image attached


RE: Service Contracts - Issues - joebordes - 03-22-2018

find the fieldid of those two fields, go to the vtiger_fieldmodulerel table and look for those fieldid and add another record for the module you want to support

that is what the vtlib API does:
https://github.com/tsolucio/corebos/blob/master/build/changeSets/2017/changeUitype68To10.php#L25