Hi,
I am calling below trigger and procedure in startup to get the values from Manufacturing Module picklist window while scrolling window is getting filled, I am able to get the values of first two variables mo_no and itemnmbr but for the Seq getting always 0 value.
l_Result = Trigger_RegisterFocusByName(346, "window Picklist_Scroll of form MOP_Requirements",
TRIGGER_FOCUS_FILL, TRIGGER_AFTER_ORIGINAL, script Trig_MFG_MNU_MO_PICKLIST_DETAILS);
if l_Result <> SY_NOERR then
warning " Trig_MFG_MNU_MO_PICKLIST_DETAILS ";
end if;
Trig_MFG_MNU_MO_PICKLIST_DETAILS:
local text code1;
local string compile_message;
local string mo_no, itemnmbr;
local integer error_count;
local LINT_10 Seq;
code1 = "";
code1 = code1 + " inout string mo_no;" + char(13);
code1 = code1 + " inout string itemnmbr;" + char(13);
code1 = code1 + " inout LINT_10 Seq1;" + char(13);
code1 = code1 + " mo_no = 'Manufacture Order' of window MOP_Requirements of form MOP_Requirements;" + char(13);
code1 = code1 + " itemnmbr = '(L) item number' of window Picklist_Scroll of form MOP_Requirements;" + char(13);
code1 = code1 + " Seq1 = Seq of window Picklist_Scroll of form MOP_Requirements;" + char(13);
error_count = execute(DICID_MFG, code1, compile_message, mo_no, itemnmbr, Seq);
warning mo_no;
warning str(itemnmbr);
warning str(Seq);
if error_count <> 0 then
warning compile_message;
end if;