Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

M460MARK

User Function M460MARK()

Historical SIGAFAT entry point associated with Geração de Nota Fiscal (MATA460A).

Entry pointsSIGAFATProtheus 7.10Under review
01 · OVERVIEW

Overview

Record extracted from the Advanced Protheus 7.10 entry-point catalog dated January 20, 2003. The original Portuguese execution note is: “Após a seleção dos itens a serem faturados e antes da geração da nota fiscal.” This page is under review; confirm it against the current TDN and the source of the release in use before implementation.

02 · SYNTAX

Syntax

User Function M460MARK()

Parameters

Módulo
Referência históricaOptional

SIGAFAT

Programa/rotina
Referência históricaOptional

Geração de Nota Fiscal (MATA460A)

PARAMIXB / parâmetros
Contrato históricoOptional

Original Portuguese record: Através da Variável PARAMIXB pode-se verificar se o item está marcado ou não. PARAMIXB[1] contém o caracter que corresponde ao "X" e PARAMIXB[2] indica se a operação deve ser para os iguais ou invertidos. Observação: Permite validar os Pedidos Marcados.

Return value

Original Portuguese record: .T. ou .F., sendo que .F. não permite gerar nota fiscal para os itens selecionados.

03 · PRACTICAL EXAMPLE

Initial review structure

#Include "TOTVS.ch"

User Function M460MARK()
    // Confirm PARAMIXB and return type for your release.
Return
Expected result

Intentionally minimal structure. Complete it only after validating the current contract.

BEST PRACTICES
  • Original execution note: Após a seleção dos itens a serem faturados e antes da geração da nota fiscal.
  • Original observation: Sem observações adicionais no registro histórico.
  • Confirm availability, parameters and return type in the supported release.
  • Test in a controlled environment and preserve work areas and transactions.
COMMON PITFALLS
  • This material is based on Protheus 7.10; the entry point may have changed or been removed.
  • Missing parameters in the old document do not prove that the current point receives no PARAMIXB.
  • An incorrect return type may change or stop standard processing.

Related content

REFERENCES
  1. Entry Points — AP 7 7.10. Database dated January 20, 2003. M460MARK record in Geração de Nota Fiscal (MATA460A). Supplied project document.
  2. TOTVS TDN portal — confirm the identifier for the release currently in use.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR