Page 30131 Shpfy Order Transactions
src/Apps/W1/Shopify/App/src/Transactions/Pages/ShpfyOrderTransactions.Page.al138 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.Integration.Shopify;/// <summary>/// Page Shpfy Order Transactions (ID 30131)./// </summary>page 30131 "Shpfy Order Transactions"{ Caption = 'Shopify Order Transactions'; PromotedActionCategories = 'New,Process,Report,Inspect'; DeleteAllowed = false; Editable = false; InsertAllowed = false; ModifyAllowed = false; PageType = List; SourceTable = "Shpfy Order Transaction"; UsageCategory = None; layout { area(content) { repeater(Group) { field(ShopifyTransactionId; Rec."Shopify Transaction Id") { ApplicationArea = All; Visible = false; ToolTip = 'Specifies a unique identifier for the transaction.'; } field(ShopifyOrderId; Rec."Shopify Order Id") { ApplicationArea = All; Visible = false; ToolTip = 'Specifies a unique identifier for the order.'; } field(ShpfyOrderNo; Rec."Shpfy Order No.") { ApplicationArea = All; Visible = false; ToolTip = 'Specifies the order number from Shopify.'; } field(Type; Rec.Type) { ApplicationArea = All; ToolTip = 'Specifies the transaction type. Valid values are: authorization, capture, sale, void and refund.'; } field(Gateway; Rec.Gateway) { ApplicationArea = All; ToolTip = 'Specifies the name of the gateway the transaction was issued through.'; } field(Status; Rec.Status) { ApplicationArea = All; ToolTip = 'Specifies the status of the transaction. Valid values are: pending, failure, success and error.'; } field("Message"; Rec.Message) { ApplicationArea = All; ToolTip = 'Specifies a string generated by the payment provider with additional information about why the transaction succeeded or failed.'; } field(Amount; Rec.Amount) { ApplicationArea = All; ToolTip = 'Specifies the amount of money included in the transaction.'; } field(Currency; Rec.Currency) { ApplicationArea = All; ToolTip = 'Specifies the currency of the transaction.'; } field(Test; Rec.Test) { ApplicationArea = All; ToolTip = 'Specifies if the transaction was created for a test mode Order or payment.'; } field(CreatedAt; Rec."Created At") { ApplicationArea = All; ToolTip = 'Specifies the date and time when the transaction was created in Shopify.'; } field(Authorization; Rec.Authorization) { ApplicationArea = All; Visible = false; ToolTip = 'Specifies the authorization of the transaction.'; } } } area(factboxes) { systempart(Links; Links) { ApplicationArea = All; Visible = false; } systempart(Notes; Notes) { ApplicationArea = All; } } } actions { area(Navigation) { action("Retrieved Shopify Data") { ApplicationArea = All; Caption = 'Retrieved Shopify Data'; Image = Entry; Promoted = true; PromotedCategory = Category4; PromotedIsBig = true; PromotedOnly = true; ToolTip = 'View the data retrieved from Shopify.'; trigger OnAction(); var DataCapture: Record "Shpfy Data Capture"; begin DataCapture.SetCurrentKey("Linked To Table", "Linked To Id"); DataCapture.SetRange("Linked To Table", Database::"Shpfy Order Transaction"); DataCapture.SetRange("Linked To Id", Rec.SystemId); Page.Run(Page::"Shpfy Data Capture List", DataCapture); end; } } }}