Customize End Activity Screen in MES -.NET - 8.03.407

Because I just spent two days trying to figure out how to get this to work, here's the solution that worked for me--Norman's post lead me in the right direction (Thanks!)

In the Sub Process Maintenance screen where you select your Program, remove the full path, ie:

C:\Client\Epicor.Mfg.UI.EndActivityEntry.dll

SHOULD ACTUALLY BE

Epicor.Mfg.UI.EndActivityEntry.dll


Thanks Epicor for the useful error "Menu ID XXXX is not valid from the MES Menu"...

--- In vantage@yahoogroups.com, "Norman Hutchins" <nhutchins@...> wrote:
>
> Good News, I managed to get it to work. It was a combination of things I
> think. Like having the whole path to the dll's, and sometimes using the
> name of the program instead of the name.dll, etc.
>
>
>
> Thanks for all the help!
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Has anyone successful customized the MES End Activity Form? I am having a heck of a time getting the simplest code to work. Any examples or suggestions for how to display job operation completion data on the end activity screen would be great!

Thanks,
Keith
OK, here is what I have, perhaps seeing where I am at will spur some thoughts. This compiles fine, but when run, it gives me an error (object not set to instance of an object) between debug lines 89 and 91. Please Help!

Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click
'// ** Place Event Handling Code Here **

'get job number
Dim jobnum as string = ""
Dim endactivityView as EpiDataView = Ctype(oTrans.EpiDataViews("End"), EpiDataView)
jobnum = endactivityView.dataView(endactivityView.Row)("JobNum").ToString()
MessageBox.Show(jobnum.ToString()) '****DEBUG******


'get JobOper details into a dataset
Dim adJobOper As JobOperSearchAdapter = New JobOperSearchAdapter("EndActForm")
adJobOper.BOConnect()
Dim MorePages As Boolean
Dim opts As SearchOptions = New SearchOptions(SearchMode.AutoSearch)
opts.NamedSearch.WhereClauses.Add("JobNum", jobnum)
opts.NamedSearch.WhereClauses.Add("AssemblySeq", "0")
opts.NamedSearch.WhereClauses.Add("SubContract", false)
Dim dsJobOper As Data.DataSet
MessageBox.Show("89") '****DEBUG******
dsJobOper = adJobOper.GetList(opts, MorePages)
MessageBox.Show("91") '****DEBUG******
adJobOper.Dispose()


'bind ds to ugd
ugdJobDetails.datasource = dsJobOper


End Sub
Keith,



I've customized MES Start Production Activity and End Activities
specifically to display Previous Qty Completed, Total Run Qty and Reported
Scrap Qty.

I'll send you a screen shot directly.



Regards, Lee



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Keith
Sent: Monday, January 25, 2010 4:43 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407





Has anyone successful customized the MES End Activity Form? I am having a
heck of a time getting the simplest code to work. Any examples or
suggestions for how to display job operation completion data on the end
activity screen would be great!

Thanks,
Keith





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

I have seen it if you add a field it must be included in a group box or
you get the error object not set to instance of an object.

Don

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Lee Ingalls
Sent: Wednesday, January 27, 2010 9:14 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Customize End Activity Screen in MES -.NET -
8.03.407




Keith,

I've customized MES Start Production Activity and End Activities
specifically to display Previous Qty Completed, Total Run Qty and
Reported
Scrap Qty.

I'll send you a screen shot directly.

Regards, Lee

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Keith
Sent: Monday, January 25, 2010 4:43 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Has anyone successful customized the MES End Activity Form? I am having
a
heck of a time getting the simplest code to work. Any examples or
suggestions for how to display job operation completion data on the end
activity screen would be great!

Thanks,
Keith

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






[Non-text portions of this message have been removed]
Lee, I would be so happy if you could share any code or any tips on this. Any help at all would be awesome!

-Keith

--- In vantage@yahoogroups.com, "Lee Ingalls" <lingalls@...> wrote:
>
> Keith,
>
>
>
> I've customized MES Start Production Activity and End Activities
> specifically to display Previous Qty Completed, Total Run Qty and Reported
> Scrap Qty.
>
> I'll send you a screen shot directly.
>
>
>
> Regards, Lee
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Keith
> Sent: Monday, January 25, 2010 4:43 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407
>
>
>
>
>
> Has anyone successful customized the MES End Activity Form? I am having a
> heck of a time getting the simplest code to work. Any examples or
> suggestions for how to display job operation completion data on the end
> activity screen would be great!
>
> Thanks,
> Keith
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Don, my error occurs between the two messagebox commands I have... wouldn't an error of the type you discribe occur a page load?

-Keith

--- In vantage@yahoogroups.com, "Don Kollmann" <dkollmann@...> wrote:
>
> Keith,
>
> I have seen it if you add a field it must be included in a group box or
> you get the error object not set to instance of an object.
>
> Don
>
> ________________________________
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Lee Ingalls
> Sent: Wednesday, January 27, 2010 9:14 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Customize End Activity Screen in MES -.NET -
> 8.03.407
>
>
>
>
> Keith,
>
> I've customized MES Start Production Activity and End Activities
> specifically to display Previous Qty Completed, Total Run Qty and
> Reported
> Scrap Qty.
>
> I'll send you a screen shot directly.
>
> Regards, Lee
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
> Behalf
> Of Keith
> Sent: Monday, January 25, 2010 4:43 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407
>
> Has anyone successful customized the MES End Activity Form? I am having
> a
> heck of a time getting the simplest code to work. Any examples or
> suggestions for how to display job operation completion data on the end
> activity screen would be great!
>
> Thanks,
> Keith
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
In case anyone else needs to do this, the solution I finally came upon involved no VB at all:

Using the Data Tools in Customization, I ended up creating a Foreign Key View to JobHed, then a Sub Table View to JobOper - linking only the AssemblyDtl, and not the operation (linking the operation too would give you just one row - the op you are ending). I added a grid to the form, tied the source to the new JobOper view, and it works like a charm!

Thanks to Lee for your insight and help!

Keith

--- In vantage@yahoogroups.com, "Keith" <keithfwalter@...> wrote:
>
> Has anyone successful customized the MES End Activity Form? I am having a heck of a time getting the simplest code to work. Any examples or suggestions for how to display job operation completion data on the end activity screen would be great!
>
> Thanks,
> Keith
>
Lee,

Is the reported scrap that you are referring to a sum of all scrap for the operation? Sum of scrap for entire job?

Thanks,

Dustin Biniek




________________________________
From: Lee Ingalls <lingalls@...>
To: vantage@yahoogroups.com
Sent: Wed, January 27, 2010 9:14:28 AM
Subject: RE: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Â
Keith,

I've customized MES Start Production Activity and End Activities
specifically to display Previous Qty Completed, Total Run Qty and Reported
Scrap Qty.

I'll send you a screen shot directly.

Regards, Lee

From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf
Of Keith
Sent: Monday, January 25, 2010 4:43 PM
To: vantage@yahoogroups .com
Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Has anyone successful customized the MES End Activity Form? I am having a
heck of a time getting the simplest code to work. Any examples or
suggestions for how to display job operation completion data on the end
activity screen would be great!

Thanks,
Keith

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







[Non-text portions of this message have been removed]
It is the sum of scrap for that operation.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of melissa hietala
Sent: Thursday, January 28, 2010 12:43 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407





Lee,

Is the reported scrap that you are referring to a sum of all scrap for the operation? Sum of scrap for entire job?

Thanks,

Dustin Biniek

________________________________
From: Lee Ingalls <lingalls@... <mailto:lingalls%40andronaco.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Wed, January 27, 2010 9:14:28 AM
Subject: RE: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407


Keith,

I've customized MES Start Production Activity and End Activities
specifically to display Previous Qty Completed, Total Run Qty and Reported
Scrap Qty.

I'll send you a screen shot directly.

Regards, Lee

From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf
Of Keith
Sent: Monday, January 25, 2010 4:43 PM
To: vantage@yahoogroups .com
Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Has anyone successful customized the MES End Activity Form? I am having a
heck of a time getting the simplest code to work. Any examples or
suggestions for how to display job operation completion data on the end
activity screen would be great!

Thanks,
Keith







[Non-text portions of this message have been removed]
Is there anyway you can send me something offline on how you managed to do this? (DustinB@...). I would be very interested in how you were able to accomplish this?

Thanks,
Â
Dustin Biniek
DustinB@...




________________________________
From: Lee Ingalls <lingalls@...>
To: vantage@yahoogroups.com
Sent: Thu, January 28, 2010 12:28:18 PM
Subject: RE: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Â
It is the sum of scrap for that operation.

From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf Of melissa hietala
Sent: Thursday, January 28, 2010 12:43 PM
To: vantage@yahoogroups .com
Subject: Re: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Lee,

Is the reported scrap that you are referring to a sum of all scrap for the operation? Sum of scrap for entire job?

Thanks,

Dustin Biniek

____________ _________ _________ __
From: Lee Ingalls <lingalls@andronaco. com <mailto:lingalls% 40andronaco. com> >
To: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
Sent: Wed, January 27, 2010 9:14:28 AM
Subject: RE: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Keith,

I've customized MES Start Production Activity and End Activities
specifically to display Previous Qty Completed, Total Run Qty and Reported
Scrap Qty.

I'll send you a screen shot directly.

Regards, Lee

From: vantage@yahoogroups .com [mailto:vantage@ yahoogroups .com] On Behalf
Of Keith
Sent: Monday, January 25, 2010 4:43 PM
To: vantage@yahoogroups .com
Subject: [Vantage] Customize End Activity Screen in MES -.NET - 8.03.407

Has anyone successful customized the MES End Activity Form? I am having a
heck of a time getting the simplest code to work. Any examples or
suggestions for how to display job operation completion data on the end
activity screen would be great!

Thanks,
Keith

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







[Non-text portions of this message have been removed]
This customization that Lee did is great, it's something we've been looking
for, for a while now. However, I have one question, I've done a ton of
customizations to screens in Vantage and applied them in Menu Maintenance.



How do you applied a customization to a screen like StartProd or EndActivity
when they aren't accessed through the vantage menu?



Norman Hutchins

Network Administrator

Howell Laboratories, Inc.

Shively Labs

207-647-3327





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

I believe this is what you need to do. Is there anyway you could send me something offline to give me an idea of how this customization was created/ works? DustinB@... Thanks, Dustin Biniek
1. Go to System Management >> Utilites >> Sub Process Maintenance
2. Create a new menu ID and give it a name e.g UDEndAct
3. Choose the security you want to apply to this option
4. Enter a parent process like PROCESS or MAINMENU
5. Enter a unique number for the sequence like 10, 15, 20, etc.
6. Under the Program section browse to or type in Epicor.Mfg.UI.EndActivityEntry.dll
7. Choose the Customization name from the list box
8. Save and close Sub Process Maintenance
9. Create a Process Calling using System Management >> Utilities >> Process
Calling Maintenance
10. Choose File >> New
11. Process Called Reference = Epicor.Mfg.UI.EndActivityEntry
12. Menu ID = UDEndAct (Menu ID create in step 2)
13. Save and close Process Calling Maintenance





________________________________
From: Norman Hutchins <nhutchins@...>
To: vantage@yahoogroups.com
Sent: Fri, January 29, 2010 8:35:44 AM
Subject: [Vantage] Re: Customize End Activity Screen in MES -.NET - 8.03.407

Â
This customization that Lee did is great, it's something we've been looking
for, for a while now. However, I have one question, I've done a ton of
customizations to screens in Vantage and applied them in Menu Maintenance.

How do you applied a customization to a screen like StartProd or EndActivity
when they aren't accessed through the vantage menu?

Norman Hutchins

Network Administrator

Howell Laboratories, Inc.

Shively Labs

207-647-3327

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







[Non-text portions of this message have been removed]
Thanks, Dustin

That worked in Office MES, but when I try to start production in the normal MES, I now get a error saying something to the effect of, "Process UDStartP not availble in MES"

Any idea's?

Norman

--- In vantage@yahoogroups.com, melissa hietala <kevmel822@...> wrote:
>
> Norman,
>
> I believe this is what you need to do. Is there anyway you could send me something offline to give me an idea of how this customization was created/ works? DustinB@... Thanks, Dustin Biniek
> 1. Go to System Management >> Utilites >> Sub Process Maintenance
> 2. Create a new menu ID and give it a name e.g UDEndAct
> 3. Choose the security you want to apply to this option
> 4. Enter a parent process like PROCESS or MAINMENU
> 5. Enter a unique number for the sequence like 10, 15, 20, etc.
> 6. Under the Program section browse to or type in Epicor.Mfg.UI.EndActivityEntry.dll
> 7. Choose the Customization name from the list box
> 8. Save and close Sub Process Maintenance
> 9. Create a Process Calling using System Management >> Utilities >> Process
> Calling Maintenance
> 10. Choose File >> New
> 11. Process Called Reference = Epicor.Mfg.UI.EndActivityEntry
> 12. Menu ID = UDEndAct (Menu ID create in step 2)
> 13. Save and close Process Calling Maintenance
>
>
>
>
>
> ________________________________
> From: Norman Hutchins <nhutchins@...>
> To: vantage@yahoogroups.com
> Sent: Fri, January 29, 2010 8:35:44 AM
> Subject: [Vantage] Re: Customize End Activity Screen in MES -.NET - 8.03.407
>
> ÂÂ
> This customization that Lee did is great, it's something we've been looking
> for, for a while now. However, I have one question, I've done a ton of
> customizations to screens in Vantage and applied them in Menu Maintenance.
>
> How do you applied a customization to a screen like StartProd or EndActivity
> when they aren't accessed through the vantage menu?
>
> Norman Hutchins
>
> Network Administrator
>
> Howell Laboratories, Inc.
>
> Shively Labs
>
> 207-647-3327
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Norman,
I uploaded a guide to customizing MES that works flawlessly for me (Files Section). It might help you out...

Keith Walter

--- In vantage@yahoogroups.com, "howelllabs" <nhutchins@...> wrote:
>
> Thanks, Dustin
>
> That worked in Office MES, but when I try to start production in the normal MES, I now get a error saying something to the effect of, "Process UDStartP not availble in MES"
>
> Any idea's?
>
> Norman
>
> --- In vantage@yahoogroups.com, melissa hietala <kevmel822@> wrote:
> >
> > Norman,
> >
> > I believe this is what you need to do. Is there anyway you could send me something offline to give me an idea of how this customization was created/ works? DustinB@ Thanks, Dustin Biniek
> > 1. Go to System Management >> Utilites >> Sub Process Maintenance
> > 2. Create a new menu ID and give it a name e.g UDEndAct
> > 3. Choose the security you want to apply to this option
> > 4. Enter a parent process like PROCESS or MAINMENU
> > 5. Enter a unique number for the sequence like 10, 15, 20, etc.
> > 6. Under the Program section browse to or type in Epicor.Mfg.UI.EndActivityEntry.dll
> > 7. Choose the Customization name from the list box
> > 8. Save and close Sub Process Maintenance
> > 9. Create a Process Calling using System Management >> Utilities >> Process
> > Calling Maintenance
> > 10. Choose File >> New
> > 11. Process Called Reference = Epicor.Mfg.UI.EndActivityEntry
> > 12. Menu ID = UDEndAct (Menu ID create in step 2)
> > 13. Save and close Process Calling Maintenance
> >
> >
> >
> >
> >
> > ________________________________
> > From: Norman Hutchins <nhutchins@>
> > To: vantage@yahoogroups.com
> > Sent: Fri, January 29, 2010 8:35:44 AM
> > Subject: [Vantage] Re: Customize End Activity Screen in MES -.NET - 8.03.407
> >
> > ÂÂ
> > This customization that Lee did is great, it's something we've been looking
> > for, for a while now. However, I have one question, I've done a ton of
> > customizations to screens in Vantage and applied them in Menu Maintenance.
> >
> > How do you applied a customization to a screen like StartProd or EndActivity
> > when they aren't accessed through the vantage menu?
> >
> > Norman Hutchins
> >
> > Network Administrator
> >
> > Howell Laboratories, Inc.
> >
> > Shively Labs
> >
> > 207-647-3327
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
Sorry was out of the office Friday. did you add Start and End Activity
Sub-processes via utilities - sub process maintenance?

Associate each with the corresponding Epicor.Mfg.UI.EndActivityEntry.dll
and Epicor.Mfg.UI.StartProductionActivityEntry.dll programs.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Norman Hutchins
Sent: Friday, January 29, 2010 9:36 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Customize End Activity Screen in MES -.NET -
8.03.407





This customization that Lee did is great, it's something we've been
looking
for, for a while now. However, I have one question, I've done a ton of
customizations to screens in Vantage and applied them in Menu Maintenance.


How do you applied a customization to a screen like StartProd or
EndActivity
when they aren't accessed through the vantage menu?

Norman Hutchins

Network Administrator

Howell Laboratories, Inc.

Shively Labs

207-647-3327

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





[Non-text portions of this message have been removed]
Thanks Keith,



I followed those direction and it still gives me the same error massage,
"Menu ID UDStartP is not valid from the MES Menu", which the the Menu ID I
created. It will load correctly from Office MES, so I think it has
something to do with MES being limited to what you can call from the MES
screens.



Guess it might be time to contact Support..



Norman Hutchins

Network Administrator

Howell Laboratories, Inc.

Shively Labs

207-647-3327





[Non-text portions of this message have been removed]
Norm
your error message:
"Menu ID UDStartP is not valid from the MES Menu"
suggests somthing is wrong with the sub-process entry. Is UDStartP referencing the correct .dll? Is is enabled? make sure you follow steps 2, 3 and 4 in my instructions. I have been able to customize the Start activity form, so i know it is possable (in 8.03.407 at least).

Contact me offline, and I can walk you thru this on the phone if you like.

Keith
Good News, I managed to get it to work. It was a combination of things I
think. Like having the whole path to the dll's, and sometimes using the
name of the program instead of the name.dll, etc.



Thanks for all the help!









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