CommitChangeOrderCloseActivity Method
Finish a Change Order activity. To be used when closing a Change Order.
Required Permissions
ChangeOrderParticipateSyntax
public override ChangeOrder CommitChangeOrderCloseActivity(
System.long changeOrderId,
System.long activityId,
System.long stateId,
System.DateTime stateEntered,
MsgGroup[] addComments,
Email[] notifyEmails
)Public Overrides NotOverridable Function CommitChangeOrderCloseActivity( _
ByVal changeOrderId As System.Long, _
ByVal activityId As System.Long, _
ByVal stateId As System.Long, _
ByVal stateEntered As System.Date, _
ByVal addComments() As MsgGroup, _
ByVal notifyEmails() As Email _
) As ChangeOrderParameters
| Name | Description |
|---|---|
| changeOrderId | The ID of the targeted change order. |
| activityId | The ID of the activity being completed. |
| stateId | The ID of the change order State upon starting the activity. |
| stateEntered | Time when the change order entered its state. |
| addComments | Array of comments to be added to the change order. |
| notifyEmails | An array of emails to send out upon completion. |
Return Value
Returns the targeted ChangeOrder.
Remarks
A general method of registering with the server that an activity is completed. Can only be called after StartChangeOrderActivity.