1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| PROCEDURE procedure IS
al_button NUMBER;
parametre1 VARCHAR2(200);
parametre2 VARCHAR2(200);
parametre3 VARCHAR2(200);
parametre4 VARCHAR2(200);
curInfoCam SYS_REFCURSOR;
excErr EXCEPTION;
maligne TABLE%ROWTYPE;
BEGIN
TEST.fonction(parametre1, parametre2,curInfoCam,
parametre3,parametre4);
IF vchrCodRetou <> '0' THEN
RAISE excErr;
END IF;
IF vchrMsgTrait = '0' THEN
LOOP
FETCH curInfoCam INTO maligne;
EXIT WHEN curInfoCam%NOTFOUND;
IF maligne.CAM_DAT_FABRC >= datdebutVerif THEN
NULL;
END IF;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
msg_alert('Code d''état : valeur non valide', 'E', TRUE);
WHEN OTHERS THEN
CGTE$OTHER_EXCEPTIONS;
END; |
Partager