gx.evt.autoSkip=false;function gx0391(){this.ServerClass="Gx0391";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV12pRciCodLayout=gx.fn.getControlValue("vPRCICODLAYOUT");this.AV13pRciNroSequencia=gx.fn.getIntegerValue("vPRCINROSEQUENCIA",".")};this.e13am2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14am1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,48,51];this.GXLastCtrlId=51;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0391",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(717,43,"RCICODLAYO","Código do layout","","RciCodLayo","char",0,"px",2,1,"left",null,[],717,"RciCodLayo",true,0,false,false);
this.Grid1Container.addSingleLineEdit(718,44,"RCINROSEQU","Nr. Sequência","","RciNroSequ","int",0,"px",4,4,"right",null,[],718,"RciNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(787,45,"USBCOD","Código do leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(719,46,"RCIQTDDIAS","Dias de prazo","Selecionar","RciQtdDias","int",0,"px",3,3,"right",null,[],719,"RciQtdDias",true,0,false,false);this.Grid1Container.addSingleLineEdit(716,47,"RCICAMPO1L","Campo livre","","RciCampo1L","char",0,"px",30,30,"left",null,[],716,"RciCampo1L",true,0,false,false);
this.Grid1Container.addSingleLineEdit(57,48,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",false,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKRCICODLAYOUT",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRCICODLAYOUT",gxz:"ZV6cRciCodLayout",gxold:"OV6cRciCodLayout",gxvar:"AV6cRciCodLayout",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cRciCodLayout=a
},v2z:function(a){gx.O.ZV6cRciCodLayout=a},v2c:function(){gx.fn.setControlValue("vCRCICODLAYOUT",gx.O.AV6cRciCodLayout,0)},c2v:function(){gx.O.AV6cRciCodLayout=this.val()},val:function(){return gx.fn.getControlValue("vCRCICODLAYOUT")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKRCINROSEQUENCIA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCRCINROSEQUENCIA",gxz:"ZV7cRciNroSequencia",gxold:"OV7cRciNroSequencia",gxvar:"AV7cRciNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cRciNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cRciNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRCINROSEQUENCIA",gx.O.AV7cRciNroSequencia,0)},c2v:function(){gx.O.AV7cRciNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCRCINROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKUSBCOD",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSBCOD",gxz:"ZV8cUsbCod",gxold:"OV8cUsbCod",gxvar:"AV8cUsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cUsbCod=a
},v2z:function(a){gx.O.ZV8cUsbCod=a},v2c:function(){gx.fn.setControlValue("vCUSBCOD",gx.O.AV8cUsbCod,0)},c2v:function(){gx.O.AV8cUsbCod=this.val()},val:function(){return gx.fn.getControlValue("vCUSBCOD")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKRCIQTDDIASPRAZO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCRCIQTDDIASPRAZO",gxz:"ZV9cRciQtdDiasPrazo",gxold:"OV9cRciQtdDiasPrazo",gxvar:"AV9cRciQtdDiasPrazo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cRciQtdDiasPrazo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cRciQtdDiasPrazo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRCIQTDDIASPRAZO",gx.O.AV9cRciQtdDiasPrazo,0)},c2v:function(){gx.O.AV9cRciQtdDiasPrazo=this.val()},val:function(){return gx.fn.getIntegerValue("vCRCIQTDDIASPRAZO",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKRCICAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRCICAMPO1LIVRE",gxz:"ZV10cRciCampo1Livre",gxold:"OV10cRciCampo1Livre",gxvar:"AV10cRciCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cRciCampo1Livre=a
},v2z:function(a){gx.O.ZV10cRciCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCRCICAMPO1LIVRE",gx.O.AV10cRciCampo1Livre,0)},c2v:function(){gx.O.AV10cRciCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCRCICAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RCICODLAYO",gxz:"Z717RciCodLayo",gxold:"O717RciCodLayo",gxvar:"A717RciCodLayo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A717RciCodLayo=a
},v2z:function(a){gx.O.Z717RciCodLayo=a},v2c:function(){gx.fn.setGridControlValue("RCICODLAYO",gx.fn.currentGridRowImpl(41),gx.O.A717RciCodLayo,0)},c2v:function(){gx.O.A717RciCodLayo=this.val()},val:function(){return gx.fn.getGridControlValue("RCICODLAYO",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"RCINROSEQU",gxz:"Z718RciNroSequ",gxold:"O718RciNroSequ",gxvar:"A718RciNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A718RciNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z718RciNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RCINROSEQU",gx.fn.currentGridRowImpl(41),gx.O.A718RciNroSequ,0)},c2v:function(){gx.O.A718RciNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("RCINROSEQU",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setGridControlValue("USBCOD",gx.fn.currentGridRowImpl(41),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"RCIQTDDIAS",gxz:"Z719RciQtdDias",gxold:"O719RciQtdDias",gxvar:"A719RciQtdDias",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A719RciQtdDias=gx.num.intval(a)
},v2z:function(a){gx.O.Z719RciQtdDias=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RCIQTDDIAS",gx.fn.currentGridRowImpl(41),gx.O.A719RciQtdDias,0)},c2v:function(){gx.O.A719RciQtdDias=this.val()},val:function(){return gx.fn.getGridIntegerValue("RCIQTDDIAS",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RCICAMPO1L",gxz:"Z716RciCampo1L",gxold:"O716RciCampo1L",gxvar:"A716RciCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A716RciCampo1L=a
},v2z:function(a){gx.O.Z716RciCampo1L=a},v2c:function(){gx.fn.setGridControlValue("RCICAMPO1L",gx.fn.currentGridRowImpl(41),gx.O.A716RciCampo1L,0)},c2v:function(){gx.O.A716RciCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("RCICAMPO1L",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASSNRO",gx.fn.currentGridRowImpl(41),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TABLE4",grid:0};this.AV6cRciCodLayout="";this.ZV6cRciCodLayout="";this.OV6cRciCodLayout="";this.AV7cRciNroSequencia=0;this.ZV7cRciNroSequencia=0;this.OV7cRciNroSequencia=0;
this.AV8cUsbCod="";this.ZV8cUsbCod="";this.OV8cUsbCod="";this.AV9cRciQtdDiasPrazo=0;this.ZV9cRciQtdDiasPrazo=0;this.OV9cRciQtdDiasPrazo=0;this.AV10cRciCampo1Livre="";this.ZV10cRciCampo1Livre="";this.OV10cRciCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z717RciCodLayo="";this.O717RciCodLayo="";this.Z718RciNroSequ=0;this.O718RciNroSequ=0;this.Z787UsbCod="";this.O787UsbCod="";this.Z719RciQtdDias=0;this.O719RciQtdDias=0;this.Z716RciCampo1L="";this.O716RciCampo1L="";this.Z57AssNro=0;
this.O57AssNro=0;this.AV11pAssNro=0;this.AV12pRciCodLayout="";this.AV13pRciNroSequencia=0;this.AV5LinkSelection="";this.A717RciCodLayo="";this.A718RciNroSequ=0;this.A787UsbCod="";this.A719RciQtdDias=0;this.A716RciCampo1L="";this.A57AssNro=0;this.ServerEvents=["e13am2_client","e14am1_client"];this.VarControlMap.AV11pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV12pRciCodLayout={id:"vPRCICODLAYOUT",grid:0,type:"char"};this.VarControlMap.AV13pRciNroSequencia={id:"vPRCINROSEQUENCIA",grid:0,type:"int"};
this.VarControlMap.AV11pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar({rfrVar:"AV11pAssNro"});this.SetStandaloneVars()}gx0391.prototype=new gx.GxObject;gx.setParentObj(new gx0391());