gx.evt.autoSkip=false;function taqt002(){this.ServerClass="Taqt002";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Pednro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Pednro",["gx.O.A627PedNro","gx.O.A622PedDesPaga","gx.O.A623PedDesTran","gx.num.urlDecimal(gx.O.A631PedValTota,'.',',')","gx.num.urlDecimal(gx.O.A629PedValFret,'.',',')","gx.num.urlDecimal(gx.O.A630PedValOutr,'.',',')","gx.O.A625PedIndImpr",'gx.date.urlDate(gx.O.A621PedDat,"DMY")',"gx.O.A628PedPraEntr","gx.O.A624PedIndCanc","gx.O.A619PedCodForn","gx.O.A618PedCampo1L","gx.O.A620PedCodUnid","gx.O.A100CdpCod"],["A622PedDesPaga","A623PedDesTran","A631PedValTota","A629PedValFret","A630PedValOutr","A625PedIndImpr","A621PedDat","A628PedPraEntr","A624PedIndCanc","A619PedCodForn","A618PedCampo1L","A620PedCodUnid","A100CdpCod","A626PedNomForn","A101CdpDes","Gx_mode","Z627PedNro","Z622PedDesPaga","Z623PedDesTran","Z631PedValTota","Z629PedValFret","Z630PedValOutr","Z625PedIndImpr","Z621PedDat","Z628PedPraEntr","Z624PedIndCanc","Z619PedCodForn","Z618PedCampo1L","Z620PedCodUnid","Z100CdpCod","Z626PedNomForn","Z101CdpDes","Grid1",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Pedcodforn=function(){gx.ajax.validSrvEvt("dyncall","Valid_Pedcodforn",["gx.O.A619PedCodForn","gx.O.A626PedNomForn"],["A626PedNomForn"]);return true};this.Valid_Cdpcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Cdpcod",["gx.O.A100CdpCod","gx.O.A101CdpDes"],["A101CdpDes"]);return true};this.Valid_Slcnro=function(){this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,100);this.standaloneModal2574();this.standaloneNotModal2574();if(gx.fn.currentGridRowImpl(100)===0){return true
}var a=gx.util.balloon.getNew("SLCNRO",gx.fn.currentGridRowImpl(100));if(gx.fn.gridDuplicateKey(102)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level1"));this.AnyError=1;return a.show()}gx.ajax.validSrvEvt("dyncall","Valid_Slcnro",["gx.O.A819SlcNro","gx.num.urlDecimal(gx.O.A824SlcValUnit,'.',',')","gx.O.A822SlcQuantid","gx.O.A433ForCod","gx.O.A809SlcDesL1Ti","gx.O.A817SlcNomL1Au",'gx.date.urlDate(gx.O.A808SlcDatSoli,"DMY")','gx.date.urlDate(gx.O.A806SlcDatPreR,"DMY")','gx.date.urlDate(gx.O.A807SlcDatRece,"DMY")',"gx.O.A820SlcNroPedi","gx.O.A814SlcIndSitu","gx.num.urlDecimal(gx.O.A823SlcValTota,'.',',')","gx.O.A442ForNomAbre"],["A809SlcDesL1Ti","A817SlcNomL1Au","A808SlcDatSoli","A806SlcDatPreR","A807SlcDatRece","A822SlcQuantid","A824SlcValUnit","A820SlcNroPedi","A814SlcIndSitu","A433ForCod","A823SlcValTota","A442ForNomAbre"]);
this.Gx_mode=this.sMode74;return true};this.Valid_Slcquantid=function(){try{if(gx.fn.currentGridRowImpl(100)===0){return true}var a=gx.util.balloon.getNew("SLCQUANTID",gx.fn.currentGridRowImpl(100));this.AnyError=0;this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,100)}catch(b){}try{this.Gx_mode=this.sMode74;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Slcvalunit=function(){try{if(gx.fn.currentGridRowImpl(100)===0){return true}var a=gx.util.balloon.getNew("SLCVALUNIT",gx.fn.currentGridRowImpl(100));
this.AnyError=0;this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,100)}catch(b){}try{this.Gx_mode=this.sMode74;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Forcod=function(){try{if(gx.fn.currentGridRowImpl(100)===0){return true}var a=gx.util.balloon.getNew("FORCOD",gx.fn.currentGridRowImpl(100));this.AnyError=0;this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,100)}catch(b){}try{this.Gx_mode=this.sMode74;if(a==null){return true}return a.show()
}catch(b){}return true};this.standaloneModal2574=function(){try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("SLCNRO","Enabled",0)}else{gx.fn.setCtrlProperty("SLCNRO","Enabled",1)}}catch(a){}return true};this.standaloneNotModal2574=function(){return true};this.e112573_client=function(){this.executeServerEvent("ENTER",true)};this.e122573_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46,49,51,54,56,59,61,64,66,69,71,74,76,79,81,84,86,89,91,94,96,101,102,103,104,105,106,107,108,109,110,111,112,113,114,122];
this.GXLastCtrlId=122;this.Grid1Container=new gx.grid.grid(this,74,"Level1",100,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"taqt002",[819],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("nRcdDeleted_74",101,"vNRCDDELETED_74","","","nRcdDeleted_74","int",0,"px",4,4,"right",null,[],"nRcdDeleted_74","nRcdDeleted_74",true,0,false,false);this.Grid1Container.addSingleLineEdit(819,102,"SLCNRO","Nro da solicitação","","SlcNro","int",0,"px",6,6,"right",null,[],819,"SlcNro",true,0,false,false);
this.Grid1Container.addBitmap("prompt_819","PROMPT_819",123,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(809,103,"SLCDESL1TI","Titulo","","SlcDesL1Ti","char",0,"px",250,250,"left",null,[],809,"SlcDesL1Ti",true,0,false,false);this.Grid1Container.addSingleLineEdit(817,104,"SLCNOML1AU","Autor","","SlcNomL1Au","char",0,"px",250,250,"left",null,[],817,"SlcNomL1Au",true,0,false,false);this.Grid1Container.addSingleLineEdit(808,105,"SLCDATSOLI","Data da solicítação","","SlcDatSoli","date",0,"px",10,10,"right",null,[],808,"SlcDatSoli",true,0,false,false);
this.Grid1Container.addSingleLineEdit(806,106,"SLCDATPRER","Previsão de recebimento","","SlcDatPreR","date",0,"px",10,10,"right",null,[],806,"SlcDatPreR",true,0,false,false);this.Grid1Container.addSingleLineEdit(807,107,"SLCDATRECE","Recebimento","","SlcDatRece","date",0,"px",10,10,"right",null,[],807,"SlcDatRece",true,0,false,false);this.Grid1Container.addSingleLineEdit(822,108,"SLCQUANTID","Quantidade","","SlcQuantid","int",0,"px",6,6,"right",null,[],822,"SlcQuantid",true,0,false,false);this.Grid1Container.addSingleLineEdit(824,109,"SLCVALUNIT","Valor unitário","","SlcValUnit","decimal",0,"px",10,10,"right",null,[],824,"SlcValUnit",true,2,false,false);
this.Grid1Container.addSingleLineEdit(823,110,"SLCVALTOTA","valor total","","SlcValTota","decimal",0,"px",10,10,"right",null,[],823,"SlcValTota",true,2,false,false);this.Grid1Container.addSingleLineEdit(433,111,"FORCOD","Código","","ForCod","int",0,"px",6,6,"right",null,[],433,"ForCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(442,112,"FORNOMABRE","Nome abreviado","","ForNomAbre","char",0,"px",15,15,"left",null,[],442,"ForNomAbre",true,0,false,false);this.Grid1Container.addSingleLineEdit(820,113,"SLCNROPEDI","SlcNroPedido","","SlcNroPedi","int",0,"px",6,6,"right",null,[],820,"SlcNroPedi",true,0,false,false);
this.Grid1Container.addComboBox(814,114,"SLCINDSITU","Situação","SlcIndSitu","char",null,0,true,false,0,"px");this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Pednro,isvalid:null,rgrid:[this.Grid1Container],fld:"PEDNRO",gxz:"Z627PedNro",gxold:"O627PedNro",gxvar:"A627PedNro",ucs:[],op:[91,86,81,71,66,61,56,51,46,41,36,31,26],ip:[91,86,81,71,66,61,56,51,46,41,36,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A627PedNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z627PedNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PEDNRO",gx.O.A627PedNro,0)},c2v:function(){gx.O.A627PedNro=this.val()},val:function(){return gx.fn.getIntegerValue("PEDNRO",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDDESPAGA",gxz:"Z622PedDesPaga",gxold:"O622PedDesPaga",gxvar:"A622PedDesPaga",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A622PedDesPaga=a
},v2z:function(a){gx.O.Z622PedDesPaga=a},v2c:function(){gx.fn.setControlValue("PEDDESPAGA",gx.O.A622PedDesPaga,0)},c2v:function(){gx.O.A622PedDesPaga=this.val()},val:function(){return gx.fn.getControlValue("PEDDESPAGA")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDDESTRAN",gxz:"Z623PedDesTran",gxold:"O623PedDesTran",gxvar:"A623PedDesTran",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A623PedDesTran=a
},v2z:function(a){gx.O.Z623PedDesTran=a},v2c:function(){gx.fn.setControlValue("PEDDESTRAN",gx.O.A623PedDesTran,0)},c2v:function(){gx.O.A623PedDesTran=this.val()},val:function(){return gx.fn.getControlValue("PEDDESTRAN")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"PEDVALTOTA",gxz:"Z631PedValTota",gxold:"O631PedValTota",gxvar:"A631PedValTota",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A631PedValTota=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z631PedValTota=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("PEDVALTOTA",gx.O.A631PedValTota,2,",")},c2v:function(){gx.O.A631PedValTota=this.val()},val:function(){return gx.fn.getDecimalValue("PEDVALTOTA",".",",")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"PEDVALFRET",gxz:"Z629PedValFret",gxold:"O629PedValFret",gxvar:"A629PedValFret",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A629PedValFret=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z629PedValFret=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("PEDVALFRET",gx.O.A629PedValFret,2,",")},c2v:function(){gx.O.A629PedValFret=this.val()},val:function(){return gx.fn.getDecimalValue("PEDVALFRET",".",",")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"PEDVALOUTR",gxz:"Z630PedValOutr",gxold:"O630PedValOutr",gxvar:"A630PedValOutr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A630PedValOutr=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z630PedValOutr=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("PEDVALOUTR",gx.O.A630PedValOutr,2,",")},c2v:function(){gx.O.A630PedValOutr=this.val()},val:function(){return gx.fn.getDecimalValue("PEDVALOUTR",".",",")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDINDIMPR",gxz:"Z625PedIndImpr",gxold:"O625PedIndImpr",gxvar:"A625PedIndImpr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A625PedIndImpr=a
},v2z:function(a){gx.O.Z625PedIndImpr=a},v2c:function(){gx.fn.setControlValue("PEDINDIMPR",gx.O.A625PedIndImpr,0)},c2v:function(){gx.O.A625PedIndImpr=this.val()},val:function(){return gx.fn.getControlValue("PEDINDIMPR")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDDAT",gxz:"Z621PedDat",gxold:"O621PedDat",gxvar:"A621PedDat",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A621PedDat=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z621PedDat=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("PEDDAT",gx.O.A621PedDat,0)},c2v:function(){gx.O.A621PedDat=this.val()},val:function(){return gx.fn.getControlValue("PEDDAT")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDPRAENTR",gxz:"Z628PedPraEntr",gxold:"O628PedPraEntr",gxvar:"A628PedPraEntr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A628PedPraEntr=a
},v2z:function(a){gx.O.Z628PedPraEntr=a},v2c:function(){gx.fn.setControlValue("PEDPRAENTR",gx.O.A628PedPraEntr,0)},c2v:function(){gx.O.A628PedPraEntr=this.val()},val:function(){return gx.fn.getControlValue("PEDPRAENTR")},nac:function(){return false}};this.GXValidFnc[64]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[66]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDINDCANC",gxz:"Z624PedIndCanc",gxold:"O624PedIndCanc",gxvar:"A624PedIndCanc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A624PedIndCanc=a
},v2z:function(a){gx.O.Z624PedIndCanc=a},v2c:function(){gx.fn.setControlValue("PEDINDCANC",gx.O.A624PedIndCanc,0)},c2v:function(){gx.O.A624PedIndCanc=this.val()},val:function(){return gx.fn.getControlValue("PEDINDCANC")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[71]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Pedcodforn,isvalid:null,rgrid:[],fld:"PEDCODFORN",gxz:"Z619PedCodForn",gxold:"O619PedCodForn",gxvar:"A619PedCodForn",ucs:[],op:[76],ip:[76,71],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A619PedCodForn=gx.num.intval(a)
},v2z:function(a){gx.O.Z619PedCodForn=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PEDCODFORN",gx.O.A619PedCodForn,0)},c2v:function(){gx.O.A619PedCodForn=this.val()},val:function(){return gx.fn.getIntegerValue("PEDCODFORN",".")},nac:function(){return false}};this.GXValidFnc[74]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[76]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDNOMFORN",gxz:"Z626PedNomForn",gxold:"O626PedNomForn",gxvar:"A626PedNomForn",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A626PedNomForn=a
},v2z:function(a){gx.O.Z626PedNomForn=a},v2c:function(){gx.fn.setControlValue("PEDNOMFORN",gx.O.A626PedNomForn,0)},c2v:function(){gx.O.A626PedNomForn=this.val()},val:function(){return gx.fn.getControlValue("PEDNOMFORN")},nac:function(){return false}};this.GXValidFnc[79]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[81]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDCAMPO1L",gxz:"Z618PedCampo1L",gxold:"O618PedCampo1L",gxvar:"A618PedCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A618PedCampo1L=a
},v2z:function(a){gx.O.Z618PedCampo1L=a},v2c:function(){gx.fn.setComboBoxValue("PEDCAMPO1L",gx.O.A618PedCampo1L)},c2v:function(){gx.O.A618PedCampo1L=this.val()},val:function(){return gx.fn.getControlValue("PEDCAMPO1L")},nac:function(){return false}};this.GXValidFnc[84]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[86]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"PEDCODUNID",gxz:"Z620PedCodUnid",gxold:"O620PedCodUnid",gxvar:"A620PedCodUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A620PedCodUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z620PedCodUnid=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PEDCODUNID",gx.O.A620PedCodUnid,0)},c2v:function(){gx.O.A620PedCodUnid=this.val()},val:function(){return gx.fn.getIntegerValue("PEDCODUNID",".")},nac:function(){return false}};this.GXValidFnc[89]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[91]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cdpcod,isvalid:null,rgrid:[],fld:"CDPCOD",gxz:"Z100CdpCod",gxold:"O100CdpCod",gxvar:"A100CdpCod",ucs:[],op:[96],ip:[96,91],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A100CdpCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z100CdpCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("CDPCOD",gx.O.A100CdpCod,0)},c2v:function(){gx.O.A100CdpCod=this.val()},val:function(){return gx.fn.getIntegerValue("CDPCOD",".")},nac:function(){return false}};this.GXValidFnc[94]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[96]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CDPDES",gxz:"Z101CdpDes",gxold:"O101CdpDes",gxvar:"A101CdpDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A101CdpDes=a
},v2z:function(a){gx.O.Z101CdpDes=a},v2c:function(){gx.fn.setControlValue("CDPDES",gx.O.A101CdpDes,0)},c2v:function(){gx.O.A101CdpDes=this.val()},val:function(){return gx.fn.getControlValue("CDPDES")},nac:function(){return false}};this.GXValidFnc[101]={lvl:74,type:"int",len:4,dec:0,sign:false,pic:"9999",ro:0,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vNRCDDELETED_74",gxz:"ZnRcdDeleted_74",gxold:"OnRcdDeleted_74",gxvar:"nRcdDeleted_74",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.nRcdDeleted_74=gx.num.intval(a)
},v2z:function(a){gx.O.ZnRcdDeleted_74=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vNRCDDELETED_74",gx.fn.currentGridRowImpl(100),gx.O.nRcdDeleted_74,0)},c2v:function(){gx.O.nRcdDeleted_74=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNRCDDELETED_74",gx.fn.currentGridRowImpl(100),".")},nac:function(){return false}};this.GXValidFnc[102]={lvl:74,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:100,gxgrid:this.Grid1Container,fnc:this.Valid_Slcnro,isvalid:null,rgrid:[],fld:"SLCNRO",gxz:"Z819SlcNro",gxold:"O819SlcNro",gxvar:"A819SlcNro",ucs:[],op:[112,110,111,114,113,109,108,107,106,105,104,103],ip:[112,110,114,113,107,106,105,104,103,111,108,109,102],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A819SlcNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z819SlcNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNRO",gx.fn.currentGridRowImpl(100),gx.O.A819SlcNro,0)},c2v:function(){gx.O.A819SlcNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRO",gx.fn.currentGridRowImpl(100),".")},nac:function(){return false}};this.GXValidFnc[103]={lvl:74,type:"char",len:250,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDESL1TI",gxz:"Z809SlcDesL1Ti",gxold:"O809SlcDesL1Ti",gxvar:"A809SlcDesL1Ti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A809SlcDesL1Ti=a
},v2z:function(a){gx.O.Z809SlcDesL1Ti=a},v2c:function(){gx.fn.setGridControlValue("SLCDESL1TI",gx.fn.currentGridRowImpl(100),gx.O.A809SlcDesL1Ti,0)},c2v:function(){gx.O.A809SlcDesL1Ti=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDESL1TI",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[104]={lvl:74,type:"char",len:250,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCNOML1AU",gxz:"Z817SlcNomL1Au",gxold:"O817SlcNomL1Au",gxvar:"A817SlcNomL1Au",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A817SlcNomL1Au=a
},v2z:function(a){gx.O.Z817SlcNomL1Au=a},v2c:function(){gx.fn.setGridControlValue("SLCNOML1AU",gx.fn.currentGridRowImpl(100),gx.O.A817SlcNomL1Au,0)},c2v:function(){gx.O.A817SlcNomL1Au=this.val()},val:function(){return gx.fn.getGridControlValue("SLCNOML1AU",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[105]={lvl:74,type:"date",len:10,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATSOLI",gxz:"Z808SlcDatSoli",gxold:"O808SlcDatSoli",gxvar:"A808SlcDatSoli",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A808SlcDatSoli=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z808SlcDatSoli=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(100),gx.O.A808SlcDatSoli,0)},c2v:function(){gx.O.A808SlcDatSoli=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[106]={lvl:74,type:"date",len:10,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATPRER",gxz:"Z806SlcDatPreR",gxold:"O806SlcDatPreR",gxvar:"A806SlcDatPreR",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A806SlcDatPreR=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z806SlcDatPreR=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(100),gx.O.A806SlcDatPreR,0)},c2v:function(){gx.O.A806SlcDatPreR=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[107]={lvl:74,type:"date",len:10,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATRECE",gxz:"Z807SlcDatRece",gxold:"O807SlcDatRece",gxvar:"A807SlcDatRece",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A807SlcDatRece=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z807SlcDatRece=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATRECE",gx.fn.currentGridRowImpl(100),gx.O.A807SlcDatRece,0)},c2v:function(){gx.O.A807SlcDatRece=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATRECE",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[108]={lvl:74,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:100,gxgrid:this.Grid1Container,fnc:this.Valid_Slcquantid,isvalid:null,rgrid:[],fld:"SLCQUANTID",gxz:"Z822SlcQuantid",gxold:"O822SlcQuantid",gxvar:"A822SlcQuantid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A822SlcQuantid=gx.num.intval(a)
},v2z:function(a){gx.O.Z822SlcQuantid=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCQUANTID",gx.fn.currentGridRowImpl(100),gx.O.A822SlcQuantid,0)},c2v:function(){gx.O.A822SlcQuantid=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCQUANTID",gx.fn.currentGridRowImpl(100),".")},nac:function(){return false}};this.GXValidFnc[109]={lvl:74,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:1,grid:100,gxgrid:this.Grid1Container,fnc:this.Valid_Slcvalunit,isvalid:null,rgrid:[],fld:"SLCVALUNIT",gxz:"Z824SlcValUnit",gxold:"O824SlcValUnit",gxvar:"A824SlcValUnit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A824SlcValUnit=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z824SlcValUnit=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("SLCVALUNIT",gx.fn.currentGridRowImpl(100),gx.O.A824SlcValUnit,2,",")},c2v:function(){gx.O.A824SlcValUnit=this.val()},val:function(){return gx.fn.getGridDecimalValue("SLCVALUNIT",gx.fn.currentGridRowImpl(100),".",",")},nac:function(){return false}};this.GXValidFnc[110]={lvl:74,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCVALTOTA",gxz:"Z823SlcValTota",gxold:"O823SlcValTota",gxvar:"A823SlcValTota",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A823SlcValTota=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z823SlcValTota=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("SLCVALTOTA",gx.fn.currentGridRowImpl(100),gx.O.A823SlcValTota,2,",")},c2v:function(){gx.O.A823SlcValTota=this.val()},val:function(){return gx.fn.getGridDecimalValue("SLCVALTOTA",gx.fn.currentGridRowImpl(100),".",",")},nac:function(){return false}};this.GXValidFnc[111]={lvl:74,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:100,gxgrid:this.Grid1Container,fnc:this.Valid_Forcod,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A433ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z433ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("FORCOD",gx.fn.currentGridRowImpl(100),gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FORCOD",gx.fn.currentGridRowImpl(100),".")},nac:function(){return false}};this.GXValidFnc[112]={lvl:74,type:"char",len:15,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FORNOMABRE",gxz:"Z442ForNomAbre",gxold:"O442ForNomAbre",gxvar:"A442ForNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A442ForNomAbre=a
},v2z:function(a){gx.O.Z442ForNomAbre=a},v2c:function(){gx.fn.setGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(100),gx.O.A442ForNomAbre,0)},c2v:function(){gx.O.A442ForNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[113]={lvl:74,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCNROPEDI",gxz:"Z820SlcNroPedi",gxold:"O820SlcNroPedi",gxvar:"A820SlcNroPedi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A820SlcNroPedi=gx.num.intval(a)
},v2z:function(a){gx.O.Z820SlcNroPedi=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNROPEDI",gx.fn.currentGridRowImpl(100),gx.O.A820SlcNroPedi,0)},c2v:function(){gx.O.A820SlcNroPedi=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNROPEDI",gx.fn.currentGridRowImpl(100),".")},nac:function(){return false}};this.GXValidFnc[114]={lvl:74,type:"char",len:1,dec:0,sign:false,ro:1,grid:100,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCINDSITU",gxz:"Z814SlcIndSitu",gxold:"O814SlcIndSitu",gxvar:"A814SlcIndSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A814SlcIndSitu=a
},v2z:function(a){gx.O.Z814SlcIndSitu=a},v2c:function(){gx.fn.setGridComboBoxValue("SLCINDSITU",gx.fn.currentGridRowImpl(100),gx.O.A814SlcIndSitu)},c2v:function(){gx.O.A814SlcIndSitu=this.val()},val:function(){return gx.fn.getGridControlValue("SLCINDSITU",gx.fn.currentGridRowImpl(100))},nac:function(){return false}};this.GXValidFnc[122]={fld:"PROMPT_100",grid:73};this.A627PedNro=0;this.Z627PedNro=0;this.O627PedNro=0;this.A622PedDesPaga="";this.Z622PedDesPaga="";this.O622PedDesPaga="";this.A623PedDesTran="";
this.Z623PedDesTran="";this.O623PedDesTran="";this.A631PedValTota=0;this.Z631PedValTota=0;this.O631PedValTota=0;this.A629PedValFret=0;this.Z629PedValFret=0;this.O629PedValFret=0;this.A630PedValOutr=0;this.Z630PedValOutr=0;this.O630PedValOutr=0;this.A625PedIndImpr="";this.Z625PedIndImpr="";this.O625PedIndImpr="";this.A621PedDat=gx.date.nullDate();this.Z621PedDat=gx.date.nullDate();this.O621PedDat=gx.date.nullDate();this.A628PedPraEntr="";this.Z628PedPraEntr="";this.O628PedPraEntr="";this.A624PedIndCanc="";
this.Z624PedIndCanc="";this.O624PedIndCanc="";this.A619PedCodForn=0;this.Z619PedCodForn=0;this.O619PedCodForn=0;this.A626PedNomForn="";this.Z626PedNomForn="";this.O626PedNomForn="";this.A618PedCampo1L="";this.Z618PedCampo1L="";this.O618PedCampo1L="";this.A620PedCodUnid=0;this.Z620PedCodUnid=0;this.O620PedCodUnid=0;this.A100CdpCod=0;this.Z100CdpCod=0;this.O100CdpCod=0;this.A101CdpDes="";this.Z101CdpDes="";this.O101CdpDes="";this.ZnRcdDeleted_74=0;this.OnRcdDeleted_74=0;this.Z819SlcNro=0;this.O819SlcNro=0;
this.Z809SlcDesL1Ti="";this.O809SlcDesL1Ti="";this.Z817SlcNomL1Au="";this.O817SlcNomL1Au="";this.Z808SlcDatSoli=gx.date.nullDate();this.O808SlcDatSoli=gx.date.nullDate();this.Z806SlcDatPreR=gx.date.nullDate();this.O806SlcDatPreR=gx.date.nullDate();this.Z807SlcDatRece=gx.date.nullDate();this.O807SlcDatRece=gx.date.nullDate();this.Z822SlcQuantid=0;this.O822SlcQuantid=0;this.Z824SlcValUnit=0;this.O824SlcValUnit=0;this.Z823SlcValTota=0;this.O823SlcValTota=0;this.Z433ForCod=0;this.O433ForCod=0;this.Z442ForNomAbre="";
this.O442ForNomAbre="";this.Z820SlcNroPedi=0;this.O820SlcNroPedi=0;this.Z814SlcIndSitu="";this.O814SlcIndSitu="";this.A819SlcNro=0;this.A823SlcValTota=0;this.A809SlcDesL1Ti="";this.A817SlcNomL1Au="";this.A808SlcDatSoli=gx.date.nullDate();this.A806SlcDatPreR=gx.date.nullDate();this.A807SlcDatRece=gx.date.nullDate();this.A822SlcQuantid=0;this.A824SlcValUnit=0;this.A433ForCod=0;this.A442ForNomAbre="";this.A820SlcNroPedi=0;this.A814SlcIndSitu="";this.ServerEvents=["e112573_client","e122573_client"];this.setPrompt("PROMPT_100",[91]);
this.setPrompt("PROMPT_819",[102]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}taqt002.prototype=new gx.GxObject;gx.setParentObj(new taqt002());