General information
Category:
Coding, syntax & commands
Olá amigos,
Estou adequando meu aplicativo de frente de loja para utilizar a DLL genérica da AFRAC, mas estou com dois probleminhas, um é a função AFRAC_FormaPagamento, toda vez que eu chamo essa função o sistema retorna o seguinte erro: "Forma de pagamento não cadastrada", e tenho certeza que a forma de pagamento informada está correta.
Meu código:
declare Integer AFRAC_FormaPagamento in ecfafrac string cDescForma, string cIndice, string cValor, string cMensagem
cDescForma = "Cheque Pre"
cIndice = "5"
cValor = "0000000000060.50"
cMensagem = "Mensagem teste!!!"
retMaster = AFRAC_FormaPagamento(cDescForma, cIndice, cValor, cMensagem)
If retMaster > 0
do Pega_Erro
endif
Meu outro problema é como pegar o número do cupom que está sendo emitido.
Se alguém puder me ajudar ficarei muito grato
Thiago
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only