Table extension 30101 Shpfy Sales Header

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Order handling/Table Extensions/ShpfySalesHeader.TableExt.al50 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;using Microsoft.Sales.Document;/// <summary>/// TableExtension Shpfy Sales Header (ID 30101) extends Record Sales Header./// </summary>tableextension 30101 "Shpfy Sales Header" extends "Sales Header"{    fields    {        field(30100; "Shpfy Order Id"; BigInteger)        {            Caption = 'Shopify Order Id';            DataClassification = CustomerContent;            Editable = false;        }        field(30101; "Shpfy Order No."; Code[50])        {            Caption = 'Shopify Order No.';            DataClassification = CustomerContent;            Editable = false;        }#if not CLEANSCHEMA28        field(30102; "Shpfy Risk Level"; Enum "Shpfy Risk Level")        {            Caption = 'Risk Level';            FieldClass = FlowField;            CalcFormula = lookup("Shpfy Order Header"."Risk Level" where("Shopify Order Id" = field("Shpfy Order Id")));            ObsoleteReason = 'This field is not imported.';                            ObsoleteState = Removed;                            ObsoleteTag = '28.0';        }#endif        field(30103; "Shpfy Refund Id"; BigInteger)        {            Caption = 'Shopify Refund Id';            DataClassification = CustomerContent;            Editable = false;        }    }}