Customising ImportQueue Processing
Posted: Mon Apr 15, 2019 10:11 pm
So, we have an external process generating XML in JIWA 6 format for quotes and sales orders.
I have transforms to convert them to JIWA 7 format.
So I'm looking at the sample queue processor, and thinking that I need to change from
to
Any suggestions?
The XML is actually being inserted into TransformedXML; can I move it into OriginalXML and then transform it into TransformedXML?
I have transforms to convert them to JIWA 7 format.
So I'm looking at the sample queue processor, and thinking that I need to change from
- Code: Select all
importQueueManager.Read(JiwaImportQManager.ImportQueueItemCollection.ImportQueueItemsReadModes.ReadyForImport)
importQueueManager.Process()
to
- Code: Select all
importQueueManager.Read(JiwaImportQManager.ImportQueueItemCollection.ImportQueueItemsReadModes.ReadyForImport)
For Each item As ImportQueueItem In importQueueManager
' do something to item here to transform old to new XML.
item.Process()
Next
Any suggestions?
The XML is actually being inserted into TransformedXML; can I move it into OriginalXML and then transform it into TransformedXML?