01 · OVERVIEWOverview
The Financeiro P12 index associates F040FET with MATXATU/FINXFIN and complementary recording of the FETHAB receivable; its specific documentation remains under construction. (TOTVS, n.d., ref. 1) The call listing records ExecBlock("F040FET", .F., .F., nSavRec) in FINXFIN. (TOTVS, n.d., ref. 2) The generic ExecBlock mechanism exposes its fourth argument through PARAMIXB. (TOTVS, n.d., ref. 3) This evidence does not confirm the meaning of nSavRec or how the return value is used. FETHAB stands for Fundo Estadual de Transporte e Habitação; the MTFUNDOS manual, dated 2022-08-08, provides historical fiscal integration context. (TOTVS, 2022, ref. 4) This page is under review: access restrictions limited full documentation inspection and the example has not been run in Protheus.
03 · PRACTICAL EXAMPLEDiagnostic example
#Include "Protheus.ch"
User Function F040FET()
Local uContext := Nil
// The variable may reflect a scalar value; do not assume an array.
If Type("PARAMIXB") <> "U"
uContext := PARAMIXB
EndIf
// In a test environment, log only the type, without title data.
ConOut("F040FET: context type = " + ValType(uContext))
Return
Expected resultWhen the routine actually invokes the entry point, the console should show the received type without exposing the context value. If nothing appears, first check compilation, RPO, environment, and scenario. No message does not prove that the entry point was discontinued.
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.