on 03-09-2008 7:43 AM
HI,
I need a code in java for Mapping to Convert 12 Digit Purchase order number to 10 Digit Purchase order number
Hi,
No need to write any java code for this. Just use the "Substring" function to achieve this goal like this.
Source -
> Substring (2 .. 😎 -
> Target
I guess you want to leave the first 2 leading zeros in the incoming PO.
Remember, you should always get the PO_NUMBER of length 12 otherwise you will get the error "string out of range"
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
u can use the standard substring function in the mapping.
u have to use the function in the following way.
source field>substring->target field
(0---10)
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.