Skip to content

[Event Request] Table 11000000 "Proposal Line" - OnInitRecordOnBeforeFindProposalLine #29966

@KateDovgalova

Description

@KateDovgalova

Why do you need this change?

In 4PS Construct we need to set additional filter on ProposalLine in procedure 'InitRecord' in table 11000000 "Proposal Line" before assigning "Header Dimension Set ID".

Describe the request

Dear ALAppExtensions team,

On behalf of 4PS I would like to request integration event 'OnInitRecordOnBeforeFindProposalLine' to be added to procedure 'InitRecord' in table 11000000 "Proposal Line".

    procedure InitRecord()
    var
        ProposalLine: Record "Proposal Line";
    begin
        TestField("Our Bank No.");
        BankAcc.Get("Our Bank No.");
        "Currency Code" := BankAcc."Currency Code";
        if "Transaction Date" = 0D then
            "Transaction Date" := WorkDate() + 1;
        OnInitRecordOnBeforeFindProposalLine(Rec, ProposalLine); //new
        if ProposalLine.FindFirst() then
            "Header Dimension Set ID" := ProposalLine."Header Dimension Set ID";
    end;
    [IntegrationEvent(false, false)]
    local procedure OnInitRecordOnBeforeFindProposalLine(CurrentProposalLine: Record "Proposal Line"; var ProposalLine: Record "Proposal Line")
    begin
        //new
    end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions