Suppl::BrowseDocuments (Interface: Suppl)
 
Browse the purchase documents of this Supplier.
 
LONG BrowseDocuments (
    LONG lSupNum
)
 
Parameters
lSupNum
[in] The number of the supplier of which you want to browse the purchase documents.
 
Return value
A LONG containing the system number of the selected purchase document, 0 if no record was selected.
 
Remarks
The option 'Accounting' is required to use this method.
This method can only be used if user interface is allowed (parameter bWithUserInterface is set to true in the Logon method), because a record can only be selected using the browse dialog.
Only the purchase documents (Purch interface) of the last financial year are browsed.
If you supply 0 for lSupNum all purchase documents are shown in the browse list.
 
See Also
CreateSuppl
 
Samples
 
C++
 
// Browse all purchase document for the supplier with number 125
long lDocSysNum = pSuppl->BrowseDocuments (125);

C#
 
// Browse all purchase document for the supplier with number 125
int iDocSysNum = oSuppl.BrowseDocuments (125);

VBS
 
' Browse all purchase document for the supplier with number 125
Dim lDocSysNum
lDocSysNum = oSuppl.BrowseDocuments(125)

VB.NET
 
' Browse all purchase document for the supplier with number 125
Dim lDocSysNum As Long
lDocSysNum = oSuppl.BrowseDocuments(125)