|
Prepares the object for handling an invoice and its details. |
|
 |
void PrepareDocument ( enum ePrepareAction ePrepareAction ) |
|
|
Parameters | ePrepareAction | [in] A value of the 'ePrepareAction' enumeration. |
|
See Also |
|
|
|
Samples |
|
 |
C++ |
|
// Change the document date of the current document to 17/09/2025
pSInvce->PrepareDocument (paUpdate);
pSInvce->pDocDate = COleDateTime (2025, 9, 17, 0, 0, 0).m_dt;
pSInvce->WriteDocument (rmFullReport, VARIANT_FALSE, VARIANT_FALSE);
|
|
 |
C# |
|
// Change the document date of the current document to 17/09/2025
oSInvce.PrepareDocument (ePrepareAction.paUpdate);
oSInvce.pDocDate = new DateTime (2025, 9, 17);
oSInvce.WriteDocument (eReportMode.rmFullReport, false, false);
|
|
 |
VBS |
|
' Change the document date of the current document to 17/09/2025
Call oSInvce.PrepareDocument(paUpdate)
oSInvce.pDocDate = #9/17/2025#
Call oSInvce.WriteDocument(rmFullReport, False, False)
|
|
 |
VB.NET |
|
' Change the document date of the current document to 17/09/2025
oSInvce.PrepareDocument(ePrepareAction.paUpdate)
oSInvce.pDocDate = #9/17/2025#
oSInvce.WriteDocument (eReportMode.rmFullReport, False, False)
|
|