Page 30139 Shpfy Fulfillment Order Lines

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Order Fulfillments/Pages/ShpfyFulfillmentOrderLines.Page.al103 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;page 30139 "Shpfy Fulfillment Order Lines"{    ApplicationArea = All;    Caption = 'Shopify Fulfillment Order Lines';    PageType = ListPart;    SourceTable = "Shpfy FulFillment Order Line";    layout    {        area(content)        {            repeater(General)            {                field("Shopify Fulfillment Order Id"; Rec."Shopify Fulfillment Order Id")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Shopify Fulfillment Order Id field.';                    Visible = false;                }                field("Shopify Fulfillm. Ord. Line Id"; Rec."Shopify Fulfillm. Ord. Line Id")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Shopify Fulfillm. Ord. Line Id field.';                    Visible = false;                }                field("Shopify Location Id"; Rec."Shopify Location Id")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Shopify Location Id field.';                }                field("Shopify Order Id"; Rec."Shopify Order Id")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Shopify Order Id field.';                    Visible = false;                }                field("Shopify Product Id"; Rec."Shopify Product Id")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Shopify Product Id field.';                }                field("Shopify Variant Id"; Rec."Shopify Variant Id")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Shopify Variant Id field.';                }                field("Item No."; ItemNo)                {                    ApplicationArea = All;                    Caption = 'Item No.';                    ToolTip = 'Specifies the value of the Item No. field.';                }                field("Variant Code"; VariantCode)                {                    ApplicationArea = All;                    Caption = 'Variant Code';                    ToolTip = 'Specifies the value of the Variant Code field.';                }                field("Quantity to Fulfill"; Rec."Quantity to Fulfill")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Qty. to Fulfill field.';                }                field("Remaining Quantity"; Rec."Remaining Quantity")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Remaining Quantity field.';                }                field("Total Quantity"; Rec."Total Quantity")                {                    ApplicationArea = All;                    ToolTip = 'Specifies the value of the Total Quantity field.';                }            }        }    }    trigger OnAfterGetRecord()    var        Product: Record "Shpfy Product";        Variant: Record "Shpfy Variant";    begin        if Product.Get(Rec."Shopify Product Id") then begin            Product.CalcFields("Item No.");            ItemNo := Product."Item No.";        end;        if Variant.Get(Rec."Shopify Variant Id") then begin            Variant.CalcFields("Variant Code");            VariantCode := Variant."Variant Code";        end;    end;    var        ItemNo: Code[20];        VariantCode: Code[10];}