Exemple #1
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     /* Using cursor P00402 */
     pr_default.execute(0, new Object[] { AV8iBAS_TenantTenantCode });
     while ((pr_default.getStatus(0) != 101))
     {
         GXT402                      = 0;
         A432XT_TenantCode           = P00402_A432XT_TenantCode[0];
         n432XT_TenantCode           = P00402_n432XT_TenantCode[0];
         A510XT_DefineCodeIntialType = P00402_A510XT_DefineCodeIntialType[0];
         n510XT_DefineCodeIntialType = P00402_n510XT_DefineCodeIntialType[0];
         A167XT_DefineCodeID         = P00402_A167XT_DefineCodeID[0];
         /* Using cursor P00403 */
         pr_default.execute(1, new Object[] { A167XT_DefineCodeID });
         pr_default.close(1);
         dsDefault.SmartCacheProvider.SetUpdated("XT_DefineCode");
         GXT402 = 1;
         if (GXT402 == 1)
         {
             context.CommitDataStores("pc_intialdefinecode", pr_default);
         }
         pr_default.readNext(0);
     }
     pr_default.close(0);
     /* Using cursor P00404 */
     pr_default.execute(2);
     while ((pr_default.getStatus(2) != 101))
     {
         A510XT_DefineCodeIntialType = P00404_A510XT_DefineCodeIntialType[0];
         n510XT_DefineCodeIntialType = P00404_n510XT_DefineCodeIntialType[0];
         A165XT_DefindcodeTypeID     = P00404_A165XT_DefindcodeTypeID[0];
         A168XT_DefineCodeName       = P00404_A168XT_DefineCodeName[0];
         n168XT_DefineCodeName       = P00404_n168XT_DefineCodeName[0];
         A431XT_TypeCode             = P00404_A431XT_TypeCode[0];
         n431XT_TypeCode             = P00404_n431XT_TypeCode[0];
         A167XT_DefineCodeID         = P00404_A167XT_DefineCodeID[0];
         AV9BCXT_DefineCode          = new SdtXT_DefineCode(context);
         AV9BCXT_DefineCode.gxTpr_Xt_defindcodetypeid     = A165XT_DefindcodeTypeID;
         AV9BCXT_DefineCode.gxTpr_Xt_definecodename       = StringUtil.Trim(A168XT_DefineCodeName);
         AV9BCXT_DefineCode.gxTpr_Xt_tenantcode           = StringUtil.Trim(AV8iBAS_TenantTenantCode);
         AV9BCXT_DefineCode.gxTpr_Xt_typecode             = StringUtil.Trim(A431XT_TypeCode);
         AV9BCXT_DefineCode.gxTpr_Xt_definecodeintialtype = 2;
         AV9BCXT_DefineCode.gxTv_SdtXT_DefineCode_Xt_definecodeorder_SetNull();
         AV9BCXT_DefineCode.Save();
         context.CommitDataStores("pc_intialdefinecode", pr_default);
         pr_default.readNext(2);
     }
     pr_default.close(2);
     this.cleanup();
 }
