Click or drag to resize

MPInterfaceoGetDocument Method

Loads from SBO (via companyid) sbo documents into the class clsImportERPDocument

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public clsImportERPDocument oGetDocument(
	short Company,
	int DocEntry,
	int DocNum,
	clsImportERPDocumenteERPDocTypes DocType
)

Parameters

Company
Type: SystemInt16
id pointing to the SBO database
DocEntry
Type: SystemInt32
KeyField in SBO tables OINV
DocNum
Type: SystemInt32
Visible doc num. Can be emptya, when DocEntry is set.
DocType
Type: MARIInterfaceclsImportERPDocumenteERPDocTypes
Doc type based on the SBO numbers

Return Value

Type: clsImportERPDocument
Remarks