#7709 -supplierPackaging_ReportSource_2 #3107

Open
robert wants to merge 19 commits from 7709-supplierPackaging_ReportSource_2 into dev
1 changed files with 5 additions and 5 deletions
Showing only changes of commit e4cd290027 - Show all commits

View File

@ -10,9 +10,9 @@ BEGIN
* @param vFromDated Starting date
robert marked this conversation as resolved Outdated

espacios en los comentarios *

espacios en los comentarios _*_
* @param vSupplierFk Supplier ID
*/
DECLARE vPerson INT;
DECLARE vEntityId INT;
robert marked this conversation as resolved Outdated

vPerson no és correcte, les empreses no son persones

vClientOrSupplierId
vEntityId

vPerson no és correcte, les empreses no son persones vClientOrSupplierId vEntityId
SELECT id INTO vPerson
SELECT id INTO vEntityId
robert marked this conversation as resolved Outdated

los supplier no son users

los supplier no son users
FROM supplier
WHERE nif = vNif;
@ -106,9 +106,9 @@ BEGIN
)sub
WHERE `out` OR `in`;
IF vPerson IS NULL THEN
IF vEntityId IS NULL THEN
SELECT id INTO vPerson
SELECT id INTO vEntityId
FROM client
WHERE fi = vNif;
@ -158,7 +158,7 @@ BEGIN
END IF;
SELECT vPerson,
SELECT vEntityId,
itemFk,
longName,
name,