Codeunit 30259 Shpfy BC Document Type Convert

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 101 lines

src/Apps/W1/Shopify/App/src/Document Links/Codeunits/ShpfyBCDocumentTypeConvert.Codeunit.allines 11 to 26 of 101, Copyright (c) Microsoft Corporation. MIT

codeunit 30259 "Shpfy BC Document Type Convert"{    var        NotSupportedErr: Label 'Not Supported';    procedure Convert(SalesDocumentType: enum "Sales Document Type"): enum "Shpfy Document Type";    begin        case SalesDocumentType of            SalesDocumentType::Order:                exit("Shpfy Document Type"::"Sales Order");            SalesDocumentType::Invoice:                exit("Shpfy Document Type"::"Sales Invoice");            SalesDocumentType::"Return Order":                exit("Shpfy Document Type"::"Sales Return Order");            SalesDocumentType::"Credit Memo":                exit("Shpfy Document Type"::"Sales Credit Memo");

All 101 lines

Public procedures 5 in 29

Convert(SalesDocumentType: Enum "Sales Document Type"): Enum "Shpfy Document Type"new in 22
CanConvert(RecordVariant: Variant): Booleannew in 22
Convert(RecordVariant: Variant): Enum "Shpfy Document Type"new in 22
CanConvert(BCDocumentType: Enum "Shpfy Document Type"): Booleannew in 22
Convert(BCDocumentType: Enum "Shpfy Document Type"): Enum "Sales Document Type"new in 22