on 10-10-2007 4:45 PM
Hi,
My Message is look like this .
<?xml version="1.0" encoding="UTF-8"?>
<dataroot generated="">
<ChartOfAccounts>
<glAcctNo>300000</glAcctNo>
<COA>CAUS</COA>
<acct_grp>SAKO</acct_grp>
<shortText>short text</shortText>
<longText> long text</longText>
<isPLAcct/>
<isBalAcct>TRUE</isBalAcct>
<coaForCompany>
<co_code>3000</co_code>
<authGroup>ZURK</authGroup>
<acctCurrency>USD</acctCurrency>
</coaForCompany>
<strFSLineItem>INDIA123</strFSLineItem>
</ChartOfAccounts>
<ChartOfAccounts>
<glAcctNo>300000</glAcctNo>
<COA>CAUS</COA>
<acct_grp>SAKO</acct_grp>
<shortText>short text</shortText>
<longText> long text</longText>
<isPLAcct/>
<isBalAcct>TRUE</isBalAcct>
<coaForCompany>
<co_code>aaa</co_code>
<authGroup>ZURK</authGroup>
<acctCurrency>USD</acctCurrency>
</coaForCompany>
<strFSLineItem>INDIA123</strFSLineItem>
</ChartOfAccounts>
</dataroot>
See what I want is depening on co_code values need to send it to diffrent reciver.
The condition i put it in reciver determination if it 3000 one reciver if not diffrent reciver but it is not working.
Nedd u r suggestions
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Madhusudhan,
There are 2 steps u need to do...
1) receiver determination - add a condition - with the multiple line option checked to send the message to different receivers based on the C_O_Code
2) You need to filter out records based on the Co_code in your mapping program..
as in create the node OfAccounts if the the co-code is 3000...and in another mapping crate the ChartOfAccounts in CO-code "abc" and use the appropriate mapping in interfae determination...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhusudhan,
apply XPaths while configuring your reciever determination in ID.
xpath1 = //xyz/co-code = 3000 for one receiver1 and
xpath1 = //xyz/co-code != 3000 for receiver2 .
pls check SDN how to apply xpaths.
Babu sri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you are using the 2 recivers then:
You can also put the same condition in the interface determination, just create the 2 recivers and put the condition on the interface determination......
else
why don't you detemrine the receiver in the mapping and use the enhanced receiver this will solve your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>You can also put the same condition in the interface determination...
if he has two different receivere then we have to apply Xpaths in receiver determination ,
if he has two different target interfaces or mappings to be executed then we have to apply Xpaths in interface determination.
if he has both ,I think we need to apply Xpaths in both places.
Receiver determination is first and then interface determination(in Pipe line).
lets wait other people suggestion.
thank you.
Babu sri
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.