Codeunit 30108 Shpfy County Code
Source AL, 40 lines
src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfyCountyCode.Codeunit.allines 13 to 28 of 40, Copyright (c) Microsoft Corporation. MIT
codeunit 30108 "Shpfy County Code" implements "Shpfy ICounty"{ Access = Internal; /// <summary> /// Description for County. /// </summary> /// <param name="CustomerAddress">Parameter of type Record "Shopify Customer Address".</param> /// <returns>Return variable "Text".</returns> internal procedure County(CustomerAddress: Record "Shpfy Customer Address"): Text var Customer: Record Customer; begin exit(CopyStr(CustomerAddress."Province Code", 1, MaxStrLen(Customer.County))); end;