StockDoc::ImportDialog (Interface: StockDoc)
 
Imports Stock Documents (changes) using the import dialog.
 
void ImportDialog ()
 
Remarks
This method can only be used if user interface is allowed (parameter bWithUserInterface is set to true in the Logon method), because this method imports a record using the import dialog.
This method can only be used if the object can be changed (parameter bCanChange is set to true in the CreateStockDoc method), because importing can make changes to the interface.
 
See Also
CreateStockDoc
 
Samples
 
C++
 
// Start the import dialog, allowing the user to import records interactively
pStockDoc->ImportDialog ();

C#
 
// Start the import dialog, allowing the user to import records interactively
oStockDoc.ImportDialog ();

VBS
 
' Start the import dialog, allowing the user to import records interactively
Call oStockDoc.ImportDialog()

VB.NET
 
' Start the import dialog, allowing the user to import records interactively
oStockDoc.ImportDialog()