Skip to content

[Event Request] codeunit 5763 "Whse.-Post Shipment" - OnAfterRun #29486

@auzhhv

Description

@auzhhv

Why do you need this change?

Can you add "Suppress Commit" to event OnAfterRun in codeunit 5763 "Whse.-Post Shipment".

        Code();
        Rec := WhseShptLine;

        //OnAfterRun(Rec, WhsePostParameters."Preview Posting");
OnAfterRun(Rec, WhsePostParameters."Preview Posting", WhsePostParameters."Suppress Commit");
    end;
    [IntegrationEvent(false, false)]
    //local procedure OnAfterRun(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; PreviewMode: Boolean)
    local procedure OnAfterRun(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; PreviewMode: Boolean; SuppressCommit: Boolean)
    begin
    end;

Describe the request

I need to check whether commit is suppressed to avoid running custom code that requires commit.
Internal work item: AB#615330

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions