VB script vs Custom Progress

Hi Bill

I think you would be fine, at the beginning is a little complicated and time consuming but once you have one window/program working, you can do so many things�.The transition from VB6 to .NET is not difficult just a couple changes.

First, I think these are the key things you should know / have:

In Vantage every screen has at least one of the following DLL types: Epicor.Mfg.AD.* (adapter, not use in VB), Epicor.Mfg.UI.* (user interface, not used in VB), Epicor.Mfg.IF.I* (interface) and Epicor.Mfg.BO.* (business Object). The files I use are IF and BOs. For example if you want to create customers you would need the files: Epicor.Mfg.BO.Customer.dll and Epicor.Mfg.AD.Customer.dll

If you want to use any infragistics DLL (for the grids) you need to use those installed in the client folder.

How to use the tracing options (very important!) located in main menu / Options / Tracing Options. Here you will know the DLLs (BOs) , methods and the parameters that Vantage is using.

You should ask Epicor to give you the great useful tool named �BL Tester� (is version specific). With this one you can open any BO and execute any of the methods inside manually. For example you can open file Epicor.Mfg.BO.Customer.dll and execute step by step all methods in the BO to create a new customer. Once you have the proper sequence of methods and data you need, you can duplicated in VB easily.

You would need .net 2003 (maybe it could work in VB6, not tested)

You can start playing with the code provided by Mark Wonsil (that helped me a lot) (http://tech.groups.yahoo.com/group/vantage/message/53300) Here, you will see in an easy way to connect to Vantage and use the BOs. This code can be run outside Vantage (but using Vantage BOs!). You could use it for one time setups or mass updates!. Basically what I did was to put this code into a control and add the control to a Vantage screen.

Basically the steps for discovery and development would be:
1-turn on tracing option. (use the option �Mark Text� and create the XML file for easier view)
2-Perform the steps of the activity you want to automate using Vantage screens
3-Get the BOs, methods and parameters(optional) used. NOT all methods are needed. Vantage makes a lot of validations that you can skip or do it differently
4-Test the sequence using BL tester. Select BO and run all methods one by one. You could do it directly in VB but is easier with BL tester
5-Once you have test it, you can follow that sequence in VB

Today or tomorrow I will try to put and easy sample of a .net solution with the Vantage customization

Regards,
Jose Ferrer



To: vantage@yahoogroups.comFrom: hoomail4me@...: Mon, 24 Sep 2007 21:19:14 +0000Subject: [Vantage] Re: VB script vs Custom Progress




Yes, I have played with BPM and have a simple 4GL example to generate a V8 part number but any 4GL GUI code fails (Create Window, Define Frame, Buttons, event loops, etc.). Seems very limited to what 4GL code can be run from a BPM directive.Bill--- In vantage@yahoogroups.com, "Chris Robisch" <bluewine@...> wrote:>> Business Process Management (BPM), new to 8.03, allows OpenEdge 4GL code, on a Method Directive. These Directives can be pre/post process to require fields be entered, execute code when the item is saved or a variety of other uses.> > Unfortunately, we've got several open issues regarding BPM not working. For example, it aborts when trying to create a Method for Customer Entry where we want to automatically copy Prices Lists to a customer. We randomly get a LangTran abort on a Quote Save when trying to require Confidence % or Expected Close.> ----- Original Message ----- > From: "hoomail4me" <hoomail4me@...>> To: <vantage@yahoogroups.com>> Sent: Monday, September 24, 2007 1:10 PM> Subject: [Vantage] Re: VB script vs Custom Progress> > > Thanks Carl for your take on this issue.> > My users do run my Progress programs as standalone applications. > What I was hoping for is a way to pass parameters to/from V8 and a > Progress application. I have done this many times when running > Syteline with my applications. Vantage 8 doesn't seem to provide a > way to do this with it's .NET separated business and UI logic. Yes, > it is possible to launch some Progress code but it is still a > standalone application without any communication capibility between > the two.> > An example, with Syteline, I used a RIGHT-CLICK event on the part > number field to trigger my 4GL code that presented a Window to the > user for additional input. After closing this window, I would > populate a number of Syteline screen objects/fields.> > So far, it doesn't look like anyone in the V8 world has figured out a > way to talk to the Vantage 8 UI from 4GL - again, I am talking of a > Windowed 4GL program. I also failed to find anyone able to launch a > Windowed VB application from V8 with the ability to pass parameters > back and forth.> > [Non-text portions of this message have been removed]>






_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

[Non-text portions of this message have been removed]
What are the views on customizing using the script editor vs
custom .p files. Are there any advantages to executing through
progress code vs script or is it just preference?
What even is a .p file and where can you execute it?

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Friday, September 21, 2007 3:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] VB script vs Custom Progress



