on 02-04-2014 9:14 AM
Hi
I have below requirment is there any way to do
<main>
<Record>
<r1>233435345345345></r1>
</REcord>
<Record>
<r1>2423424234234242</r1>
</Record>
<Record>
<r1>3454545454545444</r1>
</Record>
<Record>
<r1>234534534534534</r1>
</Record>
</main>
if ther record starts with 2 I have to do
substring(1,4) that is 334 and in second record 423 and total (334 + 423) assiging it to a field . and again 4th record i have to start the
total freshely is there any way to achive in graphical mapping
Thaks
Ram
Hello,
According to u, what should be the output for below input?
<main>
<Record>
<r1>233435345345345></r1>
</REcord>
<Record>
<r1>2423424234234242</r1>
</Record>
<Record>
<r1>2454545454545444</r1>
</Record>
<Record>
<r1>434534534534534</r1>
</Record>
<Record>
<r1>234534534534534</r1>
</Record>
</main>
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<main>
<Record>
<r1>233435345345345></r1>
</REcord>
<Record>
<r1>2423424234234242</r1>
</Record>
<Record>
<r1>2454545454545444</r1>
</Record>
<Record>
<r1>434534534534534</r1>
</Record>
<Record>
<r1>234534534534534</r1>
</Record>
</main>
I should have two total amount 1st one(334+423+454) 1211 and second one 345
Hi
Thank you for your quick reply
The mapping above is suming all the values starts with 2 see my requirment i am suming first three and putting to a total and second total is only 345 (since only one record is there). if there is intereption for that record the total is done seperately( in our case the 4th record starts with 4) the continunity is lost
<main>
<Record>
<r1>233435345345345></r1>
</REcord>
<Record>
<r1>2423424234234242</r1>
</Record>
<Record>
<r1>2454545454545444</r1>
</Record>
<Record>
<r1>434534534534534</r1>
</Record>
<Record>
<r1>234534534534534</r1>
</Record>
</main>
I should have two total amount 1st one(334+423+454) 1211 and second one 345
Thanks
Ram
Hello,
I have tested above mapping and it's perfectly working fine. The output of mapping is, but u can format it as per ur target structure.
1211
Context Change
345
BTW, check sum function output:
Paste ur target structure and the output of display queue of SUM function in ur mapping?
Thanks
Amit Srivastava
Message was edited by: Amit Srivastava
Hello,
No one on earth could help u until and unless u don't post ur questions properly.
U should always try to give as much information as possible in a correct manner.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Since there are multiple occ of Distributor Invoice node (which i believe is directly mapped to Main node?) so mapping logic needs to be adjusted.
Tell me one thing, is there any mapping logic for PaymentOrder*** becoz i can see it as unbounded node or always one Invoice node will have only one PaymentOrder*** Node?
Thanks
Amit Srivastava
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.