Jump to content
Fivewin Brasil

Unidade de medida bematech


Luiz Fernando

Recommended Posts

Colegas como faço para enviar a unidade de medida para impressora fiscal bematech, uso o exemplo do livro do Vilian, mais na declaração da DLL não tenho esta opção

//Vende ítem
DLL32 FUNCTION BmVendItem( Codigo      AS STRING,;
Descricao   AS STRING,;
Aliquota    AS STRING,;
TpQte       AS STRING,;
Quantid     AS STRING,;
Decimal     AS 7     ,;
ValUnit     AS STRING,;
TpDesc      AS STRING,;
ValDesc     AS STRING    ) AS LONG PASCAL ;
FROM "Bematech_FI_VendeItem"    LIB xDll

Obrigado

Luiz Fernando

Link to comment
Share on other sites

Na verdade esta ai que vc esta usando não envia unidade de medida

Vc ou teria q. trocar esta sua por esta abaixo

//11 Vende ítem DEPARTAMENTO
DLL32 FUNCTION BmVendItemDepto(,;

Codigo AS STRING,;

Descricao AS STRING,;

Aliquota AS STRING,;

ValorUnitario AS STRING,;

Quantidade AS STRING,;

Acrescimo AS STRING,;

Desconto AS STRING,;

IndiceDepartamento AS STRING,;

UnidadeMedida AS STRING ) AS LONG PASCAL FROM "Bematech_FI_VendeItemDepartamento" LIB hDllFiscal

Nesta aqui vc inclusive consegue enviar mais caracteres na descrição do item

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...