Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods > GetMVGBusComp MethodGetMVGBusComp returns the MVG business component associated with the business component field specified by FieldName. This business component can be used to operate on the multi-value group using the normal business component mechanisms. SyntaxBusComp.GetMVGBusComp(FieldName)
ReturnsThe multi-value group business component of the current business component and identified field UsageA multi-value group is a set of detail records attached to the current record in the business component that holds the corresponding multi-value field. The GetMVGBusComp should be set to Nothing after use. NOTE: In the context of a many-to-many relationship, you can use Siebel VB to either add a new record, that is, associate a new child record, or insert a record, that is, create a new record in the child business component. To add a record, use GetAssocBusComp and the Associate method. To insert a record, use GetMVGBusComp and the NewRecord method. Used WithCOM Data Control, COM Data Server, Java Data Bean, Mobile/Dedicated Web Client Automation Server, Server Script ExampleThe following sample Siebel VB code using GetMVGBusComp inserts a new address to the "Hong Kong Flower Shop" account record. For other examples, read ExecuteQuery Method and FirstSelected Method. Dim AccntBO as BusObject With AccntBC With AddrBC Set AccntBO = Nothing See Also |
![]() |
![]() ![]() |
Siebel Object Interfaces Reference |