Skip to main content

Posts

Showing posts with the label InsertRecord

Insert record through Siebel eScript

Insert Record through Siebel eScript var TBO, TBC; TBO = TheApplication().GetBusObject("My Business Object"); TBC = TBO.GetBusComp("My Business Componenet");     with(TBC)     {         NewRecord(NewAfter);         SetFieldValue("End Time",TE);         SetFieldValue("Start Time",TS);         SetFieldValue("Status","Active");         SetFieldValue("User Id",UserId);         SetFieldValue("Parent Id",EngId);         SetFieldValue("Date","08/10/2021");                     WriteRecord();     }

How to Insert Record in Business Component through Siebel Workflow

Add new Business Service step in Siebel Workflow, set its properties as below: Business Service Name: Inbound E-mail Database Operations Business Service Method: InsertRecord Set the values of Input Arguments as below: Input Argument: BusComp Type: Literal Value: Service Request Input Argument: BusObj Type: Literal Value: Service Request Input Argument: Field: Status Type: Literal Value: In Process Note: While inserting the record Value In Process will be set against the Status field, you have set values of all required fields. Can add multiple field in similar manner. Set the values of Output Arguments as below: Property Name: SR ID Type: Output Argument Output Argument: Id Note: It will return the Row Id of newly inserted record.