RF
Asked
I'm having a problem with the daily sales report when clicking on a date to show the profits, the issue is caused when purchasing products that the purchase unit is not a base unit, what happens is that the sma_costing table records the wrong unit cost, it's not converting the cost to base unit, so when the daily sales report shows the product's cost it shows a big number because it's multiplying wrong numbers,
for example: I purchase a dozen eggs for $12 ($1 a piece), so when i sell those eggs, the sma_costing table registers 12 in quantity and $12 in purchase_unit_cost, but the purchase unit cost should be $1, by the way the sales unit cost is registered correctly. So what the daily sales profit shows it's 12 eggs multiplied by $12 = $144 products cost, when it should be $12.
Please fix this
for example: I purchase a dozen eggs for $12 ($1 a piece), so when i sell those eggs, the sma_costing table registers 12 in quantity and $12 in purchase_unit_cost, but the purchase unit cost should be $1, by the way the sales unit cost is registered correctly. So what the daily sales profit shows it's 12 eggs multiplied by $12 = $144 products cost, when it should be $12.
Please fix this
- MSAnsweredHello,
Let me check and I shall fix this in coming update.
Thank you - RFAnsweredThanks
- EHAnsweredThis is happened to me too.
- MSAnsweredHello,
Can you guys help me test this again on live demo.
Thank you - RFAnsweredHi Mian,
still same problem, costing table is registering the purchase_unit_cost without converting it to base unit - MSAnswered**[Ricardo Flotte](/u/ricardoflotte)** I am sorry! I updated the wrong branch. I have updated the demo again with correction. It should work fine now. If still have issue, please let me know. Thank you very much for help
- RFAnsweredOk, seems good, if i download it again from envato will it be updated with this?
by the way, with the update I think something is wrong with the Demo, it's showing a $135 daily sale and monthly sale, even when there are no sales
Thanks - RFAnsweredalso could you make a script or query to update previous records?
- MSAnsweredHello,
There a default pos sale for $135. I am still checking for the previous record, hopefully it will be added in the update.
Thank you - RFAnsweredoh ok, please update the download files to get the fix for the costing.
Thanks - Login to Reply