on 12-09-2011 12:19 PM
Hello every one, i work on EDI and in our organization we are started using PI recently, i have been trained on it but never really worked on it, now i am building a interface but got stuck at mapping
my requirement is Concatenate date and serial number in CCYYMMDD format with Serial Number
Can any one please help me with this
Hi,
If date is not coming in YYMMDD format then you have to first use DateTrans fucntion
Serial number
----> Concat -----------> Output
EDI Date ----> DateTran (Fucntion) ---> YYMMDD
You can search in SDN for more help for this sort.
regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry about the confusion but CCYYMMDD is the date and should be concacnated withs serial number, example if the date is
2011-11-12 and serial number is 789
Then resultant should be 20111112789 i mean date should come first in concatination.
CCYYMMDD format might have confused you its actually century year month day format
Here how you can achieve
CurrentDate (standard function) select its target format as yyyy (small case) YEAR
CurrentDate (standard function) select its target format as MM (upper case) MONTH
CurrentDate (standard function) select its target format as dd (small case) DAY
CurrentDate (standard function) select its target format as HH (upper case) HOUR
CurrentDate (standard function) select its target format as mm (small case) MINUTE
Hi chandrika,
Assuming
1. your serial number is coming as CC
2. Date is coming as YYMMDD
Then
CC
---> Concat Function ---> Target Node
YYMMDD
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 |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.