Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >

NewRecord Method

NewRecord adds a new record (row) to the business component.





Predefined constant or corresponding integer indicating where the new row is added. This value should be one of the following:

  • 0 (or NewBefore)
  • 1 (or NewAfter)
  • 2 (or NewBeforeCopy)
  • 3 (or NewAfterCopy)

With Java Data Bean the values are:

  • FALSE (equivalent to NewBefore)
  • TRUE (equivalent to NewAfter)

Not applicable


This new row becomes the current row, either before or after the previously current record, depending on the value you selected for WhereIndicator.

You can use NewRecord to copy a record. To place the copy before the original record use the following command.

Object.NewRecord NewBeforeCopy

To place the copy after the original record, use the following command.

Object.NewRecord NewAfterCopy

Used With

COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script


The following example is in Siebel VB:

Dim oBusObj as BusObject
Dim oBC as BusComp

Set oBusObj = TheApplication.ActiveBusObject
Set oBC = oBusObj.GetBusComp("Action")
oBC.NewRecord NewAfter
oBC.SetFieldValue "Type", "To Do"
oBC.SetFieldValue "Description", "Find Decision Makers")

set oBC = Nothing
set oBusObj = Nothing

Siebel Object Interfaces Reference