refs #7217 create travel_throwAWBError #2465
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2465
Loading…
Reference in New Issue
No description provided.
Delete Branch "7217-Unify_errorMessageAWB"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
refs #7217 create travel_throwAWBErrorto WIP: refs #7217 create travel_throwAWBError@ -0,0 +1,14 @@
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`travel_throwAWBError`(vSelf INT)
El nombre
travel_throwAWBError
es incorrecto, en todo caso seríatravel_throwAwbError
.Repensar el nombre, ya que throw y error hacen referencia lógica a lo mismo, yo lo dejaría en
travel_throwAwb
@ -0,0 +8,4 @@
* @param vSelf The travel id
*/
IF NOT travel_hasUniqueAwb(vSelf) THEN
CALL util.throw('The AWB is incorrect, there is a different AWB in the associated entries');
El msg no puede contener más de 55 caracteres.
@ -0,0 +8,4 @@
* @param vSelf The travel id
*/
IF NOT travel_hasUniqueAwb(vSelf) THEN
CALL util.throw('The AWB is wrong; a different AWB is in the entries');
Por que pones un ; ??
WIP: refs #7217 create travel_throwAWBErrorto refs #7217 create travel_throwAWBError@ -0,0 +8,4 @@
* @param vSelf The travel id
*/
IF NOT travel_hasUniqueAwb(vSelf) THEN
CALL util.throw('The AWB is wrong. A different AWB is in the entries');
Creo que con
A different AWB is found in the entries
es suficiente, ya que si no hay redundancia.