Share via


Codeunit "Format Address"

ID 365
Namespace: Microsoft.Foundation.Address

Properties

Name Value
Permissions tabledata "Country/Region" = r
SingleInstance True

Methods

FormatAddr

Formats address information based on value 'Address Format' for country, provided by CountryCode.

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

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted address.

Name Text[100]

Provided name information.

Name2 Text[100]

Provided name 2 information.

Contact Text[100]

Provided contact name information.

Addr Text[100]

Provided address information.

Addr2 Text[50]

Provided address 2 information.

City Text[50]

Provided city name information.

PostCode Code[20]

Provided post code information.

County Text[50]

Provided county name information.

CountryCode Code[10]

Country code for selected country.

Remarks

In case that CountryCode is empty 'Address Format' will be taken from general ledger setup.

FormatPostCodeCity

Formats post code information based on value 'Address Format' for country, provided by CountryCode.

procedure FormatPostCodeCity(var PostCodeCityText: Text[100], var CountyText: Text[50], City: Text[50], PostCode: Code[20], County: Text[50], CountryCode: Code[10])

Parameters

Name Type Description
PostCodeCityText Text[100]

Parameter PostCodeCityText that will hold formatted post code information.

CountyText Text[50]

Parameter CountyText that will hold formatted county information.

City Text[50]

Provided city information.

PostCode Code[20]

Provided post code information.

County Text[50]

Provided county information.

CountryCode Code[10]

Country code for selected country.

Remarks

In case that CountryCode is empty 'Address Format' will be taken from general ledger setup.

GeneratePostCodeCity

Combines post code and city information based on value 'Address Format' of provided country.

procedure GeneratePostCodeCity(var PostCodeCityText: Text[100], var CountyText: Text[50], City: Text[50], PostCode: Code[20], County: Text[50], Country: Record "Country/Region")

Parameters

Name Type Description
PostCodeCityText Text[100]

Parameter PostCodeCityText that will hold combined post code and city information.

CountyText Text[50]

Parameter CountyText that will hold formatted county information.

City Text[50]

Provided city name information.

PostCode Code[20]

Provided post code information.

County Text[50]

Provided county information.

Country Table Microsoft.Foundation.Address."Country/Region"

Selected country record.

GetCompanyAddr

Formats company information.

procedure GetCompanyAddr(RespCenterCode: Code[10], var ResponsibilityCenter: Record "Responsibility Center", var CompanyInfo: Record "Company Information", var CompanyAddr: array[8] of Text[100])

Parameters

Name Type Description
RespCenterCode Code[10]

Selected responsibility center code.

ResponsibilityCenter Table Microsoft.Inventory.Location."Responsibility Center"

Record holding selected responsibility center.

CompanyInfo Table Microsoft.Foundation.Company."Company Information"

Company information record.

CompanyAddr array[8] of Text[100]

Array that will hold company information.

Remarks

in case responsibility center exists information will be taken from it, otherwise from company information.

Company

Formats company name and address information.

procedure Company(var AddrArray: array[8] of Text[100], var CompanyInfo: Record "Company Information")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formated name and address.

CompanyInfo Table Microsoft.Foundation.Company."Company Information"

Source compnay information record.

Customer

Formats customer name and address information.

procedure Customer(var AddrArray: array[8] of Text[100], var Cust: Record Customer)

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

Cust Table Microsoft.Sales.Customer.Customer

Source customer record.

Vendor

Formats vendor name and address information.

procedure Vendor(var AddrArray: array[8] of Text[100], var Vend: Record Vendor)

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

Vend Table Microsoft.Purchases.Vendor.Vendor

Source vendor record.

BankAcc

Formats bank account name and address information.

procedure BankAcc(var AddrArray: array[8] of Text[100], var BankAcc: Record "Bank Account")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

BankAcc Table Microsoft.Bank.BankAccount."Bank Account"

Source bank account record.

Location

Formats location name and address information.

procedure Location(var AddrArray: array[8] of Text[100], var Location: Record Location)

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

Location Table Microsoft.Inventory.Location.Location

Source location record.

SalesHeaderSellTo

Formats customer name and address information based on 'Sell-to' information of provided sales header.

