From 78704995a2bebbaa51218763f0de23d74265a6d7 Mon Sep 17 00:00:00 2001 From: jgallego Date: Tue, 4 Jun 2019 12:20:33 +0200 Subject: [PATCH] comentarios de return --- db/changes/10031-zone/00-zone.sql | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/db/changes/10031-zone/00-zone.sql b/db/changes/10031-zone/00-zone.sql index 448640608..f7b6da53e 100644 --- a/db/changes/10031-zone/00-zone.sql +++ b/db/changes/10031-zone/00-zone.sql @@ -278,8 +278,9 @@ proc: BEGIN * * @param vAddressFk Id del consignatario * @param vAgencyModeFk Id del modo de agencia - * @return tmp.ticketComponent - * @return tmp.ticketComponentPrice + * @return tmp.ticketComponent(itemFk, warehouseFk, available, rate2, rate3, minPrice, + * packing, grouping, groupingMode, buyFk, typeFk) + * @return tmp.ticketComponentPrice (warehouseFk, itemFk, rate, grouping, price) */ DECLARE vClientFk INT; @@ -1549,10 +1550,13 @@ proc: BEGIN * @param vLanded Fecha de recepcion de mercancia * @param vAddressFk Id del consignatario * @param vAgencyModeFk Id de la agencia - * @return tmp.ticketCalculateItem - * @return tmp.ticketComponentPrice + * @return tmp.ticketCalculateItem(itemFk, available, producer, + * item, size, stems, category, inkFk, image, origin, price) + * @return tmp.ticketLot(warehouseFk, itemFk, available, buyFk) * @return tmp.ticketComponent * @return tmp.ticketComponentPrice + * @return tmp.zoneGetShipped + **/ DECLARE vAvailableCalc INT; @@ -2230,9 +2234,6 @@ BEGIN CALL ticketComponentCalculate(vAddressFk, vAgencyModeFk); - - - REPLACE INTO tmp.ticketComponent (warehouseFk, itemFk, componentFk, cost) SELECT t.warehouseFk, s.itemFk, sc.componentFk, sc.value FROM saleComponent sc