<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{175,55,1024,651}</property>
    <property name="Name">[SF_NFE.scr]</property>
    <property name="Caption">[Relação de Notas Geradas]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Verdana" width="0" height="-13" weight="400"/>
    </property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.F.</property>
    <property name="ScopeVarObj">[Private]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.F.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="FromStyle">[Center]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</property>
    <property name="nBackColor">14215660</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\tela_tel1.jpg]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.T.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.T.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[3 - Maximized]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[0 - None (Default)]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onDlgInit">
    <![CDATA[PARAMETERS oDlg
// oDlg:Move( , , MAX(798,GetDesktopWidth()*0.95), MAX(570,GetDesktopHeight()*0.90), 1 )
oDlg:CENTER()

//skel VARIAVEL zBlVendedor = {|xVnd| sf_vend->(dbgoto(xVnd)), sf_vend->nome }
//skel VARIAVEL zbObra={||vb_pref->(DbGoTo(SF_FATNF->fObra),cr_fantasi)}
//skel VARIAVEL zBlkForn := {|nCli| sccpfor->(DbGoto(nCli)), sccpfor->cp_nome }
//skel VARIAVEL zBlkCli := {|nCli| If(fgdev$"DTE".and.!"918"$fCodOp, sccpfor->(DbGoto(nCli),cp_nome), sccrcli->(DbGoto(nCli),cr_nome) ) }
//skel VARIAVEL zBlkPrd := {|nPcod| se_prod->(dbseek(nPcod)), se_prod->pdesc }

//skel VARIAVEL Zrecn := 0
//skel VARIAVEL z_recno:=0

//skel VARIAVEL zbOpenAll:=#TEXTO_FONTE
//skel    (DbCloseAll(), Abra("0NOIDX",r_siga,"sccpfor","sccpfor"), Abra("0NOIDX",r_siga,"sccrcli","sccrcli"), Abra("0NOIDX",r_siga,"se_prod","se_prod","seip_c","pcod"))
//skel    (Abra("0NOIDX",r_siga,"se_movnf","se_movnf","se_movnf","mfnum"),Abra("0NOIDX", r_siga, "SCCRDUP", "SCCRDUP", "SCRID_ND", "CR_NUM_PED"),Abra ("0NOIDX",r_siga, "sf_vend", "sf_vend"))
//skel    se sys_segmento='locacao' entao Abra ("0NOIDX",r_siga, "VB_PREF", "VB_PREF")
//skel    Abra ("0NOIDX",r_siga, "Sf_FatNF", "Sf_FatNF", "Sf_FatNF", "FNUM")
//skel    use (zFileFat) new exclusive alias _fatnf 
//skel    se Zrecn=0 entao zRecn:=(DbGoBottom(),DbSkip(-10),Recno())
//skel    DBGOTO(Zrecn)
//skel #FIM_TEXTO_FONTE

//skel VARIAVEL zNil = eval(zbOpenAll)
//skel zFiltEmit = "Val(nfe_nprot)>0"

//skel VARIAVEL wOpcao := 'a4'
//skel VARIAVEL m_fNumPed := 0
//skel VARIAVEL zbPrtConferente:={||if(fgdev="E".and.fg_fat$'S6',StartLocacao("Prt_Itens_A_Ser_Devolvidos",fNumPed),if(fg_fat$"1P",Relat('lst_exec("CUPOM_PN_PRODUCAO")',"nb",,"X"),Relat('lst_exec("CUPOM_PN_SEPARACAO")',"nb",,"X"))) }
//skel VARIAVEL zbPrtPedido:= {||Relat('lst_exec("CUPOM_PN_PRT")',"nb",,"X") }

//skel VARIAVEL zbPrtPedidoFr3Rolo:= {||m_fNumPed:=fNumPed, wopcao:='rolo', dbCloseAll(), Relat('lst_exec("CUPOM_FR3")',"nb",,"X"), wopcao:='a4' }
//skel VARIAVEL zbPrtPedidoFr3:= {||m_fNumPed:=fNumPed, dbCloseAll(), Relat('lst_exec("CUPOM_FR3")',"nb",,"X") }
//skel VARIAVEL zbPrtPedRolo:= {||Relat("vb_r4(,,,,"+lTrim(Str(fNumPed,11))+")","nb") }
//skel VARIAVEL zbPrtConferente := {|| zrecn:=recno(), Sf_FatNf->(DbGoTo(_fatnf->Recno), Relat('lst_exec("CUPOM_NFE_SEPARACAO")',"nb",,"X")), eVal(zbOpenAll) }

//skel variavel zbAction:={|bFunction| d_ob:active:=.f., oBrwItens:active:=.f., oBrwDups:Active:=.f., zrecn:=recno(), zFnumPed:=fNumPed, z_recno:=Recno(), eVal(bFunction), eVal(zbOpenAll), DbGoTo(z_recno), d_ob:active:=.t., oBrwItens:active:=.t., oBrwDups:Active:=.t., DobRefresh(), oBrwItens:Refresh(), oBrwDups:Refresh()}

//#define x_BLUE       16711680
//#define x_DARKBLUE   10027008
//#define x_WHITE      16777215
//#define x_CYAN       16776960
//#define x_BLACK             0
//#define x_RED             255
//#define x_GREEN         32768
//#define x_GRAY        8421504
//#define x_YELLOW        65535

//skel varIAVEL bCor = {|| if(se_prod->pdic6=0.or.se_prod->pcodclafis=0.or.left(se_prod->punidade,1)=" ", {16777215,255,16777215,10027008},{16711680,16777215,16776960,10027008}) }

oContextMenu:=Hwg_ContextMenu()
hwg_Btn(oToolbar,5,5,64,64)

hwg_TbMt(oToolbar,' 73;eVal(zbAction, zbPrtPedidoFr3);3-A4_Fr3;I-Imprime Copia do Pedido em Papel A4 FR3;impressora.ico;;;;;&3-A4_Fr3;;;')
hwg_TbMt(oToolbar,' 73;eVal(zbAction, zbPrtPedidoFr3Rolo);4-RoloFr3;I-Imprime Copia do Pedido em Impressora Rolo FR3;impressora.ico;;;;;&4-RoloFr3;;;')
hwg_TbMt(oToolbar,' 73;eVal(zbAction, zbPrtPedRolo);2-Pedido;A-Imprime Pedido/Orcamento com opcoes impressora Matricial;impressora.ico;;;;;&2=Prt.Pedido;;;')
hwg_TbMt(oToolbar,' 73;eVal(zbAction, zbPrtConferente);I-Conferente;I-Imprime o Conferente de separacao de produtos;impressora.ico;;;;;&I-Conferente;;;')

se .NOT. EMPTY(s_DirReplicVdaPn) entao hwg_TbMt(oToolbar,'7;eVal(zbAction,{||pf_entr("REPLICAR_VENDA",fNum,fCli)});Sync-Replica NFe;Sync-Cria Prenota Referente ao Pedido no Ambiente Fiscal Cloud;nfe_enviar.ico;;;;;SyncCloud;;;')

hwg_TbMt(oToolbar,'80;tb_pesq(D_OB);P-Pesquisa ;P-Pesquisa;;')
hwg_TbMt(oToolbar,'79;tb_index(D_OB);O-Ordena ;O - Ordena;xml\icon\ordena.jpg;47;47;;;')
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
hwg_TbMt(oToolbar,"27;hwg_oDlgKey(oDlg,27,nBrwAtivo);Saida;Saida;xml\icon\saida.ico;;;;;")

hwg_Btn(oToolbar,10,598,70,24)
If sys_segmento='locacao'
   hwg_TbMt(oToolbar,"65;(zRecn:=Recno(),StartLocacao('prt_contrato_remessa',fnum,fCodop,fCli,fNumPed,alias(),pfNum),DbGoTo(zRecn));A-Contrato;A-Imprime Contrato da Remessa ou Aditivo de Locacao;sembitmap;;;Lucida Bright;-11;&A-Contrato;;6;")
   hwg_TbMt(oToolbar,"90;AjustaPedidosLocacao();Z-Zerados;Z-Retifica Controles de Locacao Zerados;sembitmap;;;Lucida Bright;-11;&Z-Zerados;;6;")
EndIf
//   hwg_TbMt(oToolbar,"65;(zRecn:=Recno(),StartLocacao('prt_contrato_remessa',fnum,fCodop,fCli,fNumPed,alias(),pfNum),DbGoTo(zRecn));A-Contrato;A-Imprime Contrato da Remessa ou Aditivo de Locacao;xml\icon\alterar.ico;47;47;;")
//   hwg_TbMt(oToolbar,"90;AjustaPedidosLocacao();Z-Zerados;Z-Retifica Controles de Locacao Zerados;xml\icon\z.jpg;47;47;;")
//-- hwg_TbMt(oToolbar,' 73;eVal(zbAction, zbPrtPedido);1-Orcamento;I-Imprime Pedido/Orcamento em PDF formato papel A4;impressora.ico;;;;;&1-Ped.PDF;;;')
////skel VARIAVEL zbPrtPedido:={||zrecn:=recno(), Sf_FatNf->(DbGoTo(_fatnf->Recno), z_recno:=Recno(), Relat('lst_exec("CUPOM_NFS_PRT")',"nb",,"X")), eVal(zbOpenAll) }
////skel VARIAVEL zbPrtPedRolo:= {||zrecn:=recno(), zFnumPed:=fNumPed, DbCloseAll(), Relat("vb_r4(,,,,"+lTrim(Str(zFnumPed,11))+")","nb"), eVal(zbOpenAll) }
////hwg_TbMt(oToolbar,' 73;eVal(zbPrtPedRolo);3-Pedido;A-Imprime Pedido em impressora de rolo;sembitmap;;;Lucida Bright;-11;&3=Ped.Rolo;;6;')
////hwg_TbMt(oToolbar,' 73;eVal(zbPrtPedido);1-Pedido;I-Imprime Copia do Pedido com Valores;sembitmap;;;Lucida Bright;-11;&I-Pedido;;6;')
////hwg_TbMt(oToolbar,' 73;eVal(zbPrtConferente);I-Conferente;I-Imprime o Conferente para Recepcao de Devolucao ou Saida de produtos;sembitmap;;;Lucida Bright;-11;&I-Conferente;;6;')

SetDlgKey(oDlg,8,26,{|| (aBrowses[nBrwAtivo,2])->(moveRec(aBrowses[nBrwAtivo,1],"UP"))})
SetDlgKey(oDlg,8,28,{|| (aBrowses[nBrwAtivo,2])->(moveRec(aBrowses[nBrwAtivo,1],"DOWN"))})
Hwg_EndMenu()
 
DBCLEARFILTER()
ORDSETFOCUS(0)
DBGOBOTTOM()
DBSKIP(-10)
Zrecn := Recno()]]>
  </method>
  <method name="onPaint">
    <![CDATA[Parameters oCtrl,hDC
oCtrl:bpaint:=NIL
D_oB:setFocus()]]>
  </method>
  <method name="onGetFocus">
    <![CDATA[DBCLOSEALL()
RETURN .t.]]>
  </method>
  <part class="status">
    <style>
      <property name="Geometry">{0,621,1024,30}</property>
      <property name="Name">[oDlgStatusBar]</property>
      <property name="aParts">{640,160,0}</property>
    </style>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{17,71,989,268}</property>
      <property name="Name">[D_oB]</property>
      <property name="Anchor">11</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Border">.F.</property>
      <property name="TabIndex">4</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[nBrwAtivo:=1]]>
    </method>
    <method name="onPosChange">
      <![CDATA[oBrwItens:Refresh()
oBrwDups:Refresh()]]>
    </method>
    <method name="onInit">
      <![CDATA[DBSELECTAREA( '_fatnf' )
D_oB:bColorSel:= RGB(3,23,133)
D_oB:tColorSel:= RGB(255,255,255)
D_oB:bKeyDown := {|self, wParam| (aBrowses[nBrwAtivo,2])->(hwg_oDlgKey(self, wparam,1)) , .T. }
hwg_TbFi(D_oB, 'DtEmis;fDataEmi;D;;8;;')
hwg_TbFi(D_oB, 'Hora;fhora;C;;8;N;')
hwg_TbFi(D_oB, 'Controle;fnum;N;999999999;9;;')
hwg_TbFi(D_oB, 'Mod;fModelo;C;XXX;3;;')
hwg_TbFi(D_oB, '*;if(fnum>0,if(val(fModelo)=65,"NFC", if(val(fModelo)=55,"NFE","PND") ),"NFS");P;XXX;3;;')

hwg_TbFi(D_oB, 'Valor;fval;N;@E 9999,999.99;11;;')

IF sys_segmento='locacao'
  hwg_TbFi(D_oB, 'Oper;if(fgdev="E","DEVOL",if(pfnum=0,if(fValLoca=0,if(fnum<0,"NFS","VENDA"),"LOCACAO"),"RELOC"));P;@S6;6;;')
  hwg_TbFi(D_oB, 'NF.REF;if(pfnum=0,if(fValLoca>0,"Ate "+Dtoc(fDataRet),""),Str(pfnum,8));P;@S12;12;N;')
ELSE
  hwg_TbFi(D_oB, 'Oper;if(fgdev="E".or.left(fcodop,1)$"123","ENTRADA",if(fnum<0,"NFS","SAIDA"));P;@S7;7;;')
ENDIF
IF sys_segmento='locacao'
   hwg_TbFi(D_oB, 'Val_Loca;fvalLoca;N;@E 999,999.99;10;;') 
   hwg_TbFi(D_oB, '%dPri;fDsc1Loca;N;99.99%;5;;')
   hwg_TbFi(D_oB, '%dRel;fDscReloc;N;99.99%;5;;')
ENDIF
se sys_segmento='locacao' entao hwg_TbFi(D_oB, 'Ate o dia;if(fgdev<>"E".and.fvalloca>0.and.pfnum<>0,"Dt "+Dtoc(fBomPara),"");P;@S11;11;;')
se sys_segmento='farma' entao hwg_TbFi(D_oB, 'F.Popular;fSubSidio;N;@E 9999,999.99;11;;')

//hwg_TbFi(D_oB, '*;fLocacao;C;!;1;;')
hwg_TbFi(D_oB, 'CodCli;fCli;N;999999;  6;;')
hwg_TbFi(D_oB, 'RazSoc;eVal(zBlkCli,fCli);C;@S22;22;;')
hwg_TbFi(D_oB, '*;fgdev;C;X;3;S;')
hwg_TbFi(D_oB, 'CFOP;fcodop;C;XXXXX;5;;')
hwg_TbFi(D_oB, 'Pedido;fnumPed;N;999999999;9;;')
IF sys_segmento='locacao'
   hwg_TbFi(D_oB, 'Obra;fObra;N;999999;6;S;')
   hwg_TbFi(D_oB, 'iObra;fObraNoCli;N;999999;6;S;')
   hwg_TbFi(D_oB, 'NomeObra;eVal(zbObra);P;@S25;25;S;')
   hwg_TbFi(D_oB, 'Aditivo;fAditivo;N;999999;7;S;')
   hwg_TbFi(D_oB, 'Frete;fValFrete;N;999999.99;9;S;')
   hwg_TbFi(D_oB, 'DtRefIni;fDataRef;D;;8;S;')
   hwg_TbFi(D_oB, 'Dias;pDiasLoca;N;9999;4;S;')
   hwg_TbFi(D_oB, 'DtRetorn;fDataRet;D;;8;S;')
endif
// hwg_TbFi(D_oB, 'Cx;Si_Caixa;N;999999;6;S;;')
hwg_TbFi(D_oB, 'FCx;Si_NumFech;N;999999;6;S;;')
hwg_TbFi(D_oB, 'cVd;FVENDEDOR;N;9999;4;S;')
hwg_TbFi(D_oB, 'Vendedor;eval(zBlVendedor,FVENDEDOR);C;@S15;15;N;')
hwg_TbFi(D_oB, 'Obs;nfe_xmotiv;C;@S10;10;;')
hwg_TbFi(D_oB, 'nProt;nfe_nprot;C;@15;15;;')
hwg_TbFi(D_oB, 'Chave;fChaveNfe;C;@S44;44;;')
hwg_TbFi(D_oB, 'XML  ;nfe_xml;C;@S75;74;;')
hwg_TbFi(D_oB, 'Prenota;fprenota;N;999999999;9;;')
hwg_TbFi(D_oB, 'Unids;ftotunid;N;@E 999,999;7;;')
D_oB:Alias := alias()
IF .not. sys_segmento='locacao'
   DBGOBottom()
   DbSkip( 0-D_oB:RowCount )
endif
D_oB:bOther:={|o,m,wp,lp| MessagesBrowse(o,m,wp,lp)}
D_oB:cargo:={.T.,.T.,"_fatnf",.F.,.T.,{||.T.} }
aAdd(aBrowses,{D_oB,D_oB:Alias,{||.f.},{|| .T.},})]]>
    </method>
    <method name="onPaint">
      <![CDATA[SetFocus(d_Ob)
if( select("SF_FATNF")=0, eval(zbOpenAll), DbSelectArea("SF_FATNF") ) ]]>
    </method>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{17,340,632,251}</property>
      <property name="Name">[oBrwItens]</property>
      <property name="Anchor">7</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Border">.F.</property>
      <property name="TabIndex">6</property>
    </style>
    <method name="onInit">
      <![CDATA[oBrwItens:Alias := 'se_movnf'
oBrwItens:bColorSel:= RGB(3,23,133)
oBrwItens:tColorSel:= RGB(255,255,255)
DbSelectArea( 'se_movnf' )
//hwg_TbFi(@oBrwItens, 'Prod;Pcod;N;999999;6;;bCor;')
hwg_TbFi(@oBrwItens, 'Prod;Pcod;N;999999;6;;;')
hwg_TbFi(@oBrwItens, 'Descricao;eVal(zBlkPrd,pcod);C;@S30;30;;')
IF sys_segmento='locacao'
   hwg_TbFi(@oBrwItens, 'Quant;if(sf_fatnf->fgdev="E","",TRANSFORM(mQuant,"@e 9999999"));P;@S8;8;N;')
   hwg_TbFi(@oBrwItens, 'Devol;if(sf_fatnf->fgdev="E",mQuant,mQdevol) ;P;@e 9999999;8;N;')
   hwg_TbFi(@oBrwItens, 'Locadas;if(sf_fatnf->fgdev="E","",TRANSFORM(mQuant-if(sf_fatnf->FgDev="R",0,mQdevol),"@e 9999999"));P;@S8;8;N;')
   hwg_TbFi(@oBrwItens, 'LocMensal;pValLoca;N;@E 9999.99;9;;')
   hwg_TbFi(@oBrwItens, 'Dias;pDiasLoca;N;9999;4;;')
ELSE
   hwg_TbFi(@oBrwItens, 'Quant;mQuant;N;999999.99;9;N;')
endif
hwg_TbFi(@oBrwItens, '*;mFgEs;C;!;1;;')

hwg_TbFi(@oBrwItens, 'Un;se_prod->pUNIDADE;C;XXX;3;;')
hwg_TbFi(@oBrwItens, 'Valor;mValor;N;999999.99;9;;')
hwg_TbFi(@oBrwItens, 'NCM;se_prod->pcodclafis;N;99999999;8;;')
hwg_TbFi(@oBrwItens, 'CFOP;pCfop;C;XXXXX;5;S;')
hwg_TbFi(@oBrwItens, 'ST;se_prod->pCATEGORIA;C;XXX;3;;')
hwg_TbFi(@oBrwItens, 'Barra;se_prod->pdic6;N;9999999999999;13;;')
IF sys_segmento='locacao'
   hwg_TbFi(@oBrwItens, 'Quant;mQuant;N;@e 9999.999;8;S;')
   hwg_TbFi(@oBrwItens, 'QtdJaDev;mQdevol;N;@e 9999.999;8;S;')
ENDIF
// alert('vai definir filtros oBrwItens:alias '+oBrwItens:alias+' Sf_FatNf->fnum '+str(Sf_FatNf->fnum,6)+ ' oBrwItens:nColumns '+str(oBrwItens:nColumns,4) )
oBrwItens:lFilter := .T.
oBrwItens:bFirst := {|| se_movnf->( DBSEEK( _FatNf->fnum, .F. ) ) } 
oBrwItens:bLast  := {|| se_movnf->( DBSEEK( _FatNf->fnum , .F., .T. ) ) }
oBrwItens:bFor := {|| se_movnf->fNumPed = _FatNf->fNumPed .AND. se_movnf->mfges$IF(LEFT(_FatNf->fCodOp,1)$"12","E","SMD") }
oBrwItens:bWhile := {|| se_movnf->mfnum = _FatNf->fnum }
oBrwItens:Refresh()
DbSelectArea( '_FatNf' )
// alert('definiu oBrwItens:alias '+oBrwItens:alias+' Sf_FatNf->fnum '+str(Sf_FatNf->fnum,6)+ ' oBrwItens:nColumns '+str(oBrwItens:nColumns,4) )


]]>
    </method>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{658,491,156,100}</property>
      <property name="Name">[oBrwDups]</property>
      <property name="Anchor">7</property>
      <property name="font">
        <font name="Arial" width="0" height="-12" weight="400"/>
      </property>
      <property name="TabIndex">7</property>
    </style>
    <method name="onInit">
      <![CDATA[oBrwDups:Alias := 'sccrdup'
oBrwDups:bColorSel:= RGB(3,23,133)
oBrwDups:tColorSel:= RGB(255,255,255)
DbSelectArea( 'sccrdup' )
hwg_TbFi(@oBrwDups, 'Td;cr_tip_dup;C;XXX;3;;')
hwg_TbFi(@oBrwDups, 'Valor;cr_valor;N;999999.99;9;;')
hwg_TbFi(@oBrwDups, 'BomPara;CR_DT_VENC;D;99.99.9999;10;S;')
hwg_TbFi(@oBrwDups, 'ValorLqd;cr_val_lqd;N;999999.99;9;S;')
hwg_TbFi(@oBrwDups, 'DtLqd;CR_DT_Lqd;D;99.99.9999;10;S;')
oBrwDups:lFilter := .T.
oBrwDups:bFirst := {|| sccrdup->( DBSEEK( StrZero(_FatNf->fNumPed,6), .F. ) ) } 
oBrwDups:bLast  := {|| sccrdup->( DBSEEK( StrZero(_FatNf->fNumPed,6), .F., .T. ) ) }
oBrwDups:bWhile := {|| sccrdup->fNumPed = _FatNf->fNumPed }
oBrwDups:Refresh()
DbSelectArea( '_FatNf' )
]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{507,4,299,38}</property>
      <property name="Name">[oLabel12]</property>
      <property name="Caption">[Notas de um Periodo]</property>
      <property name="TextColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-29" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">9</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{825,345,182,36}</property>
      <property name="Name">[ozwSomaFat]</property>
      <property name="varName">[zwSomaFat]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-24" weight="700"/>
      </property>
      <property name="cPicture">[@e 999,999.99]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{825,383,182,36}</property>
      <property name="Name">[ozwQtdPedidos]</property>
      <property name="varName">[zwQtdPedidos]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-24" weight="700"/>
      </property>
      <property name="cPicture">[@E 999,999]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{898,487,107,23}</property>
      <property name="Name">[ozwfValES]</property>
      <property name="varName">[zwfValES]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="cPicture">[@e 999,999.99]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{898,510,107,23}</property>
      <property name="Name">[ozwfValCT]</property>
      <property name="varName">[zwfValCT]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="cPicture">[@e 999,999.99]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{898,534,107,23}</property>
      <property name="Name">[ozwfValCV]</property>
      <property name="varName">[zwfValCV]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="cPicture">[@e 999,999.99]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{874,433,125,23}</property>
      <property name="Name">[ozwSomaCanc]</property>
      <property name="varName">[zwSomaCanc]</property>
      <property name="TextColor">255</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="cPicture">[@e 999,999.99]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{874,457,125,23}</property>
      <property name="Name">[ozwQtdCanc]</property>
      <property name="varName">[zwQtdCanc]</property>
      <property name="TextColor">255</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="cPicture">[@e 999,999]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{671,356,152,25}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Total das Vendas:]</property>
      <property name="Justify">[Right]</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{654,394,169,25}</property>
      <property name="Name">[oLabel3]</property>
      <property name="Caption">[Numero de Pedidos:]</property>
      <property name="Justify">[Right]</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="400"/>
      </property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{825,489,72,19}</property>
      <property name="Name">[oLabel5]</property>
      <property name="Caption">[DINHEIRO:]</property>
      <property name="Justify">[Right]</property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{823,512,74,19}</property>
      <property name="Name">[oLabel6]</property>
      <property name="Caption">[CARTAO:]</property>
      <property name="Justify">[Right]</property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{818,536,79,19}</property>
      <property name="Name">[oLabel7]</property>
      <property name="Caption">[CONVENIO:]</property>
      <property name="Justify">[Right]</property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{668,436,205,19}</property>
      <property name="Name">[oLabel8]</property>
      <property name="Caption">[Total dos Cancelados:]</property>
      <property name="Justify">[Right]</property>
      <property name="TextColor">255</property>
      <property name="font">
        <font name="Verdana" width="0" height="-13" weight="400"/>
      </property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{668,458,205,25}</property>
      <property name="Name">[oLabel9]</property>
      <property name="Caption">[Numero dos Cancelamentos:]</property>
      <property name="Justify">[Right]</property>
      <property name="TextColor">255</property>
      <property name="font">
        <font name="Verdana" width="0" height="-13" weight="400"/>
      </property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{813,4,74,21}</property>
      <property name="Name">[oLabel2]</property>
      <property name="Caption">[Periodo De:]</property>
      <property name="Justify">[Right]</property>
      <property name="TextColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{841,28,46,21}</property>
      <property name="Name">[oLabel4]</property>
      <property name="Caption">[Ate:]</property>
      <property name="Justify">[Right]</property>
      <property name="TextColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{892,4,110,22}</property>
      <property name="Name">[ozDe]</property>
      <property name="varName">[zDe]</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="TabIndex">12</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{892,28,110,22}</property>
      <property name="Name">[ozAte]</property>
      <property name="varName">[zAte]</property>
      <property name="font">
        <font name="Verdana" width="0" height="-16" weight="700"/>
      </property>
      <property name="TabIndex">12</property>
    </style>
  </part>
</part>
