Entry point contextThe available excerpt does not document the complete contract. Observed names and arguments are preserved in the caller example.
AdvPL GuideUser Function F340CMP()Calculates the NDF or PA amount considered in payable compensation.
TDN describes a numeric calculation in Fa340Tit while building the title table. The P12.2210 listing assigns the result to nSldTit in FA340TIT and shows another call without assignment in FA340GRV. These excerpts do not establish one formula or starting balance. (Refs. 1–2)
User Function F340CMP()Entry point contextThe available excerpt does not document the complete contract. Observed names and arguments are preserved in the caller example.
Numeric: amount of the NDF or PA title to compensate. The formula depends on a verified environment-specific rule.
// P12.2210 caller excerpt (EURAI, ref. 2); not an entry point implementation.
// FINA340.PRX - FA340GRV() -> EXECBLOCK('F340CMP',.F.,.F.)
// FINA340.PRX - FA340TIT() -> NSLDTIT := EXECBLOCK("F340CMP",.F.,.F.)The record shows arguments and immediate return use where present. It omits the full caller body and does not establish commit timing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.