When Invoicing and Estimating and Qty = 0 FIxed Price is still applied
I am not sure if this is how people expect this to work,
Currently when you invoice a product that includes a fixed price and set the qty sold to 0 the fixed price is still charged.
This also occurs most annoyingly when estimating.
During a regular invoice you can manually set the fixed price to 0 if thats your intention as a work around
During estimating this is not possible as it affects the High value as well.
EG
I add to an estimate the option of a Laboratory Test that includes a linked fixed component and a unit price.
for the low qty I enter 0 (because its optional as far as the estimate goes) for the high qty I enter 1.
The low total will still included the fixed price from the linked pricetemplate.
This I believe is a bug.
Can anyone clarify if this is what they expect and why? Otherwise I will seek to submit this a bug report.
Sincerely Ben
Re: When Invoicing and Estimating and Qty = 0 FIxed Price is ...
Ben - I can understand how this bug arose (the logic multiplies the unit price by the quantity but the fixed price always by 1). I agree that this is a bug and the fixed price logic needs to be changed to "if qty < 0.001 then fixed component = 0 else = fixed price".
Regards, Tim G
Re: When Invoicing and Estimating and Qty = 0 FIxed Price is ...
To be fair its
if qty = 0 then total = 0
if qty > 0 then some equation
if qty < 0 then some other equation
- currently the discount system can't handle negative quantities though.
The fixed price and the returned total discount needs to be multiplied by 1,0 or -1 during total calculation to get the correct TOTAL.
Ben
Re: When Invoicing and Estimating and Qty = 0 FIxed Price is ...
We use this bug, as we didn't realise it was one. We have a fixed rate and a unit rate (per min) for products like surgery and dental. The fixed rate is our minimum charge eg. 15 min Sx, then we add the unit fee for each min after that. So if a Sx takes 55min, the qty is entered as 40 - giving the min Sx fee (15min) plus 40 min of a per min charge. If a Sx takes 10 min, the qty entered is 0, so the client only gets charged the min Sx fee.
Regards, Mary
Simon Slater
Registered Linux User #463789 @ http://linuxcounter.net
Re: When Invoicing and Estimating and Qty = 0 FIxed Price is ...
Once this bug is corrected - there is a project to set min saleable qty' for a service/medications.
http://www.openvpms.org/project/charge-minimum-quantities
This will probably mean better consistency and less confusion for your staff when charging...they can just enter how much time and the system will override if its less than 15.