Skip to content

[Event Request] table 83 "Item Journal Line" - OnAfterShowReclasDimensions #29729

@auzhhv

Description

@auzhhv

Why do you need this change?

Can you add OnAfterShowReclasDimensions to table 83 "Item Journal Line"?

    procedure ShowReclasDimensions()
    begin
        DimMgt.EditReclasDimensionSet(
          "Dimension Set ID", "New Dimension Set ID", StrSubstNo('%1 %2 %3', "Journal Template Name", "Journal Batch Name", "Line No."),
          "Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code", "New Shortcut Dimension 1 Code", "New Shortcut Dimension 2 Code");
        // >>>>>>>>>
        OnAfterShowReclasDimensions(Rec, xRec);
        // <<<<<<<<<
    end;
    [IntegrationEvent(false, false)]
    local procedure OnAfterShowReclasDimensions(var ItemJournalLine: Record "Item Journal Line"; var xItemJournalLine: Record "Item Journal Line")
    begin
    end;

Describe the request

In the same table you have procedure ShowDimensions that already includes the event OnAfterShowDimensions. We have customizations that use this event to update additional values when changes occur for specified dimensinos.

We now need to implement similar logic for the "New" dimension fields. However, while all other required elements are in place, we are missing an event after ShowReclasDimensions.

Adding this event will not impact any existing functionality. There is currently no suitable alternative solution to address this requirement other than introducing this event.
Internal work item: AB#622671

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions