Share via


RollBackDocumentList Method

This method allows you to restore a Microsoft Dynamics GP document number that was retrieved using one of the previous methods.

Class

Microsoft.Dynamics.GP.eConnect.GetNextDocNumbers

Syntax

public void RollBackDocumentList(
    System.Collections.ArrayList rollBackDocumentList,
    string connString
)
public void RollBackDocumentList(
    System.Collections.Generic.List<RollBackDocument> rollBackDocumentList,
    string connString
)
Parameters

Name

Data type

Description

rollBackDocumentList

ArrayList

A collection of one or more RollBackDocument objects. Each RollBackDocument object specifies a Microsoft Dynamics GP document number.

rollBackDocumentList

List<RollBackDocument>

A collection of one or more RollBackDocument objects. Each RollBackDocument object specifies a Microsoft Dynamics GP document number.

connString

string

Specifies the SQL server and database.

Return Value

Type: void

The method does not return a value

Remarks

The RollBackDocumentList method requires an arraylist of RollBackDocument objects that specify the document numbers. The arraylist allows you to restore a single document number or several document numbers.

See Also