well i am using <b>conditions</b> during <b>Interface Determination</b> and according to the result of the condition a mapping program is triggered.
Now i am using <b>XPath.</b>
In my file i have a field called amount. The total of the amount field is stored in the trailer in a field called total.
Is there anyway that using XPath i can check if the sum of the amount field that r in the file is equal to the value in the total field?
a sample file would be as shown below ...
02xxxxxxx20000xxxxxx | body
the sum of the amount field in the body (100002000010000) should be compared to that
in the trailer (40000) [the values in the amount field
will vary so does the total accordingly 😉 ]
can anybody suggect a solution ?? 😔