Codeunit 365 Format Address

Base Application, Microsoft.Foundation.Address

Source AL, 1,982 lines

src/Layers/W1/BaseApp/Foundation/Address/FormatAddress.Codeunit.allines 28 to 43 of 1,982, Copyright (c) Microsoft Corporation. MIT

codeunit 365 "Format Address"{    Permissions = tabledata "Country/Region" = r;    SingleInstance = true;    var        GLSetup: Record "General Ledger Setup";        CompanyInfo: Record "Company Information";        GLSetupRead: Boolean;        i: Integer;        LanguageCode: Code[10];    /// <summary>    /// Formats address information based on value 'Address Format' for country, provided by CountryCode.    /// </summary>    /// <param name="AddrArray">Array that will hold formatted address.</param>

All 1,982 lines

Events 75 in 29

[IntegrationEvent] OnBeforeCompany(var AddrArray: array[8] of Text[100]; var CompanyInfo: Record "Company Information"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnAfterFormatAddress(var AddrArray: array[8] of Text[100]; var Name: Text[100]; var Name2: Text[100]; var Contact: Text[100]; var Addr: Text[100]; var Addr2: Text[50]; var City: Text[50]; var PostCode: Code[20]; var County: Text[50]; var CountryCode: Code[10]; LanguageCode: Code[10])17-29
[IntegrationEvent] OnAfterGeneratePostCodeCity(var Country: Record "Country/Region"; var PostCode: Code[20]; var PostCodeCityText: Text[100]; var City: Text[50]; var CountyText: Text[50]; var County: Text[50])17-29
[IntegrationEvent] OnBeforeBankAcc(var AddrArray: array[8] of Text[100]; var BankAccount: Record "Bank Account"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeContactAddrAlt(var AddrArray: array[8] of Text[100]; var Cont: Record Contact; AltAddressCode: Code[10]; ActiveDate: Date; var Handled: Boolean)17-29
[IntegrationEvent] OnBeforeCustomer(var AddrArray: array[8] of Text[100]; var Cust: Record Customer; var Handled: Boolean)17-29
[IntegrationEvent] OnBeforeCustBankAcc(var AddrArray: array[8] of Text[100]; var CustomerBankAccount: Record "Customer Bank Account"; var IsHandled: Boolean)17-29

All 93 events in 17-29

Public procedures 72 in 29

FormatAddr(var AddrArray: array[8] of Text[100]; Name: Text[100]; Name2: Text[100]; Contact: Text[100]; Addr: Text[100]; Addr2: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10])17-29
FormatPostCodeCity(var PostCodeCityText: Text[100]; var CountyText: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10])17-29
GetCompanyAddr(RespCenterCode: Code[10]; var ResponsibilityCenter: Record "Responsibility Center"; var CompanyInfo: Record "Company Information"; var CompanyAddr: array[8] of Text[100])17-29
Company(var AddrArray: array[8] of Text[100]; var CompanyInfo: Record "Company Information")17-29
Customer(var AddrArray: array[8] of Text[100]; var Cust: Record Customer)17-29
Vendor(var AddrArray: array[8] of Text[100]; var Vend: Record Vendor)17-29

All 103 procedures in 17-29

Changes 42 in 28

List17181920212223242526272829
Procedures18113328
Events17265111814
ServiceOrderSellto(var AddrArray: array[8] of Text[100]; ServHeader: Record "Service Header")gone after 27
gone
ServiceOrderShipto(var AddrArray: array[8] of Text[100]; ServHeader: Record "Service Header")gone after 27
gone
ServContractSellto(var AddrArray: array[8] of Text[100]; ServContract: Record "Service Contract Header")gone after 27
gone
ServContractShipto(var AddrArray: array[8] of Text[100]; ServiceContractHeader: Record "Service Contract Header")gone after 27
gone
ServiceInvBillTo(var AddrArray: array[8] of Text[100]; var ServiceInvHeader: Record "Service Invoice Header")gone after 27
gone
ServiceInvShipTo(var AddrArray: array[8] of Text[100]; CustAddr: array[8] of Text[100]; var ServiceInvHeader: Record "Service Invoice Header"): Booleangone after 27
gone

All 127 changes in 17-29