Page 56 Purchase Orders
- App
- Base Application
- Namespace
- Microsoft.Purchases.Document
- Versions
- 17-28
- Source table
- 39
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Purchases/Document/PurchaseOrders.Page.al146 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.Purchases.Document;
using Microsoft.Inventory.Item;
page 56 "Purchase Orders"
{
Caption = 'Purchase Orders';
DataCaptionFields = "No.";
Editable = false;
PageType = List;
SourceTable = "Purchase Line";
SourceTableView = where("Document Type" = filter(Order));
layout
{
area(content)
{
repeater(Control1)
{
ShowCaption = false;
field(Type; Rec.Type)
{
ApplicationArea = Suite;
}
field("No."; Rec."No.")
{
ApplicationArea = Suite;
}
field(Description; Rec.Description)
{
ApplicationArea = Suite;
}
field("Description 2"; Rec."Description 2")
{
ApplicationArea = Suite;
Importance = Additional;
Visible = false;
}
field("Expected Receipt Date"; Rec."Expected Receipt Date")
{
ApplicationArea = Suite;
ToolTip = 'Specifies the date you expect the items to be available in your warehouse. If you leave the field blank, it will be calculated as follows: Planned Receipt Date + Safety Lead Time + Inbound Warehouse Handling Time = Expected Receipt Date.';
}
field("Buy-from Vendor No."; Rec."Buy-from Vendor No.")
{
ApplicationArea = Suite;
}
field("Document No."; Rec."Document No.")
{
ApplicationArea = Suite;
}
field("Currency Code"; Rec."Currency Code")
{
ApplicationArea = Suite;
ToolTip = 'Specifies the code of the currency of the amounts on the purchase line.';
}
field(Quantity; Rec.Quantity)
{
ApplicationArea = Suite;
ToolTip = 'Specifies the number of units of the item that will be specified on the line.';
}
field("Outstanding Quantity"; Rec."Outstanding Quantity")
{
ApplicationArea = Suite;
}
field("Unit of Measure Code"; Rec."Unit of Measure Code")
{
ApplicationArea = Suite;
}
field(Amount; Rec.Amount)
{
ApplicationArea = Suite;
ToolTip = 'Specifies the sum of amounts in the Line Amount field on the purchase order lines.';
}
field("Amount Including VAT"; Rec."Amount Including VAT")
{
ApplicationArea = Suite;
Visible = false;
}
field("Direct Unit Cost"; Rec."Direct Unit Cost")
{
ApplicationArea = Suite;
}
field("Line Discount %"; Rec."Line Discount %")
{
ApplicationArea = Suite;
}
}
}
area(factboxes)
{
systempart(Control1900383207; Links)
{
ApplicationArea = RecordLinks;
Visible = false;
}
systempart(Control1905767507; Notes)
{
ApplicationArea = Notes;
Visible = false;
}
}
}
actions
{
area(navigation)
{
group("&Line")
{
Caption = '&Line';
Image = Line;
action("Show Document")
{
ApplicationArea = Suite;
Caption = 'Show Document';
Image = View;
RunObject = Page "Purchase Order";
RunPageLink = "Document Type" = field("Document Type"),
"No." = field("Document No.");
ShortCutKey = 'Shift+F7';
ToolTip = 'Open the document that the selected line exists on.';
}
action("Reservation Entries")
{
AccessByPermission = TableData Item = R;
ApplicationArea = Reservation;
Caption = 'Reservation Entries';
Image = ReservationLedger;
ToolTip = 'View the entries for every reservation that is made, either manually or automatically.';
trigger OnAction()
begin
Rec.ShowReservationEntries(true);
end;
}
}
}
}
}