gx.evt.autoSkip=false;function himh014(){this.ServerClass="HImh014";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A258DocNro=gx.fn.getIntegerValue("DOCNRO",".")};this.Valid_Undcod=function(){try{if(gx.fn.currentGridRowImpl(14)===0){return true}var a=gx.util.balloon.getNew("UNDCOD",gx.fn.currentGridRowImpl(14));this.AnyError=0;this.StandaloneModal();this.StandaloneNotModal()}catch(b){}try{if(a==null){return true}return a.show()
}catch(b){}return true};this.e112e2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e142e1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,16,17,18,19];this.GXLastCtrlId=19;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",14,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh014",[],false,1,true,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit(922,15,"UNDCOD","Un.","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(281,16,"DOENROSEQU","Exemplar","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);this.Subfile1Container.addComboBox(182,17,"DCETIPBIBL","Bibliografia","DceTipBibl","char",null,0,true,false,0,"px");this.Subfile1Container.addSingleLineEdit(170,18,"CURNOM","Nome do curso","","CurNom","char",0,"px",100,100,"left",null,[],170,"CurNom",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(185,19,"DCPNOM","Nome da disciplina","","DcpNom","char",0,"px",80,80,"left",null,[],185,"DcpNom",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:14,gxgrid:this.Subfile1Container,fnc:this.Valid_Undcod,isvalid:null,rgrid:[this.Subfile1Container],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[19,18],ip:[19,18],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("UNDCOD",gx.fn.currentGridRowImpl(14),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(14),".")},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:14,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A281DoeNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z281DoeNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROSEQU",gx.fn.currentGridRowImpl(14),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(14),".")},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DCETIPBIBL",gxz:"Z182DceTipBibl",gxold:"O182DceTipBibl",gxvar:"A182DceTipBibl",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A182DceTipBibl=a
},v2z:function(a){gx.O.Z182DceTipBibl=a},v2c:function(){gx.fn.setGridComboBoxValue("DCETIPBIBL",gx.fn.currentGridRowImpl(14),gx.O.A182DceTipBibl)},c2v:function(){gx.O.A182DceTipBibl=this.val()},val:function(){return gx.fn.getGridControlValue("DCETIPBIBL",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"CURNOM",gxz:"Z170CurNom",gxold:"O170CurNom",gxvar:"A170CurNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A170CurNom=a
},v2z:function(a){gx.O.Z170CurNom=a},v2c:function(){gx.fn.setGridControlValue("CURNOM",gx.fn.currentGridRowImpl(14),gx.O.A170CurNom,0)},c2v:function(){gx.O.A170CurNom=this.val()},val:function(){return gx.fn.getGridControlValue("CURNOM",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:80,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DCPNOM",gxz:"Z185DcpNom",gxold:"O185DcpNom",gxvar:"A185DcpNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A185DcpNom=a
},v2z:function(a){gx.O.Z185DcpNom=a},v2c:function(){gx.fn.setGridControlValue("DCPNOM",gx.fn.currentGridRowImpl(14),gx.O.A185DcpNom,0)},c2v:function(){gx.O.A185DcpNom=this.val()},val:function(){return gx.fn.getGridControlValue("DCPNOM",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.Z922UndCod=0;this.O922UndCod=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.Z182DceTipBibl="";this.O182DceTipBibl="";this.Z170CurNom="";this.O170CurNom="";this.Z185DcpNom="";this.O185DcpNom="";this.A258DocNro=0;
this.A169CurCod=0;this.A186DcpNro=0;this.A922UndCod=0;this.A281DoeNroSequ=0;this.A182DceTipBibl="";this.A170CurNom="";this.A185DcpNom="";this.ServerEvents=["e112e2_client","e142e1_client"];this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Subfile1Container.addRefreshingVar({rfrVar:"A922UndCod",rfrProp:"Value"});this.SetStandaloneVars()}himh014.prototype=new gx.GxObject;
gx.setParentObj(new himh014());