ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 7325 - Whse.-Output Prod. Release - CreateWhseRqst

Open hhout opened this issue 7 years ago • 0 comments

Hi,

We would like to request an event in CodeUnit 7325 “Whse.-Output Prod. Release”, function CreateWhseRqst ().

Event:

ProdHeader."Source Type"::"Sales Header":
    WhseRqst."Destination Type" := WhseRqst."Destination Type"::"Sales Order";
END;

// START EVENT ++
OnBeforeCreateWhseRequest(WhseRqst,ProdOrderLine,ProdHeader);
// END EVENT --

IF NOT WhseRqst.INSERT THEN
  WhseRqst.MODIFY;

Publisher function:

LOCAL [IntegrationEvent] OnBeforeCreateWhseRequest (var WhseRequest : Record "Warehouse Request"; ProdOrderLine : Record "Prod. Order Line"; ProdHeader : Record "Production Order")

Thanks in advance!

hhout avatar May 03 '19 10:05 hhout