Tabela
SD2Itens de Venda da NF
CampoTipoTamanhoDecimalTítuloFormatoValidaçãoF3ContextoListaCondiçãoPYME
D2_FILIAL C20Filial S
D2_ITEM C20Item @! S
D2_COD C150Produto @! vazio().or.(existcpo("SB1").and. MaFisRef("IT_PRODUTO","MT100",M->D2_COD).And.A920IniCpo()) SB1 S
D2_SEGUM C20Segunda UM @! ExistCpo("SAH") SAH S
D2_UM C20Unidade ExistCpo("SAH") SAH S
D2_QUANT N112Quantidade @E 99999999.99 Positivo().and. A100SegUm().And.MaFisRef("IT_QUANT","MT100",M->D2_QUANT) S
D2_PRCVEN N142Vlr.Unitario@E 99,999,999,999.99 Positivo().And.NaoVazio().And.MaFisRef("IT_PRCUNI","MT100",M->D2_PRCVEN) S
D2_TOTAL N142Vlr.Total @E 999,999,999.99 Positivo().And.A920Total(M->D2_TOTAL) .and. MaFisRef("IT_VALMERC","MT100",M->D2_TOTAL) S
D2_VALIPI N142Vlr.IPI @E 99,999,999,999.99 Positivo().And.MaFisRef("IT_VALIPI","MT100",M->D2_VALIPI) S
D2_VALICM N142Vlr.ICMS @E 99,999,999,999.99 Positivo().And.MaFisRef("IT_VALICM","MT100",M->D2_VALICM) S
D2_TES C30Tipo Saida @9 existcpo("SF4").And.MaAvalTes("S",M->D2_TES).And.MaFisRef("IT_TES","MT100",M->D2_TES) SF4 S
D2_CF C50Cod. Fiscal @9 NaoVazio().and.AvalCFO("SD2",M->D2_CF) .and. MaFisRef("IT_CF","MT100",M->D2_CF) 13 S
D2_DESC N52Desc.Item @E 99.99 Positivo() S
D2_IPI N52Aliq. IPI @E 99.99 Positivo().And.MaFisRef("IT_ALIQIPI","MT100",M->D2_IPI) S
D2_PICM N52Aliq. ICMS @E 99.99 Positivo().And.MaFisRef("IT_ALIQICM","MT100",M->D2_PICM) S
D2_VALCSL N142Valor CSLL @E 99,999,999,999.99 MaFisRef("IT_VALCSL","MT100",M->D2_VALCSL) S
D2_CONTA C200C Contabil @! Vazio() .Or. Ctb105Cta() CT1 S
D2_PESO N103Peso total @E 999999.999 Positivo() S
D2_OP C140Ord Producao@9 vazio().or.existcpo("SC2") SC2 S
D2_PEDIDO C60No do Pedido@! SC7 S
D2_ITEMPV C20Item do Ped.@! S
D2_CLIENTEC60Cliente @! S
D2_LOJA C20Loja @! S
D2_LOCAL C20Armazem @! ExistCpo("NNR") NNR S
D2_DOC C90Num. Docto. @! S
D2_SERIE C30Serie !!! S
D2_GRUPO C40Grupo @! ExistCpo("SBM") SBM S
D2_TP C20Tipo Produto@! S
D2_EMISSAOD80Emissao S
D2_CUSTO1 N142Custo @E 999,999,999.99 S
D2_CUSTO2 N142Custo Moeda2@E 999,999,999.99 S
D2_CUSTO3 N142Custo Moeda3@E 999,999,999.99 S
D2_CUSTO4 N142Custo Moeda4@E 999,999,999.99 S
D2_CUSTO5 N142Custo Moeda5@E 999,999,999.99 S
D2_PRUNIT N142Prc Tabela @E 99,999,999,999.99 Positivo() S
D2_QTSEGUMN112Qtde 2a UM @E 99,999,999.99 Positivo() S
D2_NUMSEQ C60Num.Sequenc.@! S
D2_EST C20Estado Dest.@! ExistCpo("SX5","12"+M->D2_EST) S
D2_DESCON N122Desconto @E 999,999,999.99 Positivo() .AND. MaFisRef("IT_DESCONTO","MT100",M->D2_DESCON) S
D2_TIPO C10Tipo de N.F. S
D2_NFORI C90N.F.Original@! MaFisRef("IT_NFORI","MT100",M->D2_NFORI) S
D2_SERIORIC30Serie Orig. !!! MaFisRef("IT_SERORI","MT100",M->D2_SERIORI) S
D2_QTDEDEVN112Qtde Devol. @E 99,999,999.99 S
D2_VALDEV N142Valor Devol.@E 9,999,999,999.99 S
D2_ORIGLANC20Orig. Lancto@! S
D2_BRICMS N142Ret. ICMS @E 99,999,999,999.99 Positivo().And.MaFisRef("IT_BASESOL","MT100",M->D2_BRICMS) S
D2_BASEORIN162B.Orig ICMS @E 999,999,999,999.99 S
D2_BASEICMN162Base ICMS @E 9,999,999,999,999.99 Positivo().And.MaFisRef("IT_BASEICM","MT100",M->D2_BASEICM) S
D2_VALACRSN162Vlr.Acresc. @E 999,999,999,999.99 S
D2_IDENTB6C60Ident. PD3 S
D2_CODISS C90Cod.Serv.ISS@9 MaFisRef("IT_CODISS","MT100",M->D2_CODISS) 60 S
D2_GRADE C10Grade @! S
D2_SEQCALCC140Seq.Recalc. S
D2_ICMSRETN142ICMS Solid. @E 99,999,999,999.99 Positivo().And.MaFisRef("IT_VALSOL","MT100",M->D2_ICMSRET) S
D2_COMIS1 N52Comissao 1 @E 99.99 positivo() .Or. Vazio() S
D2_COMIS2 N52Comissao 2 @E 99.99 positivo() .Or. Vazio() S
D2_COMIS3 N52Comissao 3 @E 99.99 positivo() .Or. Vazio() S
D2_COMIS4 N52Comissao 4 @E 99.99 positivo() .Or. Vazio() S
D2_COMIS5 N52Comissao 5 @E 99.99 positivo() .Or. Vazio() S
D2_LOTECTLC100Lote LocXVlot() S
D2_NUMLOTEC60Sub-Lote LocXVlot() S
D2_DTVALIDD80Valid. Lote M->D2_DTVALID >= dDataBase S
D2_DESCZFRN142Desc.Z.Franc@E 99,999,999,999.99 MaFisRef("IT_DESCZF","MT100",M->D2_DESCZFR) S
D2_PDV C100Número PDV @! S
D2_NUMSERIC200Num de Serie@! S
D2_DTLCTCTD80Dt. do Lanc. S
D2_CUSFF1 N142Custo FIFO 1@E 999,999,999.99 S
D2_CUSFF2 N142Custo FIFO 2@E 999,999,999.99 S
D2_CUSFF3 N142Custo FIFO 3@E 999,999,999.99 S
D2_CUSFF4 N142Custo FIFO 4@E 999,999,999.99 S
D2_CUSFF5 N142Custo FIFO 5@E 999,999,999.99 S
D2_CLASFISC30Sit.Tribut. @! MAFISREF("IT_CLASFIS","MT100",M->D2_CLASFIS) S
D2_BASIMP1N142Base Imp. 1 @E 99,999,999,999.99 MaFisRef("IT_BASEIV1","MT100",M->D2_BASIMP1) S
D2_REMITO C90Remito @! S
D2_SERIREMC30Serie remito!!! S
D2_BASIMP2N142Base Imp. 2 @E 99,999,999,999.99 MaFisRef("IT_BASEIV2","MT100",M->D2_BASIMP2) S
D2_BASIMP3N142Base Imp. 3 @E 99,999,999,999.99 MaFisRef("IT_BASEIV3","MT100",M->D2_BASIMP3) S
D2_ITEMREMC20Item remito S
D2_BASIMP4N142Base Imp. 4 @E 99,999,999,999.99 MaFisRef("IT_BASEIV4","MT100",M->D2_BASIMP4) S
D2_BASIMP5N142Base Imp. 5 @E 99,999,999,999.99 MaFisRef("IT_BASECF2","MT100",M->D2_BASIMP5) S
D2_BASIMP6N142Base Imp. 6 @E 99,999,999,999.99 MaFisRef("IT_BASEPS2","MT100",M->D2_BASIMP6) S
D2_VALIMP1N142Valor Imp. 1@E 99,999,999,999.99 MaFisRef("IT_VALIV1","MT100",M->D2_VALIMP1) S
D2_VALIMP2N142Valor Imp. 2@E 99,999,999,999.99 MaFisRef("IT_VALIV2","MT100",M->D2_VALIMP2) S
D2_VALIMP3N142Valor Imp. 3@E 99,999,999,999.99 MaFisRef("IT_VALIV3","MT100",M->D2_VALIMP3) S
D2_VALIMP4N142Valor Imp. 4@E 99,999,999,999.99 MaFisRef("IT_VALIV4","MT100",M->D2_VALIMP4) S
D2_VALIMP5N142Valor Imp. 5@E 99,999,999,999.99 MaFisRef("IT_VALCF2","MT100",M->D2_VALIMP5) S
D2_VALIMP6N142Valor Imp. 6@E 99,999,999,999.99 MaFisRef("IT_VALPS2","MT100",M->D2_VALIMP6) S
D2_ITEMORIC40It.Doc. Orig@! S
D2_CODFAB C60Fabricante @! SA1 S
D2_LOJAFA C20Loja Fabric.@! S
D2_ALQIMP1N62Aliq. Imp. 1@E 999.99 MaFisRef("IT_ALIQIV1","MT100",M->D2_ALQIMP1) S
D2_ALQIMP2N62Aliq. Imp. 2@E 999.99 MaFisRef("IT_ALIQIV2","MT100",M->D2_ALQIMP2) S
D2_ALQIMP3N62Aliq. Imp. 3@E 999.99 MaFisRef("IT_ALIQIV3","MT100",M->D2_ALQIMP3) S
D2_ALQIMP4N62Aliq. Imp. 4@E 999.99 MaFisRef("IT_ALIQIV4","MT100",M->D2_ALQIMP4) S
D2_ALQIMP5N62Aliq. Imp. 5@E 999.99 MaFisRef("IT_ALIQCF2","MT100",M->D2_ALQIMP5) S
D2_ALQIMP6N62Aliq. Imp. 6@E 999.99 MaFisRef("IT_ALIQPS2","MT100",M->D2_ALQIMP6) S
D2_ESPECIEC50Especie @! S
D2_CCUSTO C90Centro Custo@! Vazio() .Or. Ctb105CC() CTT S
D2_ITEMCC C90Item C.C. @! Vazio() .Or. Ctb105Item() CTD S
D2_LOCALIZC150Endereco @! SBE S
D2_ENVCNABD80Envio Cnab S
D2_ALIQINSN52Aliq. INSS @E 99.99 MaFisRef("IT_ALIQINS","MT100",M->D2_ALIQINS) S
D2_ABSCINSN142Ab. INSS Sub@E 999,999,999.99 MaFisRef("IT_ABSCINS","MT100",M->D2_ABSCINS) S
D2_VCAT156N162V Tot CAT156@E 9,999,999,999,999.99 S
D2_VLIMPORN142Vl.Import @E 99,999,999,999.99 Positivo() R S
D2_PREEMB C200Proc.Embarq.@! S
D2_ALIQISSN52Aliq. ISS @E 99.99 MaFisRef("IT_ALIQISS","MT100",M->D2_ALIQISS) S
D2_BASEIPIN142Vlr.Base IPI@E 99,999,999,999.99 Positivo().And.MaFisRef("IT_BASEIPI","MT100",M->D2_BASEIPI) S
D2_BASEISSN142Base de ISS @E 999,999,999.99 MaFisRef("IT_BASEISS","MT100",M->D2_BASEISS) S
D2_VALISS N142Valor do ISS@E 999,999,999.99 MaFisRef("IT_VALISS","MT100",M->D2_VALISS) S
D2_SEGURO N142Vlr. Seguro @E 99,999,999.99 MaFisRef("IT_SEGURO","MT100",M->D2_SEGURO) S
D2_VALFRE N142Vlr. Frete @E 999,999,999.99 MaFisRef("IT_FRETE","MT100",M->D2_VALFRE) S
D2_TPDCENVC10Tipo env ori .F. S
D2_DESPESAN142Vlr. Despesa@E 99,999,999.99 MaFisRef("IT_DESPESA","MT100",M->D2_DESPESA) S
D2_OK C20Marca S
D2_CLVL C90Classe Valor@! Vazio() .Or. Ctb105ClVl() CTH CtbInUse() S
D2_CODGRP C40Grupo @!!!! VldAuxCod1("D2_CODGRP","D2_CODITE") SBM V S
D2_CODITE C270Cod. Produto VldAuxCod2("D2_COD","D2_CODGRP") B00 V S
D2_BASEINSN142Base de INSS@E 999,999,999.99 MaFisRef("IT_BASEINS","MT100",M->D2_BASEINS) S
D2_ICMFRETN142Icms Frete @E 99,999,999.99 S
D2_SERVIC C30Cod.Servico @! ExistCpo('DC5') DC5 S
D2_STSERV C10Status Serv.@! Pertence('123') 1=Servico Nao Executado;2=Servico Interrompido;3=Servico Executado S
D2_VALINS N142Vlr. do INSS@E 999,999,999.99 MaFisRef("IT_VALINS","MT100",M->D2_VALINS) S
D2_PROJPMSC100Cod.Projeto Vazio().Or.ExistCpo("AF8") AF8 S
D2_EDTPMS C120EDT @! Vazio() .Or. A410VldPrj() AFC PmsSetF3("AFC",9) S
D2_TASKPMSC120Cod.Tarefa @! Vazio().Or.A410VldPrj() AF9 PmsSetF3("AF9",9) S
D2_LICITA C60Cod.Licitac.@! Vazio().Or.ExistCpo("AH9") AH9 S
D2_VARPRUNN92Var.Prc.Unit@E 999,999.99 S
D2_FORMUL C10Form. Prop. ! S
D2_TIPODOCC20Id. Doc. S
D2_VAC N142Ac. Creditar@E 999,999,999.99 S
D2_TIPOREMC10Tipo Envio .F. S
D2_QTDEFATN164Quant.Fatur.@E 999,999,999.999 S
D2_QTDAFATN164Quant. a Fat@E 999,999,999.999 S
D2_SEQUEN C20Sequência 99 S
D2_POTENCIN62Potencia @E 999.99 S
D2_TPESTR C60Estr.Fisica @! ExistCpo("DC8") DC8 S
D2_VALBRUTN142Vlr.Bruto @E 99,999,999,999.99 MaFisRef("IT_TOTAL","MT100",M->D2_VALBRUT) S
D2_REGWMS C10Regra WMS 9 Pertence("123") 1=Lote;2=Numero de Serie;3=Data S
D2_DTDIGITD80Data Digit. R S
D2_NUMCP C60Comp. Fut. Vazio() .Or. ExistCpo("NO1") R S
D2_CUSRP1 N142C Reposicao @E 999,999,999.99 S
D2_CUSRP2 N142C Repos.2a M@E 999,999,999.99 S
D2_CUSRP3 N142C Repos.3a M@E 999,999,999.99 S
D2_CUSRP4 N142C Repos.4a M@E 999,999,999.99 S
D2_CUSRP5 N142C Repos.5a M@E 999,999,999.99 S
D2_SITTRIBC50Aliquota S
D2_NFCUP C90Num. NF/CUP @! R S
D2_CFPS C60Cod. CFPS @9 MaFisRef("IT_CFPS","MT100",M->D2_CFPS) S
D2_DESCICMN142Ded.ICMS @E 999,999,999.99 MaFisRef("IT_DEDICM","MT100",M->D2_DESCICM) R S
D2_BASEPS3N142Bs. Pis ST @E 999,999,999.99 Positivo().And.MaFisRef("IT_BASEPS3","MT100",M->D2_BASEPS3) S
D2_ALIQPS3N52Al. Pis ST @E 99.99 Positivo().And.MaFisRef("IT_ALIQPS3","MT100",M->D2_ALIQPS3) S
D2_VALPS3 N142Vl. Pis ST @E 999,999,999.99 Positivo().And.MaFisRef("IT_VALPS3","MT100",M->D2_VALPS3) S
D2_BASECF3N142Bs. Cof ST @E 999,999,999.99 Positivo().And.MaFisRef("IT_BASECF3","MT100",M->D2_BASECF3) S
D2_IDCFC C200ID Hist. CFC@ MaFisRef("IT_IDCFC","MT100",M->D2_IDCFC) R S
D2_ALIQCF3N52Al. Cof ST @E 99.99 Positivo().And.MaFisRef("IT_ALIQCF3","MT100",M->D2_ALIQCF3) S
D2_VALCF3 N142Vl. Cof ST @E 999,999,999.99 Positivo().And.MaFisRef("IT_VALCF3","MT100",M->D2_VALCF3) S
D2_TRT C30Seq. Empenho@! Vazio() R .F. S
D2_PRUNDA N142Vlr Unit DA @E 999,999,999.99 S
D2_VALFDS N142Vl.Fundersul@E 999,999,999.99 MaFisRef("IT_VALFDS","MT100",M->D2_VALFDS) R S
D2_PRFDSULN128Pr.Fundersul@E 999.9999999 MaFisRef("IT_PRFDSUL","MT100",M->D2_PRFDSUL) R S
D2_UFERMS N142UFERMS @E 999,999,999.99 MaFisRef("IT_UFERMS","MT100",M->D2_UFERMS) R S
D2_BASEIRRN162Base IR @E 9,999,999,999.99 MaFisRef("IT_BASEIRR","MT100",M->D2_BASEIRR) R S
D2_CODROM C60Cod Romaneio@! NPR R S
D2_ESTCREDN162Vlr Est Deb @E 9,999,999,999.99 MaFisRef("IT_ESTCRED","MT100",M->D2_ESTCRED) R S
D2_BASETSTN142Base ST tran@E 999,999,999.99 Positivo() .And. MaFisRef("IT_BASETST","MT100",M->D2_BASETST) R S
D2_ALIQTSTN52Aliq ST tran@E 99.99 Positivo() .And. MaFisRef("IT_ALIQTST","MT100",M->D2_ALIQTST) R S
D2_VALTST N142Val. ST tran@E 999,999,999.99 Positivo() .And. MaFisRef("IT_VALTST","MT100",M->D2_VALTST) R S
D2_ORDSEP C60Ordem Sep. R N
D2_DESCZFCN142Val.Cof.ZFM @E 99,999,999,999.99 MaFisRef("IT_DESCZFCOF","MT100",M->D2_DESCZFC) R S
D2_DESCZFPN142Val.Pis.ZFM @E 99,999,999,999.99 MaFisRef("IT_DESCZFPIS","MT100",M->D2_DESCZFP) R S
D2_ALQIRRFN62Aliq. IRRF @E 999.99 MaFisRef("IT_ALIQIRR","MT100",M->D2_ALQIRRF) S
D2_ABATISSN142Abatim. ISS @E 99,999,999,999.99 MaFisRef("IT_ABVLISS","MT100",M->D2_ABATISS) R S
D2_ABATMATN142Abat. Mat. @E 99,999,999,999.99 MaFisRef("IT_ABMATISS","MT100",M->D2_ABATMAT) R S
D2_TNATRECC40Tab.Nat.Rec.@! MAFISREF("IT_TABNTRE","MT100",M->D2_TNATREC) R S
D2_CNATRECC30Cod.Nat.Rec.@! MAFISREF("IT_CODNTRE","MT100",M->D2_CNATREC) R S
D2_GRUPONCC20Grp.Nat.Rec.@! MAFISREF("IT_GRPNTRE","MT100",M->D2_GRUPONC) R S
D2_DTFIMNTD80Dt.Fim N.R. MAFISREF("IT_DATNTRE","MT100",M->D1_DTFIMNT) R S
D2_ALIQINAN52Aliq INSS Ad@E 99.99 MaFisRef("IT_ALIQINA","MT100",M->D2_ALIQINA) R S
D2_VALINA N142Vlr INSS Ad @E 99,999,999,999.99 MaFisRef("IT_VALINA","MT100",M->D2_VALINA) R S
D2_BASEINAN142Base INSS Ad@E 99,999,999,999.99 MaFisRef("IT_BASEINA","MT100",M->D2_BASEINA) R S
D2_ESTOQUEC10Mov Estoque @! pertence("SN") RS=Sim;N=Nao S
D2_FCICOD C360Codigo FCI @! R S
D2_IDSB1 C200ID Hist. SB1@! MaFisRef("IT_IDSB1","MT100",M->D2_IDSB1) R S
D2_IDSB5 C200ID Hist. SB5@! MaFisRef("IT_IDSB5","MT100",M->D2_IDSB5) R S
D2_IDSBZ C200ID Hist. SBZ@! MaFisRef("IT_IDSBZ","MT100",M->D2_IDSBZ) R S
D2_IDSF4 C200ID Hist. SF4@! MaFisRef("IT_IDSF4","MT100",M->D2_IDSF4) R S
D2_IDSF7 C200ID Hist. SF7@! MaFisRef("IT_IDSF7","MT100",M->D2_IDSF7) R S
D2_ALIQFABN52Aliq. Fabov @E 99.99 MaFisRef("IT_ALIQFAB","MT100",M->D2_ALIQFAB) R S
D2_ALIQFACN52Aliq. Facs @E 99.99 MaFisRef("IT_ALIQFAC","MT100",M->D2_ALIQFAC) R S
D2_VALFAB N142Vlr. Fabov @E 99,999,999,999.99 MaFisRef("IT_VALFAB","MT100",M->D2_VALFAB) R S
D2_09CAT17N142Col.09 Cat17@E 99,999,999,999.99 R S
D2_16CAT17N142Col.16 Cat17@E 99,999,999,999.99 R S
D2_ABATINSN142Abatim. INSS@E 99,999,999,999.99 MaFisRef("IT_ABVLINSS","MT100",M->D2_ABATINS) R S
D2_ALIQFETN52Aliq. Fethab@E 99.99 MaFisRef("IT_ALIQFET","MT100",M->D2_ALIQFET) R S
D2_ALIQSOLN62Alq ICMS Sol@E 999.99 MaFisRef("IT_ALIQSOL","MT100",M->D2_ALIQSOL) S
D2_BASEFABN142Base Fabov @E 99,999,999,999.99 MaFisRef("IT_BASEFAB","MT100",M->D2_BASEFAB) R S
D2_BASEFACN142Base Facs @E 99,999,999,999.99 MaFisRef("IT_BASEFAC","MT100",M->D2_BASEFAC) R S
D2_BASEFETN142Base Fethab @E 99,999,999,999.99 MaFisRef("IT_BASEFET","MT100",M->D2_BASEFET) R S
D2_CRPRESCN142Crd Pres SC @E 99,999,999,999.99 MaFisRef("IT_CRPRESC","MT100",M->D2_CRPRESC) R S
D2_OKISS C100Amarrac. Iss@! R S
D2_VALFAC N142Vlr. Facs @E 99,999,999,999.99 MaFisRef("IT_VALFAC","MT100",M->D2_VALFAC) R S
D2_VALFET N142Vlr. Fethab @E 99,999,999,999.99 MaFisRef("IT_VALFET","MT100",M->D2_VALFET) R S
D2_VALIRRFN142Valor IRRF @E 99,999,999,999.99 MaFisRef("IT_VALIRR","MT100",M->D2_VALIRRF) S
D2_BASEPISN142Base Pis @E 99,999,999,999.99 MaFisRef("IT_BASEPIS","MT100",M->D2_BASEPIS) S
D2_VALCOF N142Valor Cofins@E 99,999,999,999.99 MaFisRef("IT_VALCOF","MT100",M->D2_VALCOF) S
D2_BASECSLN142Base CSLL @E 99,999,999,999.99 MaFisRef("IT_BASECSL","MT100",M->D2_BASECSL) S
D2_BASECOFN142Base Cofins @E 99,999,999,999.99 MaFisRef("IT_BASECOF","MT100",M->D2_BASECOF) S
D2_TOTIMP N142Perc.Cg.Trb @E 99,999,999,999.99 R S
D2_CODLAN C60Cod. CAT83 @! Vazio() .Or. ExistCpo('CDZ') S
D2_BASEFUNN142Bas FUNRURAL@E 99,999,999,999.99 MaFisRef("IT_BASEFUN","MT100",M->D2_BASEFUN) R S
D2_ALIQFUNN52Alq FUNRURAL@E 99.99 MaFisRef("IT_PERFUN","MT100",M->D2_ALIQFUN) R S
D2_VALFUN N142Vlr FUNRURAL@E 99,999,999,999.99 MaFisRef("IT_FUNRURAL","MT100",M->D2_VALFUN) R S
D2_RATEIO C10Rateio @! 1=Sim;2=Nao S
D2_VLSENARN142Valor Senar @E 99,999,999,999.99 MaFisRef("IT_VLSENAR","MT100",M->D2_VLSENAR) R S
D2_ALSENARN52Aliq.Senar @E 99.99 MaFisRef("IT_ALSENAR","MT100",M->D2_ALSENAR) R S
D2_BSSENARN142Base Seanr @E 99,999,999,999.99 MaFisRef("IT_BSSENAR","MT100",M->D2_BSSENAR) R S
D2_CODLPREC60Lista Pres. @! R S
D2_ITLPRE C30Item L.Pres.@! R S
D2_CBASEAFC140Imobilizado @! R S
D2_VLINCMGN142Vl.Inc.Leite@E 99,999,999,999.99 MAFISREF("IT_VLINCMG","MT100",M->D2_VLINCMG) S
D2_PRINCMGN62Pr.Inc.Leite@E 999.99 MAFISREF("IT_PRINCMG","MT100",M->D2_PRINCMG) S
D2_MARGEM N62Solid. Saida@E 999.99 Mafisref("IT_MARGEM","MT100",M->D2_MARGEM) R S
D2_PRODFINC150Prod Final @! Vazio() .or. ExistCPO("SB1") SB1 S
D2_VREINT N142V.Reintegra @E 99,999,999,999.99 'MaFisRef("IT_VREINT","MT100",M->D2_VREINT)' R S
D2_BSREIN N142B.C.Reinteg @E 99,999,999,999.99 'MaFisRef("IT_BSREIN","MT100",M->D2_BSREIN)' R S
D2_REVISAOC30Revisão R S
D2_ALMTERCC20Armz Terc. @! IsAlmTerc(M->D2_ALMTERC) S
D2_VALPIS N142Valor Pis @E 99,999,999,999.99 MaFisRef("IT_VALPIS","MT100",M->D2_VALPIS) S
D2_ALQCSL N62Aliq. CSLL @E 999.99 MaFisRef("IT_ALIQCSL","MT100",M->D2_ALQCSL) S
D2_ALQPIS N62Aliq. Pis @E 999.99 MaFisRef("IT_ALIQPIS","MT100",M->D2_ALQPIS) S
D2_ALQCOF N62Aliq. Cofins@E 999.99 MaFisRef("IT_ALIQCOF","MT100",M->D2_ALQCOF) S
D2_ITEMGARC20Item Gar Est R S
D2_ORCGAR C60Orca Gar Est@! R S
D2_SERMAN C30Série Manual!!! R S
D2_DFABRICD80Data Fabric. M->D2_DFABRIC<=DDATABASE S
D2_VALFMD N142Vlr. Famad @E 99,999,999,999.99 MaFisRef("IT_VALFMD","MT100",M->D2_VALFMD) S
D2_TOTFED N142Crg.Trb.Fed @E 99,999,999,999.99 R S
D2_MSEXP C80Ident.Exp. R S
D2_VALFMP N142Vl. FUMIPEQ @E 99,999,999,999.99 MaFisRef("IT_VALFMP","MT100",M->D2_VALFMP) S
D2_ALIQCPBN52Alíquota CPR@E 99.99 Positivo() .And. MaFisRef("IT_ALIQCPB","MT100",M->D2_ALIQCPB) S
D2_HREXPO C80Hr. Ult. Exp R S
D2_FTRICMSN85Fat.Desc.ICM@E 99.99999 MaFisRef("IT_FTRICMS","MT100",M->D2_FTRICMS) R S
D2_INDICE N164Indicador @E 99,999,999,999.9999 MaFisRef("IT_INDICE","MT100",M->D2_INDICE) R S
D2_TOTEST N142Crg.Trb.Est @E 99,999,999,999.99 R S
D2_ALQFMP N52Aliq. FUMIPE@E 99.99 MaFisRef("IT_ALQFMP","MT100",M-> D2_ALQFMP) S
D2_ALQFMD N52Aliq. Famad @E 99.99 MaFisRef("IT_ALQFMD","MT100",M->D2_ALQFMD) S
D2_TOTMUN N142Crg.Trb.Mun @E 99,999,999,999.99 R S
D2_BASEFMDN142Base Famad @E 99,999,999,999.99 MaFisRef("IT_BASEFMD","MT100",M->D2_BASEFMD) S
D2_VRDICMSN162Val.Desc.ICM@E 9,999,999,999,999.99 MaFisRef("IT_VRDICMS","MT100",M->D2_VRDICMS) R S
D2_BASEFMPN142Base FUMIPEQ@E 99,999,999,999.99 MaFisRef("IT_BASEFMP","MT100",M-> D2_BASEFMP) S
D2_VALCPB N142Valor CPRB @E 99,999,999,999.99 Positivo() .And. MaFisRef("IT_VALCPB","MT100",M->D2_VALCPB) S
D2_GRPCST C30Enq. IPI @! MaFisRef("IT_GRPCST","MT100",M->D2_GRPCST) S
D2_BASECPBN142Base CPRB @E 99,999,999,999.99 Positivo() .And. MaFisRef("IT_BASECPB","MT100",M->D2_BASECPB) S
D2_VALFASEN142Vlr.FASE-MT @E 99,999,999,999.99 MaFisRef("IT_VALFASE","MT100",M->D2_VALFASE) R S
D2_ALIQCMPN62Aliq Comp. @E 999.99 MaFisRef("IT_ALIQCMP","MT100",M->D2_ALIQCMP) R S
D2_ICMSCOMN142ICMS Comple.@E 99,999,999,999.99 MaFisRef("IT_VALCMP","MT100",M->D2_ICMSCOM) R S
D2_ALFCCMPN62FECP Comp. @E 999.99 MaFisRef("IT_ALFCCMP","MT100",M->D2_ALFCCMP) R S
D2_PDORI N62Perc. Origem@E 999.99 MaFisRef("IT_PDORI","MT100",M->D2_PDORI) R S
D2_BASEDESN142Base. Destin@E 99,999,999,999.99 MaFisRef("IT_BASEDES","MT100",M->D2_BASEDES) R S
D2_ALIIMA N52Aliq. IMA-MT@E 99.99 MaFisRef("IT_ALIIMA","MT100",M->D2_ALIIMA) R S
D2_NRECAGRC50Num Rec Agro@! R S
D2_VALFUNDN142Vlr.FUNDESA @E 99,999,999,999.99 MaFisRef("IT_VALFUND","MT100",M->D2_VALFUND) R S
D2_SDOCREMC30Série Doc. !!! R S
D2_BASIMA N142Base IMA-MT @E 99,999,999,999.99 MaFisRef("IT_BASIMA","MT100",M->D2_BASIMA) R S
D2_BASFASEN142Base FASE-MT@E 99,999,999,999.99 MaFisRef("IT_BASFASE","MT100",M->D2_BASFASE) R S
D2_PDDES N62Perc. Destin@E 999.99 MaFisRef("IT_PDDES","MT100",M->D2_PDDES) R S
D2_VFCPDIFN142Valor FECP @E 99,999,999,999.99 MaFisRef("IT_VFCPDIF","MT100",M->D2_VFCPDIF) R S
D2_ALIFUNDN52Aliq.FUNDESA@E 99.99 MaFisRef("IT_ALIFUND","MT100",M->D2_ALIFUND) R S
D2_BASFUNDN142Base FUNDESA@E 99,999,999,999.99 MaFisRef("IT_BASFUND","MT100",M->D2_BASFUND) R S
D2_DIFAL N142ICMS Difal @E 99,999,999,999.99 MaFisRef("IT_DIFAL","MT100",M->D2_DIFAL) R S
D2_VALIMA N162Vlr. IMA-MT @E 9,999,999,999,999.99 MaFisRef("IT_VALIMA","MT100",M->D2_VALIMA) R S
D2_CSOSN C30Cód Sit SN @! MaFisRef("IT_CSOSN","MT100",M->D2_CSOSN) R S
D2_SDOC C30Série Doc. !!! R S
D2_SDOCORIC30Série Orig. !!! R S
D2_ALIFASEN52Aliq.FASE-MT@E 99.99 MaFisRef("IT_ALIFASE","MT100",M->D2_ALIFASE) R S
D2_SDOCMANC30Série Manual!!! R S
D2_VALFECPN142Vlr FCP Prop@E 99,999,999,999.99 MaFisRef("IT_VALFECP","MT100",M->D2_VALFECP) R S
D2_ALQFECPN62Aliq. FECP @E 999.99 MaFisRef("IT_ALIQFECP","MT100",M->D2_ALQFECP) R S
D2_ALFCPSTN62Aliq. FCP ST@E 999.99 R S
D2_VOPDIF N162Vlr.OP.Dif @E 9,999,999,999,999.99 Positivo().And.MaFisRef("IT_VOPDIF","MT100",M->D2_VOPDIF) R S
D2_ICMSDIFN162Vlr.ICMS Dif@E 9,999,999,999,999.99 Positivo().And.MaFisRef("IT_ICMSDIF","MT100",M->D2_ICMSDIF) R S
D2_VFECPSTN142Vlr FCP ST @E 99,999,999,999.99 MaFisRef("IT_VFECPST","MT100",M->D2_VFECPST) R S
D2_VALFEEFN142Val.FEEF.RJ @E 99,999,999,999.99 Positivo() .And. MaFisRef("IT_VALFEEF","MT100",M->D2_VALFEEF) S
D2_ALQFEEFN52Aliq.FEEF.RJ@E 99.99 Positivo() .And. MaFisRef("IT_ALQFEEF","MT100",M->D2_ALQFEEF) S
D2_BASFEEFN142Bas.FEEF.RJ @E 99,999,999,999.99 Positivo() .And. MaFisRef("IT_BASFEEF","MT100",M->D2_BASFEEF) S
D2_ALIQPRON52Aliq.PROT.GO@E 99.99 Positivo().And. MaFisRef("IT_ALIQPRO","MT100",M->D1_ALIQPRO) S
D2_VALPRO N142Val.PROT.GO @E 99,999,999,999.99 Positivo().And. MaFisRef("IT_VALPRO","MT100",M->D1_VALPRO) S
D2_BASEPRON142Bas.PROT.GO @E 99,999,999,999.99 Positivo().And. MaFisRef("IT_BASEPRO","MT100",M->D1_BASEPRO) S