EFD_C100;Notas Fiscais;sys_tbbrow; 3; 0;23;79;padrao;;
:SKEL
VARIAVEL w_colsep = chr(179)
VARIAVEL w_headsep = chr(196)
VARIAVEL z_xBlk = "ZSelOri:=Select(), Abra ('0NOIDX', r_siga, 'efd_C170', 'efd_C170', 'efd_c170', 'AaaaMm+AuxIndOper+AuxCodPart+AuxNumDoc+AuxSer'),"
VARIAVEL z_xBlk = z_xBlk+ "Brow_Db('efdsc170',.t.), efd_c170->(DbCloseArea()),DbSelectArea(ZSelOri)"
VARIAVEL zBlk170 = _CreateBlock( z_xBlk )
VARIAVEL z_xBlk = "ZSelOri:=Select(), Abra ('0NOIDX', r_siga, 'efd_C190', 'efd_C190', 'efd_C190', 'AaaaMm+AuxIndOper+AuxCodPart+AuxNumDoc+AuxSer+ cfop+Cst_Icms+Str(Aliq_icms,6,2)'),"
VARIAVEL z_xBlk = z_xBlk+ "Brow_Db('efdsc190',.t.), efd_c190->(DbCloseArea()),DbSelectArea(ZSelOri)"
VARIAVEL zBlk190 = _CreateBlock( z_xBlk )
VARIAVEL z_xBlk = ''
:TBMT
 63;Eval(zBlk170);?-Produtos ;
 47;Eval(zBlk190);/-Totais_por_CFOPs ;
 13;doget(D_ob);Enter-Edita ;
  7;tb_del(D_ob);DEL-DELeta ;
 32;tb_cons();Barra-Exibe ;
 65;tb_update(D_OB);A-Altera ;
 22;tb_insert(D_OB);Ins-Inclui ;
 80;tb_pesq(D_OB);P-Pesquisa ;
 84;tb_locate(D_oB);T-Trecho ;
 76;tb_locate(D_oB);L-Iniciais ;
 67;tb_locate(D_oB);C-Repete_Busca ;
 79;tb_index(D_OB);O-Ordena ;
 73;lst_alias(D_OB);I-Imprime ;
 70;tb_filter(d_ob);F-Filtra ;
 69;tb_filter(d_ob,"Exp");E-Filtra_Expressao ;
:TBFI
REG;REG;C;xxxx;  4;;
E/S;IND_OPER;C;x;  3;;
Emit;IND_EMIT;C;x;  4;;
COD_PART;COD_PART;C;@S14; 14;;
Md;COD_MOD;C;xx;  2;;
Si;COD_SIT;C;xx;  2;;
NUM_DOC;NUM_DOC;C;@S9;  9;;
SER;SER;C;xxx;  3;;
VL_DOC;VL_DOC;N;99999999.99; 11;;
DT_E_S;DT_E_S;D;;  8;;
IND_PGTO;IND_PGTO;C;x;  1;;
VL_MERC;VL_MERC;N;99999999.99; 11;;
VL_BC_ICMS;VL_BC_ICMS;N;999999.99; 9;;
VL_OUT_DA;VL_OUT_DA;N;999999.99; 9;;
VL_DESC;VL_DESC;N;999999.99; 9;;
VL_AbatNt;VL_ABAT_NT;N;999999.99; 9;;
VL_FRT;VL_FRT;N;999999.99; 9;;
VL_SEG;VL_SEG;N;999999.99; 9;;
VL_ICMS;VL_ICMS;N;999999.99; 9;;
IND_FRT;IND_FRT;C;x;  1;;
VLBcIcmSt;VLBCICMSST;N;999999.99; 9;;
VL_ICMS_ST;VL_ICMS_ST;N;999999.99; 9;;
VL_IPI;VL_IPI;N;999999.99; 9;;
VL_PIS;VL_PIS;N;999999.99; 9;;
VL_COFINS;VL_COFINS;N;999999.99; 9;;
VL_PISST;VL_PISST;N;999999.99; 9;;
VLCONFISST;VLCONFISST;N;999999.99; 9;;
CHV_NFE;CHV_NFE;C;@S44; 44;;
DT_DOC;DT_DOC;D;;  8;;
AAAAMM;AAAAMM;C;@S6;  6;;
