Advanced Customization - 8.03

Mark,

Yes Update will handle this with an error if they both
invoked the methods at the same time this would just be a race
condition. Begin Edit and End edit are not necessarily needed. This
would be better done in business logic / BPM.

There is an example for sequence control in the UD samples directory for
the UD tables..



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mark Wonsil
Sent: 23 March 2007 19:43
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Advanced Customization - 8.03



Steve wrote:

> nextCustID =
> companyAdapter.CompanyData.Company.Rows(0)("Number01").toString()
>
> companyAdapter.CompanyData.Company.Rows(0).BeginEdit()
>
> companyAdapter.CompanyData.Company.Rows(0)("Number01") += 1
>
> companyAdapter.CompanyData.Company.Rows(0).EndEdit()
>
> companyAdapter.Update()
>
> companyAdapter.Dispose()
>
> end if

A quick question Steve, could this code be run by two users or does
BeginEdit
and EndEdit provide some concurrency control? Or will the .Update throw
an
exception if someone else has updated the record?

Just curious,

Thanks,

Mark W.





[Non-text portions of this message have been removed]
I am looking for working code on how to automatically generate a
Customer ID. I have the workshop code out of the Advanced Customization
Student Manual, but I am getting a single error that I cannot resolve. I
have included the code out of the Script Editor below, along with the
error message that I am receiving. I have highlighted line 53 where the
error is occurring.

Does anyone have any idea on what my code is missing?

Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.

1 '//**************************************************
2 '// Custom VB.NET code for CustomerEntryForm
3 '// Created: 3/21/2007 11:52:16 AM
4 '//**************************************************
5 Imports System
6 Imports System.Data
7 Imports System.Diagnostics
8 Imports System.Windows.Forms
9 Imports System.ComponentModel
10 Imports Microsoft.VisualBasic
11 Imports Epicor.Mfg.UI
12 Imports Epicor.Mfg.UI.FrameWork
13 Imports Epicor.Mfg.UI.ExtendedProps
14 Imports Epicor.Mfg.UI.FormFunctions
15 Imports Epicor.Mfg.UI.Customization
16 Imports Epicor.Mfg.UI.Adapters
17 Imports Epicor.Mfg.UI.Searches
18 Imports Epicor.Mfg.BO
19
20
21 Module Script
22
23
24 '// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added
Module Level Variables' Comments! **
25 '// Begin Wizard Added Module Level Variables **
26 Private WithEvents edvCustomer As EpiDataView
27 '// End Wizard Added Module Level Variables **
28
29
30 '// Add Custom Module Level Variables Here **
31
32
33
34 Sub InitializeCustomCode()
35
36
37 '// ** Wizard Insert Location - Do not delete 'Begin/End Wizard
Added Variable Intialization' lines **
38 '// Begin Wizard Added Variable Intialization
39 edvCustomer = CType(oTrans.EpiDataViews("Customer"),
EpiDataView)
40 '// End Wizard Added Variable Intialization
41 '// Begin Custom Method Calls
42
43 '// End Custom Method Calls
44 End Sub
45 Private Sub edvCustomer_EpiViewNotification(view As EpiDataView,
args As EpiNotifyArgs)Handles edvCustomer.EpiViewNotification
46 '// ** Argument Properties and Uses **
47 '// view.dataView(args.Row)("[FieldName]")
48 '// args.Row, args.Column, args.Sender, args.NotifyType
49 '//NotifyType.Initialize, NotifyType.AddRow,
NotifyType.DeleteRow, NotifyType.InitLastView,
NotifyType.InitAndResetTreeNodes
50
51 If (args.NotifyType = EpiTransaction.NotifyType.AddRow) Then
52 If (args.Row > -1) Then
53 Dim compAdapt As CompanyAdapter = New
CompanyAdapter(CustomerEntryForm)
54 compAdapt.BOConnect()
55 Dim company As String = CustomerEntryForm.Session.CompanyID
56 Dim ret As Boolean = compAdapt.GetByID(company)
57
58 Dim newCompID As Integer =
compAdapt.CompanyData.Tables("Company").Rows(0)("Number01")
59
60 view.dataView(args.Row)("CustID") = newCompID.ToString()
61 view.Notify(New EpiNotifyArgs(CustomerEntryForm, view.Row,
view.Column))
62 newCompID = newCompID +1
63
64 compAdapt.CompanyData.Tables("Company").Rows(0).BeginEdit()
65 compAdapt.CompanyData.Tables("Company").Rows(0)("Number01") =
newCompID
66 compAdapt.CompanyData.Tables("Company").Rows(0).EndEdit()
67
68 compAdapt.Update()
69 compAdapt.Dipose()
70
71 End If
72 End If
73 End Sub
74
75 Sub DestroyCustomCode()
76
77
78 '// ** Wizard Insert Location - Do not delete 'Begin/End Wizard
Added Object Disposal' lines **
79 '// Begin Wizard Added Object Disposal
80
81 '// End Wizard Added Object Disposal
82 '// Begin Custom Code Disposal
83
84 '// End Custom Code Disposal
85 End Sub
86
87
88
89 End Module
90




