6956-2410_devTest #2112

Merged
alexm merged 150 commits from 6956-2410_devTest into test 2024-02-29 09:17:58 +00:00
4 changed files with 3 additions and 4 deletions
Showing only changes of commit 29a96ede56 - Show all commits

View File

@ -1,5 +1,5 @@
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `util`.`string_checkPrintableAndSpanishChars`(
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `util`.`checkPrintableChars`(
vString VARCHAR(255)
) RETURNS tinyint(1)
DETERMINISTIC

View File

@ -10,7 +10,7 @@ BEGIN
DECLARE vWithholdingSageFk INT;
IF NOT util.string_checkPrintableAndSpanishChars(NEW.supplierRef) THEN
CALL util.throw('The invoiceIn cannot contain special characters');
CALL util.throw('The invoiceIn reference contains invalid characters');
END IF;
SET NEW.editorFk = account.myUser_getId();

View File

@ -6,7 +6,7 @@ BEGIN
DECLARE vWithholdingSageFk INT;
IF NOT (NEW.supplierRef <=> OLD.supplierRef) AND NOT util.string_checkPrintableAndSpanishChars(NEW.supplierRef) THEN
CALL util.throw('The invoiceIn cannot contain special characters');
CALL util.throw('The invoiceIn reference contains invalid characters');
END IF;
SET NEW.editorFk = account.myUser_getId();

View File

@ -1 +0,0 @@
-- Place your SQL code here