You can pass in up to 4 parameters using this method.
-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of Molyneux, Tom
Sent: 18 July 2013 12:26
To: BPCS ERP System
Subject: Re: [BPCS-L] Passing parameters to options called from BPCS menus
Michael,
We are on ERP Lx V8.3.2
I know you can call a program from a BPCS menu with one fixed parameter. We have several options like this that we have added to menus. But, unless I'm missing something, I think it is restricted to one parameter.
To do this, in menu maintenance position the cursor on the program to be called and take F4 and you'll get another screen where you can define the parameter to be passed to the calling program. Eg. We have a number of options to maintain selected Tables on ZCC without giving the user the entire SYS105 option. We pass the different CCTABL field names to the program for each option where it is called.
If you need 2 parameters, you could concatenate them into one, called from the menu, and have your CL spilt them into 2 at start of processing.
Hope that helps
Tom Molyneux
NOV Mono
MIS Department
Tel. +44 (161) 214 2142
Fax. +44 (161) 214 2344
E:mail Tom.Molyneux@xxxxxxx
-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of Regan, Michael
Sent: 16 July 2013 20:40
To: 'bpcs-l@xxxxxxxxxxxx'
Subject: [BPCS-L] Passing parameters to options called from BPCS menus
I have a CLLE program that accepts two parameters.
Is there a way to call the program from a BPCS menu option, passing the parameters (which will always be the same when called from the menu)?
Or do I have to create a wrapper program with no parms, and call that?
--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email: BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/bpcs-l.
________________________________
Mono Pumps Limited
Registered in England No. 300721.
Registered Office : Martin Street, Audenshaw, Manchester. M34 5JA
--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email: BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/bpcs-l.
As an Amazon Associate we earn from qualifying purchases.