on 08-24-2020 6:05 PM
Hola equipo,
Soy nuevo utilizando SAP B1 sobre HANA y quisiera colocar un control en transactionnotification para que, solo un usuario en especifico, pueda anular los documentos de pagos recibidos.
Tengo algo armado pero no me funciona y quizas ustedes me puedan ayudar identificando el porque.
IF object_type = '24' AND :transaction_type = 'C' THEN
SELECT T0."UserSign" INTO Usuario
FROM "ORCT" T0
WHERE T0."DocEntry" = list_of_cols_val_tab_del;
IF Usuario <> '14'
THEN error := 1100 ; error_message := '(ORCT-I001) No tiene permiso para efectuar esta transaccion';
END IF;
END IF;
Agradeciendo de antemano su colaboración me despido.
The UserSign of the document is not necessarily the one that is going to execute the cancellation or cancellation action, you must capture the user who is logged in in another way to evaluate it, Maybe it would be easier to work the user's permission and restrict the action of canceling
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
6 | |
5 | |
5 | |
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.