Codeunit 30317 Shpfy Mtfld Type Money

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 79 lines

src/Apps/W1/Shopify/App/src/Metafields/Codeunits/IMetafieldType/ShpfyMtfldTypeMoney.Codeunit.allines 10 to 25 of 79, Copyright (c) Microsoft Corporation. MIT

codeunit 30317 "Shpfy Mtfld Type Money" implements "Shpfy IMetafield Type"{    var        MoneyJsonTemplateTxt: Label '{"amount": "%1", "currency_code": "%2"}', Locked = true;    procedure HasAssistEdit(): Boolean    begin        exit(true);    end;    procedure IsValidValue(Value: Text): Boolean    var        Amount: Decimal;        CurrencyCode: Code[10];    begin        exit(TryExtractValues(Value, Amount, CurrencyCode));

All 79 lines

Public procedures 4 in 29

HasAssistEdit(): Booleannew in 25
IsValidValue(Value: Text): Booleannew in 25
AssistEdit(var Value: Text[2048]): Booleannew in 25
GetExampleValue(): Textnew in 25

All 5 procedures in 25-29