PInvce::Insert (Interface: PInvce)
 
Inserts a Purchase Invoice.
 
void Insert (
    enum eInsertMode eInsertMode
)
 
Parameters
eInsertMode
[in] A value of the 'eInsertMode' enumeration.
 
Remarks
A document can only be inserted using the dialog (eInsertMode = imDialog or eInsertMode = imDialogFromData), other modes are not supported in this version. If you want to insert a document without user interface, you can use the Import method.
 
See Also
CreatePInvce
Init
 
Samples
 
C++
 
// Insert a new record using the dialog, initially filled with the default values
pPInvce->Init ();
pPInvce->Insert (imDialog);

C#
 
// Insert a new record using the dialog, initially filled with the default values
oPInvce.Init ();
oPInvce.Insert (eInsertMode.imDialog);

VBS
 
' Insert a new record using the dialog, initially filled with the default values
Call oPInvce.Init()
Call oPInvce.Insert(imDialog)

VB.NET
 
' Insert a new record using the dialog, initially filled with the default values
oPInvce.Init()
oPInvce.Insert(eInsertMode.imDialog)