on 01-15-2016 11:06 AM
Dear All,
please help on this
SQL/HANA
--------Updation Block BOM
IF :object_Type = '66' AND :Transaction_Type ='U' THEN
Declare BOMM_0 integer;
SELECT
(SELECT "Code"
FROM OITT B
WHERE (B."Qauntity" <>
(SELECT B."Qauntity"
FROM AITT C
WHERE (B."LogInstac" =
(SELECT COUNT(C."LogInstac") AS "Expr1"
FROM AITM A
WHERE (B."Code" = C."Code"))) AND (C."Code" = B."Code"))) and B."UserSign2">0 AND
(B."Code" = :list_of_cols_val_tab_del)) INTO BOMM_0 FROM DUMMY;
IF :BOMM_0 > 0 THEN
error := 466;
error_message := 'Mandatory Field Not Update (Statandard Batch Size (XQauntity)*)';
END IF;
END IF;
The history table for BOM is AITT, not AITM.
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
---------Updation Block BOM
IF :object_Type = '66' AND :Transaction_Type ='U' THEN
Declare BOMM_0 integer;
SELECT
(SELECT B."Code"
FROM OITT B
WHERE (B."Qauntity" <>
(SELECT B."Qauntity"
FROM AITT C
WHERE (B."LogInstac" =
(SELECT COUNT(C."LogInstac") AS "Expr1"
FROM AITT A
WHERE (B."Code" = C."Code"))) AND (C."Code" = B."Code"))) and B."UserSign2">0 AND
(B."Code" = :list_of_cols_val_tab_del)) INTO BOMM_0 FROM DUMMY;
IF :BOMM_0 > 0 THEN
error := 466;
error_message := 'Mandatory Field Not Update (Statandard Batch Size (XQauntity)*)';
END IF;
END IF;
User | Count |
---|---|
105 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.