Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods > SetMultipleFieldValues MethodSetMultipleFieldValues assigns a new value to the fields specified in the property set for the current row of the business component. SyntaxBusComp.SetMultipleFieldValues oPropertySet
ReturnsUsageThis method can be used only on fields that are active. The FieldName argument in the property must be set exactly as the field name appears in Siebel Tools, with the correct case. For example, in oPropertySet.SetProperty "Name","Acme" the FieldName is "Name" and the FieldValue is "Acme". NOTE: Do not use the SetMultipleFieldValues method on a field that has a pick list. Used WithCOM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script ExamplesThe following example is in Siebel eScript: var bo = TheApplication().GetBusObject("Opportunity"); with (ps) bc.ActivateMultipleFields(ps); ps = null; The following Java Data Bean example sets multiple fields using SetMultipleFieldValues: SiebelDataBean Sieb_dataBean = null; Sieb_dataBean = new SiebelDataBean(); setProperty("Name", "Frank Williams Inc"); Sieb_busComp.activateField ("Name"); Sieb_busComp.newRecord(true); system.out.println("Error : " + e.getErrorMessage()); ps.release(); Related Topics |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |