|
|
 |
IHospitalCreditRequestManager::StoreFirst method
| Description |
V4.10/28 Sep 2005 |
Validates the first credit request against the XML schema and stores the XML document in the Mediport mailbox. Please note that the intermediate's COM module must be installed not the .Net component! |
|
 |
|
| Parameter description |
| [in] |
YesNoType |
bMergeSponsors |
Boolean if the number of credit requests should be optimized e.g. if the EAN number of two sponsors are the same then the data are merged into one credit request. |
| [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. Otherwise there is an error in the schema validation. Most likely the given XML content is incorrect as a consequence. |
| [out] |
long |
*plTimestamp |
Timestamp of the XML document as epoch time (seconds elapsed since 1.1.1970). This serves as a primary identification number - do store this number e.g. for a later reprint! |
| [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.
|
|