Posted: Wed Feb 07, 2007 10:23 pm Post subject: Sorting of MRM Message set /Temporary variable
Newbie
Joined: 07 Feb 2007 Posts: 2
HI
My input file is a comma delimited set of line items.I have parsed these to the MRM message set.One of the elements is an invoice number.
I have to group line items with similar invoicenumbers together ,convert the group into a single header and multiple details structure.This has to be sent to the provider part of the flow.
I can sort them first and then send it.But here the problem I face is to assign the InputRoot structure to a temporary variable.Errors come up when I try to do that.
Otherwise,I can search for records having one invoice number.After which I need to remove those records from the input so that they dont reappear in another iteration for the same invoice number.Here I am not able to assign the InputRoot to a NULL.THe problem again is the same thing of finding out a temporary varaible.
You cannot move a tree to any variable. It would need to have a specific type (row?).You can move in a much easier way a tree to a tree. See the Environment tree. You can use it to park the input message and you can manipulate the parked input message (delete elts etc ...) in a way that is not possible with the input tree.
See the Environment tree. You can use it to park the input message and you can manipulate the parked input message (delete elts etc ...) in a way that is not possible with the input tree.
This is true. You can also copy parts of the input tree directly to the output tree if your processing is simple enough to allow that.
Quote:
I can search for records having one invoice number
Are you using SELECT for this? It's probably the quickest method.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum