[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
precision of a service
- Subject: precision of a service
- From: Michael Richardson <..hidden..>
- Date: Fri, 19 Sep 2014 10:35:16 -0400
Where is the precision (rounding) for a service specified?
We have an item which we buy, which our vendor calculates.
It seems to have a precision set of 1, which causes "24.18"
to become "24.2" which is wrong. Looking at the HTML, I noticed:
"precision_4" has a value of "1", which for all other items was "2".
<td><input name="description_4" size=48 value="maintenance
telephonique"></td>
<td align=right class="qty"><input name="qty_4" title="0" size="5"
value="1"></td>
<td class="unit"><input name="unit_4" size=5 value=""></td>
<td class="onhand">0</td>
<td align=right class="sellprice"><input name="sellprice_4" size="9"
value="24.2"></td>
<td align=right class="discount"><input name="discount_4" size="3"
value=""></td>
<td align=right class="linetotal">24.18</td>
<td class="taxform"><input type="checkbox" name="taxformcheck_4" value="1"
></td>
</tr>
<input type=hidden name="oldqty_4" value="1">
<input type="hidden" name="image_4" value="" />
<input type="hidden" name="orderitems_id_4" value="" />
<input type="hidden" name="id_4" value="12356" />
<input type="hidden" name="bin_4" value="" />
<input type="hidden" name="weight_4" value="0" />
<input type="hidden" name="listprice_4" value="" />
<input type="hidden" name="lastcost_4" value="" />
<input type="hidden" name="taxaccounts_4" value="2320 2310 2311" />
<input type="hidden" name="pricematrix_4" value="" />
<input type="hidden" name="sku_4" value="pbx" />
<input type="hidden" name="onhand_4" value="0" />
<input type="hidden" name="assembly_4" value="" />
<input type="hidden" name="inventory_accno_id_4" value="" />
<input type="hidden" name="income_accno_id_4" value="21" />
<input type="hidden" name="expense_accno_id_4" value="26" />
<input type="hidden" name="invoice_id_4" value="2404" />
<input type="hidden" name="precision_4" value="1" />
<tr valign=top class="ext2">
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | network architect [
] ..hidden.. http://www.sandelman.ca/ | ruby on rails [
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users