Codeunit 18123256 EOS Format Address

Codeunit 18123256 EOS Format Address

Methods

FormatAddr

procedure 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])

Parameters / Return Value

  • AddrArray 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]


Events

OnAfterFormatAddress

local procedure 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])

Parameters / Return Value

  • AddrArray 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]


OnBeforeContactAddrAlt

local procedure OnBeforeContactAddrAlt(var AddrArray: array[8] of Text[100]; var Cont: Record Contact; AltAddressCode: Code[10]; ActiveDate: Date; var Handled: Boolean)

Parameters / Return Value

  • AddrArray Text[100]

  • Cont Record "Contact"

  • AltAddressCode Code[10]

  • ActiveDate Date

  • Handled Boolean


OnBeforeCustomer

local procedure OnBeforeCustomer(var AddrArray: array[8] of Text[100]; var Cust: Record Customer; var Handled: Boolean)

Parameters / Return Value

  • AddrArray Text[100]

  • Cust Record "Customer"

  • Handled Boolean


OnBeforeFormatAddress

local procedure OnBeforeFormatAddress(Country: Record "Country/Region"; 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]; NameLineNo: Integer; Name2LineNo: Integer; AddrLineNo: Integer; Addr2LineNo: Integer; ContLineNo: Integer; PostCodeCityLineNo: Integer; CountyLineNo: Integer; CountryLineNo: Integer; var Handled: Boolean)

Parameters / Return Value

  • Country Record "Country/Region"

  • AddrArray 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]

  • NameLineNo Integer

  • Name2LineNo Integer

  • AddrLineNo Integer

  • Addr2LineNo Integer

  • ContLineNo Integer

  • PostCodeCityLineNo Integer

  • CountyLineNo Integer

  • CountryLineNo Integer

  • Handled Boolean


OnBeforeSalesHeaderBillTo

local procedure OnBeforeSalesHeaderBillTo(var AddrArray: array[8] of Text[100]; var SalesHeader: Record "Sales Header"; var Handled: Boolean)

Parameters / Return Value

  • AddrArray Text[100]

  • SalesHeader Record "Sales Header"

  • Handled Boolean


OnBeforeSalesInvBillTo

local procedure OnBeforeSalesInvBillTo(var AddrArray: array[8] of Text[100]; var SalesInvHeader: Record "Sales Invoice Header"; var Handled: Boolean)

Parameters / Return Value

  • AddrArray Text[100]

  • SalesInvHeader Record "Sales Invoice Header"

  • Handled Boolean


OnBeforeSalesCrMemoBillTo

local procedure OnBeforeSalesCrMemoBillTo(var AddrArray: array[8] of Text[100]; var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var Handled: Boolean)

Parameters / Return Value

  • AddrArray Text[100]

  • SalesCrMemoHeader Record "Sales Cr.Memo Header"

  • Handled Boolean


OnBeforeServContractShipTo

local procedure OnBeforeServContractShipTo(var AddrArray: array[8] of Text[100]; ServiceContractHeader: Record "Service Contract Header")

Parameters / Return Value

  • AddrArray Text[100]

  • ServiceContractHeader Record "Service Contract Header"


OnBeforeVendor

local procedure OnBeforeVendor(var AddrArray: array[8] of Text[100]; var Vendor: Record Vendor; var Handled: Boolean)

Parameters / Return Value

  • AddrArray Text[100]

  • Vendor Record "Vendor"

  • Handled Boolean



EOS Labs -