Compartir a través de


GetNextRMNumber Method

This method will retrieve the next document number for the specified type of Microsoft Dynamics GP receivables management document.

Class

Microsoft.Dynamics.GP.eConnect.GetNextDocNumbers

Syntax

public virtual string GetNextRMNumber(
    GetNextDocNumbers.IncrementDecrement incDec,
    GetNextDocNumbers.RMPaymentTYpe docType,
    string connString
)
Parameters

Name

Data type

Description

incDec

Microsoft.Dynamics.GP.
eConnect.GetNextDocNumbers.IncrementDecrement

Use the IncrementDecrement enumeration member Increment to get the next RM document number. Do not use the enumeration member Decrement in this version of eConnect.

docType

Microsoft.Dynamics.GP.
eConnect.GetNextDocNumbers.RMPaymentType

Use an RMPaymentType enumeration member to specify the type of RM document number to return. RMPaymentType includes the following members:

RMInvoices

RMScheduledPayments

RMDebitMemos

RMFinanceCharges

RMServiceRepairs

RMWarranty

RMCreditMemo

RMReturn

RMPayments

connString

string

Specifies the SQL server and database.

Return Value

Type: string

This method returns a string that contains the requested receivables management document number.

See Also