Multi-Line EDI PO
I am working on developing a plan to modify our existing flow for processing a single line per 850 PO to one that can process multiple line items in a PO document. The output must submit each line item xml to a web service and wait for it's response before processing the next line item. The responses must be recorded to generate a final shipping information submission to the web service and create a summary email to a customer service rep upon completion of all line items.
What is the best approach to accomplish the following? Break the document into individual xml submissions, submit the first line item, wait for the web service response, record the response, then submit the second line item based on data from first response. Once all items have been submitted, the shipping information must be submitted to the web service based on all the successful line item submissions.
-
It seems that you will be having a fixed portion of XML and only the Line item will be varying. You can handle this in mapping and can create a single output file containing multiple line items that can be further passed and can be split using record queue producer.
0
Please sign in to leave a comment.
Comments
1 comment