Accounting-Companion / TallyConnector

You can use Tally Connector to Connect your desktop/Mobile Applications with Tally seamlessly.
47 stars 29 forks source link

Stock item quantity is always turning into positive. #42

Closed parassanghani6 closed 4 months ago

parassanghani6 commented 5 months ago

In my Tally Prime, I have a stock item quantity that is negative (-22 PCS). When utilizing GetStockItemAsync to get stock items, OpeningBal.Number is consistently returned as an absolute value (22).

Like any value which is negative, in response turning into positive. ex. -18 => 18 -2 => 2

saivineeth100 commented 5 months ago

In general stock will not have negative balance, but will fix that

parassanghani6 commented 5 months ago

That obvious, stock never get negative but we have situation where it fall into negative.

Thank you for consideration.