codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 408 "DimensionManagement"

Base Application · Microsoft.Finance.Dimension

Across versions

  1. BC23present
  2. BC2410 procedures added, 3 events added
  3. BC251 procedures changed, 1 events added
  4. BC261 events added
  5. BC273 procedures added, 3 procedures removed
  6. BC281 procedures changed, 1 procedures removed
  7. BC29-30unchanged

Neighbourhood 433 connected objects and pages

Codeunit 5955 "Serv. Dimension Management" (event subscribers, 2 links)Codeunit 427 "ICInboxOutboxMgt" (calls, 33 links)ICInboxOutboxMgtCodeunit 481 "Check Dimensions" (calls, 26 links)Check DimensionsTable 210 "Job Journal Line" (calls, 14 links)Job Journal LineTable 39 "Purchase Line" (calls, 14 links)Purchase LineTable 83 "Item Journal Line" (calls, 13 links)Table 246 "Requisition Line" (calls, 12 links)Requisition LineTable 901 "Assembly Line" (calls, 12 links)Assembly LineTable 37 "Sales Line" (calls, 11 links)Sales LineTable 5902 "Service Line" (calls, 11 links)Service LineCodeunit 12 "Gen. Jnl.-Post Line" (calls, 10 links)Table 167 "Job" (calls, 10 links)JobTable 352 "Default Dimension" (calls, 10 links)Codeunit 28 "Error Message Management" (calls, 9 links)Error Message ManagementReport 402 "Purchase Document - Test" (calls, 9 links)Purchase Document - TestTable 5406 "Prod. Order Line" (calls, 9 links)Prod. Order LineCodeunit 699 "Exch. Rate Adjmt. Process" (calls, 8 links)Table 207 "Res. Journal Line" (calls, 8 links)Res. Journal LineTable 274 "Bank Acc. Reconciliation Line" (calls, 8 links)Table 36 "Sales Header" (calls, 8 links)Sales HeaderTable 38 "Purchase Header" (calls, 8 links)Table 5741 "Transfer Line" (calls, 8 links)Table 5851 "Invt. Document Line" (calls, 8 links)Table 5876 "Phys. Invt. Order Line" (calls, 8 links)Table 5901 "Service Item Line" (calls, 8 links)Table 751 "Standard General Journal Line" (calls, 8 links)Table 81 "Gen. Journal Line" (calls, 8 links)Report 202 "Sales Document - Test" (calls, 7 links)Table 221 "Gen. Jnl. Allocation" (calls, 7 links)Table 5407 "Prod. Order Component" (calls, 7 links)Table 5621 "FA Journal Line" (calls, 7 links)Table 5635 "Insurance Journal Line" (calls, 7 links)Table 5740 "Transfer Header" (calls, 7 links)Table 5875 "Phys. Invt. Order Header" (calls, 7 links)Table 5900 "Service Header" (calls, 7 links)Table 5997 "Standard Service Line" (calls, 7 links)Table 6906 "Expense Report Header" (calls, 7 links)Table 6907 "Expense Report Line" (calls, 7 links)Table 7134 "Item Budget Entry" (calls, 7 links)Table 753 "Standard Item Journal Line" (calls, 7 links)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Finance.Dimension · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Gen. Journal Template” = rimd, TableData “Gen. Journal Batch” = rimd, tabledata “Default Dimension” = R, tabledata “Dimension Set Entry” = R

Events published

  • OnAfterCheckDimValuePosting(TableID: array[10] of Integer; No: array[10] of Code[20]; var TempDefaultDim: Record "Default Dimension" temporary) (integration)
  • OnAfterCheckDimValue(DimCode: Code[20]; DimValCode: Code[20]; var Result: Boolean) (integration)
  • OnAfterConvertDimtoICDim(FromDim: Code[20]; var ICDimCode: Code[20]) (integration)
  • OnAfterConvertDimValuetoICDimVal(FromDimCode: Code[20]; FromDimValue: Code[20]; var ICDimValueCode: Code[20]) (integration)
  • OnAfterConvertICDimtoDim(FromICDimCode: Code[20]; var DimCode: Code[20]) (integration)
  • OnAfterConvertICDimValuetoDimValue(FromICDimCode: Code[20]; FromICDimValue: Code[20]; var DimValueCode: Code[20]) (integration)
  • OnAfterCreateDimForJobJournalLineWithHigherPrioritiesProcedure(JobJournalLine: Record "Job Journal Line"; CurrFieldNo: Integer; var DimensionSetID: Integer; var DimValue1: Code[20]; var DimValue2: Code[20]; SourceCode: Code[10]; PriorityTableID: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var HighPriorityDefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) (integration)
  • OnAfterEditDimensionSet2(var DimSetID: Integer; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]) (integration)
  • OnAfterDeleteDefaultDim(TableID: Integer; No: Code[20]) (integration)
  • OnAfterSetupObjectNoList(var TempAllObjWithCaption: Record AllObjWithCaption temporary) (integration)
  • OnAfterDefaultDimObjectNoWithoutGlobalDimsList(var TempAllObjWithCaption: Record AllObjWithCaption temporary) (integration)
  • OnAfterIsDefaultDimTable(TableID: Integer; var Result: Boolean) (integration)
  • OnAfterSetSourceCodeWithVar(TableID: Integer; RecordVar: Variant; var SourceCode: Code[10]) (integration)
  • OnAfterUpdateGenJnlLineDim(var GenJournalLine: Record "Gen. Journal Line"; DimSetID: Integer) (integration)
  • OnAfterUpdateDefaultDim(TableID: Integer; No: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]) (integration)
  • OnAfterUpdateJobTaskDim(DefaultDimension: Record "Default Dimension") (integration)
  • OnAfterValidateDimValueCode(FieldNumber: Integer; var ShortcutDimCode: Code[20]; var GLSetupShortcutDimCode: array[8] of Code[20]; DimensionValue: Record "Dimension Value") (integration)
  • OnAfterValidateShortcutDimValues(FieldNumber: Integer; var ShortcutDimCode: Code[20]; var DimSetID: Integer) (integration)
  • OnAddDefaultDimensionAllowedDimensionValueOnAfterSetFilters(var DefaultDimension: Record "Default Dimension") (integration)
  • OnBeforeAddDefaultDimensionAllowedDimensionValue(DimensionValue: Record "Dimension Value"; var IsHandled: Boolean) (integration)
  • OnBeforeCheckDim(DimCode: Code[20]; var Result: Boolean; var IsHandled: Boolean; var Dimension: Record Dimension) (integration)
  • OnBeforeCheckDimComb(var DimensionCombination: Record "Dimension Combination"; var TempDimensionBuffer: Record "Dimension Buffer" temporary) (integration)
  • OnBeforeCheckDimValueComb(var DimensionValueCombination: Record "Dimension Value Combination") (integration)
  • OnBeforeCheckDimValue(DimCode: Code[20]; DimValCode: Code[20]; var Result: Boolean; var IsHandled: Boolean; var DimVal: Record "Dimension Value") (integration)
  • OnBeforeCheckDimValueAllowed(var DimensionValue: Record "Dimension Value"; var IsHandled: Boolean; var Result: Boolean) (integration)
  • OnBeforeCheckDimValuePosting(TableID: array[10] of Integer; No: array[10] of Code[20]; DimSetID: Integer; var IsChecked: Boolean; var IsHandled: Boolean; var DimensionSetEntry: Record "Dimension Set Entry") (integration)
  • OnBeforeCheckICDim(ICDimCode: Code[20]; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeGetDimensionSetIDProcedure(var DimensionSetEntry: Record "Dimension Set Entry") (integration)
  • OnBeforeCheckICDimValue(ICDimCode: Code[20]; ICDimValCode: Code[20]; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeCheckValuePosting(TableID: array[10] of Integer; No: array[10] of Code[20]; var TempDimBuf: Record "Dimension Buffer" temporary; var IsChecked: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeConvertDimValuetoICDimVal(var DimValue: Record "Dimension Value") (integration)
  • OnBeforeCreateDimSetIDFromICDocDim(var DimValue: Record "Dimension Value") (integration)
  • OnBeforeCreateDimSetIDFromICJnlLineDim(var DimValue: Record "Dimension Value") (integration)
  • OnBeforeCopyDimBufToDimSetEntry(var DimValue: Record "Dimension Value") (integration)
  • OnBeforeCreateDimSetIDFromDimBuf(var DimValue: Record "Dimension Value") (integration)
  • OnBeforeDefaultDimOnInsert(var DefaultDimension: Record "Default Dimension"; var IsHandled: Boolean) (integration)
  • OnBeforeDefaultDimOnDelete(var DefaultDimension: Record "Default Dimension"; var IsHandled: Boolean) (integration)
  • OnBeforeDefaultDimOnModify(var DefaultDimension: Record "Default Dimension"; var IsHandled: Boolean) (integration)
  • OnBeforeGetDimensionSet(var TempDimensionSetEntry: Record "Dimension Set Entry" temporary; var DimSetID: Integer; var IsHandled: Boolean) (integration)
  • OnBeforeEditDimensionSet(DimSetID: Integer; NewCaption: Text[250]; var NewDimSetID: Integer; var IsHandled: Boolean) (integration)
  • OnBeforeEditDimensionSet2(DimSetID: Integer; NewCaption: Text[250]; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]; var NewDimSetID: Integer; var IsHandled: Boolean; RecVariant: Variant) (integration)
  • OnBeforeGetDeltaDimSetID(var DimSetID: Integer; NewParentDimSetID: Integer; OldParentDimSetID: Integer; var IsHandled: Boolean) (integration)
  • OnBeforeGetTableIDsForHigherPrioritiesProcedure(TableNo: Integer; RecVar: Variant; var FieldNo: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) (integration)
  • OnBeforeInsertJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeLookupDimValueCode(FieldNumber: Integer; var ShortcutDimCode: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeLookupDimValueCodeNoUpdate(FieldNumber: Integer) (integration)
  • OnBeforeParseDimParam(var DimensionValue: Record "Dimension Value") (integration)
  • OnBeforeSaveDefaultDim(TableID: Integer; No: Code[20]; FieldNumber: Integer; ShortcutDimCode: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeSetupObjectNoList(var TempDimField: Record Field temporary) (integration)
  • OnBeforeUpdateDefaultDim(TableID: Integer; No: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeValidateDimValueCode(FieldNumber: Integer; var ShortcutDimCode: Code[20]; var IsHandled: Boolean; var GLSetupShortcutDimCode: array[8] of Code[20]; var DimVal: Record "Dimension Value") (integration)
  • OnBeforeValidateShortcutDimValues(var DimVal: Record "Dimension Value"; FieldNumber: Integer; var ShortcutDimCode: Code[20]; var DimSetID: Integer; var IsHandled: Boolean) + BC24 − BC24 (integration)
  • OnParseDimParamOnBeforeTempDimensionValueFindSet(var DimensionValue: Record "Dimension Value") (integration)
  • OnTypeToTableID2(var TableID: Integer; Type: Integer) (integration)
  • OnCheckDimValueAllowed(DimVal: Record "Dimension Value"; var DimValueAllowed: Boolean; var DimErr: Text[250]) (integration)
  • OnCheckICDimValueAllowed(ICDimVal: Record "IC Dimension Value"; var DimValueAllowed: Boolean) (integration)
  • OnGetDefaultDimIDOnAfterAttributeGlobalDims(var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]) (integration)
  • OnGetDefaultDimOnBeforeCreate(var TempDimBuf: Record "Dimension Buffer" temporary; TableID: Integer; No: Code[20]; GLSetupShortcutDimCode: array[8] of Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; var IsHandled: Boolean; SourceCode: Code[20]) (integration)
  • OnUpdateJobTaskDimOnBeforConfirm(DefaultDimension: Record "Default Dimension"; var IsHandled: Boolean) (integration)
  • OnGetDefaultDimIDOnBeforeTempDimSetEntryInsert(var DimensionSetEntry: Record "Dimension Set Entry"; var DimensionBuffer: Record "Dimension Buffer"; SourceCode: Code[20]) (integration)
  • OnAfterTypeToTableID1(Type: Integer; var TableId: Integer) (integration)
  • OnAfterSalesLineTypeToTableID(Type: Enum "Sales Line Type"; var TableId: Integer) (integration)
  • OnAfterPurchLineTypeToTableID(Type: Enum "Purchase Line Type"; var TableId: Integer) (integration)
  • OnAfterReqLineTypeToTableID(Type: Enum "Requisition Line Type"; var TableId: Integer) (integration)
  • OnAfterTypeToTableID4(Type: Integer; var TableId: Integer) (integration)
  • OnAfterTypeToTableID5(Type: Integer; var TableId: Integer) Δ BC27 (integration, obsolete 27.0)
  • OnBeforeGetDimensionSetID(var TempDimSetEntry: Record "Dimension Set Entry" temporary) (integration)
  • OnEditDimensionSetOnBeforeEditDimEntries(var EditDimSetEntries: Page "Edit Dimension Set Entries") (integration)
  • OnLookupDimValueCodeOnBeforeDimValRunModal(var DimensionValue: Record "Dimension Value"; FieldNumber: Integer) (integration)
  • OnCheckDimValuePostingOnBeforeLogErrors(TempDefaultDim: Record "Default Dimension" temporary; var DimSetEntry: Record "Dimension Set Entry"; var LastErrorMessage: Record "Error Message"; var ErrorMessageMgt: Codeunit "Error Message Management"; var isHandled: Boolean) (integration)
  • OnCheckValuePostingOnBeforeExit(TableID: array[10] of Integer; No: array[10] of Code[20]; var TempDimensionBuffer: Record "Dimension Buffer" temporary; var LastErrorMessage: Record "Error Message"; var ErrorMessageManagement: Codeunit "Error Message Management"; var IsChecked: Boolean; var IsHandled: Boolean) (integration)
  • OnCheckValuePostingOnAfterDefaultDimLoop(var TempDimBuf: Record "Dimension Buffer" temporary; var DefaultDim: Record "Default Dimension") (integration)
  • OnCheckDimValuePostingOnBeforeExit(TableID: array[10] of Integer; No: array[10] of Code[20]; DimSetID: Integer; var LastErrorMessage: Record "Error Message"; var ErrorMessageManagement: Codeunit "Error Message Management"; var IsChecked: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeCreateDimSetFromJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]; var NewDimSetID: Integer; var IsHandled: Boolean; var DimValue: Record "Dimension Value") (integration)
  • OnBeforeGetRecDefaultDimID(RecVariant: Variant; CurrFieldNo: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var SourceCode: Code[20]; var InheritFromDimSetID: Integer; var InheritFromTableNo: Integer; var Result: Integer; var IsHandled: Boolean) (integration)
  • OnAfterGetRecDefaultDimIDProcedure(RecVariant: Variant; CurrFieldNo: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var SourceCode: Code[20]; var InheritFromDimSetID: Integer; var InheritFromTableNo: Integer; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; var DefaultDimSetID: Integer) (integration)
  • OnBeforeGetDefaultDimIDProcedure(var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; SourceCode: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; InheritFromDimSetID: Integer; InheritFromTableNo: Integer; var DimVal: Record "Dimension Value"; var Result: Integer; var IsHandled: Boolean) + BC24 − BC24 (integration)
  • OnGetDefaultDimIDOnBeforeFindNewDimSetIDProcedure(var TempDimensionBuffer: Record "Dimension Buffer" temporary; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; SourceCode: Code[20]; GLSetupShortcutDimCode: array[8] of Code[20]; var TempDimensionSetEntry0: Record "Dimension Set Entry" temporary; InheritFromDimSetID: Integer; InheritFromTableNo: Integer) (integration)
  • OnGetDefaultDimIDOnBeforeGetInheritDimensionSet(var TempDimensionSetEntry0: Record "Dimension Set Entry" temporary; var InheritFromDimSetID: Integer; var InheritFromTableNo: Integer; var IsHandled: Boolean) (integration)
  • OnAfterUseShortcutDims(var DimVisible1: Boolean; var DimVisible2: Boolean; var DimVisible3: Boolean; var DimVisible4: Boolean; var DimVisible5: Boolean; var DimVisible6: Boolean; var DimVisible7: Boolean; var DimVisible8: Boolean) (integration)
  • OnBeforeCopyJobTaskDimToJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; NewJobNo: Code[20]; NewJobTaskNo: Code[20]; var IsHandled: Boolean) (integration)
  • OnCheckDimValueCombOnBeforeLogError(Dim1: Code[20]; Dim1Value: Code[20]; Dim2: Code[20]; Dim2Value: Code[20]; var IsHandled: Boolean) (integration)
  • OnCheckDimValueOnBeforeCheckDimValBlocked(DimCode: Code[20]; DimValCode: Code[20]; var Result: Boolean; var IsHandled: Boolean; var DimensionValue: Record "Dimension Value") (integration)
  • OnAfterSetSourceCode(var SourceCodeSetup: Record "Source Code Setup"; TableID: Integer; var SourceCode: Code[10]) + BC25 (integration)
  • OnAllowedDimensionValueConfirm(var DimensionValue: Record "Dimension Value"; var DefaultDimension: Record "Default Dimension"; var Confirmed: Boolean; var ConfirmHandled: Boolean) + BC24 (integration)
  • OnAfterEditDimensionSet(var DimSetID: Integer) + BC26 (integration)
  • OnAfterDefaultDimObjectNoList(var TempAllObjWithCaption: Record AllObjWithCaption temporary) + BC27 (integration)

Procedures

  • SetCollectErrorsMode(): Enables error collection mode to accumulate dimension-related errors instead of immediately throwing them. Used in batch processing scenarios where multiple validation errors need to be collected and reported together.
  • SetSourceCode(TableID: Integer): Sets the source code for dimension operations based on the table ID. Determines appropriate source code from Source Code Setup for different document types and journal entries.
  • SetSourceCode(TableID: Integer; RecordVar: Variant): Sets the source code for dimension operations based on the table ID and record variant. Extends the standard SetSourceCode procedure with additional record context for specialized handling.
  • GetSourceCode(): Code[10]: Returns the current source code set for dimension operations. Used to retrieve the source code that was previously set via SetSourceCode procedures.
  • GetDimensionSetID(var DimSetEntry2: Record "Dimension Set Entry"): Integer: Gets or creates a dimension set ID from the provided dimension set entries. Creates a new dimension set if the combination doesn’t exist, or returns existing set ID.
  • GetDimensionSet(var TempDimSetEntry: Record "Dimension Set Entry" temporary; DimSetID: Integer): Retrieves all dimension set entries for a specific dimension set ID. Populates the temporary dimension set entry record with all dimensions from the specified set.
  • ShowDimensionSet(DimSetID: Integer; NewCaption: Text[250]): Displays the dimension set entries in a read-only modal page. Shows all dimension values associated with the specified dimension set ID.
  • EditDimensionSet(DimSetID: Integer; NewCaption: Text[250]): Integer: Opens the dimension set editor for modifying dimensions and returns the new dimension set ID. Allows user to edit dimension values and creates a new dimension set if changes are made.
  • EditDimensionSet(DimSetID: Integer; NewCaption: Text[250]; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]): Integer: Opens the dimension set editor and updates global dimension values after editing. Convenience procedure that combines dimension editing with global dimension value updates.
  • EditDimensionSet(RecVariant: Variant; DimSetID: Integer; NewCaption: Text[250]; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]): Integer: Opens the dimension set editor with record context and updates global dimension values. Extended version providing record variant context for specialized dimension handling.
  • EditReclasDimensionSet(var DimSetID: Integer; var NewDimSetID: Integer; NewCaption: Text[250]; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]; var NewGlobalDimVal1: Code[20]; var NewGlobalDimVal2: Code[20]): Opens the reclassification dimension editor for modifying both source and destination dimensions. Used in reclassification scenarios where both original and new dimension sets need to be edited.
  • UpdateGlobalDimFromDimSetID(DimSetID: Integer; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]): Updates global dimension values from a dimension set ID. Retrieves the first two global dimension values from the specified dimension set.
  • GetCombinedDimensionSetID(DimensionSetIDArr: array[10] of Integer; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]): Integer: Combines multiple dimension sets into a single dimension set ID. Merges dimensions from up to 10 different dimension sets, with later sets overriding earlier ones for same dimensions.
  • GetDeltaDimSetID(DimSetID: Integer; NewParentDimSetID: Integer; OldParentDimSetID: Integer): Integer: Calculates delta dimension set ID based on parent dimension set changes. Updates a child dimension set when parent dimensions change, preserving child-specific dimensions.
  • GetGLSetup(var GLSetupShortcutDimCode: array[8] of Code[20]): Retrieves and caches General Ledger Setup shortcut dimension codes. Loads all 8 shortcut dimension codes from General Ledger Setup for efficient repeated access.
  • CheckDimIDComb(DimSetID: Integer): Boolean: Validates dimension combinations for a dimension set ID. Checks if the dimensions in the set violate any defined dimension combination restrictions.
  • CheckDimValuePosting(TableID: array[10] of Integer; No: array[10] of Code[20]; DimSetID: Integer): Boolean: Validates dimension value posting permissions for specified table entities. Checks default dimensions and dimension value restrictions for the given accounts and dimension set.
  • CheckDimBuffer(var DimBuffer: Record "Dimension Buffer"): Boolean: Validates dimension combinations within a dimension buffer. Checks if the dimensions in the buffer violate any defined dimension combination restrictions.
  • CheckDimComb(var TempDimBuf: Record "Dimension Buffer" temporary): Boolean: Validates dimension combinations against dimension combination restrictions. Core validation logic for checking dimension combination rules and generating error messages.
  • GetNotAllowedDimValuePerAccount(DefaultDim: Record "Default Dimension"; DimValueCode: Code[20]): Text: Generates error message for dimension values not allowed for specific accounts. Creates appropriate error text based on whether a specific account or account type restriction applies.
  • GetDimCombErr(): Text[250]: Retrieves the last dimension combination error message. Returns the most recent error message from dimension validation operations.
  • UpdateDefaultDim(TableID: Integer; No: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]): Updates global dimension values from default dimensions for a specific entity. Retrieves default dimension values for the specified table and entity number.
  • GetDefaultDimID(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; SourceCode: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; InheritFromDimSetID: Integer; InheritFromTableNo: Integer): Integer: Creates dimension set ID from default dimension sources with priority handling and inheritance. Combines dimensions from multiple sources considering default dimension priorities and inheritance rules.
  • GetRecDefaultDimID(RecVariant: Variant; CurrFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; SourceCode: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]; InheritFromDimSetID: Integer; InheritFromTableNo: Integer): Integer: Creates dimension set ID from default dimension sources with record context and inheritance. Extended version that includes record variant context for specialized dimension handling and validation.
  • AddFirstToTableIdArray(var TableID: array[10] of Integer; var No: array[10] of Code[20]; NewTableId: Integer; NewNo: Code[20]): Adds a new table ID and number pair to the beginning of the arrays, shifting existing entries. Inserts the new entry at position 1 and moves all other entries one position down.
  • AddLastToTableIdArray(var TableID: array[10] of Integer; var No: array[10] of Code[20]; NewTableId: Integer; NewNo: Code[20]): Adds a new table ID and number pair to the end of the arrays. Finds the first empty position or uses the last position to insert the new entry.
  • TypeToTableID1(Type: Option "G/L Account",Customer,Vendor,"Bank Account","Fixed Asset","IC Partner",Employee): Integer: Converts an entity type option to its corresponding table ID for dimension processing. Maps common master data types to their table IDs for default dimension handling.
  • TypeToTableID2(Type: Option Resource,Item,"G/L Account"): Integer: Converts a resource/item type option to its corresponding table ID for dimension processing. Maps resource, item, and G/L account types to their table IDs for default dimension handling.
  • SalesLineTypeToTableID(LineType: Enum "Sales Line Type"): Integer: Converts a sales line type enum to its corresponding table ID for dimension processing. Maps sales line types to their master data table IDs for default dimension handling.
  • PurchLineTypeToTableID(LineType: Enum "Purchase Line Type"): Integer: Converts a purchase line type enum to its corresponding table ID for dimension processing. Maps purchase line types to their master data table IDs for default dimension handling.
  • ReqLineTypeToTableID(LineType: Enum "Requisition Line Type"): Integer: Converts a requisition line type enum to its corresponding table ID for dimension processing. Maps requisition line types to their master data table IDs for default dimension handling.
  • TypeToTableID4(Type: Option " ",Item,Resource): Integer: Converts a basic item/resource type option to its corresponding table ID for dimension processing. Maps item and resource types to their table IDs for default dimension handling.
  • DeleteDefaultDim(TableID: Integer; No: Code[20]): Deletes all default dimensions for a specific table and record number.
  • RenameDefaultDim(TableID: Integer; OldNo: Code[20]; NewNo: Code[20]): Renames default dimensions from old record number to new record number for a specific table.
  • LookupDimValueCode(FieldNumber: Integer; var ShortcutDimCode: Code[20]): Opens a lookup window for dimension values for a specific shortcut dimension field.
  • ValidateDimValueCode(FieldNumber: Integer; var ShortcutDimCode: Code[20]): Validates a dimension value code for a specific shortcut dimension field and resolves partial matches.
  • ValidateShortcutDimValues(FieldNumber: Integer; var ShortcutDimCode: Code[20]; var DimSetID: Integer): Validates a shortcut dimension value and updates the dimension set ID with the new value.
  • SaveDefaultDim(TableID: Integer; No: Code[20]; FieldNumber: Integer; ShortcutDimCode: Code[20]): Saves a default dimension value for a specific table record and shortcut dimension field.
  • GetGlobalDimensions(DimSetID: Integer; var ShortcutDimCode: array[8] of Code[20]) + BC24: Retrieves global dimension values for all 8 shortcut dimension fields from a dimension set.
  • GetShortcutDimensions(DimSetID: Integer; var ShortcutDimCode: array[8] of Code[20]): Retrieves shortcut dimension values for all 8 fields from a dimension set.
  • CheckDimBufferValuePosting(var DimBuffer: Record "Dimension Buffer"; TableID: array[10] of Integer; No: array[10] of Code[20]): Boolean: Validates dimension buffer values against posting restrictions and default dimension rules.
  • GetDimValuePostingErr(): Text[250]: Retrieves the last dimension value posting error message.
  • DefaultDimObjectNoList(var TempAllObjWithCaption: Record AllObjWithCaption temporary): Populates a temporary table with object numbers that support default dimensions.
  • DefaultDimObjectNoWithGlobalDimsList(var TempAllObjWithCaption: Record AllObjWithCaption temporary): Populates a temporary table with object numbers that support default dimensions and have global dimensions.
  • DefaultDimInsertTempObject(var TempAllObjWithCaption: Record AllObjWithCaption temporary; TableID: Integer): Inserts a temporary object record for tables that support default dimensions.
  • GlobalDimObjectNoList(var TempAllObjWithCaption: Record AllObjWithCaption temporary): Populates a temporary table with object numbers that support global dimensions.
  • JobTaskDimObjectNoList(var TempAllObjWithCaption: Record AllObjWithCaption temporary): Populates a temporary table with job task object numbers that support dimensions.
  • FindDimFieldInTable(TableNo: Integer; FieldNameFilter: Text; var Field: Record "Field"): Boolean: Searches for dimension fields in a specific table using a field name filter.
  • GetDocDimConsistencyErr(): Text[250]: Retrieves the last document dimension consistency error message.
  • CheckDim(DimCode: Code[20]): Boolean: Validates that a dimension code exists and is not blocked.
  • CheckDimValue(DimCode: Code[20]; DimValCode: Code[20]): Boolean: Validates that a dimension value exists and is not blocked for the specified dimension.
  • CheckBlockedDimAndValues(DimSetID: Integer): Boolean: Validates that dimensions and dimension values in a dimension set are not blocked.
  • GetDimErr(): Text[250]: Retrieves the last dimension error message.
  • LogError(SourceRecVariant: Variant; SourceFieldNo: Integer; Message: Text; HelpArticleCode: Code[30]): Boolean: Logs a dimension error for a specific source record and field.
  • LookupDimValueCodeNoUpdate(FieldNumber: Integer): Opens dimension value lookup dialog for a specified shortcut dimension field without updating the source record. Validates that the shortcut dimension is properly configured before showing the lookup.
  • CopyJnlLineDimToICJnlDim(TableID: Integer; TransactionNo: Integer; PartnerCode: Code[20]; TransactionSource: Option; LineNo: Integer; DimSetID: Integer): Copies dimension set entries from journal lines to intercompany journal line dimensions. Converts company-specific dimension codes to intercompany dimension codes during the copy process.
  • DefaultDimOnInsert(DefaultDimension: Record "Default Dimension"): Handles default dimension setup when a new default dimension is inserted. Updates related job task dimensions and cost types when applicable.
  • DefaultDimOnModify(DefaultDimension: Record "Default Dimension"): Handles default dimension changes when an existing default dimension is modified. Updates related job task dimensions and cost types to reflect the changes.
  • DefaultDimOnDelete(DefaultDimension: Record "Default Dimension"): Handles default dimension cleanup when a default dimension is deleted. Removes related job task dimensions and updates cost types accordingly.
  • CopyICJnlDimToICJnlDim(var FromInOutBoxLineDim: Record "IC Inbox/Outbox Jnl. Line Dim."; var ToInOutBoxlineDim: Record "IC Inbox/Outbox Jnl. Line Dim."): Copies intercompany journal line dimensions from one record set to another. Creates duplicate dimension entries for intercompany transaction processing.
  • CopyDocDimtoICDocDim(TableID: Integer; TransactionNo: Integer; PartnerCode: Code[20]; TransactionSource: Option; LineNo: Integer; DimSetEntryID: Integer): Copies dimension set entries from documents to intercompany document dimensions. Converts company-specific dimension codes to intercompany dimension codes for cross-company transactions.
  • CopyICDocDimtoICDocDim(FromSourceICDocDim: Record "IC Document Dimension"; var ToSourceICDocDim: Record "IC Document Dimension"; ToTableID: Integer; ToTransactionSource: Integer): Copies intercompany document dimensions from one record set to another with new table and transaction source. Creates duplicate dimension entries for intercompany document processing across different table contexts.
  • MoveICDocDimtoICDocDim(FromSourceICDocDim: Record "IC Document Dimension"; var ToSourceICDocDim: Record "IC Document Dimension"; ToTableID: Integer; ToTransactionSource: Integer): Moves intercompany document dimensions from one record set to another with new table and transaction source. Transfers dimension entries and deletes the source records during intercompany document processing.
  • SetICDocDimFilters(var ICDocDim: Record "IC Document Dimension"; TableID: Integer; TransactionNo: Integer; PartnerCode: Code[20]; TransactionSource: Integer; LineNo: Integer): Sets filters on intercompany document dimension record to isolate specific dimension entries. Applies standard filters for table ID, transaction number, partner code, transaction source, and line number.
  • DeleteICDocDim(TableID: Integer; ICTransactionNo: Integer; ICPartnerCode: Code[20]; TransactionSource: Option; LineNo: Integer): Deletes intercompany document dimensions that match the specified criteria. Removes all dimension entries for a specific intercompany document transaction line.
  • DeleteICJnlDim(TableID: Integer; ICTransactionNo: Integer; ICPartnerCode: Code[20]; TransactionSource: Option; LineNo: Integer): Deletes intercompany journal line dimensions that match the specified criteria. Removes all dimension entries for a specific intercompany journal line transaction.
  • ConvertDimtoICDim(FromDim: Code[20]): Code[20]: Converts a company-specific dimension code to its intercompany equivalent. Uses the dimension’s mapping configuration to return the corresponding IC dimension code.
  • ConvertDimValuetoICDimVal(FromDim: Code[20]; FromDimValue: Code[20]): Code[20]: Converts a company-specific dimension value to its intercompany equivalent. Uses the dimension value’s mapping configuration to return the corresponding IC dimension value code.
  • CheckICDimValue(ICDimCode: Code[20]; ICDimValCode: Code[20]): Boolean: Validates intercompany dimension value and checks if it exists and is not blocked. Performs validation and logging for intercompany dimension value usage.
  • CheckICDim(ICDimCode: Code[20]): Boolean: Validates intercompany dimension and checks if it exists and is not blocked. Performs validation and logging for intercompany dimension usage.
  • SaveJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; FieldNumber: Integer; ShortcutDimCode: Code[20]): Saves or updates a job task dimension value for a specific shortcut dimension field. Creates new job task dimension records or modifies existing ones based on field number and dimension code.
  • SaveJobTaskTempDim(FieldNumber: Integer; ShortcutDimCode: Code[20]): Saves job task dimension value to temporary buffer for a specific shortcut dimension field. Updates temporary dimension buffer with shortcut dimension values for later processing.
  • InsertJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]) + BC24: Inserts job task dimensions based on default dimensions from the job. Creates job task dimension records and updates global dimension variables with values found.
  • InsertJobTaskDim(var DefaultDim: Record "Default Dimension"; JobNo: Code[20]; JobTaskNo: Code[20]; var GlobalDim1Code: Code[20]; var GlobalDim2Code: Code[20]) + BC24: Inserts job task dimensions based on default dimension configuration. Creates job task dimension entries and updates global dimension codes for the job task.
  • DeleteJobTaskTempDim(): Deletes all job task dimension records from temporary buffer.
  • CopyJobTaskDimToJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; NewJobNo: Code[20]; NewJobTaskNo: Code[20]): Copies job task dimensions from one job task to another job task.
  • CheckDimIDConsistency(var DimSetEntry: Record "Dimension Set Entry"; var PostedDimSetEntry: Record "Dimension Set Entry"; DocTableID: Integer; PostedDocTableID: Integer): Boolean: Checks consistency between document dimension set entries and posted document dimension set entries. Validates that dimension sets match between original document and posted document for audit compliance.
  • CreateDimSetIDFromICDocDim(var ICDocDim: Record "IC Document Dimension"): Integer: Creates a dimension set ID from intercompany document dimensions by converting IC dimensions to company dimensions. Processes all IC document dimension entries and builds a corresponding company dimension set.
  • CreateDimSetIDFromICJnlLineDim(var ICInboxOutboxJnlLineDim: Record "IC Inbox/Outbox Jnl. Line Dim."): Integer: Creates a dimension set ID from intercompany journal line dimensions by converting IC dimensions to company dimensions. Processes all IC journal line dimension entries and builds a corresponding company dimension set.
  • CopyDimBufToDimSetEntry(var FromDimBuf: Record "Dimension Buffer"; var DimSetEntry: Record "Dimension Set Entry"): Copies dimension buffer entries to dimension set entry records with proper dimension value ID assignment. Validates dimension values during the copy process and populates dimension value IDs from master data.
  • CreateDimSetIDFromDimBuf(var DimBuf: Record "Dimension Buffer"): Integer: Creates a dimension set ID from dimension buffer entries by building a temporary dimension set. Validates dimension values and generates a unique dimension set ID for the buffer contents.
  • CreateDimForPurchLineWithHigherPriorities(PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer; var DimensionSetID: Integer; var DimValue1: Code[20]; var DimValue2: Code[20]; SourceCode: Code[10]; PriorityTableID: Integer): Creates dimensions for purchase lines using higher priority dimension sources. Applies dimension priority rules to resolve conflicts between different dimension sources.
  • CreateDimForSalesLineWithHigherPriorities(SalesLine: Record "Sales Line"; CurrFieldNo: Integer; var DimensionSetID: Integer; var DimValue1: Code[20]; var DimValue2: Code[20]; SourceCode: Code[10]; PriorityTableID: Integer): Creates dimensions for sales lines using higher priority dimension sources. Applies dimension priority rules to resolve conflicts between different dimension sources.
  • CreateDimForJobJournalLineWithHigherPriorities(JobJournalLine: Record "Job Journal Line"; CurrFieldNo: Integer; var DimensionSetID: Integer; var DimValue1: Code[20]; var DimValue2: Code[20]; SourceCode: Code[10]; PriorityTableID: Integer): Creates dimensions for job journal lines using higher priority dimension sources. Applies dimension priority rules to resolve conflicts between different dimension sources.
  • GetTableIDsForHigherPriorities(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var HighPriorityDefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; SourceCode: Code[10]; PriorityTableID: Integer): Boolean: Retrieves table IDs for higher priority dimension sources based on default dimension priority configuration. Filters dimension sources to include only those with higher priority than the specified priority table.
  • GetDimSetIDsForFilter(DimCode: Code[20]; DimValueFilter: Text): Builds a collection of dimension set IDs that match the specified dimension code and value filter. Populates temporary dimension set entry buffer with matching dimension set IDs for subsequent filtering operations.
  • ChunkDimSetFilters(var TempDimensionSetEntry: Record "Dimension Set Entry" temporary): List of [Text] Δ BC28
  • GetDimSetFilters(): List of [Text]: Gets dimension set filters as list of text for current dimension set filter counter.
  • GetDimSetFilter(): Text: Gets single dimension set filter string based on current dimension set filter counter.
  • ClearDimSetFilter(): Clears dimension set filter by resetting buffer and counter.
  • GetTempDimSetEntry(var TempDimSetEntry: Record "Dimension Set Entry" temporary): Gets temporary dimension set entry from buffer.
  • UpdateCostType(DefaultDimension: Record "Default Dimension"; CallingTrigger: Option OnInsert,OnModify,OnDelete): Updates cost accounting types when default dimensions are modified for G/L accounts. Integrates dimension changes with cost accounting setup to maintain consistency between financial and cost dimensions.
  • CreateDimSetFromJobTaskDim(JobNo: Code[20]; JobTaskNo: Code[20]; var GlobalDimVal1: Code[20]; var GlobalDimVal2: Code[20]): Integer: Creates dimension set ID from job task dimensions and updates global dimension values.
  • UpdateGenJnlLineDim(var GenJnlLine: Record "Gen. Journal Line"; DimSetID: Integer): Updates general journal line with dimension set ID and corresponding shortcut dimension codes.
  • UpdateGenJnlLineDimFromCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"): Updates general journal line dimensions from corresponding customer ledger entry.
  • UpdateGenJnlLineDimFromVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"): Updates general journal line dimensions from corresponding vendor ledger entry.
  • GetDimSetEntryDefaultDim(var DimSetEntry: Record "Dimension Set Entry"): Gets dimension set entry default dimensions. Method is obsolete and clears dimension set entries.
  • InsertObject(var TempAllObjWithCaption: Record AllObjWithCaption temporary; TableID: Integer): Inserts table object into temporary AllObjWithCaption record if not obsolete.
  • GetConsolidatedDimFilterByDimFilter(var Dimension: Record Dimension; DimFilter: Text): Text: Gets consolidated dimension filter by combining dimension filter with dimension codes.
  • ResolveDimValueFilter(var DimValueFilter: Text; DimensionCode: Code[20]): Resolves dimension value filter by expanding with totaling values.
  • UseShortcutDims(var DimVisible1: Boolean; var DimVisible2: Boolean; var DimVisible3: Boolean; var DimVisible4: Boolean; var DimVisible5: Boolean; var DimVisible6: Boolean; var DimVisible7: Boolean; var DimVisible8: Boolean): Determines the visibility of shortcut dimension fields based on General Ledger Setup configuration. Returns boolean values for each of the eight shortcut dimension fields indicating whether they should be visible in the UI.
  • OpenAllowedDimValuesPerAccount(var DefaultDimension: Record "Default Dimension"): Opens page for managing allowed dimension values per account with buffer synchronization.
  • FillDimValuePerAccountBuffer(var DefaultDimension: Record "Default Dimension"; var TempDimValuePerAccount: Record "Dim. Value per Account" temporary): Fills temporary dimension value per account buffer from existing records or dimension values.
  • SyncDimValuePerAccountWithDimValues(var DefaultDimension: Record "Default Dimension"): Synchronizes dimension value per account records with dimension values. Creates dimension value per account entries for all dimension values in the specified dimension.
  • SyncTempDimValuePerAccountWithDimValues(var DefaultDimension: Record "Default Dimension"; var TempDimValuePerAccount: Record "Dim. Value per Account" temporary): Synchronizes temporary dimension value per account records with dimension values. Creates temporary dimension value per account entries for all dimension values in the specified dimension.
  • OpenAllowedDimValuesPerAccountDimMultiple(var DefaultDimension: Record "Default Dimension"; var TempDimValuePerAccount: Record "Dim. Value per Account" temporary): Opens the allowed dimension values per account page for multiple dimension selection. Provides user interface for selecting allowed dimension values for specific account configurations.
  • AddDefaultDimensionAllowedDimensionValue(DimensionValue: Record "Dimension Value"): Adds a dimension value to the allowed values filter for default dimensions. Updates default dimension configurations to include the specified dimension value as allowed.
  • UpdateDefaultDimensionAllowedDimensionValues(DimensionValue: Record "Dimension Value"): Updates default dimension allowed values filter when dimension values change. Refreshes allowed values filter for all default dimensions using the specified dimension.
  • CheckIfNoAllowedValuesSelected(var DimValuePerAccount: Record "Dim. Value per Account"): Validates that at least one allowed value is selected for dimension value per account configuration. Throws an error if no allowed values are marked as selected.
  • AddDimSource(var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; TableId: Integer; No: Code[20]): Adds dimension source to default dimension source list.
  • AddDimSource(var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; TableId: Integer; No: Code[20]; FirstPos: Boolean): Adds dimension source to default dimension source list with position control.
  • IsDefaultDimDefinedForTable(TableValuePair: Dictionary of [Integer, Code[20]]): Boolean: Checks if default dimensions are defined for a specific table and record combination. Returns true if any default dimension records exist for the table and record specified.
  • DontNotifyCurrentUserAgain(Notification: Notification): Disables current user notification for default dimension priorities.
  • OpenDefaultDimPriorities(DefaultDimPrioritiesNotification: Notification): Opens default dimension priorities page with source code from notification data.
  • CheckDefaultDimensionHasCodeMandatory(TableID: array[10] of Integer; No: array[10] of Code[20]): Boolean: Checks if any default dimensions have Code Mandatory value posting for given table IDs and numbers.
  • SetSkipChangeDimensionsQst(Skip: Boolean) + BC24: Sets flag to skip change dimensions confirmation question.
  • SetSkipUpdateDimensions(Skip: Boolean) + BC24: Sets flag to skip dimension updates.
  • GetSkipUpdateDimensions(): Boolean + BC24: Gets flag indicating whether dimension updates should be skipped.
  • SetDimensionValue(DimSetID: Integer; DimensionCode: Code[20]; DimensionValueCode: Code[20]; AutoCreateMissingDimension: Boolean; AutoCreateMissingDimensionValue: Boolean): Integer + BC24 + BC24 + BC24 + BC27 + BC27 − BC27 − BC27: Adds or updates the dimension value for the specified dimension set.
  • SetDimensionValue(DimSetID: Integer; DimensionCode: Code[20]; DimensionValueCode: Code[20]; DimensionName: Text[30]; DimensionValueName: Text[50]): Integer + BC24 + BC24 + BC24 + BC27 + BC27 − BC27 − BC27: Adds or updates the dimension value for the specified dimension set. Any dimension or dimension value that doesn’t exist will be created automatically.
  • SetDimensionValue(DimSetID: Integer; DimensionCode: Code[20]; DimensionName: Text[30]; DimensionValueCode: Code[20]; DimensionValueName: Text[50]; AutoCreateMissingDimension: Boolean; AutoCreateMissingDimensionValue: Boolean): Integer + BC24 + BC24 + BC24 + BC27 + BC27 − BC27 − BC27: Adds or updates the dimension value for the specified dimension set.

