Histórico da Página
...
Bloco de código | ||
---|---|---|
| ||
{ "L1_FILIAL": "D MG 01", "L1_CLIENTE": "&IIF( Empty(self:oRegistro['identificacaoCliente']), SuperGetMv('MV_CLIPAD', .F., '000001'), self:DePara('SA1', self:oRegistro['identificacaoCliente'], 2, 0) )", "L1_LOJA": "&IIF( Empty(self:oRegistro['identificacaoCliente']), SuperGetMv('MV_LOJAPAD', .F., '01'), self:DePara('SA1', self:oRegistro['identificacaoCliente'], 3, 0) )", "L1_OPERADO": "C06", "L1_EMISSAO": "&self:oRegistro['vendaData']", "L1_EMISNF": "&self:oRegistro['vendaData']", "L1_DTLIM": "&self:oRegistro['vendaData']", "L1_NUMMOV": "&SubStr(cValToChar(self:oRegistro['idCaixa']),1,2)", "L1_NUMCFIS": "&self:oRegistro['ccf']", "L1_DOC": "&self:oRegistro['ccf']", "L1_SERIE": "&cValToChar(self:oRegistro['serieNota']LayEstAuto('LG_SERIE')", "L1_SERPDV": "&cValToChar(self:oRegistro['serieNota'])", "L1_SERSAT": "&IIF(self:oRegistro['modeloFiscal'] == 1, self:oRegistro['periferico']['numeroSerie'], '')", "L1_KEYNFCE": "&self:oRegistro['chaveacesso']", "L1_COMIS": 0, "L1_VLRTOT": "&self:oXmlSefaz:getTotal({'ICMSTot', 'vProd'}) - self:oXmlSefaz:getTotal({'ICMSTot', 'vDesc'}, 0) - self:oXmlSefaz:getTotal({'DescAcrEntr', 'vDescSubtot'}, 0)", "L1_VALBRUT": "&self:oXmlSefaz:getTotal({'ICMSTot', 'vProd'}) - self:oXmlSefaz:getTotal({'ICMSTot', 'vDesc'}, 0) - self:oXmlSefaz:getTotal({'DescAcrEntr', 'vDescSubtot'}, 0)", "L1_VLRLIQ": "&self:oXmlSefaz:getTotal({'ICMSTot', 'vProd'}) - self:oXmlSefaz:getTotal({'ICMSTot', 'vDesc'}, 0) - self:oXmlSefaz:getTotal({'DescAcrEntr', 'vDescSubtot'}, 0)", "L1_VALMERC": "&self:oXmlSefaz:getTotal({'ICMSTot', 'vProd'})", "L1_DESCONT": "&IIF(self:oRegistro['vendaDescontoAcrescimos'] <> Nil .And. self:oRegistro['vendaDescontoAcrescimos'][1]['valor'] < 0 , Abs(self:oRegistro['vendaDescontoAcrescimos'][1]['valor']), 0)", "L1_DESPESA": "&IIF(self:oRegistro['vendaDescontoAcrescimos'] <> Nil .And. self:oRegistro['vendaDescontoAcrescimos'][1]['valor'] > 0 , self:oRegistro['vendaDescontoAcrescimos'][1]['valor'], 0)", "L1_ORIGEM": "N", "L1_CGCCLI": "&IIF( Empty(self:oRegistro['cpfCnpjConsumidor']), '', self:oRegistro['cpfCnpjConsumidor'] )", "L1_CONDPG": "CN", "L1_SITUA": "IP", "L1_TIPO": "V", "L1_TIPOCLI": "F", "L1_ESPECIE": "&IIF( self:oRegistro['modeloFiscal'] == 1, 'SATCE', IIF(self:oRegistro['modeloFiscal'] == 2, 'NFCE', 'ECF') )", "L1_PDV": "001&self:LayEstAuto('LG_PDV')", "SL2": [ { "L2_FILIAL": "D MG 01", "L2_PRODUTO": "&self:oXmlSefaz:getDet({'prod', 'cProd'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_ITEM": "&StrZero(self:oRegistro['vendaItems'][nItem]['sequencia'], TamSx3('L2_ITEM')[1])", "L2_DESCRI": "&self:oXmlSefaz:getDet({'prod', 'xProd'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_QUANT": "&self:oXmlSefaz:getDet({'prod', 'qCom'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_VRUNIT": "&self:oXmlSefaz:getDet({'prod', 'vUnCom'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_VLRITEM": "&self:oXmlSefaz:getDet({'prod', 'vProd'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_LOCAL": "&SuperGetMv('MV_LOCPAD', .F., '01')", "L2_UM": "&self:oXmlSefaz:getDet({'prod', 'uCom'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_VALDESC": "&self:oXmlSefaz:getDet({'prod', 'vDesc'}, self:oRegistro['vendaItems'][nItem]['sequencia'])", "L2_DESCPRO": "&self:oXmlSefaz:getDet({'prod', 'vRatDesc'}, self:oRegistro['vendaItems'][nItem]['sequencia'], 0)", "L2_TES": "&SuperGetMv('MV_TESSAI', .F., '501', 'D MG 01')", "L2_EMISSAO": "&self:oRegistro['vendaData']", "L2_VEND": "&self:GetCadAux(self:oRegistro['vendaItems'][nItem]['vendedor']['idRetaguarda'],'OPERADOR DE LOJA','VENDEDOR')", "L2_CF": "", "L2_PICM": "", "L2_BASEICM": "", "L2_VALICM": "", "L2_CSTPIS": "", "L2_CSTCOF": "" } ] } |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas