Skip to content

Obsolete Warning Incorrect in Res. Journal Line #29562

Description

@JellebBE

Why do you need this change?

The obsolete message is wrong.

Describe the request

In the current version you find the following code in the base application in the Resource Journal Line:

    internal procedure RunOnAfterCopyResJnlLineFromServLine(var ServLine: Record Microsoft.Service.Document."Service Line"; var ResJnlLine: Record "Res. Journal Line")
    begin
        OnAfterCopyResJnlLineFromServLine(ServLine, ResJnlLine);
    end;

    [Obsolete('Moved to table Service Header', '25.0')]  <= 
    [IntegrationEvent(false, false)]
    local procedure OnAfterCopyResJnlLineFromServLine(var ServLine: Record Microsoft.Service.Document."Service Line"; var ResJnlLine: Record "Res. Journal Line")
    begin
    end;

This should be updated to:

    [Obsolete('Moved to table Service Line :"OnAfterCopyToResJournalLine" ', '25.0')] <=
    [IntegrationEvent(false, false)]
    local procedure OnAfterCopyResJnlLineFromServLine(var ServLine: Record Microsoft.Service.Document."Service Line"; var ResJnlLine: Record "Res. Journal Line")
    begin
    end;

On top of that is the current function not called as far as i could see.

 internal procedure RunOnAfterCopyResJnlLineFromServLine(var ServLine: Record Microsoft.Service.Document."Service Line"; var ResJnlLine: Record "Res. Journal Line")
    begin
        OnAfterCopyResJnlLineFromServLine(ServLine, ResJnlLine);
    end;

Internal work item: AB#617831

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaext-ready-to-implementReviewed and ready to implement and create PRextensibility-bugSomething in the public APIs isn't working the way it should be

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions