
/*------ ATD 288537 ------*/
DELETE FORCFNFFAT WHERE CODIMP = 27913
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4RdData(@gcDtItauTec, @gcHoraItauTec, @gnVeraoItauTec, @gcMovItauTec, @gnRedItauTec)'')', 'dDataFiscal', 1, 16, 1)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(3, @gcValRedZ)'')', 'cSequencialECF', 1, 6, 2)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(1, @gcRetValAtu)'')', 'nTotGeral', 1, 16, 4)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValRed(4, @gcValRedZ)'')', 'nTotReducoesZ', 1, 6, 5)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValRed(1, @gcValRedZ)'')', 'nTotBruto', 1, 16, 6)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(7, @gcRetValAtu)'')', 'nTotCancelados', 1, 16, 7)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(8, @gcRetValAtu)'')', 'nTotDescontos', 1, 16, 8)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(12, @gcRetValAtu)'')', 'nTotIsento', 1, 16, 11)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(13, @gcRetValAtu)'')', 'nTotNaoTribu', 1, 16, 12)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(11, @gcRetValAtu)'')', 'nTotSubsTribu', 1, 16, 13)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(20, @gcRetValAtu)'')', 'nTributacao1', 1, 16, 14)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(21, @gcRetValAtu)'')', 'nTributacao2', 1, 16, 15)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(22, @gcRetValAtu)'')', 'nTributacao3', 1, 16, 16)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValRed(0, @gcValRedZ)'')', 'cContReinicio', 1, 16, 16)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(23, @gcRetValAtu)'')', 'nTributacao4', 1, 16, 17)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(24, @gcRetValAtu)'')', 'nTributacao5', 1, 16, 18)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(25, @gcRetValAtu)'')', 'nTributacao6', 1, 16, 25)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(26, @gcRetValAtu)'')', 'nTributacao7', 1, 16, 26)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(27, @gcRetValAtu)'')', 'nTributacao8', 1, 16, 27)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(28, @gcRetValAtu)'')', 'nTributacao9', 1, 16, 28)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '010', 'ImpCmd(''lnBuffer =K4_E4ValAtu(29, @gcRetValAtu)'')', 'nTributacao10', 1, 16, 29)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(20, @gcVerRP, @gcSinal)'')', 'nTaxaTrib1', 1, 16, 19)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(21, @gcVerRP, @gcSinal)'')', 'nTaxaTrib2', 1, 16, 21)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(22, @gcVerRP, @gcSinal)'')', 'nTaxaTrib3', 1, 16, 22)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(23, @gcVerRP, @gcSinal)'')', 'nTaxaTrib4', 1, 16, 23)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(24, @gcVerRP, @gcSinal)'')', 'nTaxaTrib5', 1, 16, 24)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(25, @gcVerRP, @gcSinal)'')', 'nTaxaTrib6', 1, 16, 30)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(26, @gcVerRP, @gcSinal)'')', 'nTaxaTrib7', 1, 16, 31)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(27, @gcVerRP, @gcSinal)'')', 'nTaxaTrib8', 1, 16, 32)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(28, @gcVerRP, @gcSinal)'')', 'nTaxaTrib9', 1, 16, 33)
INSERT INTO FORCFNFFAT (Codimp, Codigo, Comando, Variavel, Posicao, Tamanho, Ordem) VALUES (27913, '020', 'ImpCmd(''lnBuffer =K4_E4VerRP(29, @gcVerRP, @gcSinal)'')', 'nTaxaTrib10', 1, 16, 34)