gx.evt.autoSkip=false;function timt036(){this.ServerClass="TImt036";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.Gx_date=gx.fn.getDateValue("vTODAY");this.A631PedValTota=gx.fn.getDecimalValue("PEDVALTOTA",".",",");this.Gx_mode=gx.fn.getControlValue("vMODE");this.A823SlcValTota=gx.fn.getDecimalValue("SLCVALTOTA",".",",");this.A820SlcNroPedi=gx.fn.getIntegerValue("SLCNROPEDI",".");
this.A814SlcIndSitu=gx.fn.getControlValue("SLCINDSITU");this.A433ForCod=gx.fn.getIntegerValue("FORCOD",".");this.AV8CdpCodSele=gx.fn.getIntegerValue("vCDPCODSELE",".");this.A809SlcDesL1Ti=gx.fn.getControlValue("SLCDESL1TI");this.A817SlcNomL1Au=gx.fn.getControlValue("SLCNOML1AU");this.A807SlcDatRece=gx.fn.getDateValue("SLCDATRECE");this.A442ForNomAbre=gx.fn.getControlValue("FORNOMABRE")};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","Grid2",["BUTTON6","Enabled"],["BUTTON1","Enabled"]]);
return true};this.Valid_Pedindimpr=function(){try{var a=gx.util.balloon.getNew("PEDINDIMPR");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Pedcodforn=function(){gx.ajax.validSrvEvt("dyncall","Valid_Pedcodforn",["gx.O.A619PedCodForn","gx.O.A626PedNomForn"],["A626PedNomForn"]);return true};this.Valid_Pednomforn=function(){try{var a=gx.util.balloon.getNew("PEDNOMFORN");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}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,104);this.standaloneModal3Z74();this.standaloneNotModal3Z74();if(gx.fn.currentGridRowImpl(104)===0){return true}var a=gx.util.balloon.getNew("SLCNRO",gx.fn.currentGridRowImpl(104));if(gx.fn.gridDuplicateKey(105)){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.A812SlcNroDocu","gx.O.A433ForCod","gx.O.A820SlcNroPedi","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.A814SlcIndSitu","gx.num.urlDecimal(gx.O.A823SlcValTota,'.',',')","gx.O.A811SlcDscTitu","gx.O.A442ForNomAbre","gx.O.AV8CdpCodSele"],["A820SlcNroPedi","A809SlcDesL1Ti","A817SlcNomL1Au","A808SlcDatSoli","A806SlcDatPreR","A807SlcDatRece","A822SlcQuantid","A824SlcValUnit","A812SlcNroDocu","A814SlcIndSitu","A433ForCod","A823SlcValTota","A811SlcDscTitu","A442ForNomAbre","A819SlcNro","AV8CdpCodSele"]);
this.Gx_mode=this.sMode74;return true};this.Valid_Slcnrodocu=function(){try{if(gx.fn.currentGridRowImpl(104)===0){return true}var a=gx.util.balloon.getNew("SLCNRODOCU",gx.fn.currentGridRowImpl(104));this.AnyError=0;this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,104)}catch(b){}try{this.Gx_mode=this.sMode74;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Slcquantid=function(){try{if(gx.fn.currentGridRowImpl(104)===0){return true}var a=gx.util.balloon.getNew("SLCQUANTID",gx.fn.currentGridRowImpl(104));
this.AnyError=0;this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,104)}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(104)===0){return true}var a=gx.util.balloon.getNew("SLCVALUNIT",gx.fn.currentGridRowImpl(104));this.AnyError=0;this.sMode74=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(74,104)}catch(b){}try{this.Gx_mode=this.sMode74;if(a==null){return true}return a.show()
}catch(b){}return true};this.standaloneModal3Z74=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.standaloneNotModal3Z74=function(){try{gx.fn.setCtrlProperty("SLCDSCTITU","Enabled",0)}catch(a){}return true};this.e123z2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e133z2_client=function(){this.executeServerEvent("'CANCELAR'",false)};this.e143z73_client=function(){this.executeServerEvent("ENTER",true)
};this.e153z73_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,21,24,27,29,33,35,38,40,42,44,46,48,50,53,55,58,60,63,65,68,70,73,75,78,80,83,85,88,90,93,95,98,100,105,106,107,108,109,110,111,113,114];this.GXLastCtrlId=114;this.Grid2Container=new gx.grid.grid(this,74,"Level1",104,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"timt036",[819],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid2Container.addSingleLineEdit(819,105,"SLCNRO","Solic.","","SlcNro","int",66,"px",6,6,"right",null,[],819,"SlcNro",true,0,false,false);this.Grid2Container.addBitmap("prompt_819","PROMPT_819",115,0,"",0,"",null,"","");this.Grid2Container.addSingleLineEdit(812,106,"SLCNRODOCU","Documento","","SlcNroDocu","int",0,"px",7,7,"right",null,[],812,"SlcNroDocu",true,0,false,false);this.Grid2Container.addSingleLineEdit(811,107,"SLCDSCTITU","Título","","SlcDscTitu","char",0,"px",250,250,"left",null,[],811,"SlcDscTitu",true,0,false,false);
this.Grid2Container.addSingleLineEdit(808,108,"SLCDATSOLI","Solic.","","SlcDatSoli","date",68,"px",10,10,"right",null,[],808,"SlcDatSoli",true,0,false,false);this.Grid2Container.addSingleLineEdit(806,109,"SLCDATPRER","Previsão ","","SlcDatPreR","date",68,"px",10,10,"right",null,[],806,"SlcDatPreR",true,0,false,false);this.Grid2Container.addSingleLineEdit(822,110,"SLCQUANTID","Qtd","","SlcQuantid","int",46,"px",6,6,"right",null,[],822,"SlcQuantid",true,0,false,false);this.Grid2Container.addSingleLineEdit(824,111,"SLCVALUNIT","Valor","","SlcValUnit","decimal",70,"px",10,10,"right",null,[],824,"SlcValUnit",true,2,false,false);
this.setGrid(this.Grid2Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[24]={fld:"TABLE2",grid:0};this.GXValidFnc[27]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[29]={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.Grid2Container],fld:"PEDNRO",gxz:"Z627PedNro",gxold:"O627PedNro",gxvar:"A627PedNro",ucs:[],op:[73,55,50,63,46,85,38,42,95,90,80,100],ip:[73,55,50,63,46,85,38,42,95,90,80,100,29],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[33]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[35]={fld:"TABLE3",grid:0};this.GXValidFnc[38]={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[40]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Pedindimpr,isvalid:null,fld:"PEDINDIMPR",gxz:"Z625PedIndImpr",gxold:"O625PedIndImpr",gxvar:"A625PedIndImpr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A625PedIndImpr=a
},v2z:function(a){gx.O.Z625PedIndImpr=a},v2c:function(){gx.fn.setComboBoxValue("PEDINDIMPR",gx.O.A625PedIndImpr)},c2v:function(){gx.O.A625PedIndImpr=this.val()},val:function(){return gx.fn.getControlValue("PEDINDIMPR")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PEDINDCANC",gxz:"Z624PedIndCanc",gxold:"O624PedIndCanc",gxvar:"A624PedIndCanc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A624PedIndCanc=a
},v2z:function(a){gx.O.Z624PedIndCanc=a},v2c:function(){gx.fn.setComboBoxValue("PEDINDCANC",gx.O.A624PedIndCanc)},c2v:function(){gx.O.A624PedIndCanc=this.val()},val:function(){return gx.fn.getControlValue("PEDINDCANC")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[50]={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[53]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[55]={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[58]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[60]={fld:"TABLE4",grid:0};this.GXValidFnc[63]={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:[65],ip:[65,63],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[65]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Pednomforn,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[68]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[70]={fld:"TABLE5",grid:0};this.GXValidFnc[73]={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:[75],ip:[75,73],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[75]={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[78]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[80]={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[83]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[85]={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[88]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[90]={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[93]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[95]={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[98]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[100]={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[105]={lvl:74,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:104,gxgrid:this.Grid2Container,fnc:this.Valid_Slcnro,isvalid:null,rgrid:[],fld:"SLCNRO",gxz:"Z819SlcNro",gxold:"O819SlcNro",gxvar:"A819SlcNro",ucs:[],op:[105,107,106,111,110,109,108],ip:[107,109,108,106,110,111,105],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(104),gx.O.A819SlcNro,0)},c2v:function(){gx.O.A819SlcNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRO",gx.fn.currentGridRowImpl(104),".")},nac:function(){return false}};this.GXValidFnc[106]={lvl:74,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:104,gxgrid:this.Grid2Container,fnc:this.Valid_Slcnrodocu,isvalid:null,rgrid:[],fld:"SLCNRODOCU",gxz:"Z812SlcNroDocu",gxold:"O812SlcNroDocu",gxvar:"A812SlcNroDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A812SlcNroDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z812SlcNroDocu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNRODOCU",gx.fn.currentGridRowImpl(104),gx.O.A812SlcNroDocu,0)},c2v:function(){gx.O.A812SlcNroDocu=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRODOCU",gx.fn.currentGridRowImpl(104),".")},nac:function(){return false}};this.GXValidFnc[107]={lvl:74,type:"char",len:250,dec:0,sign:false,ro:1,grid:104,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"SLCDSCTITU",gxz:"Z811SlcDscTitu",gxold:"O811SlcDscTitu",gxvar:"A811SlcDscTitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A811SlcDscTitu=a
},v2z:function(a){gx.O.Z811SlcDscTitu=a},v2c:function(){gx.fn.setGridControlValue("SLCDSCTITU",gx.fn.currentGridRowImpl(104),gx.O.A811SlcDscTitu,0)},c2v:function(){gx.O.A811SlcDscTitu=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDSCTITU",gx.fn.currentGridRowImpl(104))},nac:function(){return false}};this.GXValidFnc[108]={lvl:74,type:"date",len:10,dec:0,sign:false,ro:1,grid:104,gxgrid:this.Grid2Container,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(104),gx.O.A808SlcDatSoli,0)},c2v:function(){gx.O.A808SlcDatSoli=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(104))},nac:function(){return false}};this.GXValidFnc[109]={lvl:74,type:"date",len:10,dec:0,sign:false,ro:1,grid:104,gxgrid:this.Grid2Container,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(104),gx.O.A806SlcDatPreR,0)},c2v:function(){gx.O.A806SlcDatPreR=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(104))},nac:function(){return false}};this.GXValidFnc[110]={lvl:74,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:104,gxgrid:this.Grid2Container,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(104),gx.O.A822SlcQuantid,0)},c2v:function(){gx.O.A822SlcQuantid=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCQUANTID",gx.fn.currentGridRowImpl(104),".")},nac:function(){return false}};this.GXValidFnc[111]={lvl:74,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:1,grid:104,gxgrid:this.Grid2Container,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(104),gx.O.A824SlcValUnit,2,",")},c2v:function(){gx.O.A824SlcValUnit=this.val()},val:function(){return gx.fn.getGridDecimalValue("SLCVALUNIT",gx.fn.currentGridRowImpl(104),".",",")},nac:function(){return false}};this.GXValidFnc[113]={fld:"PROMPT_619",grid:73};this.GXValidFnc[114]={fld:"PROMPT_100",grid:73};this.A627PedNro=0;this.Z627PedNro=0;this.O627PedNro=0;
this.A621PedDat=gx.date.nullDate();this.Z621PedDat=gx.date.nullDate();this.O621PedDat=gx.date.nullDate();this.A625PedIndImpr="";this.Z625PedIndImpr="";this.O625PedIndImpr="";this.A624PedIndCanc="";this.Z624PedIndCanc="";this.O624PedIndCanc="";this.A618PedCampo1L="";this.Z618PedCampo1L="";this.O618PedCampo1L="";this.A620PedCodUnid=0;this.Z620PedCodUnid=0;this.O620PedCodUnid=0;this.A619PedCodForn=0;this.Z619PedCodForn=0;this.O619PedCodForn=0;this.A626PedNomForn="";this.Z626PedNomForn="";this.O626PedNomForn="";
this.A100CdpCod=0;this.Z100CdpCod=0;this.O100CdpCod=0;this.A101CdpDes="";this.Z101CdpDes="";this.O101CdpDes="";this.A623PedDesTran="";this.Z623PedDesTran="";this.O623PedDesTran="";this.A628PedPraEntr="";this.Z628PedPraEntr="";this.O628PedPraEntr="";this.A629PedValFret=0;this.Z629PedValFret=0;this.O629PedValFret=0;this.A630PedValOutr=0;this.Z630PedValOutr=0;this.O630PedValOutr=0;this.A622PedDesPaga="";this.Z622PedDesPaga="";this.O622PedDesPaga="";this.Z819SlcNro=0;this.O819SlcNro=0;this.Z812SlcNroDocu=0;
this.O812SlcNroDocu=0;this.Z811SlcDscTitu="";this.O811SlcDscTitu="";this.Z808SlcDatSoli=gx.date.nullDate();this.O808SlcDatSoli=gx.date.nullDate();this.Z806SlcDatPreR=gx.date.nullDate();this.O806SlcDatPreR=gx.date.nullDate();this.Z822SlcQuantid=0;this.O822SlcQuantid=0;this.Z824SlcValUnit=0;this.O824SlcValUnit=0;this.A819SlcNro=0;this.A820SlcNroPedi=0;this.AV8CdpCodSele=0;this.A811SlcDscTitu="";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.A812SlcNroDocu=0;this.A814SlcIndSitu="";this.AV9UsuCodCorr="";this.AV10IndLiber="";this.Gx_msg="";this.AV11IndOrigem="";this.AV13HstTipEntidade="";this.AV14HstCodEstacao="";this.Gx_date=gx.date.nullDate();this.Gx_BScreen=0;this.A631PedValTota=0;this.ServerEvents=["e123z2_client","e133z2_client","e143z73_client","e153z73_client"];this.setPrompt("PROMPT_619",[63]);
this.setPrompt("PROMPT_100",[73]);this.setPrompt("PROMPT_819",[105]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.A631PedValTota={id:"PEDVALTOTA",grid:0,type:"decimal"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A823SlcValTota={id:"SLCVALTOTA",grid:104,type:"decimal"};this.VarControlMap.A820SlcNroPedi={id:"SLCNROPEDI",grid:104,type:"int"};
this.VarControlMap.A814SlcIndSitu={id:"SLCINDSITU",grid:104,type:"char"};this.VarControlMap.A433ForCod={id:"FORCOD",grid:104,type:"int"};this.VarControlMap.AV8CdpCodSele={id:"vCDPCODSELE",grid:0,type:"int"};this.VarControlMap.A809SlcDesL1Ti={id:"SLCDESL1TI",grid:104,type:"char"};this.VarControlMap.A817SlcNomL1Au={id:"SLCNOML1AU",grid:104,type:"char"};this.VarControlMap.A807SlcDatRece={id:"SLCDATRECE",grid:104,type:"date"};this.VarControlMap.A442ForNomAbre={id:"FORNOMABRE",grid:104,type:"char"};this.SetStandaloneVars()
}timt036.prototype=new gx.GxObject;gx.setParentObj(new timt036());