Hi Experts:
I am having trouble making work an SBO Transaction Notification Validation for a business Partner User Defined Field at header.
This UDF is for codify the Zip Code, and I need that Users cant insert or update a Business Partner, without this data NULL.
This UDF is linked to a User Defined Object, and I guess the transaction notification code should not change if this UDF would be linked to a user defined table, or not linked.
I have SBO 9.0 PL09 version.
This is the code i made, but lets create and update Business partners without the ZIP CODE (U_CodPost) I need.
----------------------------------------
--BUSINESS PARTNER
--zip code validation
if (@object_type='2') and (@transaction_type in (N'A', N'U'))
begin
if ((select OCRD.U_CodPost from OCRD where OCRD.CardCode=@list_of_cols_val_tab_del)IS NULL)
begin
set @error_message='Can't create/update BP without ZIP CODE'
set @error=1111
end
end