[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtigercrm-developers
Subject:    Re: [Vtigercrm-developers] vtws_revise not calculating totals on Inventory modules?
From:       Alan Lord <alanslists () gmail ! com>
Date:       2017-10-11 12:02:16
Message-ID: orl180$eu4$1 () blaine ! gmane ! org
[Download RAW message or body]

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.

Al

_______________________________________________
http://www.vtiger.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic