Hi,
I added below script in DW's sqlpreview event. but getting following error message. Using PB2022 R3 version.
"Unsupported(PowerServer) C0237: previewfunctionupdate as the request argument of SQL Preview (Suggestion: Do not use)"
If request = PreviewFunctionUpdate! then
If sqltype = PreviewDelete! then
ll_cust_id = GetItemNumber(row, 'customer_id', Delete!, FALSE)
ll_billing_proj_id = GetItemNumber(row, 'billing_project_id', Delete!, FALSE)
RowsCopy(row, row, Delete!, ids_cust_delete, ids_cust_delete.RowCount() + 1, Primary!)
Return 2
End if
End If
Please advise.