protected void UpdateImpl( ) { if (StringUtil.StrCmp(Gx_mode, "UPD") == 0) { SaveImpl( ); } else { SdtSYS_TenantUser auxBC = new SdtSYS_TenantUser(context); auxBC.Load(A360BAS_TenantTenantCode, A359UserID); auxBC.UpdateDirties(bcSYS_TenantUser); auxBC.Save(); IGxSilentTrn auxTrn = auxBC.getTransaction(); LclMsgLst = (msglist)(auxTrn.GetMessages()); AnyError = (short)(auxTrn.Errors()); Gx_mode = auxTrn.GetMode(); context.GX_msglist = LclMsgLst; AfterTrn( ); } }
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); }