Hi there,
I'm trying to create my first real scenario in B1 Integration Framework, and I have some small doubts.
The scenario is as follows:
- Client will have some information for creating sales orders in a auxiliary database (not a "SAP B1 database"). Typically, this info will be provided for other systems, as e-commerce sites or 3rd party applications, and it will be stored in a different database (but located in the same server than SAP Business One).
- Time based (i.e., every 10 minutes), B1 Integration Framework will check if there is a new sales order pending to import. B1 Integration Framework will create a Sales Order in a SAP Business One system.
- After processing, B1 Integration Framework should send an email, with a summary of import result. It should also update the sales order records in the SOURCE database, with the Sales Order docentry. This is done for checking if a Sales Order has been already imported, and for knowing which docEntry has been assigned.
How could the #3 be solved? I mean...
- A) If the final atom in the scenario step is the 'Invoke XSLT file to convert import object to result object', how could I specify afterwards a 'send email' atom with the results?
- B) How could we update the source records (in the auxiliary database) with the docEntries?
Thank you very much in advance for any help!!!