Block reopen work orders to certain users Answered
Good day
We require blocking the possibility of reopening work orders to specific users, in what way can I do it, Or enter parts of work or time to orders already closed.
Good day
We require blocking the possibility of reopening work orders to specific users, in what way can I do it, Or enter parts of work or time to orders already closed.
Comments
6 comments
Hi Yesid
It would be quite simple to do through BEAS Script for the opening of orders only for particular users. But I would not recommend changing a logic to allow posting to closed orders.
Just check for the windowevent reopenworkorder (if you are on the workorderscreen)
Kind regards
Andreas
Good Morning
How can I make this lock, reopen orders, enter workpieces? The objective is that to orders already closed nothing is entered.
Kind regards
Hi,
sorry - long time ago
Reopen is only possible in the work order position edit window
Here you can insert follow customisation (Crtn+N+U)
global function dw_master_item_button_open_click
// in this example only user manager can reopen the work order
if <system.user> <> "manager" then
messagebox=not allowed to reopen work order
return -1
end if
end global
Hi
I tested this script
It is found that although the warning pops up, the work order can still be opened...
on my side it's working fine. Can you insert the debug log ?
HI
http://www.beascloud.com/docs/beasscreen/20220726_064911_ZGVidWcuaHRtbA==.html
Please sign in to leave a comment.