A565PARC
ExecBlock("A565PARC", .F., .F.)Replaces F565CMC7() in the FINA565 installment flow when MV_CMC7FIN = "S", taking over custom check processing before the grid refresh and value recalculation.
Overview
A565PARC is called inside A565Cond() after payment terms have already been calculated and aCols has been built. When MV_CMC7FIN = "S", the routine prepares the CMC7 context with OpenCMC7() and then chooses between two mutually exclusive paths: if A565PARC exists, the Entry Point runs; otherwise F565CMC7() runs. The Entry Point therefore replaces the standard check-reading and processing subroutine rather than complementing it.
Syntax
ExecBlock("A565PARC", .F., .F.)Return value
Nil. The analyzed call does not consume an Entry Point return value; its expected effect is on routine context, especially the installment/check structure that continues to ForceRefresh() and A565Valor(.F.).
Didactic CMC7 replacement skeleton
User Function A565PARC()
// This Entry Point replaces F565CMC7() when MV_CMC7FIN = "S".
// Payment terms and the initial installment structure have already been built.
// The analyzed call does not provide explicit PARAMIXB arguments.
// Implement the alternative source of check data here.
// If aCols is changed, preserve the structure expected by FINA565 because
// ForceRefresh() and A565Valor(.F.) run after this Entry Point.
ReturnThe customization takes the place of F565CMC7() and returns control to A565Cond(), which refreshes the interface and recalculates values.
- Evidence status: Conceptual documentation. This interpretation comes from the analyzed flow and has not yet been attested by the author through a practical test of the Entry Point.
- Call condition: SuperGetMv("MV_CMC7FIN") == "S" and ExistBlock("A565PARC").
- ExecBlock("A565PARC", .F., .F.) has no fourth argument, so there is no explicit PARAMIXB at this call site.
- OpenCMC7() runs before the A565PARC/F565CMC7() decision; the Entry Point replaces F565CMC7(), not the previous CMC7 context preparation.
- After the A565PARC/F565CMC7() branch, the routine calls oGet:ForceRefresh() and A565Valor(.F.).
- Do not describe A565PARC as calculating payment terms: Condicao() and the initial aCols build occur before the Entry Point.
- Do not treat it as an additional event around standard processing: when A565PARC exists, F565CMC7() is not executed in this branch.
- Do not assume context variables are identical across releases; this call provides no explicit PARAMIXB.
- If the customization changes aCols, preserve the structure expected by the FINA565 grid and subsequent recalculation.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.