on 2023 Dec 18 5:51 PM
Hello Guys,
How I can develop a transaction notification in SAP b1 HANA whenever the qty in Receipt from Production is not equal to Production Order?
Request clarification before answering.
Hi,
Try This Out Please
IF ((:transaction_type = 'A' ) AND :object_type = '59' and error = 0) THEN
Declare Count1 int;
SELECT IfNull(COUNT (p."Type"),0) Into Count1 From OIGN b inner join IGN1 bs On b."DocEntry"=bs."DocEntry" and bs."LineNum"=0
inner join OWOR p On p."DocEntry"=bs."BaseEntry"
where b."DocEntry" = list_of_cols_val_tab_del
and p."Type"='S'
and bs."BaseType"='202'
and p."PlannedQty" <> bs."Quantity";
IF IfNull(COUNT1,0) > 0 THEN
error := -29043;
error_message := 'You can not Complete more than planned!';
END IF;
END IF;
RegardsYou must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks..
Also it seems you made forum to help us SAP user. I probably join you there..
| User | Count |
|---|---|
| 28 | |
| 14 | |
| 13 | |
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.