Codeunit 30121 Shpfy Name is First. LastName

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfyNameisFirstLastName.Codeunit.al32 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.Customer;/// <summary>/// Codeunit Shpfy Name is First. LastName (ID 30121) implements Interface Shpfy ICustomer Name./// </summary>codeunit 30121 "Shpfy Name is First. LastName" implements "Shpfy ICustomer Name"{    Access = Internal;    /// <summary>     /// Description for GetName.    /// </summary>    /// <param name="FirstName">Parameter of type Text.</param>    /// <param name="LastName">Parameter of type Text.</param>    /// <param name="CompanyName">Parameter of type Text.</param>    /// <returns>Return variable "Text".</returns>    internal procedure GetName(FirstName: Text; LastName: Text; CompanyName: Text): Text    var        Customer: Record Customer;        Name: Text;    begin        Name := FirstName.Trim() + ' ' + LastName.Trim();        exit(CopyStr(Name.Trim(), 1, MaxStrLen(Customer.Name)));    end;}