Skip to content

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

Description

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.

Internal work item: AB#641682

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventext-ready-to-implementReviewed and ready to implement and create PR

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions