on 11-15-2010 6:34 PM
Hi Experts
I am trying to execute the following logic in
Ship Flag -
> Eqls 'X' or Sold Flag -
> Eqls 'X'
then Assign
KNOC (IDOC) -
> CustSales
The above condition writtens the KNOC to CustSales Node only when Ship Flag and Sold Flag are 'X' , but if any one of the condition fails then it is not assiging the KNOC to CustSales node on the Target side,
I have used OR function from Boolean functions
Please let me know how to resolve this
Edited by: PR on Nov 15, 2010 1:34 PM
Use "MapWithDefault" function just after Ship & Sold Flag. This will ensure to generate the Ship or Sold field in case they does not come with source data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi PR,
Add 'IF' condition before using 'OR' step to check if both of flags exist. If not exists you can map blank constant in 'else'. This will let you process the function further to 'OR'
Hope this helps.
Anand More.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess it will be failing whenever any of the Flag(Ship or Sold) does not exists. Try it when both Flag field exists and one of them contains 'X'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.