Cancel  -  the ATL COM module for
canceling Sumex 1+ XML invoice requests
Cancel
    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
 
 
General use of the Cancel ATL COM module

The cancel module provides all the necessary functionality to cancel an already sent invoice or reminder from either the local or remote mailbox of the customer.
 
Firstly, all invoices or reminders that should be canceled are loaded into the CancelManager by using the ICancelManager:addCancelRequest method.
 
Secondly, the ICancelManager:DoCancel method is triggered. The method loops over all loaded requests and deletes all occurrences found in the local mailbox. If any request is still unprocessed then a interprocess communication is established to the remote mailbox of the customer at the intermediate's site. The same procedure is performed again on that mailbox.
 
All response data of the canceling can be fetched by the supplied interface methods ICancelManager:GetFirstCancelResponse, ICancelManager:GetNextCancelResponse.
 
Please note that the cancel is currently not XML based. Furthermore, only the local and remote mailboxes of the customer are searched. If the invoice or reminder is already transferred to the health care insurance, then the cancel process will be unsuccessful.