2.
Save
the
Siebel
VB
file
in
a
temporary
directory.
For
example,
use
Temp
as
the
directory
name.
3.
Give
the
CWCONN
account
the
System
Administrator
responsibility
within
Siebel.
4.
In
your
Siebel
Tools
environment,
check
out
and
lock
the
Contact
project.
5.
Add
the
Siebel
VB
script
to
the
Contact
business
component
as
follows:
a.
Right-click
on
the
Contact
business
component,
and
select
Edit
BasicScripts
from
the
menu.
This
launches
the
script
editor.
b.
Import
the
VB
code
by
selecting
Import
from
the
File
menu,
choosing
the
Temp
directory,
and
picking
Contact_Write.svb
for
import
into
the
Bus
Comp
object
and
BusComp_WriteRecord
procedure.
c.
Import
the
second
VB
code
by
selecting
Import
from
the
File
menu,
choosing
the
Temp
directory,
and
picking
Contact_PreDelete.svb
for
import
into
the
Bus
Comp
object
and
BusComp_PreDeleteRecord
procedure.
d.
Save
changes
to
the
object.
6.
You
will
not
be
able
to
test
the
object
until
you
have
saved
all
objects
and
compiled
the
result.
Siebel_BCInternalProduct
1.
Locate
the
file
InternalProduct_Write.svb.
The
Siebel
VB
files
are
located
in
the
Common/Siebel/Dependencies/Siebel_VB
directory.
2.
Save
the
file
in
a
temporary
directory.
For
example,
use
Temp
as
the
directory
name.
3.
Give
the
CWCONN
account
the
System
Administrator
responsibility
within
Siebel.
4.
In
your
Siebel
Tools
environment,
check
out
and
lock
the
Product
project.
5.
Add
the
Siebel
VB
script
to
the
Internal
Product
business
component.
a.
Right-click
on
the
Internal
Product
business
component,
and
select
Edit
Basic
Scripts
from
the
menu.
This
launches
the
script
editor.
b.
Import
the
VB
code
by
selecting
Import
from
the
File
menu,
choosing
the
Temp
directory,
and
picking
InternalProduct_Write.svb
for
import
into
the
Bus
Comp
object
and
BusComp_WriteRecord
procedure.
c.
Save
changes
to
the
object.
6.
Change
the
business
component
properties
as
follows:
a.
In
the
tool
bar,
select
View
>
Property
Window.
b.
Go
to
Business
Component/Internal
Product.
c.
Change
the
following
attributes
to
False:
No
Insert
=
False
No
Merge
=
False
No
Update
=
False
Note:
The
purpose
of
changing
the
above
properties
is
to
allow
Com
Data
Server
Interface
to
create
and
update
products
inbound
to
Siebel.
7.
You
will
not
be
able
to
test
the
object
until
you
have
saved
all
objects
and
compiled
the
result.
Siebel_BCAsset
1.
Locate
the
Siebel
VB
file
Asset_Write.svb.
The
Siebel
VB
files
are
located
in
the
Common/Siebel/Dependencies/Siebel_VB
directory.
Chapter
5.
Creating
business
objects
51