mdInvoiceRequest  -  the modules for generating
XML and/or paper based invoices of physicians
mdInvoiceRequest
    API DocBrowser   ·  Revision history
    Download area
    FAQ
 
home
system
integrators
search the
site
 

validator
modules
invoice
modules
credit
modules
miscellaneous
modules
tools

  Design by TMR AG
  © by sumex1.net
 
IMDInvoiceRequestManager::Store method

 Description  V4.00/ 6 Dec 2004 
Validates the invoice against the XSD schema file and stores the XML document in the mailbox.

 C/C++ syntax
HRESULT  Store( BSTR   bstrUsername,
BSTR   bstrPassword,
BSTR   bstrMailboxClsid,
DistributionType   eDistribution,
BSTR   *pbstrXml,
long   *plValidationError,
long   *plTimestamp,
IMDInvoiceResult   **ppIMDInvoiceResult,
VARIANT_BOOL   *pbStatus);

 Parameter description
[in]   BSTR   bstrUsername   User name.
[in]   BSTR   bstrPassword   Password.
[in]   BSTR   bstrMailboxClsid   Class identifier of the mailbox to be used.
[in]   DistributionType   eDistribution   Distribution method for the invoice.
[out]   BSTR   *pbstrXml   Xml content.
[out]   long   *plValidationError   This parameter is filled with the validation error code returned by the msxml4 parser. A zero value indicates that the validation was successful.
[out]   long   *plTimestamp   Timestamp of the XML document as epoch time (seconds elapsed since 1.1.1970).
[out]   IMDInvoiceResult   **ppIMDInvoiceResult   IMDInvoiceResult interface.
[out, retval]   VARIANT_BOOL   *pbStatus   Return status

 C/C++ return value
S_OK This value is returned if the function call was successful or if the return value of a boolean method signalling a true value. In this case the VARIANT_BOOL is set to VARIANT_TRUE.
S_FALSE This is the return value of a boolean method signalling a false return value. In this case the VARIANT_BOOL is set to VARIANT_FALSE.
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.
mdInvoiceRequest
  IMDInvoiceRequestManager
    Store