cancel
Showing results for 
Search instead for 
Did you mean: 

Notification

ramco1917
Participant
0 Kudos
139

Hi

I want Notification so that user should not be able to enter discount at Footer Level in P.O

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

MD1
Active Contributor
0 Kudos

HI,

Please try this

IF :object_type = n'22' AND (:transaction_type = n'U' or :transaction_type = n'A' )

THEN

SELECT

(

SELECT T0."DocEntry"

FROM OPOR T0

WHERE T0."DocEntry"=:list_of_cols_val_tab_del and t0."DiscSum">'0')

INTO temp_var_0 FROM DUMMY;

IF IFNULL(:temp_var_0,'')!=''

THEN

SELECT :object_type INTO Error FROM DUMMY;

SELECT 'Not Authorized to put the Discount value on Footer!' INTO error_message FROM DUMMY;

END IF;

END IF;

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Have you tried with standard authorization for Purchase order under authorization?

Regards,

Nagarajan

ramco1917
Participant
0 Kudos

Hi Nagarajan

Is there any Standard Authorization related to Discount at Footer Level which can be disabled.

Thanks