Skip to content

Document blocker: report 1701 source is not present in this repository#30257

Draft
Copilot wants to merge 1 commit into
mainfrom
copilot/w1-add-integration-event-onbeforereturnsalesdoctyp
Draft

Document blocker: report 1701 source is not present in this repository#30257
Copilot wants to merge 1 commit into
mainfrom
copilot/w1-add-integration-event-onbeforereturnsalesdoctyp

Conversation

Copilot AI commented Jun 11, 2026

Copy link
Copy Markdown

The requested extensibility change is to add OnBeforeReturnSalesDocTypeString with an IsHandled override path inside report 1701 "Customer Deferred Revenue". In this checkout, that report source is not present, so no code changes were applied in microsoft/ALAppExtensions.

  • Requested change

    • Add a new integration event before the hardcoded case in ReturnSalesDocTypeString.
    • Allow subscribers to replace the returned document type caption via Result + IsHandled.
  • Blocker

    • Customer Deferred Revenue / ReturnSalesDocTypeString do not exist in this repository checkout.
    • This repository is issue-only for extensibility requests, so the target source needs to be updated in the repository that contains the base application object.
  • Intended shape of the change

    local procedure ReturnSalesDocTypeString(SalesDocType: Integer): Text
    var
        IsHandled: Boolean;
        Result: Text;
    begin
        IsHandled := false;
        OnBeforeReturnSalesDocTypeString(SalesDocType, Result, IsHandled);
        if IsHandled then
            exit(Result);
    
        case SalesDocType of
            // existing mappings
        end;
    end;
    
    [IntegrationEvent(false, false)]
    local procedure OnBeforeReturnSalesDocTypeString(SalesDocType: Integer; var Result: Text; var IsHandled: Boolean)
    begin
    end;

Copilot AI changed the title [WIP] Add integration event OnBeforeReturnSalesDocTypeString in ReturnSalesDocTypeString procedure Document blocker: report 1701 source is not present in this repository Jun 11, 2026
Copilot AI requested a review from Groenbech96 June 11, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[W1][Report][1701][Deferral Summary - Sales] Add integration event OnBeforeReturnSalesDocTypeString in ReturnSalesDocTypeString Procedure

2 participants