What are the views on customizing using the script editor vs
custom .p files. Are there any advantages to executing through
progress code vs script or is it just preference?






[Non-text portions of this message have been removed]
A ".p" file is uncompile Progress source code (4GL). I have seen a
example of running Progress code from a BPM directive but not anywhere
else. And the example I saw was a very simple query and field
assignment. I don't think UI Progress code (windows, etc.) can be
created/run from within Vantage 8. If it could it would make this 4GL
programmer a VERY happy camper!

Bill

--- In vantage@yahoogroups.com, "Matt Barron" <mbarron@...> wrote:
>
> What even is a .p file and where can you execute it?
>
> ________________________________
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Michael McWilliams
> Sent: Friday, September 21, 2007 3:46 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] VB script vs Custom Progress
>
>
>
> What are the views on customizing using the script editor vs
> custom .p files. Are there any advantages to executing through
> progress code vs script or is it just preference?
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Bill -



Yes you can run Progress code from V8 of Vantage.



HTH,
Calvin



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
hoomail4me
Sent: Friday, September 21, 2007 4:42 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: VB script vs Custom Progress



A ".p" file is uncompile Progress source code (4GL). I have seen a
example of running Progress code from a BPM directive but not anywhere
else. And the example I saw was a very simple query and field
assignment. I don't think UI Progress code (windows, etc.) can be
created/run from within Vantage 8. If it could it would make this 4GL
programmer a VERY happy camper!

Bill

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Matt
Barron" <mbarron@...> wrote:
>
> What even is a .p file and where can you execute it?
>
> ________________________________
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
> Of Michael McWilliams
> Sent: Friday, September 21, 2007 3:46 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] VB script vs Custom Progress
>
>
>
> What are the views on customizing using the script editor vs
> custom .p files. Are there any advantages to executing through
> progress code vs script or is it just preference?
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
Michael -



On V8 and beyond, I find scripting is easier than progress coding.



HTH

Calvin



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Michael McWilliams
Sent: Friday, September 21, 2007 3:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] VB script vs Custom Progress



What are the views on customizing using the script editor vs
custom .p files. Are there any advantages to executing through
progress code vs script or is it just preference?





[Non-text portions of this message have been removed]
Calvin, what are the limitations? I have written complete
applications in Progress 4GL but so far have not been able to find out
how I can launch a windowed 4GL program from Vantage 8. The
instructor at the Epicor customization class was not much help.

Any tips, suggestions, or examples, would be greatly appreciated.

Thanks,

Bill

--- In vantage@yahoogroups.com, "Calvin" <calvin@...> wrote:
>
> Bill -
>
>
>
> Yes you can run Progress code from V8 of Vantage.
>
>
>
> HTH,
> Calvin
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> hoomail4me
> Sent: Friday, September 21, 2007 4:42 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: VB script vs Custom Progress
>
>
>
> A ".p" file is uncompile Progress source code (4GL). I have seen a
> example of running Progress code from a BPM directive but not anywhere
> else. And the example I saw was a very simple query and field
> assignment. I don't think UI Progress code (windows, etc.) can be
> created/run from within Vantage 8. If it could it would make this 4GL
> programmer a VERY happy camper!
>
> Bill
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Matt
> Barron" <mbarron@> wrote:
> >
> > What even is a .p file and where can you execute it?
> >
> > ________________________________
> >
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
> Behalf
> > Of Michael McWilliams
> > Sent: Friday, September 21, 2007 3:46 PM
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] VB script vs Custom Progress
> >
> >
> >
> > What are the views on customizing using the script editor vs
> > custom .p files. Are there any advantages to executing through
> > progress code vs script or is it just preference?
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
We write many custom Progress apps, too, and we connect to the apps by
putting a menu on users desktop or create a single icon on the users desktop
to execute a Progress app.



I have heard that you can execute Progress apps by putting the execution
code in the Vantage favorites .



Listed below are the properties of how we execute a Progress app. This one
imports shipping tracking numbers into Vantage.



The first part is executing Progress - full path -
\\vantage1\epicor\oe100b\bin\prowin32.exe
<file:///\\vantage1\epicor\oe100b\bin\prowin32.exe> (\\vantage1
<file:///\\vantage1> is the computer's domain name - unique)



The second part identifies the data base path - -db
\\vantage1\epicor\mfgsys803\db\mfgsys



The third part identifies the -S port (8300) service, the -N for the
network, and the -H is the host name - mfgsys -S 8300 -N TCP -H W2K3Vantage1





The fourth part identifies the Progress program - starting with the -p
(program) - W2K3Vantage1 -p \\vantage1\emods\ship\importtrack.w



The last part is used to identify the user (-U) and the password (-P) - this
is required so Progress does not ask you for the user and password.



-U sysprogress -P sysprogress





Let me know if you need any additional examples.



SAMPLE icon properties to execute a Progress app.





\\vantage1\epicor\oe100b\bin\prowin32.exe -db
\\vantage1\epicor\mfgsys803\db\mfgsys -S 8300 -N TCP -H W2K3Vantage1 -p
\\vantage1\emods\ship\importtrack.w -U sysprogress -P sysprogress







Carl D. Peterson, CPIM

Nexus Software, Inc.

Plymouth, Michigan 48170

1-734-812-9532 - Mobile

1-734-453-3101 - Office

1-734-455-9550 - Fax

cpeterson@...

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
hoomail4me
Sent: Friday, September 21, 2007 10:55 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: VB script vs Custom Progress



Calvin, what are the limitations? I have written complete
applications in Progress 4GL but so far have not been able to find out
how I can launch a windowed 4GL program from Vantage 8. The
instructor at the Epicor customization class was not much help.

Any tips, suggestions, or examples, would be greatly appreciated.

Thanks,

Bill

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Calvin"
<calvin@...> wrote:
>
> Bill -
>
>
>
> Yes you can run Progress code from V8 of Vantage.
>
>
>
> HTH,
> Calvin
>
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
> hoomail4me
> Sent: Friday, September 21, 2007 4:42 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: VB script vs Custom Progress
>
>
>
> A ".p" file is uncompile Progress source code (4GL). I have seen a
> example of running Progress code from a BPM directive but not anywhere
> else. And the example I saw was a very simple query and field
> assignment. I don't think UI Progress code (windows, etc.) can be
> created/run from within Vantage 8. If it could it would make this 4GL
> programmer a VERY happy camper!
>
> Bill
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ,
"Matt
> Barron" <mbarron@> wrote:
> >
> > What even is a .p file and where can you execute it?
> >
> > ________________________________
> >
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
> Behalf
> > Of Michael McWilliams
> > Sent: Friday, September 21, 2007 3:46 PM
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] VB script vs Custom Progress
> >
> >
> >
> > What are the views on customizing using the script editor vs
> > custom .p files. Are there any advantages to executing through
> > progress code vs script or is it just preference?
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
Thanks Carl for your take on this issue.

My users do run my Progress programs as standalone applications.
What I was hoping for is a way to pass parameters to/from V8 and a
Progress application. I have done this many times when running
Syteline with my applications. Vantage 8 doesn't seem to provide a
way to do this with it's .NET separated business and UI logic. Yes,
it is possible to launch some Progress code but it is still a
standalone application without any communication capibility between
the two.

An example, with Syteline, I used a RIGHT-CLICK event on the part
number field to trigger my 4GL code that presented a Window to the
user for additional input. After closing this window, I would
populate a number of Syteline screen objects/fields.

So far, it doesn't look like anyone in the V8 world has figured out a
way to talk to the Vantage 8 UI from 4GL - again, I am talking of a
Windowed 4GL program. I also failed to find anyone able to launch a
Windowed VB application from V8 with the ability to pass parameters
back and forth.

Bill


--- In vantage@yahoogroups.com, "Carl Peterson" <cpeterson@...> wrote:
>
> We write many custom Progress apps, too, and we connect to the apps
by
> putting a menu on users desktop or create a single icon on the
users desktop
> to execute a Progress app.
>
>
>
> I have heard that you can execute Progress apps by putting the
execution
> code in the Vantage favorites .
>
>
>
> Listed below are the properties of how we execute a Progress app.
This one
> imports shipping tracking numbers into Vantage.
>
>
>
> The first part is executing Progress - full path -
> \\vantage1\epicor\oe100b\bin\prowin32.exe
> <file:///\\vantage1\epicor\oe100b\bin\prowin32.exe> (\\vantage1
> <file:///\\vantage1> is the computer's domain name - unique)
>
>
>
> The second part identifies the data base path - -db
> \\vantage1\epicor\mfgsys803\db\mfgsys
>
>
>
> The third part identifies the -S port (8300) service, the -N for
the
> network, and the -H is the host name - mfgsys -S 8300 -N TCP -H
W2K3Vantage1
>
>
>
>
>
> The fourth part identifies the Progress program - starting with
the -p
> (program) - W2K3Vantage1 -p \\vantage1\emods\ship\importtrack.w
>
>
>
> The last part is used to identify the user (-U) and the password (-
P) - this
> is required so Progress does not ask you for the user and password.
>
>
>
> -U sysprogress -P sysprogress
>
>
>
>
>
> Let me know if you need any additional examples.
>
>
>
> SAMPLE icon properties to execute a Progress app.
>
>
>
>
>
> \\vantage1\epicor\oe100b\bin\prowin32.exe -db
> \\vantage1\epicor\mfgsys803\db\mfgsys -S 8300 -N TCP -H
W2K3Vantage1 -p
> \\vantage1\emods\ship\importtrack.w -U sysprogress -P sysprogress
>
>
>
>
>
>
>
> Carl D. Peterson, CPIM
>
> Nexus Software, Inc.
>
> Plymouth, Michigan 48170
>
> 1-734-812-9532 - Mobile
>
> 1-734-453-3101 - Office
>
> 1-734-455-9550 - Fax
>
> cpeterson@...
Bill:

Is there anything like the "dc" tables (dcmove, dcco.) in Syteline in Vantage?

Tim

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of hoomail4me
Sent: Monday, September 24, 2007 4:10 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: VB script vs Custom Progress

Thanks Carl for your take on this issue.

My users do run my Progress programs as standalone applications.
What I was hoping for is a way to pass parameters to/from V8 and a
Progress application. I have done this many times when running
Syteline with my applications. Vantage 8 doesn't seem to provide a
way to do this with it's .NET separated business and UI logic. Yes,
it is possible to launch some Progress code but it is still a
standalone application without any communication capibility between
the two.

An example, with Syteline, I used a RIGHT-CLICK event on the part
number field to trigger my 4GL code that presented a Window to the
user for additional input. After closing this window, I would
populate a number of Syteline screen objects/fields.

So far, it doesn't look like anyone in the V8 world has figured out a
way to talk to the Vantage 8 UI from 4GL - again, I am talking of a
Windowed 4GL program. I also failed to find anyone able to launch a
Windowed VB application from V8 with the ability to pass parameters
back and forth.

Bill

--- In vantage@yahoogroups.com, "Carl Peterson" <cpeterson@...> wrote:
>
> We write many custom Progress apps, too, and we connect to the apps
by
> putting a menu on users desktop or create a single icon on the
users desktop
> to execute a Progress app.
>
>
>
> I have heard that you can execute Progress apps by putting the
execution
> code in the Vantage favorites .
>
>
>
> Listed below are the properties of how we execute a Progress app.
This one
> imports shipping tracking numbers into Vantage.
>
>
>
> The first part is executing Progress - full path -
> \\vantage1\epicor\oe100b\bin\prowin32.exe
> <file:///\\vantage1\epicor\oe100b\bin\prowin32.exe> (\\vantage1
> <file:///\\vantage1> is the computer's domain name - unique)
>
>
>
> The second part identifies the data base path - -db
> \\vantage1\epicor\mfgsys803\db\mfgsys
>
>
>
> The third part identifies the -S port (8300) service, the -N for
the
> network, and the -H is the host name - mfgsys -S 8300 -N TCP -H
W2K3Vantage1
>
>
>
>
>
> The fourth part identifies the Progress program - starting with
the -p
> (program) - W2K3Vantage1 -p \\vantage1\emods\ship\importtrack.w
>
>
>
> The last part is used to identify the user (-U) and the password (-
P) - this
> is required so Progress does not ask you for the user and password.
>
>
>
> -U sysprogress -P sysprogress
>
>
>
>
>
> Let me know if you need any additional examples.
>
>
>
> SAMPLE icon properties to execute a Progress app.
>
>
>
>
>
> \\vantage1\epicor\oe100b\bin\prowin32.exe -db
> \\vantage1\epicor\mfgsys803\db\mfgsys -S 8300 -N TCP -H
W2K3Vantage1 -p
> \\vantage1\emods\ship\importtrack.w -U sysprogress -P sysprogress
>
>
>
>
>
>
>
> Carl D. Peterson, CPIM
>
> Nexus Software, Inc.
>
> Plymouth, Michigan 48170
>
> 1-734-812-9532 - Mobile
>
> 1-734-453-3101 - Office
>
> 1-734-455-9550 - Fax
>
> cpeterson@...


[Non-text portions of this message have been removed]
Bill:



I understand what you want. I have worked with Symix/Syteline customers
since 1989 and I am aware of the possible triggers and current values in
Syteline - very powerful. I am writing a standalone serial number app that
interfaces to Vantage and working on an interface that will pick up the
packing slip number during shipping and pass it to my serial number update
program.



Drop me a line or call me at 734-812-9532 and maybe we can help each other -
734-812-9532.



Carl D. Peterson, CPIM

Nexus Software, Inc.

Plymouth, Michigan 48170

1-734-812-9532 - Mobile

1-734-453-3101 - Office

1-734-455-9550 - Fax

cpeterson@...

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
hoomail4me
Sent: Monday, September 24, 2007 4:10 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: VB script vs Custom Progress



Thanks Carl for your take on this issue.

My users do run my Progress programs as standalone applications.
What I was hoping for is a way to pass parameters to/from V8 and a
Progress application. I have done this many times when running
Syteline with my applications. Vantage 8 doesn't seem to provide a
way to do this with it's .NET separated business and UI logic. Yes,
it is possible to launch some Progress code but it is still a
standalone application without any communication capibility between
the two.

An example, with Syteline, I used a RIGHT-CLICK event on the part
number field to trigger my 4GL code that presented a Window to the
user for additional input. After closing this window, I would
populate a number of Syteline screen objects/fields.

So far, it doesn't look like anyone in the V8 world has figured out a
way to talk to the Vantage 8 UI from 4GL - again, I am talking of a
Windowed 4GL program. I also failed to find anyone able to launch a
Windowed VB application from V8 with the ability to pass parameters
back and forth.

Bill

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Carl
Peterson" <cpeterson@...> wrote:
>
> We write many custom Progress apps, too, and we connect to the apps
by
> putting a menu on users desktop or create a single icon on the
users desktop
> to execute a Progress app.
>
>
>
> I have heard that you can execute Progress apps by putting the
execution
> code in the Vantage favorites .
>
>
>
> Listed below are the properties of how we execute a Progress app.
This one
> imports shipping tracking numbers into Vantage.
>
>
>
> The first part is executing Progress - full path -
> \\vantage1\epicor\oe100b\bin\prowin32.exe
> <file:/// <file:///\\> \\vantage1\epicor\oe100b\bin\prowin32.exe>
(\\vantage1
> <file:/// <file:///\\> \\vantage1> is the computer's domain name - unique)
>
>
>
> The second part identifies the data base path - -db
> \\vantage1\epicor\mfgsys803\db\mfgsys
>
>
>
> The third part identifies the -S port (8300) service, the -N for
the
> network, and the -H is the host name - mfgsys -S 8300 -N TCP -H
W2K3Vantage1
>
>
>
>
>
> The fourth part identifies the Progress program - starting with
the -p
> (program) - W2K3Vantage1 -p \\vantage1\emods\ship\importtrack.w
>
>
>
> The last part is used to identify the user (-U) and the password (-
P) - this
> is required so Progress does not ask you for the user and password.
>
>
>
> -U sysprogress -P sysprogress
>
>
>
>
>
> Let me know if you need any additional examples.
>
>
>
> SAMPLE icon properties to execute a Progress app.
>
>
>
>
>
> \\vantage1\epicor\oe100b\bin\prowin32.exe -db
> \\vantage1\epicor\mfgsys803\db\mfgsys -S 8300 -N TCP -H
W2K3Vantage1 -p
> \\vantage1\emods\ship\importtrack.w -U sysprogress -P sysprogress
>
>
>
>
>
>
>
> Carl D. Peterson, CPIM
>
> Nexus Software, Inc.
>
> Plymouth, Michigan 48170
>
> 1-734-812-9532 - Mobile
>
> 1-734-453-3101 - Office
>
> 1-734-455-9550 - Fax
>
> cpeterson@...





[Non-text portions of this message have been removed]
Business Process Management (BPM), new to 8.03, allows OpenEdge 4GL code, on a Method Directive. These Directives can be pre/post process to require fields be entered, execute code when the item is saved or a variety of other uses.

Unfortunately, we've got several open issues regarding BPM not working. For example, it aborts when trying to create a Method for Customer Entry where we want to automatically copy Prices Lists to a customer. We randomly get a LangTran abort on a Quote Save when trying to require Confidence % or Expected Close.
----- Original Message -----
From: "hoomail4me" <hoomail4me@...>
To: <vantage@yahoogroups.com>
Sent: Monday, September 24, 2007 1:10 PM
Subject: [Vantage] Re: VB script vs Custom Progress


Thanks Carl for your take on this issue.

My users do run my Progress programs as standalone applications.
What I was hoping for is a way to pass parameters to/from V8 and a
Progress application. I have done this many times when running
Syteline with my applications. Vantage 8 doesn't seem to provide a
way to do this with it's .NET separated business and UI logic. Yes,
it is possible to launch some Progress code but it is still a
standalone application without any communication capibility between
the two.

An example, with Syteline, I used a RIGHT-CLICK event on the part
number field to trigger my 4GL code that presented a Window to the
user for additional input. After closing this window, I would
populate a number of Syteline screen objects/fields.

So far, it doesn't look like anyone in the V8 world has figured out a
way to talk to the Vantage 8 UI from 4GL - again, I am talking of a
Windowed 4GL program. I also failed to find anyone able to launch a
Windowed VB application from V8 with the ability to pass parameters
back and forth.

[Non-text portions of this message have been removed]
Hello

One thing you could do is to create a VB.net controls ("using Windows Control Library�) and make its properties public. By doing this you can create a complete set of new VB screens using the Vantage�s BOs (that even you can test them using the VB debugger!)

Once you have the screen done and the DLL created you can add it to any UDXX screen and then send and manipulate the VB screen from Vantage.

The possible inconvenient you could have is that you will have new sets of DLLs that have to be sent to each client, we didn�t have that issue because we use Citrix. We need to update just the Citrix servers every time we modify the VB screens

Let me know if you are interested, to try to explain in more detail.

Regards,
Jose Ferrer




To: vantage@yahoogroups.comFrom: hoomail4me@...: Mon, 24 Sep 2007 20:10:16 +0000Subject: [Vantage] Re: VB script vs Custom Progress




Thanks Carl for your take on this issue.My users do run my Progress programs as standalone applications. What I was hoping for is a way to pass parameters to/from V8 and a Progress application. I have done this many times when running Syteline with my applications. Vantage 8 doesn't seem to provide a way to do this with it's .NET separated business and UI logic. Yes, it is possible to launch some Progress code but it is still a standalone application without any communication capibility between the two.An example, with Syteline, I used a RIGHT-CLICK event on the part number field to trigger my 4GL code that presented a Window to the user for additional input. After closing this window, I would populate a number of Syteline screen objects/fields.So far, it doesn't look like anyone in the V8 world has figured out a way to talk to the Vantage 8 UI from 4GL - again, I am talking of a Windowed 4GL program. I also failed to find anyone able to launch a Windowed VB application from V8 with the ability to pass parameters back and forth.Bill--- In vantage@yahoogroups.com, "Carl Peterson" <cpeterson@...> wrote:>> We write many custom Progress apps, too, and we connect to the apps by> putting a menu on users desktop or create a single icon on the users desktop> to execute a Progress app.> > > > I have heard that you can execute Progress apps by putting the execution> code in the Vantage favorites . > > > > Listed below are the properties of how we execute a Progress app. This one> imports shipping tracking numbers into Vantage.> > > > The first part is executing Progress - full path -> \\vantage1\epicor\oe100b\bin\prowin32.exe> <file:///\\vantage1\epicor\oe100b\bin\prowin32.exe> (\\vantage1> <file:///\\vantage1> is the computer's domain name - unique)> > > > The second part identifies the data base path - -db> \\vantage1\epicor\mfgsys803\db\mfgsys> > > > The third part identifies the -S port (8300) service, the -N for the> network, and the -H is the host name - mfgsys -S 8300 -N TCP -H W2K3Vantage1> > > > > > The fourth part identifies the Progress program - starting with the -p> (program) - W2K3Vantage1 -p \\vantage1\emods\ship\importtrack.w> > > > The last part is used to identify the user (-U) and the password (-P) - this> is required so Progress does not ask you for the user and password.> > > > -U sysprogress -P sysprogress> > > > > > Let me know if you need any additional examples.> > > > SAMPLE icon properties to execute a Progress app.> > > > > > \\vantage1\epicor\oe100b\bin\prowin32.exe -db> \\vantage1\epicor\mfgsys803\db\mfgsys -S 8300 -N TCP -H W2K3Vantage1 -p> \\vantage1\emods\ship\importtrack.w -U sysprogress -P sysprogress> > > > > > > > Carl D. Peterson, CPIM> > Nexus Software, Inc.> > Plymouth, Michigan 48170> > 1-734-812-9532 - Mobile> > 1-734-453-3101 - Office> > 1-734-455-9550 - Fax> > cpeterson@...


_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

[Non-text portions of this message have been removed]
Yes, I have played with BPM and have a simple 4GL example to generate
a V8 part number but any 4GL GUI code fails (Create Window, Define
Frame, Buttons, event loops, etc.). Seems very limited to what 4GL
code can be run from a BPM directive.

Bill

--- In vantage@yahoogroups.com, "Chris Robisch" <bluewine@...> wrote:
>
> Business Process Management (BPM), new to 8.03, allows OpenEdge 4GL
code, on a Method Directive. These Directives can be pre/post process
to require fields be entered, execute code when the item is saved or
a variety of other uses.
>
> Unfortunately, we've got several open issues regarding BPM not
working. For example, it aborts when trying to create a Method for
Customer Entry where we want to automatically copy Prices Lists to a
customer. We randomly get a LangTran abort on a Quote Save when
trying to require Confidence % or Expected Close.
> ----- Original Message -----
> From: "hoomail4me" <hoomail4me@...>
> To: <vantage@yahoogroups.com>
> Sent: Monday, September 24, 2007 1:10 PM
> Subject: [Vantage] Re: VB script vs Custom Progress
>
>
> Thanks Carl for your take on this issue.
>
> My users do run my Progress programs as standalone applications.
> What I was hoping for is a way to pass parameters to/from V8 and a
> Progress application. I have done this many times when running
> Syteline with my applications. Vantage 8 doesn't seem to provide a
> way to do this with it's .NET separated business and UI logic.
Yes,
> it is possible to launch some Progress code but it is still a
> standalone application without any communication capibility between
> the two.
>
> An example, with Syteline, I used a RIGHT-CLICK event on the part
> number field to trigger my 4GL code that presented a Window to the
> user for additional input. After closing this window, I would
> populate a number of Syteline screen objects/fields.
>
> So far, it doesn't look like anyone in the V8 world has figured out
a
> way to talk to the Vantage 8 UI from 4GL - again, I am talking of a
> Windowed 4GL program. I also failed to find anyone able to launch
a
> Windowed VB application from V8 with the ability to pass parameters
> back and forth.
>
> [Non-text portions of this message have been removed]
>