Click or drag to resize

MPInterfaceGetDocEntryByDocNum Method

Internal Function: Get [DocEntry] from DocNum. When several series are used, the result is not unique. Please add the DocSeries value

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public int GetDocEntryByDocNum(
	short Company,
	string DocNum,
	clsImportERPDocumenteERPDocTypes DocType,
	int DocSeries = 0
)

Parameters

Company
Type: SystemInt16
DocNum
Type: SystemString
DocType
Type: MARIInterfaceclsImportERPDocumenteERPDocTypes
DocSeries (Optional)
Type: SystemInt32

Return Value

Type: Int32
0=not found. -1=more than one result, xxx=DocEntry
Remarks