Delete several Work Orders
AnsweredHello team,
There is no option to delete several WO.
We can select several WO, but when we want to delete all selected WO, that deletes only one WO.
Would you implement this feature in next release? Either from WO list or another menus.
BR,
-
Official comment
i will make an example, in which way you can make this in beas 9.3 with beas B1UP integration
-
Hi,
beas 9.3 PL 0 BETA is available next week (plan). With this version and with beas B1UP integration (you need B1UP License) you can create a solution in short and simple way,
See https://youtu.be/ym4sjUhAIY8
More about the B1UP Integration see our youtube playlist
https://www.youtube.com/playlist?list=PL-FzlfVF_PDuqK-8TXa22p5iAnPzKxpB0
Regards
Martin Heigl
-
Hi Martin Heigl
I've followed your video and created a similar script When I click on the yes button it just reloads the work orders but does not delete them. Below is my script, the only difference is I am using BEAS 21.0.0.1288 with SAP B1 HANA V10
messagebox=question$id=**<tab>text=Do you want delete all marked workorders<tab>modal=true<tab>popup<tab>yestext=Yes<tab>notext=No
if <messagereturnvalue> n= -1 then
return failure
end ifsetpointer=hourglass
declare=wo=ue_api_wo
for cl_loop = 1 to <dw_1.rowcount>
if <dw_1.isselect:[cl_loop]> = true and <dw_1.item.zeilentyp:[cl_loop].value> n = 0 then
wo.deleteworkorder=<dw_1.item.belnr_id:[cl_loop].value>
end if
next
destroy=wo
form=retrieve
Please sign in to leave a comment.
Comments
3 comments