Plus 38 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.

Called by

  • Codeunit 427 “ICInboxOutboxMgt” (33 calls: CreateICDocDimFromPostedDocDim → ConvertDimtoICDim, CreateICDocDimFromPostedDocDim → ConvertDimValuetoICDimVal, CreateJournalLines → CopyICJnlDimToICJnlDim, …)
  • Codeunit 481 “Check Dimensions” (26 calls: CheckPurchDim → SetCollectErrorsMode, CheckPurchDimCombHeader → CheckDimIDComb, CheckPurchDimCombHeader → GetDimErr, …)
  • Table 210 “Job Journal Line” (14 calls: CreateDim → GetRecDefaultDimID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, GetTableValuePair → TypeToTableID2, …)
  • Table 39 “Purchase Line” (14 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Table 83 “Item Journal Line” (13 calls: CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, CreateNewDimFromDefaultDim → GetRecDefaultDimID, CreateNewDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Table 246 “Requisition Line” (12 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, GetDimFromRefOrderLine → GetCombinedDimensionSetID, …)
  • Table 901 “Assembly Line” (12 calls: CreateDim → GetCombinedDimensionSetID, CreateDim → GetRecDefaultDimID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Table 37 “Sales Line” (11 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Table 5902 “Service Line” (11 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Codeunit 12 “Gen. Jnl.-Post Line” (10 calls: CheckDimValueForDisposal → CheckDimValuePosting, CheckDimValueForDisposal → GetDimValuePostingErr, CheckDimValueForDisposal → TypeToTableID1, …)
  • Table 167 “Job” (10 calls: CopyDefaultDimensionsFromCustomer → DefaultDimOnDelete, CopyDefaultDimensionsFromCustomer → DefaultDimOnInsert, CopyDefaultDimensionsFromCustomer → SetSkipChangeDimensionsQst, …)
  • Table 352 “Default Dimension” (10 calls: CheckDimension → CheckDim, CheckDimension → GetDimErr, CheckDimensionValue → CheckDimValue, …)
  • Report 402 “Purchase Document - Test” (9 calls: AddDimToTempLine → AddDimSource, AddDimToTempLine → GetDefaultDimID, AddDimToTempLine → PurchLineTypeToTableID, …)
  • Table 5406 “Prod. Order Line” (9 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Codeunit 699 “Exch. Rate Adjmt. Process” (8 calls: GetDimSetEntry → CopyDimBufToDimSetEntry, GetJnlLineDefDim → AddDimSource, GetJnlLineDefDim → GetDefaultDimID, …)
  • Table 207 “Res. Journal Line” (8 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 274 “Bank Acc. Reconciliation Line” (8 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 36 “Sales Header” (8 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 38 “Purchase Header” (8 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5741 “Transfer Line” (8 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5851 “Invt. Document Line” (8 calls: CreateDim → GetDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5876 “Phys. Invt. Order Line” (8 calls: CreateDim → GetDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5901 “Service Item Line” (8 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Table 751 “Standard General Journal Line” (8 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, InitDefaultDimensionSources → TypeToTableID1, …)
  • Table 81 “Gen. Journal Line” (8 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, InitDefaultDimensionSources → TypeToTableID1, …)
  • Report 202 “Sales Document - Test” (7 calls: AddDimToTempLine → GetDefaultDimID, CheckRcptLines → CheckDimIDConsistency, CheckRcptLines → GetDimensionSet, …)
  • Table 221 “Gen. Jnl. Allocation” (7 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 5407 “Prod. Order Component” (7 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 5621 “FA Journal Line” (7 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 5635 “Insurance Journal Line” (7 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 5740 “Transfer Header” (7 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5875 “Phys. Invt. Order Header” (7 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5900 “Service Header” (7 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 5997 “Standard Service Line” (7 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 6906 “Expense Report Header” (7 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 6907 “Expense Report Line” (7 calls: CreateDefaultDim → GetRecDefaultDimID, CreateDefaultDim → UpdateGlobalDimFromDimSetID, CreateDimFromDefaultDim → IsDefaultDimDefinedForTable, …)
  • Table 7134 “Item Budget Entry” (7 calls: OnInsert → GetDimensionSet, OnInsert → GetDimensionSetID, OnModify → GetDimensionSet, …)
  • Table 753 “Standard Item Journal Line” (7 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, LookupShortcutDimCode → LookupDimValueCode, …)
  • Table 846 “Cash Flow Worksheet Line” (7 calls: LookupShortcutDimCode → LookupDimValueCode, LookupShortcutDimCode → ValidateShortcutDimValues, MoveDefualtDimToJnlLineDim → AddDimSource, …)
  • Table 900 “Assembly Header” (7 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • Table 96 “G/L Budget Entry” (7 calls: OnInsert → GetDimensionSet, OnInsert → GetDimensionSetID, ShowDimensions → EditDimensionSet, …)
  • Codeunit 11 “Gen. Jnl.-Check Line” (6 calls: CheckDimensions → CheckDimIDComb, CheckDimensions → CheckDimValuePosting, CheckDimensions → GetDimCombErr, …)
  • Codeunit 21 “Item Jnl.-Check Line” (6 calls: CheckDimensions → CheckDefaultDimensionHasCodeMandatory, CheckDimensions → CheckDimIDComb, CheckDimensions → GetDimCombErr, …)
  • Codeunit 333 “Req. Wksh.-Make Order” (6 calls: CheckRequisitionLine → CheckDimIDComb, CheckRequisitionLine → CheckDimValuePosting, CheckRequisitionLine → GetDimCombErr, …)
  • Codeunit 395 “FinChrgMemo-Issue” (6 calls: CheckDimensions → CheckDimIDComb, CheckDimensions → CheckDimValuePosting, CheckDimensions → GetDimCombErr, …)
  • Table 1001 “Job Task” (6 calls: ClearTempDim → DeleteJobTaskTempDim, CreateDefaultJobTaskDimensionsFromCustomer → InsertJobTaskDim, OnInsert → InsertJobTaskDim, …)
  • Table 171 “Standard Sales Line” (6 calls: LookupShortcutDimCode → LookupDimValueCode, LookupShortcutDimCode → ValidateShortcutDimValues, ShowDimensions → EditDimensionSet, …)
  • Table 174 “Standard Purchase Line” (6 calls: LookupShortcutDimCode → LookupDimValueCode, LookupShortcutDimCode → ValidateShortcutDimValues, ShowDimensions → EditDimensionSet, …)
  • Table 273 “Bank Acc. Reconciliation” (6 calls: CreateDim → GetRecDefaultDimID, InitDefaultDimensionSources → AddDimSource, ShowDocDim → EditDimensionSet, …)
  • Table 302 “Finance Charge Memo Header” (6 calls: CreateDim → GetRecDefaultDimID, CreateDim → UpdateGlobalDimFromDimSetID, InitDefaultDimensionSources → AddDimSource, …)
  • and 375 more: data/code/graph/29/calls.json

Deprecations

  • procedure OnAfterTypeToTableID5: Pending 27.0 (#if not CLEAN27), “This event is never raised.”

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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: "DimensionManagement"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources