Hello SAP Gurus!!
Can someone please help me with the code for TransactionNotification to make Shipping Type field mandatory?
Here is the code that I thought might work, but nothing happens:
-- Shipping Type required in Sales Order
IF @object_type IN ('17') AND @transaction_type IN ('A','U')
BEGIN
IF (SELECT TrnspCode FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) IS NULL
BEGIN
SELECT @error = 1
SELECT @error_message = N'Please update the Shipping Type field under the Logistics Tab'
END
end
Thank you in advance for your help.
Kind regards,
Larry T.