PARAMIXB / aTitDirect NDF field array; inner layout not detailed. (Refs. 1–2)
AdvPL GuideUser Function F340GERNDF()Complements fields used when adding the NDF generated by compensation.
TDN documents an array of fields to write to the NDF and shows Local aTit := PARAMIXB without [1]. The P12.2210 call also passes aTit directly and uses the result in a340GerNDF. The page names FINXATU/FA340GeraNDF, while the listing names FINA340/F340GERDIC; verify this version difference. Each field’s inner layout is undocumented here. (Refs. 1–2)
User Function F340GERNDF()PARAMIXB / aTitDirect NDF field array; inner layout not detailed. (Refs. 1–2)
Array containing all fields for NDF addition. Preserve received fields when adding custom rules.
#Include "Protheus.ch"
User Function F340GERNDF()
// Adapted from the TOTVS direct-context example (ref. 1).
Local aFields := AClone(PARAMIXB)
// Retains all fields without inventing extra field positions.
Return aFieldsTeaching proposal with behavior described in comments. Verify the context before compiling in a test environment. Under review: example not compiled or run in Protheus. Verify aliases, locks, transaction position and compatibility in the target release and patch.
// P12.2210 caller excerpt (EURAI, ref. 2); not an entry point implementation.
// FINA340.PRX - F340GERDIC() -> A340GERNDF := EXECBLOCK("F340GERNDF",.F.,.F.,ATIT)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.