SQL compatibility fixes with MySQL 8
This commit is contained in:
parent
0a5aa8e6cd
commit
95d9c6c4d5
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.33) stable; urgency=low
|
||||
hedera-web (1.406.34) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -438,11 +438,11 @@
|
|||
on-status-changed-after="onCardLoad"
|
||||
batch="card-batch">
|
||||
CALL bionic_from_item (#item);
|
||||
SELECT w.id warehouseFk, w.name warehouse, p.grouping, p.price, p.rate, l.available
|
||||
SELECT w.id warehouseFk, w.name warehouse, p.`grouping`, p.price, p.rate, l.available
|
||||
FROM tmp.bionic_lot l
|
||||
JOIN tmp.bionic_price p ON p.warehouse_id = l.warehouse_id
|
||||
JOIN vn.warehouse w ON w.id = p.warehouse_id
|
||||
ORDER BY warehouseFk, grouping;
|
||||
ORDER BY warehouseFk, `grouping`;
|
||||
</db-model>
|
||||
<htk-column-text title="_Store" column="warehouse"/>
|
||||
<htk-column-spin title="_Price" column="price" unit="€" digits="2"/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.33",
|
||||
"version": "1.406.34",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -132,7 +132,7 @@ BEGIN
|
|||
,Costefijo
|
||||
,Id_Article
|
||||
,Nicho
|
||||
,grouping
|
||||
,`grouping`
|
||||
,caja
|
||||
,Packing
|
||||
,Cantidad
|
||||
|
@ -146,7 +146,7 @@ BEGIN
|
|||
,(@t := IF(a.Tallos, a.Tallos, 1)) * e.pri
|
||||
,IFNULL(v_item, cfg.generic_item)
|
||||
,a.Nicho
|
||||
,IFNULL(c.grouping, e.pac)
|
||||
,IFNULL(c.`grouping`, e.pac)
|
||||
,IFNULL(c.caja, TRUE)
|
||||
,@pac := e.pac / @t
|
||||
,@pac * e.qty
|
||||
|
|
Loading…
Reference in New Issue