View source | Discuss this page | Page history | Printable version   

Retail:Developers Guide/Deliver Documents



The functional scope for this project is to be able to send documents in different ways (i.e. email or sms) and being able resend those documents.

Bulbgraph.png   Note: For web POS the module is required to make use of this infrastructure

Front end infrastructure

Message state handling

A new type of Message will be included called ‘deliver_document’. This new message will have a modelName associated and should include the information required to deliver some documents in different ways (email as of now). The message structure is the following:

DeliverDocument Message.png

Some considerations should be taken into account:

Once the synchronization buffer is launched, a unique consumer will handle the ‘deliver_document’ message. The message handler will: Generate/populate the template with data in an asynchronous way Send a mobile service request to the backoffice to handle the document delivery

Utility function

The initial idea is to use the same utility function to print a ticket to generate the ‘deliver_document’ message.

As this utility function could affect several flows of the POS application, it is possible that a new utility function must be created to keep backwards compatibility.

In any case, this utility function will receive additionally in the payload the following information:

Back office infrastructure

Once a message is processed by deliver document endpoint, a new import entry will be generated in BO application

DeliverDocument ImportEntry2.png

Example of XML deliver document import entry JSON Info

The processor will generate for each delivery document method a single import entry with the documents to deliver.

Organization, Role, and POS Terminal values for new import entries are same as the original OBMOBC_DeliverDocument import entry.

Each module will then handle the delivery option using the import entries created by the OBMOBC_DeliverDocument data import entry processor.

Retrieved from ""

This page has been accessed 243 times. This page was last modified on 20 March 2023, at 16:20. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.