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();
}
Comments
Post a Comment