Exemple #2
0
 public override void initialize( )
 {
     scmdbuf = "";
     P00402_A432XT_TenantCode           = new String[] { "" };
     P00402_n432XT_TenantCode           = new bool[] { false };
     P00402_A510XT_DefineCodeIntialType = new short[1];
     P00402_n510XT_DefineCodeIntialType = new bool[] { false };
     P00402_A167XT_DefineCodeID         = new long[1];
     A432XT_TenantCode = "";
     P00404_A510XT_DefineCodeIntialType = new short[1];
     P00404_n510XT_DefineCodeIntialType = new bool[] { false };
     P00404_A165XT_DefindcodeTypeID     = new long[1];
     P00404_A168XT_DefineCodeName       = new String[] { "" };
     P00404_n168XT_DefineCodeName       = new bool[] { false };
     P00404_A431XT_TypeCode             = new String[] { "" };
     P00404_n431XT_TypeCode             = new bool[] { false };
     P00404_A167XT_DefineCodeID         = new long[1];
     A168XT_DefineCodeName = "";
     A431XT_TypeCode       = "";
     AV9BCXT_DefineCode    = new SdtXT_DefineCode(context);
     pr_datastore1         = new DataStoreProvider(context, new GeneXus.Programs.pc_intialdefinecode__datastore1(),
                                                   new Object[][] {
     }
                                                   );
     pr_default = new DataStoreProvider(context, new GeneXus.Programs.pc_intialdefinecode__default(),
                                        new Object[][] {
         new Object[] {
             P00402_A432XT_TenantCode, P00402_n432XT_TenantCode, P00402_A510XT_DefineCodeIntialType, P00402_n510XT_DefineCodeIntialType, P00402_A167XT_DefineCodeID
         }
         , new Object[] {
         }
         , new Object[] {
             P00404_A510XT_DefineCodeIntialType, P00404_n510XT_DefineCodeIntialType, P00404_A165XT_DefindcodeTypeID, P00404_A168XT_DefineCodeName, P00404_n168XT_DefineCodeName, P00404_A431XT_TypeCode, P00404_n431XT_TypeCode, P00404_A167XT_DefineCodeID
         }
     }
                                        );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemple #3
0
 public void UpdateDirties(SdtXT_DefineCode sdt)
 {
     if (sdt.IsDirty("XT_DefineCodeID"))
     {
         gxTv_SdtXT_DefineCode_Xt_definecodeid = sdt.gxTv_SdtXT_DefineCode_Xt_definecodeid;
     }
     if (sdt.IsDirty("XT_DefineCodeName"))
     {
         gxTv_SdtXT_DefineCode_Xt_definecodename = sdt.gxTv_SdtXT_DefineCode_Xt_definecodename;
     }
     if (sdt.IsDirty("XT_DefindcodeTypeID"))
     {
         gxTv_SdtXT_DefineCode_Xt_defindcodetypeid = sdt.gxTv_SdtXT_DefineCode_Xt_defindcodetypeid;
     }
     if (sdt.IsDirty("XT_DefindcodeTypeName"))
     {
         gxTv_SdtXT_DefineCode_Xt_defindcodetypename = sdt.gxTv_SdtXT_DefineCode_Xt_defindcodetypename;
     }
     if (sdt.IsDirty("XT_DefineCodeOrder"))
     {
         gxTv_SdtXT_DefineCode_Xt_definecodeorder = sdt.gxTv_SdtXT_DefineCode_Xt_definecodeorder;
     }
     if (sdt.IsDirty("XT_TypeCode"))
     {
         gxTv_SdtXT_DefineCode_Xt_typecode = sdt.gxTv_SdtXT_DefineCode_Xt_typecode;
     }
     if (sdt.IsDirty("XT_TenantCode"))
     {
         gxTv_SdtXT_DefineCode_Xt_tenantcode = sdt.gxTv_SdtXT_DefineCode_Xt_tenantcode;
     }
     if (sdt.IsDirty("XT_DefineCodeIntialType"))
     {
         gxTv_SdtXT_DefineCode_Xt_definecodeintialtype = sdt.gxTv_SdtXT_DefineCode_Xt_definecodeintialtype;
     }
     return;
 }
Exemple #4
0
        public static int Reindex(IGxContext context)
        {
            GxSilentTrnSdt obj;
            IGxSilentTrn   trn;
            bool           result;

            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecObject(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecFunctionalityRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtUserCustomizations(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecFunctionality(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Death(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Comorbidity(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Behavior(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Demographics(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Diagnosis(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Information(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Lab(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Encounter(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Vital(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_Provider(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_DefindcodeType(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_ProviderSecUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_DefineCode(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_Config(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_Log(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_Provider_Br_Information(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_MedicalImaging_Diag(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication_Detail(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_MedicalImaging(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication_Scheme(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology_Specimen(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology_Diag(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology_Other(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure_Surgery(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure_Radio(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Scheme(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Scheme_Medication(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_EncounterReason(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_SerialNumber(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_UserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Encounter_RefuseReason(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_TenantUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_TenantUserAccess(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Permission(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Database(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_User(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_InstituteUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBAS_Tenant(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_RolePermission(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBAS_DataPackage(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_InstituteUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Role(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_TenantUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Log(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBAS_Institute(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_PatientReEntity(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_PatientReTenant(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new Sdtview_lastest_patient_info(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Familyhistory(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtView_New_Encounter(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtView_New_Encounter2(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            return(1);
        }
Exemple #5
0
        public static int Reindex(IGxContext context)
        {
            GxSilentTrnSdt obj;
            IGxSilentTrn   trn;
            bool           result;

            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecFunctionalityRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtUserCustomizations(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Behavior(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Demographics(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Diagnosis(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Information(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Encounter(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Lab(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_Provider(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Vital(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_DefindcodeType(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_DefineCode(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_ProviderSecUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_Log(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_Provider_Br_Information(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Comorbidity(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Death(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            return(1);
        }