-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update
Description
Why do you need this change?
We need to add an ishandle in this procedure.
Describe the request
[ES][Codeunit][99000837][Prod. Order Line-Reserve]
AssignForPlanning()
Would like to add a new event OnBeforeAssignForPlanning:
procedure AssignForPlanning(var ProdOrderLine: Record "Prod. Order Line")
var
PlanningAssignment: Record "Planning Assignment";
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Ishandled: Boolean;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
begin
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
OnBeforeAssignForPlanning(ProdOrderLine, Ishandled);
if Ishandled then
exit;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
if ProdOrderLine.Status = ProdOrderLine.Status::Simulated then
exit;
if ProdOrderLine."Item No." <> '' then
PlanningAssignment.ChkAssignOne(ProdOrderLine."Item No.", ProdOrderLine."Variant Code", ProdOrderLine."Location Code", WorkDate());
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeAssignForPlanning(ProdOrderLine: Record "Prod. Order Line"; var Ishandled: Boolean)
begin
end;
Internal work item: AB#602722
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update