IsSystemComponentInstalled

boolIsSystemComponentInstalled(string component)

Returns true is the specified component is installed in the system.

Parameters

Name Description
string component The system component.

Returns

Returns true is the specified component is installed in the system.

Example

C# coding
// If GENLED is installed and the DB method is granted, make the call.
if (Ifs.Fnd.ApplicationForms.Int.IsSystemComponentInstalled("GENLED") &&
    Ifs.Fnd.ApplicationForms.Var.Security.IsMethodAvailable("Accounting_Project_API.Get_Project_Origin_Db"))
   {
      DbPLSQLBlock("{0} := &AO.Accounting_Project_API.Get_Project_Origin_Db({1} IN,{2} IN)",
      this.QualifiedVarBindName("tblMixedPaymentLumpSum_sProjectOrigin"),
      this.tblMixedPaymentLumpSum_colsChildCompany.QualifiedBindName,
      this.QualifiedVarBindName("tblMixedPaymentLumpSum_sProjectId"));
   }