on 12-14-2011 11:06 AM
Hi Experts,
requirement is
input is 10 digit date (dd/mm/yyyy) some times instead of date they will send as space(10 digit). it should not fail in PI.
kindly help me on this.
regards
Elton
Use if else mapping.
If Field is Blank(Costant and 10 space) Then pass the same to target side
Or
Use the Date Trans function and convert the date
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the standard datetrans function will not help you to handle exceptions hence as suggested by others, do the validation earlier before passing the value to datetrans or using direct mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
input is 10 digit date (dd/mm/yyyy) some times instead of date they will send as space(10 digit). it should not fail in PI.
input -> constant(10 space) -> equals ->if ->
then -> constant(date) ->target ( in taget side date is mandatary then pass constant value)
else -> input->target filed
thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to handle that externally.
If date.equals(" ") ----> Constant("") ---> Data(PI)
Esle
use the currently mapping!
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.