Converting 12-digit PO NUMBER to 10digit  PO-NUMBER

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 .. 8) -
> 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

Similar Messages

  • Not able to convert string attribute to number and date please help me out

    not able to convert string attribute to number and date attribute. While using string to date conversion it shows result as failure.As I am reading from a text file. please help me out

    Hi,
    You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
    regards,
    Nick

  • I have Adobe Design Standard CS6 purchased 2013 with serial number but cannot find to download it onto a new mac laptop. When I try and add the 24-digit serial number to my account it doesn't seem to work?

    I have Adobe Design Standard CS6 purchased 2013 with serial number but cannot find to download it onto a new mac laptop. When I try and add the 24-digit serial number to my account it doesn't seem to work?

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • Keep getting an error message when trying to send some texts to valid numbers, "Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code.

    Does anyone know why I keep getting an error  message, "Error invalid number. Please re-send using a valid 10 digit mobile number or valid short code.  The numbers I'm texting to, are valid numbers.

    Did you ever get resolution to this problem?
    My coworker has the identical issue, including the number (+1 (1)(216)116-11) in the error reply.

  • I have changed bank details and do not have 3 digit security number. When trying to update bank details my security ? answers are not recognised.

    I have changed my bank details and no longer have my 3 digit security number. I have tried to change my bank details but my security question answers are not recognised. What should I do?

    All credit cards have a security number, on the back of the card. If you don't have your card, then you will not be able to enter in that credit card. This is a standard security precaution to keep someone who gets hold of your card number but not the card itself from being able to make charges to your account. You will need to contact your bank and get a replacement card.
    As to your security questions, go to:
    https://appleid.apple.com/
    Click "Manage My Account", sign in, and go to the Password and Security section. Answer the security questions and you'll be taken to a screen where you can then change them. If you've forgotten your answers, there should be a link just under the security questions fields where you can have a reset email sent to your Rescue email address. If the link for the email doesn't appear, as can happen if you didn't set a rescue email address or (apparently) have a .Mac email address, see the user tip created by Kappy, another user here, on how to proceed:
    https://discussions.apple.com/docs/DOC-4551
    Regards.

  • Convert from date to number

    Hi,
    I want to convert from date to number. How can I do?
    Thanks
    [email protected]

    That rather depends on what sort of number you want.
    You can probably get what you want by a combination of to_char and to_number.

  • Search string for 3 digit check number?

    For electronic bank statement,uploading file contains 3-digit check number eg;416
    but in FCHI-Check lots we defined six-digit check numbers.
    so system is not able match the check nos. as they are different, and auto reco is not happening.
    we have gone through search strings documentation but
    we dont know what to enter in search strings configuration.
    Kindly help me what to enter for 3 digit check no?
    Edited by: KUMAR on Dec 2, 2008 1:35 PM

    You'll first need to create search strings to "find" the check numbers in the note to payee information.  Then when you set up the search string use, you'll assign a mapping prefix of "000000" to format the check numbers with the leading zeros so they are 6-digits long.
    To set up the search string, you'll need to look at the note to payee information at the text either before or after the check numbers.  Let's say, for example, that the word "CHECK" always preceeds the check numbers in the note to payee:
    CHECK 456
    or
    CHECK 1234
    Because you have some check numbers coming through the bank statement as 3 digits and some as 4 digits, I'm thinking you'll need to set up two search strings, one with search string value "CHECK ###" and the following mapping:
    C ->
    H ->
    E ->
    C ->
    K ->
       ->
    -> #
    -> #
    -> #
    And the second with search string "CHECK ####" and the following mapping:
    C ->
    H ->
    E ->
    C ->
    K ->
       ->
    -> #
    -> #
    -> #
    -> #
    In the search string use, you assign each search string to the relevant company code, house bank and account ID. You can also leave these fields blank, in which case the search strings will be relevant for all company codes, house banks and accounts IDs.  You'll also need to populate the interpretation algorithm with the same algorithm that you assigned in the Global EBS config for the external transaction for checks.  The target field should be Check-/DME Reference-/Assignment number.  Fill in the mapping prefix with 000000 - and be sure to check the Active indicator.  If you are on ECC 6.0, you will also have fields for external transaction and +- (these fields may also be available in ECC 5.0 - but I know they are not available in 4.7 or prior).  If you see these fields, you can fill them in to further limit when the search string is used - for example, only for Negative transactions or only for Negative transactions with a particular external transaction value.
    Let me know if you have any other questions.
    Regards,
    Shannon
    Edited by: Shannon Moberg on Dec 3, 2008 6:05 PM

  • Hello!, my name is jan and i am using lightroom 2 for many years. I have an original set-up disk with a 24 digit serial number. I had never problems wih installation of lightroom. suddenly lightroom refuses to start when I try to from a picture i have tak

    Hello!, my name is jan and i am using lightroom 2 for many years. I have an original set-up disk with a 24 digit serial number. I had never problems wih installation of lightroom. suddenly lightroom refuses to start when I try to from a picture i have taken with my nikon D500 and transferred to WINDOWS 8.1.  i have tried to re-install lightroom : the procedure asks for the serieal number , but refuses to accept the number that always worked. PLEASE help!!  jan

    If you are certain you have the right serial number, there really isn't much we can help you with here. You might try downloading and installing the last version of Lightroom 2. It will be the trial version, but when the trial screen appears there is an option to indicate that you have a serial number. Incidentally, Lightroom serial numbers start with the first four digits being 1160.
    Adobe - Lightroom : For Windows : Adobe Photoshop Lightroom 2.7 - English, French, German

  • Updating iPad operating system and need  a 4-digit security number

    I am trying to update my OS to 7.1.1 on my iPad. Ii was just asked for a 4-digit security number, and I have no idea what that is. I haven't set up a 4-digit security number!

    It is asking for the passcode you use to lock/unlock iPad

  • Where can I find the 9 digit ID number?

    I am trying to set up a podcast.
    My media host wants to know the nine digit ID number.
    Where can I find this?
    thanks
    John Gilroy

    Hello
    Most if the time they are looking for the MAC address or the Network address of the device.
    That is in Setting > General > About
    Look for the Network address
    Best of Luck

  • I cannot locate the 24 digit serial number to install my Adobe photoshop elements 12 on my Mac computer. Any help is appreciated!

    I recently purchased the Adobe photoshop elements 12 and cannot install on my Mac desktop since I cannot locate the 24 digit serial number.  All the numbers on the back of the box are not 24 digits. Please help! Thanks!

    Find your serial number quickly

  • 10 digit phone number format

    Does anyone know of a way to change the default BB 10-digit phone number format of NNNNNNNNNN to include either spaces or parentheses?  i.e. (NNN) NNN-NNNN or NNN NNN NNNN.   

    Hi and welcome to the forums.
    If you setup your contact in the (722-344-66770 you can certainly do it. The field is numeric..
    You can view the contact and it will be that format, but when you dial, it will just be numbers, The telco has no need of the dashes and parenthesis so the BB doesn't waste space displaying and sending them.
    The dashes and () in this case mean nothing to the telco. There are symbols that do, but if you stay with these your safe.
    If you need further assistance please ask! If not:
    Please resolve the post using the green kudo's box. Simply check the post that had
    your answer in it. Thanks!
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Converting varchar list to number

    hi everybody,
    can anyone help me to convert the varchar to number
    ex
    the input arg is varchar in this query below
    select * from student where rollno in ('1,2,3,4');
    in this example the roll no is of type number.when i use to_number function it shows error.
    how can i conver to number list?
    so that the query can change like this
    select * from student where rollno in (1,2,3,4);
    thanks
    Message was edited by:
    user542111

    It worked for me.
    SQL> select to_number('542111') from dual;
    TO_NUMBER('542111')
    542111
    SQL>
    Try to run this (Assumeing rollno is varchar2)
    SQL> select to_number(rollno) from student where rollno in ('1','2','3','4');

  • Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code

    Hey, so my friend got a Galaxy s6 edge yesterday and gave me his new number. When I tried texting it I received this immediately after:
    Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code. Hey
    I can receive messages from this number as well as calls. I've become aggravated and am not sure what to do. Please help, thanks!

    Hi there
    I’d be happy to help with this messaging error! This will be due to the device storing the number incorrectly. Please do the following to resolve the issue:
    Delete texts from both old number and new
    Delete any call logs including these numbers
    Delete old number from contacts
    Delete new number from contacts
    Restart device
    Send text to the new number directly (do not save as contact)
    Once the text sends successfully, you can then save as a new contact
    I hope this helps!
    Charise

  • TS2755 I recently upgraded my IPhone and for 1 person I began receiving this "7233375 Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code". I receive text from this person but cannot send. Please help. Thank you.

    I recently upgraded my IPhone and for 1 person I began receiving this "7233375 Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code". I receive text from this person but cannot send. Please help. Thank you.

    Hi there
    I’d be happy to help with this messaging error! This will be due to the device storing the number incorrectly. Please do the following to resolve the issue:
    Delete texts from both old number and new
    Delete any call logs including these numbers
    Delete old number from contacts
    Delete new number from contacts
    Restart device
    Send text to the new number directly (do not save as contact)
    Once the text sends successfully, you can then save as a new contact
    I hope this helps!
    Charise

Maybe you are looking for

  • Test Execution hangs while executing a test from Command prompt option

    I have done the following 1) Created a script Test driver 2) Added different scripts as Script->Properties->Assets to the driver script 3) Call each of this asset script from TestDriver using command getScript("<<ScrptName>>".run(1, true, true, true)

  • Trouble printing to a network printer

    I am having trouble getting me mac to print to a network printer. I can go to add printer, it sees the network and the printer. The mac has the software as a choice, Canon MX320, and adds the printer just fine. But when I go to actually print somethi

  • Is it possible to sort the order of accounts in Mail?

    I have many email accounts, and when they're synced to my iPhone, they show up in a seemingly random order (not alphabetical, by type, etc). Is there any way to sort email accounts on the main Mail screen in a custom order (or simply alphabetically)?

  • I updated to iOS8 and my notes disappeared. How can I get them back?

    I Had previously had my phone synced to my old computer (2011 mbp). This macbook pro is new and I was waiting for iOS8 so I could update everything at once. Once ot was all done and upgraded, i checked and my promary notes, the ones stnced with my gm

  • How to get GUID of nav predecessor in Breadcrumb navigation

    Hello, we have implemented a Z-Component in which we can navigate from other standard components via i.e. follow-up transaction. I have the requirement to get the GUID of the transaction from which we came from. For example we are working at an offer