Page 6783 Posted Direct Transfers

Base Application, Microsoft.Inventory.Transfer

src/Layers/W1/BaseApp/Inventory/Transfer/PostedDirectTransfers.Page.al173 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Inventory.Transfer;using Microsoft.Inventory.Comment;page 6783 "Posted Direct Transfers"{    AdditionalSearchTerms = 'direct transfer';    ApplicationArea = Basic, Suite;    Caption = 'Posted Direct Transfers';    CardPageID = "Posted Direct Transfer";    Editable = false;    PageType = List;    SourceTable = "Direct Trans. Header";    UsageCategory = History;    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("No."; Rec."No.")                {                    ApplicationArea = Basic, Suite;                }                field("Transfer-from Code"; Rec."Transfer-from Code")                {                    ApplicationArea = Basic, Suite;                }                field("Transfer-to Code"; Rec."Transfer-to Code")                {                    ApplicationArea = Basic, Suite;                }                field("Posting Date"; Rec."Posting Date")                {                    ApplicationArea = Basic, Suite;                }                field("Shortcut Dimension 1 Code"; Rec."Shortcut Dimension 1 Code")                {                    Visible = false;                }                field("Shortcut Dimension 2 Code"; Rec."Shortcut Dimension 2 Code")                {                    Visible = false;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = true;            }        }    }    actions    {        area(navigation)        {            group("&Transfer")            {                Caption = '&Transfer';                action(Statistics)                {                    Caption = 'Statistics';                    Image = Statistics;                    RunObject = Page "Transfer Shipment Statistics";                    RunPageLink = "No." = field("No.");                    ShortCutKey = 'F7';                    ToolTip = 'View statistical information, such as the value of posted entries, for the record.';                }                action("Co&mments")                {                    Caption = 'Co&mments';                    Image = ViewComments;                    RunObject = Page "Inventory Comment Sheet";                    RunPageLink = "Document Type" = const("Posted Transfer Shipment"),                                  "No." = field("No.");                    ToolTip = 'View or add comments for the record.';                }                action(Dimensions)                {                    ApplicationArea = Basic, Suite;                    Caption = 'Dimensions';                    Image = Dimensions;                    ShortCutKey = 'Alt+D';                    ToolTip = 'View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history.';                    trigger OnAction()                    begin                        Rec.ShowDimensions();                    end;                }            }        }        area(processing)        {            action("&Print")            {                ApplicationArea = Basic, Suite;                Caption = '&Print';                Ellipsis = true;                Image = Print;                ToolTip = 'Prepare to print the document. A report request window for the document opens where you can specify what to include on the print-out.';                trigger OnAction()                begin                    DirectTransHeader := Rec;                    CurrPage.SetSelectionFilter(DirectTransHeader);                    DirectTransHeader.PrintRecords(true);                end;            }            action("&Navigate")            {                ApplicationArea = Basic, Suite;                Caption = 'Find entries...';                Image = Navigate;                ShortCutKey = 'Ctrl+Alt+Q';                ToolTip = 'Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.)';                trigger OnAction()                begin                    Rec.Navigate();                end;            }        }        area(Promoted)        {            group(Category_Process)            {                Caption = 'Process';                actionref("&Print_Promoted"; "&Print")                {                }                actionref("&Navigate_Promoted"; "&Navigate")                {                }                group(Category_Transfer)                {                    Caption = 'Transfer';                    actionref(Dimensions_Promoted; Dimensions)                    {                    }                    actionref(Statistics_Promoted; Statistics)                    {                    }                    actionref("Co&mments_Promoted"; "Co&mments")                    {                    }                }            }        }    }    var        DirectTransHeader: Record "Direct Trans. Header";}