GetPMNextVoucherNumber Method

This method will retrieve the next payables management voucher number from Microsoft Dynamics GP.

Class

Microsoft.Dynamics.GP.eConnect.GetNextDocNumbers

Syntax

public virtual string GetPMNextVoucherNumber(
    GetNextDocNumbers.IncrementDecrement incDec,
    string connString
)
Parameters

Name

Data type

Description

incDec

Microsoft.Dynamics.GP.
eConnect.GetNextDocNumbers.IncrementDecrement

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

connString

string

Specifies the SQL server and database.

Return Value

Type: string

This method returns a string that contains the requested payables management payment document number

See Also