void executePrivate( ) { /* GeneXus formulas */ /* Output device settings */ AV11tResult = AV10websession.Get("DAS_UserPermission"); AV12tSDT_MicroUserInfo.FromJSonString(AV11tResult, null); AV8BCBR_PatientReEntity = new SdtBR_PatientReEntity(context); AV8BCBR_PatientReEntity.gxTpr_Br_information_id = AV9iBR_Information_ID; AV8BCBR_PatientReEntity.gxTpr_Datapackage = StringUtil.Trim(((String)((SdtSDT_MicroUserInfo_Tenants)AV12tSDT_MicroUserInfo.gxTpr_Tenants.Item(1)).gxTpr_Datascoptes.Item(1))); AV8BCBR_PatientReEntity.Save(); this.cleanup(); }
protected void UpdateImpl( ) { if (StringUtil.StrCmp(Gx_mode, "UPD") == 0) { SaveImpl( ); } else { SdtBR_PatientReEntity auxBC = new SdtBR_PatientReEntity(context); auxBC.Load(A85BR_Information_ID, A366DataPackage); auxBC.UpdateDirties(bcBR_PatientReEntity); auxBC.Save(); IGxSilentTrn auxTrn = auxBC.getTransaction(); LclMsgLst = (msglist)(auxTrn.GetMessages()); AnyError = (short)(auxTrn.Errors()); Gx_mode = auxTrn.GetMode(); context.GX_msglist = LclMsgLst; AfterTrn( ); } }