Correspondence formula
When correspondence output is a standard part of a process, Infor Public Sector typically includes a field that you can use to specify the correspondence process setup to use. For example, you can specify the correspondence process for a bill type in the Correspondence Setup field on the Bill Type page.
If there isn’t a Correspondence
				Setup field available for a type of record, you can use a workflow
			formula to set up correspondence output. For example, this formula uses the ScheduleEmailCorrespondence method to send an email to the
			vendor when a new purchase order is created in the Inventory module:
Dim res as result
Dim CorrProcessSetupName as String = “PurchaseOrder”
Dim EntityKey as Integer = oPurchaseOrder.PurchaseOrderKey
Dim MonikerName as String = oPurchaseOrder.MonikerName
Dim Email as String = oPurchaseOrder.VendorContact.EMailAddress
res = Hansen.Core.Correspondence.CorrespondenceUtility.ScheduleEmailCorrespondence (CorrProcessSetupName, EntityKey, MonikerName, Email)
return res
		You would add this formula to the AfterAdd
			event handler of the PurchaseOrder object in the
			Workflow Manager. Then Infor Public Sector would use the
			specified correspondence process setup to send an email to the vendor contact’s email
			address when a new purchase order is created. All that is required is a correspondence
			process setup and an email address.