on 02-06-2018 12:05 PM
Hi,
Try this transaction notification,
if @object_type = '13' and (@TRANSACTION_TYPE = 'A' OR @TRANSACTION_TYPE = 'U')
begin
If exists
(SELECT T2.[DocEntry] FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.[DocEntry] = T1.[DocEntry] LEFT JOIN INV1 T2 on T2.[BaseEntry] =T1.Docentry and T2.[BaseLine] = T1.[LineNum] INNER JOIN OINV T3 ON T2.[DocEntry] = T3.[DocEntry] where t2.docentry = @list_of_cols_val_tab_del and T1.[Price] <> T2.[Price] and T2.[BaseType] =15)
begin
select @error = 1,
@error_message = 'AR Invoice unit price not same as DO price'
end
end
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
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.