Q: I miss the tab sheets in the Order recommendation window
A:
In Beas 9.2 PL: 01 we deleted the tab sheets in the MRP (Material resource planning, Order Recommendation), because you can use the template system for define the different filters.
Why Templates:
In a template you can define Sorting, Design, Filter, Columns and lot of more and you can define more then 2 different Default Filter. You can define your different process better as with old tab sheets.
in Beas 9.3 (Available: 8. February 2018) you can insert your tabsheets with buttons on top very simple (6 Mouse clicks per Template), if you've a B1UP License.
If you need the tab sheets in Beas 9.2 PL 1...5 you can insert follow script
//
windowevent formload
tab=text=1=All
tab=add=Purchase=this
tab=add=Produce=this
setvar=ls_mytabfilter=
setvar=is_mystartfilter=<is_startfilter>
end event
// Tab 1 = default Filter
windowevent click b_tab_1
setvar=ls_mytabfilter= <is_mystartfilter>
setvar=lb_reloadscript=true
end event
// Tab 2 = Purchase items
windowevent click b_tab_2
setvar=ls_mytabfilter= and ("OITM"."PrcRmntMtd"='B')
setvar=lb_reloadscript=true
end event
// Tab 3 = Assemlby
windowevent click b_tab_3
setvar=ls_mytabfilter= and ("OITM"."PrcrmntMtd"<>'B')
setvar=lb_reloadscript=true
end event
// Best event to change the filter
windowevent predesign
if <var:ls_mytabfilter> <> then
setvar=is_startfilter= <ls_mytabfilter>
end if
// we must reload the script, because we loose our resize definition
if <lb_reloadscript> = true then
post=batch=file=program\mrp_view_masterrahmen.src
setvar=lb_reloadscript=false
end if
end event
Attention:
We don't give free support for customizing.
Templates together with this script is not working
Comments
0 comments
Please sign in to leave a comment.