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
Syntaxpublic clsImportERPDocument oGetDocument(
short Company,
int DocEntry,
int DocNum,
clsImportERPDocumenteERPDocTypes DocType
)
Public Function oGetDocument (
Company As Short,
DocEntry As Integer,
DocNum As Integer,
DocType As clsImportERPDocumenteERPDocTypes
) As clsImportERPDocument
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
See Also