GetEmailMessageByChangeOrderId Method
Gets Email Message object for a given change order ID.
Required Permissions
AllowAnySyntax
public EmailMsg GetEmailMessageByChangeOrderId(
System.long changeOrderId,
System.string changeOrderNumber,
System.string stateName,
System.bool excludeRelatedObjects
)Public Function GetEmailMessageByChangeOrderId( _
ByVal changeOrderId As System.Long, _
ByVal changeOrderNumber As System.String, _
ByVal stateName As System.String, _
ByVal excludeRelatedObjects As System.Boolean _
) As EmailMsgParameters
| Name | Description |
|---|---|
| changeOrderId | Change Order ID. |
| changeOrderNumber | Change Order Number. |
| stateName | State Name. |
| excludeRelatedObjects | When excludeRelatedObjects is true, the email body does not include related objects info of the given change order (e.g. items and attachments). |
Return Value
An EmailMessage object containing email subject and body information.