cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How do I trigger a User Defined Object in PostTransactionNotice

cois-00143
Discoverer
0 Likes
262

Hi Experts,

I have created a UDO and linked UDT's to it. The example below shows and extract of the lines table:

cois001_0-1725346790642.png

I have created the following script in PostTransactionNotice to update an external table with changes to the status. Running the query on it's own works perfectly, but it does not trigger in PostTransactionNotice.
Do I need to change something for the PostTransactionNotice to read the Objecttype?
IF @object_TYPE = 'MRMSCC' and @transaction_type = 'U'
BEGIN
Update [MRM_CC].[dbo].[ServiceCallInformation]
set ItemStatus = UF.U_ScStatus
From
(select Code,LineID,U_ScStatus from [SAP_CCR].[dbo].[@_MRMCSCLN]
where U_ScStatus = 'Closed') UF
where Id = UF.LineId
and UF.Code = @List_of_cols_val_tab_del
END

Accepted Solutions (0)

Answers (0)