procedure SalesHeaderSellTo(var AddrArray: array[8] of Text[100], var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

SalesHeader Table Microsoft.Sales.Document."Sales Header"

Source sales header record.

SalesHeaderBillTo

Formats customer name and address information based on 'Bill-to' information of provided sales header.

procedure SalesHeaderBillTo(var AddrArray: array[8] of Text[100], var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

SalesHeader Table Microsoft.Sales.Document."Sales Header"

Source sales header record.

SalesHeaderShipTo

Formats shipment address information based on 'Ship-to' information of provided sales header.

procedure SalesHeaderShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var SalesHeader: Record "Sales Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted shipment information.

CustAddr array[8] of Text[100]

Array that holds customer information.

SalesHeader Table Microsoft.Sales.Document."Sales Header"

Source sales header record.

Returns

Type Description
Boolean

Returns 'true' if shipment address is different than customer address, otherwise 'false'.

PurchHeaderBuyFrom

Formats vendor name and address information based on 'Buy-from' information of provided purchase header.

procedure PurchHeaderBuyFrom(var AddrArray: array[8] of Text[100], var PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

Source purchase header record.

PurchHeaderPayTo

Formats vendor name and address information based on 'Pay-to' information of provided purchase header.

procedure PurchHeaderPayTo(var AddrArray: array[8] of Text[100], var PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

Source purchase header record.

PurchHeaderShipTo

Formats shipment address information based on 'Ship-to' information of provided purchase header.

procedure PurchHeaderShipTo(var AddrArray: array[8] of Text[100], var PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

Source purchase header record.

PurchHeaderRemitTo

Gets vendor remit address information if exist.

procedure PurchHeaderRemitTo(var RemitAddressBuffer: Record "Remit Address Buffer" temporary, var PurchHeader: Record "Purchase Header"): Boolean

Parameters

Name Type Description
RemitAddressBuffer Table Microsoft.Purchases.Remittance."Remit Address Buffer"

Buffer record that will hold remit address information.

PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

Source purchase header record.

Returns

Type Description
Boolean

Returns 'false' if remit address doesn't exist, otherwise 'true'.

SalesShptSellTo

Formats customer name and address information based on 'Sell-to' information of provided sales shipment header.

procedure SalesShptSellTo(var AddrArray: array[8] of Text[100], var SalesShptHeader: Record "Sales Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

SalesShptHeader Table Microsoft.Sales.History."Sales Shipment Header"

Source sales shipment header record.

SalesShptBillTo

Format provided sales shipment document 'Bill-to' information.

procedure SalesShptBillTo(var AddrArray: array[8] of Text[100], ShipToAddr: array[8] of Text[100], var SalesShptHeader: Record "Sales Shipment Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted 'Bill-to' information.

ShipToAddr array[8] of Text[100]

Array that holds shipment information.

SalesShptHeader Table Microsoft.Sales.History."Sales Shipment Header"

Source sales shipment header record.

Returns

Type Description
Boolean

Returns 'true' if 'Bill-to' information is different than 'Ship-to' customer information, otherwise 'false'.

SalesShptShipTo

Formats shipment information for provided sales shipment header.

procedure SalesShptShipTo(var AddrArray: array[8] of Text[100], var SalesShptHeader: Record "Sales Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formated name and address.

SalesShptHeader Table Microsoft.Sales.History."Sales Shipment Header"

Source sales shipment header record.

SalesInvSellTo

Formats customer information based on 'Sell-to' information of provided sales invoice header.

procedure SalesInvSellTo(var AddrArray: array[8] of Text[100], var SalesInvHeader: Record "Sales Invoice Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

SalesInvHeader Table Microsoft.Sales.History."Sales Invoice Header"

Source sales invoice header record.

SalesInvBillTo

Formats customer information based on 'Bill-to' information of provided sales invoice header.

procedure SalesInvBillTo(var AddrArray: array[8] of Text[100], var SalesInvHeader: Record "Sales Invoice Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

SalesInvHeader Table Microsoft.Sales.History."Sales Invoice Header"

Source sales invoice header record.

SalesInvShipTo

Formats provided sales invoice header shipment information.

procedure SalesInvShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var SalesInvHeader: Record "Sales Invoice Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

CustAddr array[8] of Text[100]

Array that holds customer information.

SalesInvHeader Table Microsoft.Sales.History."Sales Invoice Header"

Source sales invoice header record.

Returns

Type Description
Boolean

Returns 'true' if shipment information is different than provided customer information, otherwise 'false'.

SalesCrMemoSellTo

procedure SalesCrMemoSellTo(var AddrArray: array[8] of Text[100], var SalesCrMemoHeader: Record "Sales Cr.Memo Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"

SalesCrMemoBillTo

Formats customer name and address information based on 'Sell-to' information of provided sales cr.memo header.

procedure SalesCrMemoBillTo(var AddrArray: array[8] of Text[100], var SalesCrMemoHeader: Record "Sales Cr.Memo Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"

Source sales cr.memo header record.

SalesCrMemoShipTo

Formats customer name and address information based on 'Bill-to' information of provided sales cr.memo header.

procedure SalesCrMemoShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var SalesCrMemoHeader: Record "Sales Cr.Memo Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]

Array that will hold formatted name and address.

CustAddr array[8] of Text[100]

Array that will hold formatted name and address.

SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"

Source sales cr.memo header record.

Returns

Type Description
Boolean

SalesRcptSellTo

procedure SalesRcptSellTo(var AddrArray: array[8] of Text[100], var ReturnRcptHeader: Record "Return Receipt Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnRcptHeader Table Microsoft.Sales.History."Return Receipt Header"

SalesRcptBillTo

procedure SalesRcptBillTo(var AddrArray: array[8] of Text[100], ShipToAddr: array[8] of Text[100], var ReturnRcptHeader: Record "Return Receipt Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ShipToAddr array[8] of Text[100]
ReturnRcptHeader Table Microsoft.Sales.History."Return Receipt Header"

Returns

Type Description
Boolean

SalesRcptShipTo

procedure SalesRcptShipTo(var AddrArray: array[8] of Text[100], var ReturnRcptHeader: Record "Return Receipt Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnRcptHeader Table Microsoft.Sales.History."Return Receipt Header"

PurchRcptBuyFrom

procedure PurchRcptBuyFrom(var AddrArray: array[8] of Text[100], var PurchRcptHeader: Record "Purch. Rcpt. Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"

PurchRcptPayTo

procedure PurchRcptPayTo(var AddrArray: array[8] of Text[100], var PurchRcptHeader: Record "Purch. Rcpt. Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"

PurchRcptShipTo

procedure PurchRcptShipTo(var AddrArray: array[8] of Text[100], var PurchRcptHeader: Record "Purch. Rcpt. Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"

PurchInvBuyFrom

procedure PurchInvBuyFrom(var AddrArray: array[8] of Text[100], var PurchInvHeader: Record "Purch. Inv. Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"

PurchInvPayTo

procedure PurchInvPayTo(var AddrArray: array[8] of Text[100], var PurchInvHeader: Record "Purch. Inv. Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"

PurchInvShipTo

procedure PurchInvShipTo(var AddrArray: array[8] of Text[100], var PurchInvHeader: Record "Purch. Inv. Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"

PurchInvRemitTo

procedure PurchInvRemitTo(var RemitAddressBuffer: Record "Remit Address Buffer" temporary, var PurchInvHeader: Record "Purch. Inv. Header"): Boolean

Parameters

Name Type Description
RemitAddressBuffer Table Microsoft.Purchases.Remittance."Remit Address Buffer"
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"

Returns

Type Description
Boolean

PurchCrMemoBuyFrom

procedure PurchCrMemoBuyFrom(var AddrArray: array[8] of Text[100], var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchCrMemoHeader Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr."

PurchCrMemoPayTo

procedure PurchCrMemoPayTo(var AddrArray: array[8] of Text[100], var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchCrMemoHeader Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr."

PurchCrMemoShipTo

procedure PurchCrMemoShipTo(var AddrArray: array[8] of Text[100], var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchCrMemoHeader Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr."

PurchShptBuyFrom

procedure PurchShptBuyFrom(var AddrArray: array[8] of Text[100], var ReturnShptHeader: Record "Return Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnShptHeader Table Microsoft.Purchases.History."Return Shipment Header"

PurchShptPayTo

procedure PurchShptPayTo(var AddrArray: array[8] of Text[100], var ReturnShptHeader: Record "Return Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnShptHeader Table Microsoft.Purchases.History."Return Shipment Header"

PurchShptShipTo

procedure PurchShptShipTo(var AddrArray: array[8] of Text[100], var ReturnShptHeader: Record "Return Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnShptHeader Table Microsoft.Purchases.History."Return Shipment Header"

AltAddr

procedure AltAddr(var AddrArray: array[8] of Text[100], var Employee: Record Employee, var AlternativeAddr: Record "Alternative Address")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Employee Table Microsoft.HumanResources.Employee.Employee
AlternativeAddr Table Microsoft.HumanResources.Employee."Alternative Address"

Employee

procedure Employee(var AddrArray: array[8] of Text[100], var Employee: Record Employee)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Employee Table Microsoft.HumanResources.Employee.Employee

EmployeeAltAddr

procedure EmployeeAltAddr(var AddrArray: array[8] of Text[100], var Employee: Record Employee)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Employee Table Microsoft.HumanResources.Employee.Employee

VendBankAcc

procedure VendBankAcc(var AddrArray: array[8] of Text[100], var VendBankAcc: Record "Vendor Bank Account")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
VendBankAcc Table Microsoft.Purchases.Vendor."Vendor Bank Account"

CustBankAcc

procedure CustBankAcc(var AddrArray: array[8] of Text[100], var CustBankAcc: Record "Customer Bank Account")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustBankAcc Table Microsoft.Sales.Customer."Customer Bank Account"

RespCenter

procedure RespCenter(var AddrArray: array[8] of Text[100], var RespCenter: Record "Responsibility Center")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
RespCenter Table Microsoft.Inventory.Location."Responsibility Center"

TransferShptTransferFrom

procedure TransferShptTransferFrom(var AddrArray: array[8] of Text[100], var TransShptHeader: Record "Transfer Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransShptHeader Table Microsoft.Inventory.Transfer."Transfer Shipment Header"

TransferShptTransferTo

procedure TransferShptTransferTo(var AddrArray: array[8] of Text[100], var TransShptHeader: Record "Transfer Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransShptHeader Table Microsoft.Inventory.Transfer."Transfer Shipment Header"

TransferRcptTransferFrom

procedure TransferRcptTransferFrom(var AddrArray: array[8] of Text[100], var TransRcptHeader: Record "Transfer Receipt Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransRcptHeader Table Microsoft.Inventory.Transfer."Transfer Receipt Header"

TransferRcptTransferTo

procedure TransferRcptTransferTo(var AddrArray: array[8] of Text[100], var TransRcptHeader: Record "Transfer Receipt Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransRcptHeader Table Microsoft.Inventory.Transfer."Transfer Receipt Header"

TransferHeaderTransferFrom

procedure TransferHeaderTransferFrom(var AddrArray: array[8] of Text[100], var TransHeader: Record "Transfer Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransHeader Table Microsoft.Inventory.Transfer."Transfer Header"

TransferHeaderTransferTo

procedure TransferHeaderTransferTo(var AddrArray: array[8] of Text[100], var TransHeader: Record "Transfer Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransHeader Table Microsoft.Inventory.Transfer."Transfer Header"

ContactAddr

procedure ContactAddr(var AddrArray: array[8] of Text[100], var Cont: Record Contact)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Cont Table Microsoft.CRM.Contact.Contact

ContactAddrAlt

procedure ContactAddrAlt(var AddrArray: array[8] of Text[100], var Cont: Record Contact, AltAddressCode: Code[10], ActiveDate: Date)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Cont Table Microsoft.CRM.Contact.Contact
AltAddressCode Code[10]
ActiveDate Date

ServiceOrderSellto

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceOrderSellto(var AddrArray: array[8] of Text[100], ServHeader: Record "Service Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServHeader Table Microsoft.Service.Document."Service Header"

ServiceOrderShipto

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceOrderShipto(var AddrArray: array[8] of Text[100], ServHeader: Record "Service Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServHeader Table Microsoft.Service.Document."Service Header"

ServContractSellto

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServContractSellto(var AddrArray: array[8] of Text[100], ServContract: Record "Service Contract Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServContract Table Microsoft.Service.Contract."Service Contract Header"

ServContractShipto

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServContractShipto(var AddrArray: array[8] of Text[100], ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

ServiceInvBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceInvBillTo(var AddrArray: array[8] of Text[100], var ServiceInvHeader: Record "Service Invoice Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceInvHeader Table Microsoft.Service.History."Service Invoice Header"

ServiceInvShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceInvShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var ServiceInvHeader: Record "Service Invoice Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
ServiceInvHeader Table Microsoft.Service.History."Service Invoice Header"

Returns

Type Description
Boolean

ServiceShptShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceShptShipTo(var AddrArray: array[8] of Text[100], var ServiceShptHeader: Record "Service Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceShptHeader Table Microsoft.Service.History."Service Shipment Header"

ServiceShptSellTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceShptSellTo(var AddrArray: array[8] of Text[100], var ServiceShptHeader: Record "Service Shipment Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceShptHeader Table Microsoft.Service.History."Service Shipment Header"

ServiceShptBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceShptBillTo(var AddrArray: array[8] of Text[100], ShipToAddr: array[8] of Text[100], var ServiceShptHeader: Record "Service Shipment Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ShipToAddr array[8] of Text[100]
ServiceShptHeader Table Microsoft.Service.History."Service Shipment Header"

Returns

Type Description
Boolean

ServiceCrMemoBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceCrMemoBillTo(var AddrArray: array[8] of Text[100], var ServiceCrMemoHeader: Record "Service Cr.Memo Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"

ServiceCrMemoShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceCrMemoShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var ServiceCrMemoHeader: Record "Service Cr.Memo Header"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"

Returns

Type Description
Boolean

ServiceHeaderSellTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceHeaderSellTo(var AddrArray: array[8] of Text[100], var ServiceHeader: Record "Service Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceHeader Table Microsoft.Service.Document."Service Header"

ServiceHeaderBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceHeaderBillTo(var AddrArray: array[8] of Text[100], var ServiceHeader: Record "Service Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceHeader Table Microsoft.Service.Document."Service Header"

ServiceHeaderShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit ServiceFormatAddress

[Obsolete(Replaced by same procedure in codeunit ServiceFormatAddress,25.0)]
procedure ServiceHeaderShipTo(var AddrArray: array[8] of Text[100], var ServiceHeader: Record "Service Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceHeader Table Microsoft.Service.Document."Service Header"

PostalBarCode

procedure PostalBarCode(AddressType: Option): Text[100]

Parameters

Name Type Description
AddressType Option

Returns

Type Description
Text[100]

SalesHeaderArchBillTo

procedure SalesHeaderArchBillTo(var AddrArray: array[8] of Text[100], var SalesHeaderArch: Record "Sales Header Archive")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesHeaderArch Table Microsoft.Sales.Archive."Sales Header Archive"

SalesHeaderArchShipTo

procedure SalesHeaderArchShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var SalesHeaderArch: Record "Sales Header Archive"): Boolean

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
SalesHeaderArch Table Microsoft.Sales.Archive."Sales Header Archive"

Returns

Type Description
Boolean

PurchHeaderBuyFromArch

procedure PurchHeaderBuyFromArch(var AddrArray: array[8] of Text[100], var PurchHeaderArch: Record "Purchase Header Archive")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchHeaderArch Table Microsoft.Purchases.Archive."Purchase Header Archive"

PurchHeaderPayToArch

procedure PurchHeaderPayToArch(var AddrArray: array[8] of Text[100], var PurchHeaderArch: Record "Purchase Header Archive")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchHeaderArch Table Microsoft.Purchases.Archive."Purchase Header Archive"

PurchHeaderShipToArch

procedure PurchHeaderShipToArch(var AddrArray: array[8] of Text[100], var PurchHeaderArch: Record "Purchase Header Archive")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchHeaderArch Table Microsoft.Purchases.Archive."Purchase Header Archive"

Reminder

procedure Reminder(var AddrArray: array[8] of Text[100], var ReminderHeader: Record "Reminder Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReminderHeader Table Microsoft.Sales.Reminder."Reminder Header"

IssuedReminder

procedure IssuedReminder(var AddrArray: array[8] of Text[100], var IssuedReminderHeader: Record "Issued Reminder Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
IssuedReminderHeader Table Microsoft.Sales.Reminder."Issued Reminder Header"

FinanceChargeMemo

procedure FinanceChargeMemo(var AddrArray: array[8] of Text[100], var FinanceChargeMemoHeader: Record "Finance Charge Memo Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
FinanceChargeMemoHeader Table Microsoft.Sales.FinanceCharge."Finance Charge Memo Header"

IssuedFinanceChargeMemo

procedure IssuedFinanceChargeMemo(var AddrArray: array[8] of Text[100], var IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header")

Parameters

Name Type Description
AddrArray array[8] of Text[100]
IssuedFinChargeMemoHeader Table Microsoft.Sales.FinanceCharge."Issued Fin. Charge Memo Header"

JobSellTo

procedure JobSellTo(var AddrArray: array[8] of Text[100], var Job: Record Job)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Job Table Microsoft.Projects.Project.Job.Job

JobBillTo

procedure JobBillTo(var AddrArray: array[8] of Text[100], var Job: Record Job)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Job Table Microsoft.Projects.Project.Job.Job

JobShipTo

procedure JobShipTo(var AddrArray: array[8] of Text[100], var Job: Record Job)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Job Table Microsoft.Projects.Project.Job.Job

VendorRemitToAddress

procedure VendorRemitToAddress(var RemitAddress: Record "Remit Address", var ArrayAddress: array[8] of Text[100])

Parameters

Name Type Description
RemitAddress Table Microsoft.Purchases.Remittance."Remit Address"
ArrayAddress array[8] of Text[100]

VendorRemitToAddress

procedure VendorRemitToAddress(var RemitAddress: Record "Remit Address", var RemitAddressBuffer: Record "Remit Address Buffer" temporary)

Parameters

Name Type Description
RemitAddress Table Microsoft.Purchases.Remittance."Remit Address"
RemitAddressBuffer Table Microsoft.Purchases.Remittance."Remit Address Buffer"

UseCounty

procedure UseCounty(CountryCode: Code[10]): Boolean

Parameters

Name Type Description
CountryCode Code[10]

Returns

Type Description
Boolean

SetLanguageCode

procedure SetLanguageCode(NewLanguageCode: Code[10])

Parameters

Name Type Description
NewLanguageCode Code[10]

Events

OnBeforeCompany

[IntegrationEvent(False,False)]
local procedure OnBeforeCompany(var AddrArray: array[8] of Text[100], var CompanyInfo: Record "Company Information", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CompanyInfo Table Microsoft.Foundation.Company."Company Information"
IsHandled Boolean

OnBeforeGetCompanyAddr

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCompanyAddr(RespCenterCode: Code[10], var ResponsibilityCenter: Record "Responsibility Center", var CompanyInfo: Record "Company Information", var CompanyAddr: array[8] of Text[100], var IsHandled: Boolean)

Parameters

Name Type Description
RespCenterCode Code[10]
ResponsibilityCenter Table Microsoft.Inventory.Location."Responsibility Center"
CompanyInfo Table Microsoft.Foundation.Company."Company Information"
CompanyAddr array[8] of Text[100]
IsHandled Boolean

OnAfterFormatAddress

[IntegrationEvent(False,False)]
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], LanguageCode: Code[10])

Parameters

Name Type Description
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]
LanguageCode Code[10]

OnAfterGeneratePostCodeCity

[IntegrationEvent(False,False)]
local procedure 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])

Parameters

Name Type Description
Country Table Microsoft.Foundation.Address."Country/Region"
PostCode Code[20]
PostCodeCityText Text[100]
City Text[50]
CountyText Text[50]
County Text[50]

OnBeforeBankAcc

[IntegrationEvent(False,False)]
local procedure OnBeforeBankAcc(var AddrArray: array[8] of Text[100], var BankAccount: Record "Bank Account", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"
IsHandled Boolean

OnBeforeLocation

[IntegrationEvent(False,False)]
local procedure OnBeforeLocation(var AddrArray: array[8] of Text[100], var Location: Record Location, var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Location Table Microsoft.Inventory.Location.Location
IsHandled Boolean

OnBeforeAltAddr

[IntegrationEvent(False,False)]
local procedure OnBeforeAltAddr(var AddrArray: array[8] of Text[100], var Employee: Record Employee, var AlternativeAddress: Record "Alternative Address", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Employee Table Microsoft.HumanResources.Employee.Employee
AlternativeAddress Table Microsoft.HumanResources.Employee."Alternative Address"
IsHandled Boolean

OnBeforeEmployee

[IntegrationEvent(False,False)]
local procedure OnBeforeEmployee(var AddrArray: array[8] of Text[100], var Employee: Record Employee, var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Employee Table Microsoft.HumanResources.Employee.Employee
IsHandled Boolean

OnBeforeContactAddrAlt

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Cont Table Microsoft.CRM.Contact.Contact
AltAddressCode Code[10]
ActiveDate Date
Handled Boolean

OnBeforeCustomer

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Cust Table Microsoft.Sales.Customer.Customer
Handled Boolean

OnBeforeCustBankAcc

[IntegrationEvent(False,False)]
local procedure OnBeforeCustBankAcc(var AddrArray: array[8] of Text[100], var CustomerBankAccount: Record "Customer Bank Account", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustomerBankAccount Table Microsoft.Sales.Customer."Customer Bank Account"
IsHandled Boolean

OnBeforeFormatAddress

[IntegrationEvent(False,False)]
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

Name Type Description
Country Table Microsoft.Foundation.Address."Country/Region"
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]
NameLineNo Integer
Name2LineNo Integer
AddrLineNo Integer
Addr2LineNo Integer
ContLineNo Integer
PostCodeCityLineNo Integer
CountyLineNo Integer
CountryLineNo Integer
Handled Boolean

OnBeforeFormatAddr

[IntegrationEvent(False,False)]
local procedure OnBeforeFormatAddr(var Country: Record "Country/Region", var CountryCode: Code[10])

Parameters

Name Type Description
Country Table Microsoft.Foundation.Address."Country/Region"
CountryCode Code[10]

OnBeforeFormatPostCodeCity

[IntegrationEvent(False,False)]
local procedure OnBeforeFormatPostCodeCity(var Country: Record "Country/Region", var CountryCode: Code[10])

Parameters

Name Type Description
Country Table Microsoft.Foundation.Address."Country/Region"
CountryCode Code[10]

OnBeforeFormatCompanyContactAddr

[IntegrationEvent(False,False)]
local procedure OnBeforeFormatCompanyContactAddr(var AddrArray: array[8] of Text[100], Cont: Record Contact, ContCompany: Record Contact, var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Cont Table Microsoft.CRM.Contact.Contact
ContCompany Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnBeforeFormatPersonContactAddr

[IntegrationEvent(False,False)]
local procedure OnBeforeFormatPersonContactAddr(var AddrArray: array[8] of Text[100], Cont: Record Contact, var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Cont Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnBeforeFinanceChargeMemo

[IntegrationEvent(False,False)]
local procedure OnBeforeFinanceChargeMemo(var AddrArray: array[8] of Text[100], var FinanceChargeMemoHeader: Record "Finance Charge Memo Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
FinanceChargeMemoHeader Table Microsoft.Sales.FinanceCharge."Finance Charge Memo Header"
IsHandled Boolean

OnBeforeIssuedFinanceChargeMemo

[IntegrationEvent(False,False)]
local procedure OnBeforeIssuedFinanceChargeMemo(var AddrArray: array[8] of Text[100], var IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
IssuedFinChargeMemoHeader Table Microsoft.Sales.FinanceCharge."Issued Fin. Charge Memo Header"
IsHandled Boolean

OnBeforeIssuedReminder

[IntegrationEvent(False,False)]
local procedure OnBeforeIssuedReminder(var AddrArray: array[8] of Text[100], var IssuedReminderHeader: Record "Issued Reminder Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
IssuedReminderHeader Table Microsoft.Sales.Reminder."Issued Reminder Header"
IsHandled Boolean

OnBeforePurchHeaderBuyFromArch

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderBuyFromArch(var AddrArray: array[8] of Text[100], var PurchHeaderArch: Record "Purchase Header Archive", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchHeaderArch Table Microsoft.Purchases.Archive."Purchase Header Archive"
Handled Boolean

OnBeforePurchHeaderPayToArch

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderPayToArch(var AddrArray: array[8] of Text[100], var PurchHeaderArch: Record "Purchase Header Archive", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchHeaderArch Table Microsoft.Purchases.Archive."Purchase Header Archive"
Handled Boolean

OnBeforePurchHeaderShipToArch

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderShipToArch(var AddrArray: array[8] of Text[100], var PurchHeaderArch: Record "Purchase Header Archive", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchHeaderArch Table Microsoft.Purchases.Archive."Purchase Header Archive"
Handled Boolean

OnBeforePurchHeaderBuyFrom

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderBuyFrom(var AddrArray: array[8] of Text[100], var PurchaseHeader: Record "Purchase Header", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
Handled Boolean

OnBeforePurchHeaderPayTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderPayTo(var AddrArray: array[8] of Text[100], var PurchaseHeader: Record "Purchase Header", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
Handled Boolean

OnBeforePurchRcptBuyFrom

[IntegrationEvent(False,False)]
local procedure OnBeforePurchRcptBuyFrom(var AddrArray: array[8] of Text[100], var PurchRcptHeader: Record "Purch. Rcpt. Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"
IsHandled Boolean

OnBeforePurchRcptPayTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchRcptPayTo(var AddrArray: array[8] of Text[100], var PurchRcptHeader: Record "Purch. Rcpt. Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"
IsHandled Boolean

OnBeforePurchRcptShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchRcptShipTo(var AddrArray: array[8] of Text[100], var PurchRcptHeader: Record "Purch. Rcpt. Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"
IsHandled Boolean

OnBeforePurchInvBuyFrom

[IntegrationEvent(False,False)]
local procedure OnBeforePurchInvBuyFrom(var AddrArray: array[8] of Text[100], var PurchInvHeader: Record "Purch. Inv. Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"
IsHandled Boolean

OnBeforePurchInvPayTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchInvPayTo(var AddrArray: array[8] of Text[100], var PurchInvHeader: Record "Purch. Inv. Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"
IsHandled Boolean

OnBeforePurchInvShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchInvShipTo(var AddrArray: array[8] of Text[100], var PurchInvHeader: Record "Purch. Inv. Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"
IsHandled Boolean

OnBeforePurchInvRemitToAddress

[IntegrationEvent(False,False)]
local procedure OnBeforePurchInvRemitToAddress(var RemitAddressBuffer: Record "Remit Address Buffer" temporary, var PurchInvHeader: Record "Purch. Inv. Header", var IsHandled: Boolean)

Parameters

Name Type Description
RemitAddressBuffer Table Microsoft.Purchases.Remittance."Remit Address Buffer"
PurchInvHeader Table Microsoft.Purchases.History."Purch. Inv. Header"
IsHandled Boolean

OnBeforePurchCrMemoBuyFrom

[IntegrationEvent(False,False)]
local procedure OnBeforePurchCrMemoBuyFrom(var AddrArray: array[8] of Text[100], var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchCrMemoHeader Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr."
IsHandled Boolean

OnBeforePurchCrMemoPayTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchCrMemoPayTo(var AddrArray: array[8] of Text[100], var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchCrMemoHeader Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr."
IsHandled Boolean

OnBeforePurchCrMemoShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchCrMemoShipTo(var AddrArray: array[8] of Text[100], var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchCrMemoHeader Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr."
IsHandled Boolean

OnBeforePurchShptBuyFrom

[IntegrationEvent(False,False)]
local procedure OnBeforePurchShptBuyFrom(var AddrArray: array[8] of Text[100], var ReturnShptHeader: Record "Return Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnShptHeader Table Microsoft.Purchases.History."Return Shipment Header"
IsHandled Boolean

OnBeforePurchShptPayTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchShptPayTo(var AddrArray: array[8] of Text[100], var ReturnShptHeader: Record "Return Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnShptHeader Table Microsoft.Purchases.History."Return Shipment Header"
IsHandled Boolean

OnBeforeReminder

[IntegrationEvent(False,False)]
local procedure OnBeforeReminder(var AddrArray: array[8] of Text[100], var ReminderHeader: Record "Reminder Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReminderHeader Table Microsoft.Sales.Reminder."Reminder Header"
IsHandled Boolean

OnBeforeRespCenter

[IntegrationEvent(False,False)]
local procedure OnBeforeRespCenter(var AddrArray: array[8] of Text[100], var RespCenter: Record "Responsibility Center", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
RespCenter Table Microsoft.Inventory.Location."Responsibility Center"
IsHandled Boolean

OnBeforePurchShptShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchShptShipTo(var AddrArray: array[8] of Text[100], var ReturnShptHeader: Record "Return Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnShptHeader Table Microsoft.Purchases.History."Return Shipment Header"
IsHandled Boolean

OnBeforeSalesHeaderArchBillTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesHeaderArchBillTo(var AddrArray: array[8] of Text[100], var SalesHeaderArch: Record "Sales Header Archive", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesHeaderArch Table Microsoft.Sales.Archive."Sales Header Archive"
Handled Boolean

OnBeforeSalesHeaderArchShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesHeaderArchShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var SalesHeaderArch: Record "Sales Header Archive", var Handled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
SalesHeaderArch Table Microsoft.Sales.Archive."Sales Header Archive"
Handled Boolean
Result Boolean

OnBeforeSalesHeaderBillTo

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Handled Boolean

OnBeforeSalesHeaderSellTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesHeaderSellTo(var AddrArray: array[8] of Text[100], var SalesHeader: Record "Sales Header", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Handled Boolean

OnBeforeSalesHeaderShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesHeaderShipTo(var AddrArray: array[8] of Text[100], var CustAddr: array[8] of Text[100], var SalesHeader: Record "Sales Header", var Handled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Handled Boolean
Result Boolean

OnBeforeSalesInvBillTo

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesInvHeader Table Microsoft.Sales.History."Sales Invoice Header"
Handled Boolean

OnBeforeSalesInvShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesInvShipTo(var AddrArray: array[8] of Text[100], var SalesInvHeader: Record "Sales Invoice Header", var Handled: Boolean, var Result: Boolean, var CustAddr: array[8] of Text[100])

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesInvHeader Table Microsoft.Sales.History."Sales Invoice Header"
Handled Boolean
Result Boolean
CustAddr array[8] of Text[100]

OnBeforeSalesCrMemoBillTo

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"
Handled Boolean

OnBeforeSalesCrMemoSellTo

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"
Handled Boolean

OnBeforeSalesCrMemoShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesCrMemoShipTo(var AddrArray: array[8] of Text[100], var CustAddr: array[8] of Text[100], var SalesCrMemoHeader: Record "Sales Cr.Memo Header", var Handled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"
Handled Boolean
Result Boolean

OnBeforeSalesShptShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesShptShipTo(var AddrArray: array[8] of Text[100], var SalesShipmentHeader: Record "Sales Shipment Header", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesShipmentHeader Table Microsoft.Sales.History."Sales Shipment Header"
Handled Boolean

OnBeforeSalesShptBillTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesShptBillTo(var AddrArray: array[8] of Text[100], var ShipToAddr: array[8] of Text[100], var SalesShipmentHeader: Record "Sales Shipment Header", var Handled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ShipToAddr array[8] of Text[100]
SalesShipmentHeader Table Microsoft.Sales.History."Sales Shipment Header"
Handled Boolean
Result Boolean

OnBeforeSalesShptSellTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesShptSellTo(var AddrArray: array[8] of Text[100], var SalesShipmentHeader: Record "Sales Shipment Header", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesShipmentHeader Table Microsoft.Sales.History."Sales Shipment Header"
Handled Boolean

OnBeforeSalesRcptSellTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesRcptSellTo(var AddrArray: array[8] of Text[100], var ReturnRcptHeader: Record "Return Receipt Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnRcptHeader Table Microsoft.Sales.History."Return Receipt Header"
IsHandled Boolean

OnBeforeSalesRcptShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesRcptShipTo(var AddrArray: array[8] of Text[100], var ReturnRcptHeader: Record "Return Receipt Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ReturnRcptHeader Table Microsoft.Sales.History."Return Receipt Header"
IsHandled Boolean

OnBeforeSalesRcptBillTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesRcptBillTo(var AddrArray: array[8] of Text[100], var ShipToAddr: array[8] of Text[100], var ReturnRcptHeader: Record "Return Receipt Header", var IsHandled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ShipToAddr array[8] of Text[100]
ReturnRcptHeader Table Microsoft.Sales.History."Return Receipt Header"
IsHandled Boolean
Result Boolean

OnBeforeSalesInvSellTo

[IntegrationEvent(False,False)]
local procedure OnBeforeSalesInvSellTo(var AddrArray: array[8] of Text[100], var SalesInvoiceHeader: Record "Sales Invoice Header", var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
SalesInvoiceHeader Table Microsoft.Sales.History."Sales Invoice Header"
Handled Boolean

OnBeforePurchHeaderShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderShipTo(var AddrArray: array[8] of Text[100], var PurchaseHeader: Record "Purchase Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
IsHandled Boolean

OnBeforePurchHeaderRemitToAddress

[IntegrationEvent(False,False)]
local procedure OnBeforePurchHeaderRemitToAddress(var RemitAddressBuffer: Record "Remit Address Buffer" temporary, var PurchaseHeader: Record "Purchase Header", var IsHandled: Boolean)

Parameters

Name Type Description
RemitAddressBuffer Table Microsoft.Purchases.Remittance."Remit Address Buffer"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
IsHandled Boolean

OnBeforeServContractShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServContractShipTo(var AddrArray: array[8] of Text[100], var ServiceContractHeader: Record "Service Contract Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
IsHandled Boolean

OnBeforeServContractSellto

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServContractSellto(var AddrArray: array[8] of Text[100], var ServiceContractHeader: Record "Service Contract Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
IsHandled Boolean

OnBeforeServiceCrMemoBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceCrMemoBillTo(var AddrArray: array[8] of Text[100], var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"
IsHandled Boolean

OnBeforeServiceCrMemoShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceCrMemoShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var IsHandled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"
IsHandled Boolean
Result Boolean

OnBeforeServiceHeaderBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceHeaderBillTo(var AddrArray: array[8] of Text[100], var ServiceHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnBeforeServiceHeaderSellTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceHeaderSellTo(var AddrArray: array[8] of Text[100], var ServiceHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnBeforeServiceHeaderShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceHeaderShipTo(var AddrArray: array[8] of Text[100], var ServiceHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnBeforeServiceInvBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceInvBillTo(var AddrArray: array[8] of Text[100], var ServiceInvHeader: Record "Service Invoice Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceInvHeader Table Microsoft.Service.History."Service Invoice Header"
IsHandled Boolean

OnBeforeServiceInvShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceInvShipTo(var AddrArray: array[8] of Text[100], CustAddr: array[8] of Text[100], var ServiceInvHeader: Record "Service Invoice Header", var IsHandled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
CustAddr array[8] of Text[100]
ServiceInvHeader Table Microsoft.Service.History."Service Invoice Header"
IsHandled Boolean
Result Boolean

OnBeforeServiceOrderSellto

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceOrderSellto(var AddrArray: array[8] of Text[100], var ServHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnBeforeServiceOrderShipto

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceOrderShipto(var AddrArray: array[8] of Text[100], var ServHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnBeforeServiceShptShipTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceShptShipTo(var AddrArray: array[8] of Text[100], var ServiceShptHeader: Record "Service Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceShptHeader Table Microsoft.Service.History."Service Shipment Header"
IsHandled Boolean

OnBeforeServiceShptSellTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceShptSellTo(var AddrArray: array[8] of Text[100], var ServiceShptHeader: Record "Service Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ServiceShptHeader Table Microsoft.Service.History."Service Shipment Header"
IsHandled Boolean

OnBeforeServiceShptBillTo

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit ServiceFormatAddress

[Obsolete(Replaced by same event in codeunit ServiceFormatAddress,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeServiceShptBillTo(var AddrArray: array[8] of Text[100], ShipToAddr: array[8] of Text[100], var ServiceShptHeader: Record "Service Shipment Header", var IsHandled: Boolean, var Result: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
ShipToAddr array[8] of Text[100]
ServiceShptHeader Table Microsoft.Service.History."Service Shipment Header"
IsHandled Boolean
Result Boolean

OnBeforeSetLineNos

[IntegrationEvent(False,False)]
local procedure OnBeforeSetLineNos(Country: Record "Country/Region", var NameLineNo: Integer, var Name2LineNo: Integer, var AddrLineNo: Integer, var Addr2LineNo: Integer, var ContLineNo: Integer, var PostCodeCityLineNo: Integer, var CountyLineNo: Integer, var CountryLineNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
Country Table Microsoft.Foundation.Address."Country/Region"
NameLineNo Integer
Name2LineNo Integer
AddrLineNo Integer
Addr2LineNo Integer
ContLineNo Integer
PostCodeCityLineNo Integer
CountyLineNo Integer
CountryLineNo Integer
IsHandled Boolean

OnBeforeTransferHeaderTransferFrom

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferHeaderTransferFrom(var AddrArray: array[8] of Text[100], var TransferHeader: Record "Transfer Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
IsHandled Boolean

OnBeforeTransferHeaderTransferTo

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferHeaderTransferTo(var AddrArray: array[8] of Text[100], var TransferHeader: Record "Transfer Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
IsHandled Boolean

OnBeforeTransferRcptTransferFrom

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferRcptTransferFrom(var AddrArray: array[8] of Text[100], var TransferReceiptHeader: Record "Transfer Receipt Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransferReceiptHeader Table Microsoft.Inventory.Transfer."Transfer Receipt Header"
IsHandled Boolean

OnBeforeTransferRcptTransferTo

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferRcptTransferTo(var AddrArray: array[8] of Text[100], var TransferReceiptHeader: Record "Transfer Receipt Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransferReceiptHeader Table Microsoft.Inventory.Transfer."Transfer Receipt Header"
IsHandled Boolean

OnBeforeTransferShptTransferFrom

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferShptTransferFrom(var AddrArray: array[8] of Text[100], var TransferShipmentHeader: Record "Transfer Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransferShipmentHeader Table Microsoft.Inventory.Transfer."Transfer Shipment Header"
IsHandled Boolean

OnBeforeTransferShptTransferTo

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferShptTransferTo(var AddrArray: array[8] of Text[100], var TransferShipmentHeader: Record "Transfer Shipment Header", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
TransferShipmentHeader Table Microsoft.Inventory.Transfer."Transfer Shipment Header"
IsHandled Boolean

OnBeforeUpdateAddrArrayForPostCodeCity

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAddrArrayForPostCodeCity(var AddrArray: array[8] of Text[100], Contact: Text[100], ContLineNo: Integer, Country: Record "Country/Region", CountryLineNo: Integer, PostCodeCityLineNo: Integer, CountyLineNo: Integer, City: Text[50], PostCode: Code[20], County: Text[50], var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Contact Text[100]
ContLineNo Integer
Country Table Microsoft.Foundation.Address."Country/Region"
CountryLineNo Integer
PostCodeCityLineNo Integer
CountyLineNo Integer
City Text[50]
PostCode Code[20]
County Text[50]
IsHandled Boolean

OnBeforeVendor

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

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Vendor Table Microsoft.Purchases.Vendor.Vendor
Handled Boolean

OnBeforeVendBankAcc

[IntegrationEvent(False,False)]
local procedure OnBeforeVendBankAcc(var AddrArray: array[8] of Text[100], var VendorBankAccount: Record "Vendor Bank Account", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
VendorBankAccount Table Microsoft.Purchases.Vendor."Vendor Bank Account"
IsHandled Boolean

OnBeforeVendorRemitToAddress

[IntegrationEvent(False,False)]
local procedure OnBeforeVendorRemitToAddress(var AddrArray: array[8] of Text[100], RemitAddress: Record "Remit Address", var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
RemitAddress Table Microsoft.Purchases.Remittance."Remit Address"
IsHandled Boolean

OnFormatAddrOnAfterGetCountry

[IntegrationEvent(False,False)]
local procedure OnFormatAddrOnAfterGetCountry(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], var IsHandled: Boolean, var Country: Record "Country/Region")

Parameters

Name Type Description
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]
LanguageCode Code[10]
IsHandled Boolean
Country Table Microsoft.Foundation.Address."Country/Region"

OnGetCompanyAddrOnAfterFillCompanyInfoFromRespCenter

[IntegrationEvent(False,False)]
local procedure OnGetCompanyAddrOnAfterFillCompanyInfoFromRespCenter(ResponsibilityCenter: Record "Responsibility Center", var CompanyInformation: Record "Company Information")

Parameters

Name Type Description
ResponsibilityCenter Table Microsoft.Inventory.Location."Responsibility Center"
CompanyInformation Table Microsoft.Foundation.Company."Company Information"

OnBeforeJobSellTo

[IntegrationEvent(False,False)]
local procedure OnBeforeJobSellTo(var AddrArray: array[8] of Text[100], var Job: Record Job, var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeJobBillTo

[IntegrationEvent(False,False)]
local procedure OnBeforeJobBillTo(var AddrArray: array[8] of Text[100], var Job: Record Job, var Handled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Job Table Microsoft.Projects.Project.Job.Job
Handled Boolean

OnBeforeJobShipTo

[IntegrationEvent(False,False)]
local procedure OnBeforeJobShipTo(var AddrArray: array[8] of Text[100], var Job: Record Job, var IsHandled: Boolean)

Parameters

Name Type Description
AddrArray array[8] of Text[100]
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeUseCounty

[IntegrationEvent(False,False)]
local procedure OnBeforeUseCounty(var CountryCode: Code[10], var IsHandled: Boolean, var ReturnValue: Boolean)

Parameters

Name Type Description
CountryCode Code[10]
IsHandled Boolean
ReturnValue Boolean

See also