RollBackDocument Class


The RollBackDocument class allows you to create an object that associates a Microsoft Dynamics GP document with a document number.

Constructor

[spacer]
Parameters

[spacer]

Name

Description

RollBackDocument(Microsoft.Dynamics.GP.eConnect.TransactionType transactionType,
short? documentType,
string documentID,
string documentNumber)

Initializes an instance of the RollBackDocument class.

Microsoft.Dynamics.GP.eConnect.RollBackDocument.RollBackDocument(Microsoft.Dynamics.GP.eConnect.TransactionType transactionType,
short? documentType,
string documentNumber)

Initializes an instance of the RollBackDocument class.


Properties

[spacer]

Name

Data type

Description

transactionType

Microsoft.Dynamics.GP.
eConnect.TransactionType

Use a TransactionType enumeration member to specify the transaction type associated with the document number. TransactionType includes the following members:

GL

IVTrans

IVTransfer

PM

POP

POPReceipt

RM

SOP

documentType

Int16

Specifies the document type associated with the document number. This parameter accepts a null value.

documentID

string

Specifies the document ID associated with the document number.

documentNumber

string

Specifies a Microsoft Dynamics GP document number.

Name

Type

Description

DocumentID

string

A read-only property that specifies the ID of the document.

DocumentNumber

string

A read-only property that specifies a Microsoft Dynamics GP document number.

DocumentTransactionType

TransactionType

A read-only property that specifies the transaction type.

DocumentType

short

A read-only property that specifies the type of the document.


Remarks

This class is typically used by the DocumentRollbackClass to create objects that store information about documents and document numbers. For example, the DocumentRollback.RollBackDocuments method returns an arraylist that contains RollbackDocument objects.

The RollBackDocument constructor enables you to associate a Microsoft Dynamics GP document with a document number. To retrieve document and document number information from and existing RollbackDocument object, use the read-only properties of that object.

See Also

DocumentRollback Class


Documentation Feedback