Gene,
Did you add a custom assembly reference (tools > assembly reference
manager)?
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Gene Mcdonald
Sent: Tuesday, March 15, 2011 10:10 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Problem accessing a Business Object via VB
Hello All,
I am trying to access the SalesOrder business object within a customization
and
I am getting the error:
Compiling Custom Code ...
----------errors------------
Error: BC30002 - line 125 (877) - Type 'SalesOrderAdapterBusinessObject' is
not
defined.
** Compile Failed. **
What am I doing wrong here? Thanks for any help.
The code I am using is:
'Let's try to open up the BO adapters.
Dim adSalesAdapter As SalesOrderAdapterBusinessObject = New
SalesOrderAdapterBusinessObject(oTrans)
adSalesAdapter.BOConnect()
...other pertinant code...
'// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added
Module
Level Variables' Comments! **
'// Begin Wizard Added Module Level Variables **
'// End Wizard Added Module Level Variables **
Private WithEvents oTrans_adapter as EpiBaseAdapter
Private WithEvents edvSOEntry as EpiDataView
'// Add Custom Module Level Variables Here **
Sub InitializeCustomCode()
'// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added
Variable
Initialization' lines **
'// Begin Wizard Added Variable Initialization
AddHandler OrderDtl_Column.ColumnChanged, AddressOf
OrderDtl_AfterFieldChange
oTrans_adapter = csm.TransAdapterSHT("oTrans_adapter")
edvSOEntry = CType(oTrans.EpiDataViews("OrderDtl"), EpiDataView)
'// End Wizard Added Variable Initialization
'// Begin Wizard Added Custom Method Calls
'// End Wizard Added Custom Method Calls
End Sub
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Did you add a custom assembly reference (tools > assembly reference
manager)?
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Gene Mcdonald
Sent: Tuesday, March 15, 2011 10:10 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Problem accessing a Business Object via VB
Hello All,
I am trying to access the SalesOrder business object within a customization
and
I am getting the error:
Compiling Custom Code ...
----------errors------------
Error: BC30002 - line 125 (877) - Type 'SalesOrderAdapterBusinessObject' is
not
defined.
** Compile Failed. **
What am I doing wrong here? Thanks for any help.
The code I am using is:
'Let's try to open up the BO adapters.
Dim adSalesAdapter As SalesOrderAdapterBusinessObject = New
SalesOrderAdapterBusinessObject(oTrans)
adSalesAdapter.BOConnect()
...other pertinant code...
'// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added
Module
Level Variables' Comments! **
'// Begin Wizard Added Module Level Variables **
'// End Wizard Added Module Level Variables **
Private WithEvents oTrans_adapter as EpiBaseAdapter
Private WithEvents edvSOEntry as EpiDataView
'// Add Custom Module Level Variables Here **
Sub InitializeCustomCode()
'// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added
Variable
Initialization' lines **
'// Begin Wizard Added Variable Initialization
AddHandler OrderDtl_Column.ColumnChanged, AddressOf
OrderDtl_AfterFieldChange
oTrans_adapter = csm.TransAdapterSHT("oTrans_adapter")
edvSOEntry = CType(oTrans.EpiDataViews("OrderDtl"), EpiDataView)
'// End Wizard Added Variable Initialization
'// Begin Wizard Added Custom Method Calls
'// End Wizard Added Custom Method Calls
End Sub
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]