Purch::View (Interface: Purch)
 
Views a Purchase Document.
 
void View ()
 
Remarks
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 viewed using the dialog.
 
See Also
CreatePurch
SeekBySysNum
 
Samples
 
C++
 
// View the last inserted record
if (pPurch->SeekBySysNum (smLast, 0))
    pPurch->View ();

C#
 
// View the last inserted record
if (oPurch.SeekBySysNum (eSeekMode.smLast, 0))
    oPurch.View ();

VBS
 
' View the last inserted record
If oPurch.SeekBySysNum(smLast, 0) Then
    Call oPurch.View()
End If

VB.NET
 
' View the last inserted record
If oPurch.SeekBySysNum(eSeekMode.smLast, 0) Then
    oPurch.View()
End If