[Non-text portions of this message have been removed]
>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.
No, I did not add a reference. How would I go about adding the
reference?

Thank You,

Lauren L. Hellings
Systems Administrator
Ericson Manufacturing Co.
4215 Hamann Parkway
Willoughby, OH 44094
P: (800) ERICSON x263
F: (440) 951-1867
LaurenH@...
http://www.ericson.com/

Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient (s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by email and delete all copies of
the original message

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mark Wonsil
Sent: Friday, March 23, 2007 11:35 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Advanced Customization - 8.03

>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.



[Non-text portions of this message have been removed]
Add references eg Epicor.Mfg.AD.CustomerAdapter.dll,
Epicor.Mfg.IF.ICustomerAdapter.dll ..



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mark Wonsil
Sent: 23 March 2007 15:35
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Advanced Customization - 8.03



>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.





[Non-text portions of this message have been removed]
Sorry its just Customer not CustomerAdapter



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Stephen Edginton
Sent: 23 March 2007 16:24
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Advanced Customization - 8.03



Add references eg Epicor.Mfg.AD.CustomerAdapter.dll,
Epicor.Mfg.IF.ICustomerAdapter.dll ..

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Mark Wonsil
Sent: 23 March 2007 15:35
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.







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

I am interested in knowing if you can provide the ISDN number from the
(Standard and Advanced) Student Lab Manual on customization? I would
like to order this for myself, as I find this very useful to modify
solutions in our company. I checked to see if any courses exist for
Customization v8.03 and do not see any scheduled. Have you gone though
these recently?

Thanks in advance

-Joe
Company Adapter even ! That's not reading it fully



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Stephen Edginton
Sent: 23 March 2007 16:42
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Advanced Customization - 8.03



Sorry its just Customer not CustomerAdapter

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Stephen Edginton
Sent: 23 March 2007 16:24
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

Add references eg Epicor.Mfg.AD.CustomerAdapter.dll,
Epicor.Mfg.IF.ICustomerAdapter.dll ..

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 Mark Wonsil
Sent: 23 March 2007 15:35
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.








[Non-text portions of this message have been removed]
I added the required .DLLs, and my code successfully compiled. I applied
my customization to the Customer Master File under Quote Management. Now
I have a different issue.

When I choose New Customer, the screen stays grayed out, and I get a
message in the bottom left-hand corner that says Getting New... It never
gets to a point where it creates a new record. I am in a test
environment, so I know it is not an issue of needing to search through
thousands of customers.

Is anyone else out there auto generating Customer ID?

Thank You,

Lauren L. Hellings
Systems Administrator
Ericson Manufacturing Co.
4215 Hamann Parkway
Willoughby, OH 44094
P: (800) ERICSON x263
F: (440) 951-1867
LaurenH@...
http://www.ericson.com/

Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient (s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by email and delete all copies of
the original message

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Stephen Edginton
Sent: Friday, March 23, 2007 1:09 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Advanced Customization - 8.03

Company Adapter even ! That's not reading it fully

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Stephen Edginton
Sent: 23 March 2007 16:42
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

Sorry its just Customer not CustomerAdapter

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 Stephen Edginton
Sent: 23 March 2007 16:24
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

Add references eg Epicor.Mfg.AD.CustomerAdapter.dll,
Epicor.Mfg.IF.ICustomerAdapter.dll ..

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Mark Wonsil
Sent: 23 March 2007 15:35
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.

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



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

Unfortunately, I do not have the ISDN numbers for the books. I have only
viewed the 8.0: Embedded Customization eLearning recording on the Epicor
Education site. Everything I have learned has been through trial and
error in our test db. I received the workshop code (not the entire
Advanced Customization manual) from a colleague who attended the class.

Our project manager told us if there is not an 8.03 version manual
available, that most likely there is no difference between the versions.

Hope this helps...

Thank You,

Lauren L. Hellings
Systems Administrator
Ericson Manufacturing Co.
4215 Hamann Parkway
Willoughby, OH 44094
P: (800) ERICSON x263
F: (440) 951-1867
LaurenH@...
http://www.ericson.com/

Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient (s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by email and delete all copies of
the original message

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of vantage803
Sent: Friday, March 23, 2007 12:59 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Advanced Customization - 8.03

Lauren

I am interested in knowing if you can provide the ISDN number from the
(Standard and Advanced) Student Lab Manual on customization? I would
like to order this for myself, as I find this very useful to modify
solutions in our company. I checked to see if any courses exist for
Customization v8.03 and do not see any scheduled. Have you gone though
these recently?

Thanks in advance

-Joe



[Non-text portions of this message have been removed]
Lauren, Below is Some code that works correctly, I will send you the XML
to just import.





'//**************************************************

'// Custom VB.NET code for CustomerEntryForm

'// Created: 23/03/2007 17:48:39

'//**************************************************

Imports System

Imports System.Data

Imports System.Diagnostics

Imports System.Windows.Forms

Imports System.ComponentModel

Imports Microsoft.VisualBasic

Imports Epicor.Mfg.UI

Imports Epicor.Mfg.UI.FrameWork

Imports Epicor.Mfg.UI.ExtendedProps

Imports Epicor.Mfg.UI.FormFunctions

Imports Epicor.Mfg.UI.Customization

Imports Epicor.Mfg.UI.Adapters

Imports Epicor.Mfg.UI.Searches

Imports Epicor.Mfg.BO





Module Script





'// ** Wizard Insert Location - Do Not Remove 'Begin/End
Wizard Added Module Level Variables' Comments! **

'// Begin Wizard Added Module Level Variables **

Private WithEvents edvCustomer As EpiDataView

'// End Wizard Added Module Level Variables **

'// Add Custom Module Level Variables Here **



Sub InitializeCustomCode()

'// ** Wizard Insert Location - Do not
delete 'Begin/End Wizard Added Variable Intialization' lines **

'// Begin Wizard Added Variable
Intialization

edvCustomer =
CType(oTrans.EpiDataViews("Customer"), EpiDataView)

'// End Wizard Added Variable
Intialization

'// Begin Custom Method Calls



'// End Custom Method Calls

End Sub





Sub DestroyCustomCode()

'// ** Wizard Insert Location - Do not
delete 'Begin/End Wizard Added Object Disposal' lines **

'// Begin Wizard Added Object Disposal



'// End Wizard Added Object Disposal

'// Begin Custom Code Disposal



'// End Custom Code Disposal

End Sub



Private Sub edvCustomer_EpiViewNotification(view As EpiDataView,args
As EpiNotifyArgs)Handles edvCustomer.EpiViewNotification

If (args.NotifyType = EpiTransaction.NotifyType.AddRow) Then

If (args.Row > -1) Then

view.dataView(args.Row)("CustID") = GetNextCustID()

view.Notify(New EpiNotifyArgs(CustomerEntryForm, view.Row,
view.Column))

end if

end if

End Sub



Private Function GetNextCustID() As String

'//Use the company Adapter to Store our sequance number Number01

Dim nextCustID As string = String.Empty

Dim companyAdapter As CompanyAdapter = New
CompanyAdapter(CustomerEntryForm)

companyAdapter.BOConnect()

Dim company As String = CustomerEntryForm.Session.CompanyID

Dim found As Boolean = companyAdapter.GetByID(company)

if (found) then

nextCustID =
companyAdapter.CompanyData.Company.Rows(0)("Number01").toString()

companyAdapter.CompanyData.Company.Rows(0).BeginEdit()

companyAdapter.CompanyData.Company.Rows(0)("Number01") += 1

companyAdapter.CompanyData.Company.Rows(0).EndEdit()

companyAdapter.Update()

companyAdapter.Dispose()

end if

return nextCustID

End Function





End Module



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Lauren Hellings
Sent: 23 March 2007 17:52
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Advanced Customization - 8.03



Joe,

Unfortunately, I do not have the ISDN numbers for the books. I have only
viewed the 8.0: Embedded Customization eLearning recording on the Epicor
Education site. Everything I have learned has been through trial and
error in our test db. I received the workshop code (not the entire
Advanced Customization manual) from a colleague who attended the class.

Our project manager told us if there is not an 8.03 version manual
available, that most likely there is no difference between the versions.

Hope this helps...

Thank You,

Lauren L. Hellings
Systems Administrator
Ericson Manufacturing Co.
4215 Hamann Parkway
Willoughby, OH 44094
P: (800) ERICSON x263
F: (440) 951-1867
LaurenH@... <mailto:LaurenH%40ericson.com>
http://www.ericson.com/

Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient (s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by email and delete all copies of
the original message

________________________________

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of vantage803
Sent: Friday, March 23, 2007 12:59 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: Advanced Customization - 8.03

Lauren

I am interested in knowing if you can provide the ISDN number from the
(Standard and Advanced) Student Lab Manual on customization? I would
like to order this for myself, as I find this very useful to modify
solutions in our company. I checked to see if any courses exist for
Customization v8.03 and do not see any scheduled. Have you gone though
these recently?

Thanks in advance

-Joe








[Non-text portions of this message have been removed]
> I am interested in knowing if you can provide the ISDN number from the
> (Standard and Advanced) Student Lab Manual on customization? I would
> like to order this for myself, as I find this very useful to modify
> solutions in our company. I checked to see if any courses exist for
> Customization v8.03 and do not see any scheduled. Have you gone though
> these recently?

In addition to the Online Learning Sessions, Epicor sells a self-paced
Advanced Customization that comes with a PDF manual.

Mark W.
Since you are in the test environment, do you have the System Task Agent
setup and pointing to the correct app servers? Or possibly the process
server or task agent appservers aren't running for that particular db?
You have to swap the settings around to point to the correct db
appservers every time you move a db from live to test or train before
you can do any processing (mrp, cost roll, etc) or run any reports.
While in test, swapping around quite a bit, updating the System Agent is
easily over looked.

It just sounds like a similar issue we had during initial V8
implementation. We were working with a clean database doing our initial
data load. We didn't have the system agent setup at all (no mention of
it in the installation guide) so lots of things weren't working
properly. This took MANY calls to tech support (weeks) to figure it
out, working a couple different angles to narrow it down to the lack of
System Agent setup.

Good luck.

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Lauren Hellings
Sent: Friday, March 23, 2007 1:39 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Advanced Customization - 8.03



I added the required .DLLs, and my code successfully compiled. I applied
my customization to the Customer Master File under Quote Management. Now
I have a different issue.

When I choose New Customer, the screen stays grayed out, and I get a
message in the bottom left-hand corner that says Getting New... It never
gets to a point where it creates a new record. I am in a test
environment, so I know it is not an issue of needing to search through
thousands of customers.

Is anyone else out there auto generating Customer ID?

Thank You,

Lauren L. Hellings
Systems Administrator
Ericson Manufacturing Co.
4215 Hamann Parkway
Willoughby, OH 44094
P: (800) ERICSON x263
F: (440) 951-1867
LaurenH@... <mailto:LaurenH%40ericson.com>
http://www.ericson.com/ <http://www.ericson.com/>

Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient (s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by email and delete all copies of
the original message

________________________________

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Stephen Edginton
Sent: Friday, March 23, 2007 1:09 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

Company Adapter even ! That's not reading it fully

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 Stephen Edginton
Sent: 23 March 2007 16:42
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

Sorry its just Customer not CustomerAdapter

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Stephen Edginton
Sent: 23 March 2007 16:24
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

Add references eg Epicor.Mfg.AD.CustomerAdapter.dll,
Epicor.Mfg.IF.ICustomerAdapter.dll ..

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Mark Wonsil
Sent: 23 March 2007 15:35
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Advanced Customization - 8.03

>
> Does anyone have any idea on what my code is missing?
>
> Error: BC30002 - line 53 (211) - Type 'CompanyAdapter' is not defined.
>

In the Customization Tool Dialog box, did you go the Tools | Assembly
Reference Manager and add a reference for the CompanyAdapter?

Mark W.

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


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




This is an e-mail from Saab Barracuda LLC. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.

###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

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

> nextCustID =
> companyAdapter.CompanyData.Company.Rows(0)("Number01").toString()
>
> companyAdapter.CompanyData.Company.Rows(0).BeginEdit()
>
> companyAdapter.CompanyData.Company.Rows(0)("Number01") += 1
>
> companyAdapter.CompanyData.Company.Rows(0).EndEdit()
>
> companyAdapter.Update()
>
> companyAdapter.Dispose()
>
> end if

A quick question Steve, could this code be run by two users or does BeginEdit
and EndEdit provide some concurrency control? Or will the .Update throw an
exception if someone else has updated the record?

Just curious,

Thanks,

Mark W.