web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans