Codeunit 7251 "Bank Acc. Rec. Trans. to Acc."
BankAccRecWithAI · Microsoft.Bank.Reconciliation
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 16 connected objects and pages
BankAccRecWithAI · Microsoft.Bank.Reconciliation · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Event subscriptions
- InsertStatementMatchingBufferOnAfterPostGenJournalLine subscribes to Codeunit “Gen. Jnl.-Post Batch” OnAfterPostGenJournalLine
Procedures
GetMostAppropriateGLAccountNos(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary): Dictionary of [Integer, Code[20]]ProcessCompletionAnswer(var CompletionAnswerTxt: Text; var Result: Dictionary of [Integer, Code[20]])InsertTextToAccountMapping(var TempBankAccRecAIPropBuf: Record "Bank Acc. Rec. AI Prop. Buf." temporary)InsertTextToAccountMapping(TextToInsert: Text[100]; GLAccountNo: Code[20])BuildMostAppropriateGLAccountPromptTask(): SecretTextBuildGLAccounts(var GLAccount: Record "G/L Account"): TextBuildBankRecStatementLines(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary): TextGenerateTransferToGLAccountProposals(var TempBankAccRecAIProposal: Record "Bank Acc. Rec. AI Proposal" temporary; var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary)PostNewPaymentsToProposedGLAccounts(var TempBankAccRecAIProposal: Record "Bank Acc. Rec. AI Proposal" temporary; var TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary; var TransToGLAccJnlBatch: Record "Trans. to G/L Acc. Jnl. Batch"): IntegerCopyStatementMatchingBuffer(var TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary)(internal)BuildBankRecCompletionPrompt(TaskPrompt: SecretText; StatementLine: Text; GLAccounts: Text): SecretTextBuildBankRecPromptUserMessage(StatementLine: Text; GLAccounts: Text): SecretTextFoundInputWithReservedWords(): BooleanGetStatementLinesWithDisallowedDatesLbl(): Text(internal)
Plus 2 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 7250 “Bank Rec. AI Matching Impl.” (7 calls:
BuildBankRecStatementLines → HasReservedWords,BuildGLAccounts → HasReservedWords,BuildMostAppropriateGLAccountPromptTask → AddCompletionPromptLine, …) - Codeunit 7770 “AOAI Operation Response” (4 calls:
GetMostAppropriateGLAccountNos → GetError,GetMostAppropriateGLAccountNos → GetResult,GetMostAppropriateGLAccountNos → GetStatusCode, …) - Codeunit 7771 “Azure OpenAI” (4 calls:
GetCompletionResponse → GenerateChatCompletion,GetMostAppropriateGLAccountNos → IsEnabled,GetMostAppropriateGLAccountNos → SetAuthorization, …) - Codeunit 7761 “AOAI Chat Completion Params” (3 calls:
GetMostAppropriateGLAccountNos → SetAOAIPolicyParams,GetMostAppropriateGLAccountNos → SetMaxTokens,GetMostAppropriateGLAccountNos → SetTemperature) - Codeunit 7763 “AOAI Chat Messages” (3 calls:
GetCompletionResponse → AddSystemMessage,GetCompletionResponse → AddUserMessage,GetCompletionResponse → AddXPIADetectionTags) - Codeunit 7787 “AOAI Policy Params” (2 calls:
GetMostAppropriateGLAccountNos → SetHarmsSeverity,GetMostAppropriateGLAccountNos → SetXPIADetection) - Codeunit 8703 “Feature Telemetry” (2 calls:
GetMostAppropriateGLAccountNos → LogUptake,GetMostAppropriateGLAccountNos → LogUsage) - Codeunit 1251 “Record Match Mgt.” (1 call:
GetMostAppropriateGLAccountNos → Trim) - Codeunit 1252 “Match Bank Rec. Lines” (1 call:
PostNewPaymentsToProposedGLAccounts → SaveOneToOneMatching) - Codeunit 13 “Gen. Jnl.-Post Batch” (1 call:
PostNewPaymentsToProposedGLAccounts → (object)) - Codeunit 308 “No. Series - Batch” (1 call:
GetDocumentNo → GetNextNo) - Codeunit 5700 “User Setup Management” (1 call:
PostNewPaymentsToProposedGLAccounts → IsPostingDateValidWithGenJnlTemplate) - Codeunit 7768 “AOAI Deployments” (1 call:
GetMostAppropriateGLAccountNos → GetGPT41Latest) - Page 1251 “Text-to-Account Mapping” (1 call:
InsertTextToAccountMapping → (object))
Called by
- Page 7252 “Trans. To GL Acc. AI Proposal” (4 calls:
GenerateTransferToGLAccountProposals → FoundInputWithReservedWords,GenerateTransferToGLAccountProposals → GenerateTransferToGLAccountProposals,PostNewPaymentsToProposedGLAccounts → PostNewPaymentsToProposedGLAccounts, …) - Page 7251 “Bank Acc. Rec. AI Proposal Sub” (1 call:
SaveToTextToAccountMapping → InsertTextToAccountMapping)
Recent changes
- 2026-08-11 #10090 [Bank Acc. Reconciliation with Copilot] Read the functional part of the prompt from .resources and safety clause from Key Vault (main, BC30, refactor)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Bank Acc. Rec. Trans. to Acc."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.