EFD_C190;('Totais por CFOP e CST da Nota Fiscal '+efd_c100->Num_Doc+' R$ '+lTrim(Transform(efd_c100->vl_doc,'@E 99,999,999.99')));skip_blk(x);3; 0;23;79;padrao;;
:SKEL
VARIAVEL w_colsep = chr(179)
VARIAVEL w_headsep = chr(196)
VARIAVEL w_mensagem = "Sem mais Itens da NF "+efd_c100->Num_Doc
VARIAVEL w_chave = efd_c100->(AaaaMm+Ind_Oper+Cod_Part+Num_Doc+Ser)
VARIAVEL w_block = {|| w_chave <> AaaaMm+AuxIndOper+AuxCodPart+AuxNumDoc+AuxSer }
:TBFI
CstICM;CST_ICMS;C;xxx;  6;;
CFOP;CFOP;C;xxxx;  4;;
TxIcms;ALIQ_ICMS;N;999.99;  6;;
VL_OPR;VL_OPR;N;99999999.99; 11;;
VL_IPI;VL_IPI;N;99999999.99; 11;;
VL_BC_ICMS;VL_BC_ICMS;N;99999999.99; 11;;
VL_ICMS;VL_ICMS;N;99999999.99; 11;;
VLBCICMSST;VLBCICMSST;N;99999999.99; 11;;
VL_ICMS_ST;VL_ICMS_ST;N;99999999.99; 11;;
VL_RED_BC;VL_RED_BC;N;99999999.99; 11;;
COD_OBS;COD_OBS;C;@S6;  6;;
REG;REG;C;xxxx;  4;;
AAAAMM;AAAAMM;C;@S6;  6;;
AUXINDOPER;AUXINDOPER;C;x;  1;;
AUXCODPART;AUXCODPART;C;@S14; 14;;
AUXNUMDOC;AUXNUMDOC;C;@S9;  9;;
AUXSER;AUXSER;C;xxx;  3;;
AUXUF;AUXUF;C;xx;  2;;
