Venice
StockDoc::ImportDialogSituation
 
Imports Stock Documents (situation) using the import dialog.
 
void ImportDialogSituation ()
 
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.
Importing a stock situation implicitly means working in exclusive mode, i.e. no concurrent file modifications are allowed.
 
See Also
CreateStockDoc
ImportDialog
 
Samples
 
C++
 
// Start the import dialog, allowing the user to import a stock situation interactively
pStockDoc->ImportDialogSituation ();

C#
 
// Start the import dialog, allowing the user to import a stock situation interactively
oStockDoc.ImportDialogSituation ();

VBS
 
' Start the import dialog, allowing the user to import a stock situation interactively
Call oStockDoc.ImportDialogSituation()

VB.NET
 
' Start the import dialog, allowing the user to import a stock situation interactively
oStockDoc.ImportDialogSituation()