Codeunit 30326 Shpfy Mtfld Type Weight

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 80 lines

src/Apps/W1/Shopify/App/src/Metafields/Codeunits/IMetafieldType/ShpfyMtfldTypeWeight.Codeunit.allines 8 to 23 of 80, Copyright (c) Microsoft Corporation. MIT

codeunit 30326 "Shpfy Mtfld Type Weight" implements "Shpfy IMetafield Type"{    var        WeightJsonTemplateTxt: Label '{"value": %1,"unit":"%2"}', Locked = true;    procedure HasAssistEdit(): Boolean    begin        exit(true);    end;    procedure IsValidValue(Value: Text): Boolean    var        Weight: Decimal;        Unit: Enum "Shpfy Metafield Weight Type";    begin        exit(TryExtractValues(Value, Weight, Unit));

All 80 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