[Vtigercrm-developers] vtws_revise not calculating totals on Inventory modules?

Alan Lord alanslists at gmail.com
Wed Oct 11 12:02:16 GMT 2017

On 11/10/17 11:37, Alan Lord wrote:
> On 11/10/17 10:58, Satish Dvnk wrote:
>> Hi Alan,
>> Calculations of lineitems and inventory record are depending on the 
>> element which passed for vtws_revise. So while adding / updating any 
>> lineitem of Inventory record, first get the element using 
>> vtws_retrieve and call vtws_revise.
> Not sure I understand Satish - why do I need to retrieve it first?
> I already have the wsid of the Quote.
> These are generally _new_ line items I am adding to the Quote
> Thanks

Anyway - I replaced some of my code so I did a retrieve first then sent 
the whole lot back with the new lineItems via revise and it still didn't 
populate the totals.

Guess I'll have to do it manually.


More information about the vtigercrm-developers mailing list