| |
| Prepares the object for handling an order 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
pSOrder->PrepareDocument (paUpdate);
pSOrder->pDocDate = COleDateTime (2025, 9, 17, 0, 0, 0).m_dt;
pSOrder->WriteDocument (rmFullReport, VARIANT_FALSE, VARIANT_FALSE);
|
|
 |
C# |
| |
// Change the document date of the current document to 17/09/2025
oSOrder.PrepareDocument (ePrepareAction.paUpdate);
oSOrder.pDocDate = new DateTime (2025, 9, 17);
oSOrder.WriteDocument (eReportMode.rmFullReport, false, false);
|
|
 |
VBS |
| |
' Change the document date of the current document to 17/09/2025
Call oSOrder.PrepareDocument(paUpdate)
oSOrder.pDocDate = #9/17/2025#
Call oSOrder.WriteDocument(rmFullReport, False, False)
|
|
 |
VB.NET |
| |
' Change the document date of the current document to 17/09/2025
oSOrder.PrepareDocument(ePrepareAction.paUpdate)
oSOrder.pDocDate = #9/17/2025#
oSOrder.WriteDocument (eReportMode.rmFullReport, False, False)
|
|