Codeunit 703 "Find Record Management"
Base Application · Microsoft.Utilities
Across versions
- BC23-24present
- BC252 procedures added
- BC261 procedures added, 1 events added
- BC276 events added, 6 events removed
- BC28-30unchanged
Neighbourhood 65 connected objects and pages
Base Application · Microsoft.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “G/L Entry” = r |
Events published
OnAfterFindRecordByDescriptionAndView(var Result: Text; Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; var RecRef: RecordRef; SearchFieldRef: array[4] of FieldRef; SearchFieldNo: array[4] of Integer; SearchText: Text; var MatchCount: Integer)+ BC27 − BC27 (integration)OnAfterGetRecRefAndFieldsNoByType(RecRef: RecordRef; Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; var SearchFieldNo: array[4] of Integer)+ BC27 − BC27 (integration)- subscribers: Codeunit 8063 “Sales Documents” FindSubscriptionOnAfterGetRecRefAndFieldsNoByType
OnBeforeFindLastEntryIgnoringSecurityFilter(var RecRef: RecordRef; var Found: Boolean; var IsHandled: Boolean)(integration)OnBeforeFindNoFromTypedValue(var Type: Option; var Value: Code[20]; var FoundNo: Code[20])(integration)OnBeforeFindRecordByDescriptionAndView(var Result: Text; Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; var RecRef: RecordRef; SearchFieldRef: array[4] of FieldRef; SearchText: Text; RecordView: Text; var MatchCount: Integer; var IsHandled: Boolean)+ BC27 − BC27 (integration)OnBeforeFindRecordContainingSearchString(Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; var RecRef: RecordRef; RecFilterFromStart: Text)+ BC27 − BC27 (integration)OnBeforeFindRecordStartingWithSearchString(Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; var RecRef: RecordRef; RecFilterFromStart: Text)+ BC27 − BC27 (integration)OnBeforeGetRecRefAndFieldsNoByType(RecRef: RecordRef; Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; var SearchFieldNo: array[4] of Integer)+ BC27 − BC27 (integration)OnGetMaxRecordCountToReturnOnBeforeExit(var Result: Integer)+ BC26 (integration)OnFindRecordByDescriptionAndViewOnBeforeFindRecordWithSimilarName(RecRef: RecordRef; var SearchText: Text; var SearchFieldNo: array[4] of Integer; var IsHandled: Boolean)(integration)
Procedures
FindLastEntryIgnoringSecurityFilter(var RecRef: RecordRef): BooleanGetIntFieldValue(RecRef: RecordRef; FieldNo: Integer): IntegerGetIntFieldValues(RecRef: RecordRef; var IntFields: list of [Integer])GetLastEntryIntFieldValue(SourceRec: Variant; FieldNo: Integer): IntegerGetLastEntryIntFieldValues(SourceRec: Variant; var FieldNoValues: List of [Integer])FindNoFromTypedValue(Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; Value: Code[20]; UseDefaultTableRelationFilters: Boolean): Code[20]+ BC27 − BC27FindNoByDescription(Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; Description: Text; UseDefaultTableRelationFilters: Boolean): Code[20]+ BC27 − BC27FindRecordByDescription(var Result: Text; Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; SearchText: Text): Integer+ BC27 − BC27FindRecordByDescriptionAndView(var Result: Text; Type: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)",,,,,"Allocation Account"; SearchText: Text; RecordView: Text): Integer+ BC27 − BC27GetMaxRecordCountToReturn(): Integer+ BC26 (internal)FindRecordWithSimilarName(RecRef: RecordRef; SearchText: Text; DescriptionFieldNo: Integer): Boolean
Plus 7 local procedures.
Triggers
OnRun
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 10 “Type Helper” (1 call:
FindRecordWithSimilarName → TextDistance) - Codeunit 46 “SelectionFilterManagement” (1 call:
UpdateResultFilter → AddQuotes)
Called by
- Table 17 “G/L Entry” (2 calls:
GetLastEntry → GetLastEntryIntFieldValues,GetLastEntryNo → GetLastEntryIntFieldValue) - Table 27 “Item” (2 calls:
PickItem → GetMaxRecordCountToReturn,TryGetItemNoOpenCardWithView → FindRecordByDescriptionAndView) - Table 5617 “FA Register” (2 calls:
GetLastEntryNo → GetLastEntryIntFieldValue,GetLastGLRegisterNo → GetLastEntryIntFieldValue) - Table 1003 “Job Planning Line” (1 call:
FindOrCreateRecordByNo → FindNoFromTypedValue) - Table 1004 “Job WIP Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 1005 “Job WIP G/L Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 1104 “Cost Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 1109 “Cost Budget Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 1514 “Sent Notification Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 169 “Job Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 1706 “Deferral Posting Buffer” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 180 “G/L Account Where-Used” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 203 “Res. Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 21 “Cust. Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 240 “Resource Register” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 241 “Job Register” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 25 “Vendor Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 254 “VAT Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 281 “Phys. Inventory Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 300 “Reminder/Fin. Charge Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 32 “Item Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 336 “Tracking Specification” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 337 “Reservation Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 338 “Entry Summary” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 339 “Item Application Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 343 “Item Application Entry History” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 37 “Sales Line” (1 call:
FindOrCreateRecordByNo → FindNoFromTypedValue) - Table 379 “Detailed Cust. Ledg. Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 380 “Detailed Vendor Ledg. Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 39 “Purchase Line” (1 call:
FindOrCreateRecordByNo → FindNoFromTypedValue) - Table 45 “G/L Register” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 454 “Approval Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 455 “Approval Comment Line” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 457 “Posted Approval Comment Line” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 46 “Item Register” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5093 “Opportunity Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5223 “Detailed Employee Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5601 “FA Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5625 “Maintenance Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5629 “Ins. Coverage Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5636 “Insurance Register” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5637 “FA G/L Posting Buffer” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5802 “Value Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5832 “Capacity Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5907 “Service Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5908 “Warranty Ledger Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5914 “Loaner Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5934 “Service Register” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 5970 “Filed Service Contract Header” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Table 6227 “Sustainability Value Entry” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - and 12 more: data/code/graph/29/calls.json
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: "Find Record Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.