Page 613 Handled IC Outbox Transactions, source in 29
Source29
src/Layers/W1/BaseApp/Finance/Intercompany/Outbox/HandledICOutboxTransactions.Page.al261 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.Intercompany.Outbox;
using Microsoft.Intercompany;
using Microsoft.Intercompany.Comment;
using Microsoft.Intercompany.Inbox;
/// <summary>
/// Displays processed intercompany outbox transactions for historical review and status tracking.
/// Provides comprehensive management interface for transmitted intercompany transactions and their lifecycle.
/// </summary>
/// <remarks>
/// Primary data source: Handled IC Outbox Trans. Integrates with transaction details, comments, and partner communication status.
/// Navigation: Transaction list → Details → Related documents and partner correspondence tracking.
/// Extensible via page extensions for custom transaction analysis and partner-specific processing logic.
/// </remarks>
page 613 "Handled IC Outbox Transactions"
{
ApplicationArea = Intercompany;
Caption = 'Handled Intercompany Outbox Transactions';
InsertAllowed = false;
ModifyAllowed = false;
PageType = List;
SourceTable = "Handled IC Outbox Trans.";
UsageCategory = Lists;
layout
{
area(content)
{
repeater(Control1)
{
ShowCaption = false;
field("Transaction No."; Rec."Transaction No.")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies the transaction''s entry number.';
}
field("IC Partner Code"; Rec."IC Partner Code")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies the code of the intercompany partner that the transaction is related to if the entry was created from an intercompany transaction.';
}
field(Status; Rec.Status)
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies what action has been taken on the transaction.';
}
#if not CLEAN27
field("Source Type"; Rec."Source Type")
{
ApplicationArea = Intercompany;
Editable = false;
Visible = false;
ToolTip = 'Specifies whether the transaction was created in a journal, a sales document, or a purchase document.';
ObsoleteReason = 'Replaced with IC Source Type for consistent naming.';
ObsoleteState = Pending;
ObsoleteTag = '27.0';
}
#endif
field("IC Source Type"; Rec."IC Source Type")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies whether the transaction was created in a journal, a sales document, or a purchase document.';
}
field("Document Type"; Rec."Document Type")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies the type of the related document.';
}
field("Document No."; Rec."Document No.")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies the number of the related document.';
}
field("Posting Date"; Rec."Posting Date")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies the entry''s posting date.';
}
field("Transaction Source"; Rec."Transaction Source")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies which company created the transaction.';
}
field("Document Date"; Rec."Document Date")
{
ApplicationArea = Intercompany;
Editable = false;
ToolTip = 'Specifies the date when the related document was created.';
}
}
}
area(factboxes)
{
systempart(Control1900383207; Links)
{
ApplicationArea = RecordLinks;
Visible = false;
}
systempart(Control1905767507; Notes)
{
ApplicationArea = Notes;
Visible = false;
}
}
}
actions
{
area(navigation)
{
group("&Outbox Transaction")
{
Caption = '&Outbox Transaction';
Image = Export;
action(GoToDocument)
{
ApplicationArea = Intercompany;
Caption = 'Go to Document';
Image = GetSourceDoc;
Tooltip = 'Navigate to the document sent.';
trigger OnAction()
var
ICNavigation: Codeunit "IC Navigation";
begin
ICNavigation.NavigateToDocument(Rec);
end;
}
action(GoToInbox)
{
ApplicationArea = Intercompany;
Caption = 'Go to Inbox';
Tooltip = 'Navigate to the intercompany inbox transactions.';
RunObject = page "IC Inbox Transactions";
Image = SendTo;
}
action(GoToHandledInbox)
{
ApplicationArea = Intercompany;
Caption = 'Go to Handled Inbox';
Tooltip = 'Navigate to the intercompany handled inbox transactions.';
RunObject = page "Handled IC Inbox Transactions";
RunPageMode = View;
Image = SendTo;
}
action(GoToOutbox)
{
ApplicationArea = Intercompany;
Caption = 'Go to Outbox';
Tooltip = 'Navigate to the intercompany outbox transactions.';
RunObject = page "IC Outbox Transactions";
Image = ExportMessage;
}
action(Details)
{
ApplicationArea = Intercompany;
Caption = 'Details';
Image = View;
ToolTip = 'View transaction details.';
trigger OnAction()
begin
Rec.ShowDetails();
end;
}
action(Comments)
{
ApplicationArea = Intercompany;
Caption = 'Comments';
Image = ViewComments;
RunObject = Page "IC Comment Sheet";
RunPageLink = "Table Name" = const("Handled IC Outbox Transaction"),
"Transaction No." = field("Transaction No."),
"IC Partner Code" = field("IC Partner Code"),
"Transaction Source" = field("Transaction Source");
ToolTip = 'View or add comments for the record.';
}
}
}
area(processing)
{
group("F&unctions")
{
Caption = 'F&unctions';
Image = "Action";
action("Re-create Outbox Transaction")
{
ApplicationArea = Intercompany;
Caption = 'Re-create Outbox Transaction';
Image = NewStatusChange;
ToolTip = 'Re-creates a transaction in the outbox. For example, if you accepted a transaction in your outbox but then deleted the document or journal instead of posting it, you can re-create the outbox entry and accept it again.';
trigger OnAction()
var
ICInboxOutboxMgt: Codeunit ICInboxOutboxMgt;
begin
ICInboxOutboxMgt.RecreateOutboxTransaction(Rec);
end;
}
}
}
area(Promoted)
{
group(Category_Category4)
{
Caption = 'Functions', Comment = 'Generated from the PromotedActionCategories property index 3.';
actionref("Re-create Outbox Transaction_Promoted"; "Re-create Outbox Transaction")
{
}
}
group(Category_Category5)
{
Caption = 'Outbox Transaction', Comment = 'Generated from the PromotedActionCategories property index 4.';
actionref(Details_Promoted; Details)
{
}
actionref(Comments_Promoted; Comments)
{
}
}
group(Category_Navigation)
{
Caption = 'Navigate';
actionref(GoToDocument_Promoted; GoToDocument)
{
}
actionref(GoToInbox_Promoted; GoToInbox)
{
}
actionref(GoToHandledInbox_Promoted; GoToHandledInbox)
{
}
actionref(GoToOutbox_Promoted; GoToOutbox)
{
}
}
group(Category_Report)
{
Caption = 'Report', Comment = 'Generated from the PromotedActionCategories property index 2.';
}
}
}
}