[Vtigercrm-developers] From where API call response is happening in Vtiger?

kiran kiranraju.jakka at gmail.com
Wed Dec 28 11:02:06 GMT 2016


Hi,

I just want to add two more values to the response call, Here is the data
which i have talked about earlier..

mapResultsToFields: function(referenceModule,element,responseData){
		var parentRow = jQuery(element).closest('tr.'+this.rowClass);
		var lineItemNameElment = jQuery('input.productName',parentRow);

		for(var id in responseData){
			var recordId = id;
			var recordData = responseData[id];
*			console.log(recordData);*
			var selectedName = recordData.name;
			var unitPrice = recordData.listprice;

This bit of code i have taken from
/vtigercrm/layouts/vlayout/modules/Inventory/resources/Edit.js
When i log the recordData i got something in the console like below,

<http://vtiger-crm.2324883.n4.nabble.com/file/n20334/Selection_014.png> 

Now i would like to add two more fields those are from products module only,

Can anyone help me on how to find-out the API call?


Thanks & Regards,




--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/From-where-API-call-response-is-happening-in-Vtiger-tp20334.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list