Notifications
Clear all
Feb 10, 2023 7:26 pm
Yêu cầu: chỉ user 'manager' được phép đóng lệnh sản xuất
Giải pháp:
IF @object_type='202' AND @transaction_type IN ('A','U')
BEGIN
IF EXISTS (
Select DocEntry From OWOR T0
where T0."UserSign2"<>1 and t0.Status='L' and T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Set @error = -1
SET @error_message = 'You are not authorized to Closed this Production Order'
END
END
Nguồn: SP for Block Close of Production Order | SAP Community