#Create object of ppms_cu.Action class ppms_cu_action = ppms_cu.Action(invoker_module) #Create sub_mod_dictionary sub_mod_dict={} sub_mod_dict['009101'] = ["right",0.3,{'@L4':[values]}] ppms_cu_action.call_SUB(sub_mod_dict=sub_mod_dict)
from types import MethodType mod = ppms.get_target_module() def show_project(self, project_id): self.menu(19) project_da = self.get_das()[0] first_rec = project_da.get_records()[0] project_df = first_rec.get_df('pr_id') project_df.set_text_value(project_id) def on_load(): mod.menu(11) mod.show_project = MethodType(show_project, mod) def on_initial_focus(): mod.show_project('4711') def on_focus(): pass def on_reset(): on_load()