Add Method

This method adds a Microsoft Dynamics GP document number to the DocumentRollback collection.

Class

Microsoft.Dynamics.GP.eConnect.DocumentRollback

Syntax

public void Add(
    TransactionType transactionType,
    string documentNumber
)
public void Add(
    TransactionType,
    short,
    string documentNumber
)
public void Add(
    TransactionType,
    short, documentType
    string, documentNumber
    string documentID
)
Parameters

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

short

An integer that specifies the document type associated with the Microsoft Dynamics GP document number.

documentNumber

string

A string that specifies a Microsoft Dynamics GP document number.

documentID

string

A string that specifies the document ID associated with the document number.

Return Value

Type: void

The method does not return a value.