Codeunit 5714 Copy Location

Base Application, Microsoft.Inventory.Location

Source AL, 308 lines

src/Layers/W1/BaseApp/Inventory/Location/CopyLocation.Codeunit.allines 14 to 29 of 308, Copyright (c) Microsoft Corporation. MIT

codeunit 5714 "Copy Location"{    TableNo = Location;    trigger OnRun()    var        CopyLocationPage: Page "Copy Location";        IsLocationCopied: Boolean;        IsHandled: Boolean;    begin        OnBeforeOnRun(Rec, NewLocationCode, IsLocationCopied, IsHandled);        if IsHandled then begin            if IsLocationCopied then                ShowNotification(Rec);            exit;        end;

All 308 lines

Events 5 in 29

[IntegrationEvent] OnAfterCopyLocation(var CopyLocationBuffer: Record "Copy Location Buffer"; SourceLocation: Record Location; var TargetLocation: Record Location)new in 28
[IntegrationEvent] OnBeforeCopyLocation(SourceLocation: Record Location; var TargetLocation: Record Location; var CopyLocationBuffer: Record "Copy Location Buffer")new in 28
[IntegrationEvent] OnBeforeOnRun(Location: Record Location; var NewLocationCode: Code[10]; var IsLocationCopied: Boolean; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnRunOnAfterLocationCopied(var CopyLocationBuffer: Record "Copy Location Buffer")new in 28
[IntegrationEvent] OnCopyLocationOnBeforeTargetLocationInsert(SourceLocation: Record Location; var TargetLocation: Record Location; var CopyLocationBuffer: Record "Copy Location Buffer")new in 28

Public procedures 4 in 29

DoCopyLocation()new in 28
SetCopyLocationBuffer(NewCopyLocationBuffer: Record "Copy Location Buffer" temporary)new in 28
ShowCreatedLocation(var LocationCopiedNotification: Notification)new in 28
GetNewLocationCode(): Code[10]new in 28