Skip to content

[BUG] Carry Out Action event incorrect records order #8281

Description

@iti-jakub-maczko

Hi,
As stated, tere is a buf in version 28.1 - reversed order of records in the OnAfterCarryOutToReqWksh event in the codeunit 99000813 "Carry Out Action".

Code in version 28.0 and prior:

///Event call:
//...code before
OnAfterCarryOutToReqWksh(RequisitionLine2, RequisitionLine, ReqWkshTempName, ReqJournalName, LineNo);
//...code after

Code in version 28.1:

//...code before
OnAfterCarryOutToReqWksh(RequisitionLine, RequisitionLine2, ReqWkshTempName, ReqJournalName, LineNo);
//...code after

While the event publisher stays the same:

    [IntegrationEvent(false, false)]
    local procedure OnAfterCarryOutToReqWksh(var RequisitionLine: Record "Requisition Line"; RequisitionLine2: Record "Requisition Line"; ReqWkshTempName: Code[10]; ReqJournalName: Code[10]; LineNo: Integer)
    begin
    end;

Because of that we have no way to modify the values in the target Requisition line, based in the Requisition line, that it was created from.

Could You please verify? It is a blocker to one of our processes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions