Manual Técnico de Farmácia
Introdução
Manual técnico voltado à configuração do ambiente de farmácia, tais como funções PBMs e venda de itens.
FUNÇÕES PBM
O que é PBM?
PBM é a sigla para “Pharmacy Benefit Management” (Gestão de Programas de Benefícios em Medicamentos).
Com PBM a empresa contratante compra medicamentos com preços diferenciados, logo reduzindo custos.
Como funciona a PBM?
O cliente faz um cadastro no convênio e recebe um cartão. Quando receitado algum medicamento vai à Drogaria com a receita e com o cartão do convênio, o mesmo é dirigido ao balcão onde tem um Software da empresa convênio (E-pharma, VidaLink, PrevSaude, etc). São informados os dados do conveniado e os medicamentos que serão adquiridos e em seguida é gerado um número de autorização.
Logo após basta se dirigir ao PDV e realizar a compra. A compra é via Sitef na grande maioria das PBMs.
Dependendo da PBM o cadastro pode ser feito diretamente por pessoa física, e em outras apenas Empresas podem se conveniar.
Quais PBMs estão homologadas no Emporium?
- E-pharma, VidaLink, PharmaLink, PrevSaude, FuncionalCard, FarmaSeg, FuncionalCard, TrnCentre e Farmácia Popular.
Particularidades do Emporium com PBMs.
- O descontos/diferenças de valores aplicados nas PBMs, em nosso sistema é aplicado em uma determinada finalizadora.
- Ao realizar uma transação, devemos ter os meios de pagamentos de subsídios cadastrados para cada PBM, a fim de separarmos os valores aplicados por entidade. Os meios de pagamentos são vinculados à função de execução de cada PBM nas OPTIONS ou nas features executadas a partir de SHELL_COMMAND.
- As PBMs FarmaSeg e PharmaLink não são via Sitef, são transacionadas via WebServices.
Programas necessários
- ftepharma, ftpharmalink, ftvidalink, funcionalcard.
Obs: A integração com a PBM PrevSaúde ainda está diretamente no venditor, porém será criada uma feature pelo desenvolvimento.
Parametrizações Funções PBM
Recuperar pré autorização E-pharma:
<CMD> <ID read_only='yes'>480</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Recuperacao de Pre autorizacao</REFERENCE_TEXT> <ALLOWED_STATES width='40'>[0,0]</ALLOWED_STATES> <TEXT width='40'>Venda E-Pharma</TEXT> <PROMPT width='30'></PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <QUESTION> <ID read_only='yes'>96</ID> <REFERENCE_TEXT read_only='yes'>Tipo de Operacao</REFERENCE_TEXT> <PROMPT width='30'>0-Normal 1-Funcionario 2-Farmacia Popular</PROMPT> <LABEL width='30'>0-Normal 1-Func 2-Farm Pop</LABEL> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <SHELL_COMMAND_TEXT width='60'></SHELL_COMMAND_TEXT> <ANSWER_OPTION_LIST horizontal_list='yes' allow_insert='yes'> <ANSWER_OPTION allow_delete='yes'> <VALUE width='30'>1</VALUE> <TEXT width='30'>Normal</TEXT> </ANSWER_OPTION> <ANSWER_OPTION allow_delete='yes'> <VALUE width='30'>2</VALUE> <TEXT width='30'>Funcionario</TEXT> </ANSWER_OPTION> <ANSWER_OPTION allow_delete='yes'> <VALUE width='30'>3</VALUE> <TEXT width='30'>Farmacia Popular</TEXT> </ANSWER_OPTION> </ANSWER_OPTION_LIST> </QUESTION> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>1</ID> <SHELL_COMMAND_USE read_only='yes'>Inicio</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT text_box='yes' lines='3' width='50'>./ftepharma --command=consulta --trace=/var/log/epharma.log --debug-level={DEBUG_LEVEL} --sitef-ip=192.168.0.198 --terminal={SITEF_TERMINAL} --company={SITEF_COMPANY} --operador={CASHIER_ID} --ticket={TICKET} --media=8 </SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --media = Finalizadora no qual será acumulada a diferença (Desconto).
- --sitef-ip= IP do Sitef.
Cancelamento de pré autorização E-pharma:
<CMD> <ID read_only='yes'>481</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Cancelamento de Pre autorizacao E-Pharma</REFERENCE_TEXT> <ALLOWED_STATES width='40'>[0,0]</ALLOWED_STATES> <TEXT width='40'>Cancelamento E-Pharma</TEXT> <PROMPT width='30'></PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <QUESTION> <ID read_only='yes'>96</ID> <REFERENCE_TEXT read_only='yes'>Tipo de Operacao</REFERENCE_TEXT> <PROMPT width='30'>0-Normal 1-Funcionario 2-Farmacia Popular</PROMPT> <LABEL width='30'>0-Normal 1-Func 2-Farm Pop</LABEL> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <SHELL_COMMAND_TEXT width='60'></SHELL_COMMAND_TEXT> <ANSWER_OPTION_LIST horizontal_list='yes' allow_insert='yes'> <ANSWER_OPTION allow_delete='yes'> <VALUE width='30'>1</VALUE> <TEXT width='30'>Normal</TEXT> </ANSWER_OPTION> <ANSWER_OPTION allow_delete='yes'> <VALUE width='30'>2</VALUE> <TEXT width='30'>Funcionario</TEXT> </ANSWER_OPTION> <ANSWER_OPTION allow_delete='yes'> <VALUE width='30'>3</VALUE> <TEXT width='30'>Farmacia Popular</TEXT> </ANSWER_OPTION> </ANSWER_OPTION_LIST> </QUESTION> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>1</ID> <SHELL_COMMAND_USE read_only='yes'>Inicio</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT text_box='yes' lines='3' width='50'>./ftepharma --command=cancelamento --trace=/var/log/epharma.log --debug-level={DEBUG_LEVEL} --sitef-ip=192.168.0.198 --terminal={SITEF_TERMINAL} --company={SITEF_COMPANY} --operador={CASHIER_ID} --ticket={TICKET} </SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --media = Finalizadora no qual será acumulada a diferença (Desconto).
- --sitef-ip= IP do Sitef.
- --command = Comando a ser executado no programa (cancelamento).
Recuperar pré autorização PharmaLink:
<CMD> <ID read_only='yes'>450</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Recuperação Pharmalink</REFERENCE_TEXT> <ALLOWED_STATES width='40'></ALLOWED_STATES> <TEXT width='40'>Pharmalink/Systemfarma</TEXT> <PROMPT width='30'>Pedido?</PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <QUESTION> <ID options='QUESTION_OPTIONS'>4</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>5</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>6</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>31</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'>16</ANSWER> </QUESTION> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>2</ID> <SHELL_COMMAND_USE read_only='yes'>Comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./ftpharmalink --media=26 --command=fech --trace=ftpharmalink.log --debug-level={DEBUG_LEVEL} --ip=www.conectapdv.com.br –port=80 --pos={POS} --ticket={CUPOM}</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --media = Código da finalizadora a ser acumulado a diferença de valor (desconto).
- --ip = Endereço do WebService da PharmaLink
- --port = Porta do WebService da PharmaLink
Cancelar pré autorização PharmaLink:
<CMD> <ID read_only='yes'>451</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Cancelamento Pharmalink</REFERENCE_TEXT> <ALLOWED_STATES width='40'></ALLOWED_STATES> <TEXT width='40'>Cancelamento Pharmalink/Systemfarma</TEXT> <PROMPT width='30'>Pedido?</PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <QUESTION> <ID options='QUESTION_OPTIONS'>4</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>5</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>6</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>31</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'>16</ANSWER> </QUESTION> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>2</ID> <SHELL_COMMAND_USE read_only='yes'>Comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./ftpharmalink --command=cancelamento --trace=ftpharmalink.log --debug-level={DEBUG_LEVEL} --ip=www.conectapdv.com.br –port=80 --pos={POS} --ticket={CUPOM}</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --ip = Endereço do WebService da PharmaLink
- --port = Porta do WebService da PharmaLink
- --command = Comando que será executado pelo programa (Cancelamento)
Recuperar pré autorização VidaLink:
<CMD> <ID read_only='yes'>411</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Recall- Pre autorizacao Vidalink</REFERENCE_TEXT> <ALLOWED_STATES width='40'></ALLOWED_STATES> <TEXT width='40'>Pedido</TEXT> <PROMPT width='30'>Pedido</PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>0</ID> <SHELL_COMMAND_USE read_only='yes'>Comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./ftvidalink –command=consulta --store={STORE} --media=22 –sitef-ip=10.0.0.198 --terminal={SITEF_TERMINAL} –trace=/var/log/ftvidalink.log --debug-level={DEBUG_LEVEL} –company={SITEF_COMPANY} --operador={CASHIER_ID} –ticket={TICKET}</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --media = Finalizadora no qual será acumulada a diferença (Desconto).
- --sitef-ip= IP do Sitef.
Cancelamento de venda VidaLink:
<CMD> <ID read_only='yes'>410</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Cancelamento da VidaLink</REFERENCE_TEXT> <ALLOWED_STATES width='40'>[0,0]</ALLOWED_STATES> <TEXT width='40'>Pedido</TEXT> <PROMPT width='30'>Pedido</PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>0</ID> <SHELL_COMMAND_USE read_only='yes'>Comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./ftvidalink –-command=cancelamento --store={STORE} –sitef-ip={SITEF_IP} --terminal={SITEF_TERMINAL} --trace=../log/ftvidalink.log –debug-level={DEBUG_LEVEL} --company={SITEF_COMPANY} –operador={CASHIER_ID} –ticket={TICKET}</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --command = Comando que será executado pelo programa (Cancelamento)
Recuperar / Cancelar Pré autorização PrevSaúde
<CMD> <D read_only='yes'>223</ID> <AUTHORIZATIONS width='3'>1</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>190</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Recuperacao de Preautorizacao</REFERENCE_TEXT> <ALLOWED_STATES width='40'>[0,0]</ALLOWED_STATES> <TEXT width='40'>Venda PrevSaude</TEXT> <PROMPT width='30'></PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>0</ID> <VALUE>21</VALUE> <TEXT read_only='yes'>Finalizadora de Subsidio</TEXT> </OPTION> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <QUESTION> <ID options='QUESTION_OPTIONS'>179</ID> <OPTIONAL options='YES_NO_OPTIONS'>1</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>1</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'>8</ANSWER>8_venda OU 9_cancelamento <ANSWER_SHELL_COMMAND width='60'></ANSWER_SHELL_COMMAND> </QUESTION> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </SHELL_COMMAND_LIST> </CMD>
Recuperar Pré autorização FuncionalCard
<CMD> <ID read_only='yes'>460</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Pre autorizacao Funcional Card</REFERENCE_TEXT> <ALLOWED_STATES width='40'></ALLOWED_STATES> <TEXT width='40'>Pedido</TEXT> <PROMPT width='30'>Pedido</PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>0</ID> <SHELL_COMMAND_USE read_only='yes'>Comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./funcionalcard --command=consulta --debug-level={DEBUG_LEVEL} --media=17 --sitef-ip={SITEF_IP} --terminal={SITEF_TERMINAL} --trace=/var/log/funcionalcard.log --company={SITEF_COMPANY} --operador={CASHIER_ID} –ticket={TICKET}</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
Cancelar Pré autorização FuncionalCard
<CMD> <ID read_only='yes'>461</ID> <AUTHORIZATIONS width='3'>0</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>0</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Cancelar Pre autorizacao Funcional Card</REFERENCE_TEXT> <ALLOWED_STATES width='40'></ALLOWED_STATES> <TEXT width='40'>Pedido</TEXT> <PROMPT width='30'>Pedido</PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>0</ID> <SHELL_COMMAND_USE read_only='yes'>Comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./funcionalcard --command=cancelamento --debug-level={DEBUG_LEVEL} --media=17 --sitef-ip={SITEF_IP} --terminal={SITEF_TERMINAL} --trace=/var/log/funcionalcard.log --company={SITEF_COMPANY} --operador={CASHIER_ID} –ticket={TICKET}</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --command = Comando que será executado pelo programa (Cancelamento)
Recuperar Pré autorização FarmaSeg
<CMD> <ID read_only='yes'>351</ID> <AUTHORIZATIONS width='3'>1</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>121</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Recall</REFERENCE_TEXT> <ALLOWED_STATES width='40'>[0,0]</ALLOWED_STATES> <TEXT width='40'>Recuperacao Farmaseg</TEXT> <PROMPT width='30'></PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>0</ID> <VALUE options='YES_NO_OPTIONS'>0</VALUE> <TEXT read_only='yes'>Restaurar vendedor</TEXT> </OPTION> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>1</ID> <VALUE options='YES_NO_OPTIONS'>0</VALUE> <TEXT read_only='yes'>Associar itens sem vendedor</TEXT> </OPTION> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>2</ID> <VALUE options='YES_NO_OPTIONS'>0</VALUE> <TEXT read_only='yes'>Manter itens repetidos</TEXT> </OPTION> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>5</ID> <VALUE options='YES_NO_OPTIONS'>0</VALUE> <TEXT read_only='yes'>Fonte Externa</TEXT> </OPTION> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>6</ID> <VALUE options='RECALL_KEY_OPTIONS'>0</VALUE> <TEXT read_only='yes'>Tipo de Transacao Default</TEXT> </OPTION> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>7</ID> <VALUE width='4'>0</VALUE> <TEXT read_only='yes'>Comando de Venda de Item</TEXT> </OPTION> <OPTION hide_label='yes'> <ID read_only='yes' hidden='yes'>8</ID> <VALUE options='YES_NO_OPTIONS'>0</VALUE> <TEXT read_only='yes'>Apenas Transações Canceladas</TEXT> </OPTION> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <QUESTION> <ID options='QUESTION_OPTIONS'>4</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'>0001</ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>5</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'>200</ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>6</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'></ANSWER> </QUESTION> <QUESTION> <ID options='QUESTION_OPTIONS'>31</ID> <OPTIONAL options='YES_NO_OPTIONS'>0</OPTIONAL> <VALID options='YES_NO_OPTIONS'>1</VALID> <VALIDATION options='QUESTION_VALIDATION_OPTIONS'>0</VALIDATION> <DISPLAY options='YES_NO_OPTIONS'>1</DISPLAY> <ALLOW_REPEAT options='YES_NO_OPTIONS'>0</ALLOW_REPEAT> <ANSWER width='10'>16</ANSWER> </QUESTION> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>2</ID> <SHELL_COMMAND_USE read_only='yes'>comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./farmaseg --command=xvenda --nsu={RESPOSTA[6]} --rede=002 --estabelecimento={LOJA} --store={LOJA} --pos={POS} --ticket={TICKET} --ip=service.farmaseg.com.br --port=8080 --debug-level=777707777 --trace=/var/log/ft085.log --media=23</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --ip = Endereço do WebService da FarmaSeg
- --port = Porta do WebService da FarmaSeg
- --command = Comando que será executado pelo programa
Cancelamento Pré autorização FarmaSeg
<CMD> <ID read_only='yes'>352</ID> <AUTHORIZATIONS width='3'>1</AUTHORIZATIONS> <TYPE options='CMD_TYPE_OPTIONS'>3</TYPE> <COMMAND width='4'>121</COMMAND> <LAYOUT width='4'>0</LAYOUT> <REFERENCE_TEXT read_only='yes'>Recall</REFERENCE_TEXT> <ALLOWED_STATES width='40'>[0,0]</ALLOWED_STATES> <TEXT width='40'>Recuperacao Farmaseg</TEXT> <PROMPT width='30'></PROMPT> <PROMPT_QUESTION width='4'>0</PROMPT_QUESTION> <OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </OPTION_LIST> <QUESTION_OPTION_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> </QUESTION_OPTION_LIST> <SHELL_COMMAND_LIST horizontal_list='yes' allow_insert='yes' hide_label='yes'> <SHELL_COMMAND> <ID read_only='yes'>2</ID> <SHELL_COMMAND_USE read_only='yes'>comando</SHELL_COMMAND_USE> <SHELL_COMMAND_TEXT width='60'>./farmaseg --command=cancelamento --nsu={RESPOSTA[6]} --rede=002 --estabelecimento={LOJA} --store={LOJA} --pos={POS} --ticket={TICKET} --ip=service.farmaseg.com.br --port=8080 --debug-level=777707777 --trace=/var/log/ft085.log --media=23</SHELL_COMMAND_TEXT> </SHELL_COMMAND> </SHELL_COMMAND_LIST> </CMD>
- --ip = Endereço do WebService da FarmaSeg
- --port = Porta do WebService da FarmaSeg
- --command = Comando que será executado pelo programa (cancelamento).