You are on page 1of 3

1.

LOV Define --- Sitemap--> Admin-- Data ---> LOV values

India , USA, Japan

LOV Type ---> LOV values

LOV Type ---> TT_COUNTRY_TYPE ----> India , USA, Japan

2. Pick List Field , Define in Tools

3. Picklist Creation based on LOV Type (TT_COUNTRY_TYPE) and generic(PickList G


eneric)

4. Fied --- Picklist Mappping

5. Field Pickmap

6. Applet level Run time Property needs be True


======================================================================
Anabling Buttons:-

1 Script ----> Applet precan invoke ----> Caninoke = FALSE

2. User Property prory

CanInvokeMethod: DemoCustomMethod

[CanDelete] AND [User Adjusted Flag]


======================================================================
1. M : M --->
2 Link --->
3. MVL ----> Link , Destination BC

4.MVF ---> MVL , Dest Field

5. MVG applet

6. Runtime property
==========================================================================
1. drilldown----> Based on the Condition ,

2. Select the applet where you have to create the Drilldown

SIS Account List Applet

3. Create Drilldown object with Name, Hyperlink Field , destination View Name

1. drilldown----> Based on the Condition ,

2. Select the applet where you have to create the Drilldown

SIS Account List Applet

3. Create Drilldown object with Name, Hyperlink Field , destination View Name
Dynamic Drilldown

1. Pharma Account Affiliations View -----> Status(Qualified)


2. Pharma Account Profile View ------> Status(Active)
3. Account Detail View -------> Status(Customer)
===================================================================================
"Status", "Commit Time", "IIF ([Status] =LookupValue(""SR_STATUS"",""Cancelled""),
TimeStamp(), """")"

Expr: 'RowIdToRowIdNum ([Id])'

===================================================================================
=
if(MethodName == "NewRecord")
function BusComp_SetFieldValue (FieldName)
{
/*
Date :- 15/04/2022
Authr : Chandra
Description:- Added below code for June relese 2022
*/
try
{
if(FieldName == "Account Status")
{
this.ActivateField("Account Status");
var vAccStatus = this.GetFieldValue("Account Status");
if(vAccStatus == "Cancelled")
{
var vCuurentBo = TheApplication().ActiveBusObject(); // Added this Line for
June relse
var vActionBC = vCuurentBo.GetBusComp("Action");

with(vActionBC)
{
vActionBC.NewRecord(NewBefore); //Cancelled Account Activity
vActionBC.SetFieldValue("Description" , "Cancelled Account Activity");
vActionBC.SetFieldValue("Account Id" , this.GetFieldValue("Id"));
vActionBC.WriteRecord();

}
}
}
catch(e)
{
throw(e);
}
finally
{
vActionBC = null;
vCuurentBo = null;

}
}
===================================================================================
===
function BusComp_PreSetFieldValue (FieldName, FieldValue)
{

if(FieldName == "Account Status" && FieldValue == "Terminating")


{
var vAccBO = TheApplication().ActiveBusObject();
var vActionBC = vAccBO.GetBusComp("Action");

with(vActionBC)
{
vActionBC.SetViewMode(AllView);
vActionBC.ClearToQuery();
vActionBC.ActivateField("Status");
vActionBC.SetSearchSpec("Status" , "Unscheduled");//Account Id
vActionBC.SetSearchSpec("Account Id" , this.GetFieldValue("Id"));
vActionBC.ExecuteQuery();
}
if(vActionBC.FirstRecord())
{
TheApplication().RaiseErrorText("There are Unsheduled Activities for this
Account, Please Close them before achanging the Account status to Terminating")
}
else
{
// Do nothing
}

}
return (ContinueOperation);
}
===================================================================================
===========

C:\Siebel\8.1\Client_1\bin\enu\scomm.cfg

C:\Program Files (x86)\Internet Explorer\iexplore.exe

1. Workflow design
2. validate WF
3. Simulate ---> Debug
4. Deploy ----> WF completed status ---> Appication
5.Invoke ---> Runtime events

You might also like