Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

need to get seq value from picklist scrolling window value GP 2015?

(0) ShareShare
ReportReport
Posted on by
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;

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans