AX 2012AX 2012 R3X++

Changing Phone Number Format AX 2012

some times you need to change the phone number format according to your requirement through code so this job will help you for this, what this job does is it checks whether the phone number is in req format that is 923331234567 if it is thn ok other wise it changes the number to the req format
few secanios to check
1. if number is like 03331234567
2. if number is like 0333 1234567
3. if number is like 0333-1234567
4. if number is like 92333 1234567
5. if number is like 92333-1234567

try it .

static void Jobjob(Args _args)
{
int found=0;
int found1=0;
Str mobile=”03331234567″;

found = strscan(mobile,” “,found,strlen(mobile));
found1 = strscan(mobile,”-“,found1,strlen(mobile));
//this function return the position of character if it found.

    if (subStr(mobile,1,2) != “92” || found != 0 || found1 != 0)
    {
       if (subStr(mobile,1,2) == “03”)
    {
        mobile =strDel(mobile,1,1);
        mobile =strIns(mobile,’92’,1);

            if (found != 0)
            {
            mobile = strRem(mobile,” “);
            }
             else if (found1 != 0)
                {
                mobile = strRem(mobile,”-“);
                }
        info(“changed – ” + mobile);
    }
    else if (subStr(mobile,1,2) == “92” || found != 0 || found1 != 0)
        {
        if (found != 0)
            {
            mobile = strRem(mobile,” “);
            }
             else if (found1 != 0)
                {
                mobile = strRem(mobile,”-“);
                }
        info(“changed 1 – ” + mobile);
        }

    }
    else
    {
        info(“ok – ” + mobile);
    }

}

2,065 thoughts on “Changing Phone Number Format AX 2012

  1. Hello just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading
    properly. I’m not sure why but I think its a linking issue.
    I’ve tried it in two different web browsers and both show the
    same results.

  2. I was wondering if you ever considered changing the page layout of your website?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for
    only having 1 or two images. Maybe you could space it out better?

  3. Howdy! I could have sworn I’ve visited this website before
    but after going through a few of the posts I realized it’s new to me.
    Nonetheless, I’m certainly pleased I found it and I’ll
    be bookmarking it and checking back regularly!

  4. I am extremely impressed with your writing
    skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself?
    Anyway keep up the excellent quality writing, it’s rare
    to see a great blog like this one nowadays.

  5. I’d like to thank you for the efforts you have put in writing this
    blog. I really hope to see the same high-grade content by you later on as well.
    In fact, your creative writing abilities has encouraged me to get my
    very own site now 😉

  6. I was recommended this website by my cousin. I’m not sure
    whether this post is written by him as no one else know such
    detailed about my trouble. You’re incredible! Thanks!

  7. Hello there! I know this is somewhat off topic but I was wondering if you knew where I could find a captcha plugin for
    my comment form? I’m using the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!

  8. Excellent weblog right here! Additionally your site so much up fast!
    What host are you using? Can I get your associate hyperlink on your host?

    I wish my website loaded up as fast as yours lol

  9. Have you ever considered about including a little bit
    more than just your articles? I mean, what you say is important and everything.
    Nevertheless just imagine if you added some great graphics or video clips to give your posts more, “pop”!

    Your content is excellent but with images and videos,
    this blog could definitely be one of the best in its field.
    Good blog!

  10. Have you ever thought about adding a little bit more than just
    your articles? I mean, what you say is fundamental and all.
    Nevertheless think about if you added some great pictures or
    videos to give your posts more, “pop”! Your content is excellent but
    with images and videos, this site could definitely be one
    of the most beneficial in its field. Superb blog!

  11. Excellent goods from you, man. I’ve be aware your
    stuff prior to and you are just too wonderful.
    I really like what you have got right here, certainly like
    what you are stating and the best way wherein you say
    it. You make it entertaining and you continue to care for to keep it sensible.
    I can not wait to read far more from you. This is actually
    a tremendous website.

  12. Pretty component of content. I simply stumbled upon your blog
    and in accession capital to claim that I acquire actually enjoyed
    account your weblog posts. Anyway I will be subscribing for your feeds and even I fulfillment you get right
    of entry to persistently fast.

  13. We are a group of volunteers and opening a new scheme in our community.

    Your web site provided us with valuable information to work on. You’ve done a formidable job and our whole
    community will be thankful to you.

  14. naturally like your website but you need to take a look at the spelling on several of your posts.

    A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality nevertheless I’ll certainly come again again.

  15. Jawabannya tampaknya lebih didasarkan pada psikologi manusia daripada pada alasan logis apa pun. Karena kami ingin percaya ada cara khusus untuk ‘mengalahkan lotere’. Dan yang harus kita lakukan adalah mengungkap rahasia khusus itu.

  16. Its like you read my mind! You appear to know so much about this, like you wrote the book
    in it or something. I think that you could do with some pics
    to drive the message home a bit, but instead of that, this
    is excellent blog. A great read. I’ll certainly be back.

  17. Link exchange is nothing else except it is only placing the other
    person’s webpage link on your page at appropriate place and other person will also do
    similar in support of you.

  18. Pretty component to content. I simply stumbled upon your site and in accession capital to say that I get actually
    enjoyed account your weblog posts. Anyway I’ll be
    subscribing in your feeds or even I fulfillment
    you get entry to persistently quickly.

  19. I was curious if you ever thought of changing the layout of your blog?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with
    it better. Youve got an awful lot of text for only having one or 2 images.
    Maybe you could space it out better?

  20. Pingback: Google
  21. Pingback: top rated vibrator
  22. Pingback: rabbit vibe
  23. Pingback: Burket Indiana
  24. Pingback: generic cialis
  25. Professors like trendy topics, because they have to read hundreds of papers a year, and when they are the same one semester after another, professors get deadly bored.
    write my paper for me January, and transportation of goods slowed almost to a halt last month as the government imposed severe travel restrictions, work stoppages, and quarantines on hundreds of millions of people.

  26. Perhaps you have time to write an essay, but the subject or topic assigned to you is something you loathe or find extremely boring-general education classes can be hell like that, we know.
    write my papers Coincidental or not, when audits are kept running on your work, on the off chance that it hails up as replicated, at that point chances are you will fail the paper.

  27. [url=https://zithromax911.com/]zithromax price australia[/url] [url=https://toradoliv.com/]20 mg toradol[/url] [url=https://clonidine24.com/]buy clonidine online[/url] [url=https://cytotec100.com/]cytotec over the counter drug[/url] [url=https://flagyl24.com/]flagyl 500 mg tablet[/url]

  28. Common app essay collegevine, 300 words essay about reading, national leaders essay in telugu introduction to julius caesar essay essay about discrimination at work. write my paper cheap It is essential that the assignment is handled by quality writers who are knowledgeable of the topic or subject and are able to deliver great term papers.

  29. Our service gives ambitious students a helping hand that guides and assists in every way all to develop their potential and make true specialist out of them! paper help They need to be experts in their fields and ready to provide high-quality content by the deadline featuring necessary formatting styles, reference lists, outlines and other points in accordance with the instruction.

  30. Fight against corruption essay in hindi beautiful phrases to use in essays personal and professional goals essay examples, what is my philosophy in life essay short essay on earth in english business studies grade 11 essays 2017 pdf. paper help Personal narrative essay outline sanskrit bhasha essay in sanskrit language why is important to study english essay how to type a essay in apa format word limit for coalition essay, short essay on world economy.

  31. Best day of my life essay examples simple essay on my school for class 3, narrative essay about crime start first body paragraph essay, write a essay on an ideal teacher. paper writer They tend to be very particular with the geographical location of the writers because of the belief that those coming from the same country would deliver better results.

  32. [url=https://sildalistab.com/]buy sildalis 120 mg[/url] [url=https://cleocing.com/]cleocin cream coupon[/url] [url=https://advair365.us.com/]price of advair diskus[/url] [url=https://zithromaxmed.com/]zithromax antibiotic[/url] [url=https://cytotec100.com/]cytotec buy online[/url]

  33. [url=http://ventolininhaler.top/]buy ventolin[/url] [url=http://zithromax250.com/]zithromax[/url] [url=http://tamoxifencit.com/]how to buy tamoxifen[/url] [url=http://azithromycinotc.com/]azithromycin online[/url] [url=http://viagra100mg.top/]buy viagra 100mg india[/url] [url=http://citalopramhbr.com/]citalopram bipolar[/url] [url=http://sildalistab.com/]generic sildalis[/url]

  34. Pingback: viagra 100mg
  35. Valet will give dealers a platform to manage pick-up and delivery services, such as contactless at-home vehicle deliveries, vehicle servicing, and parts deliveries. invisionsupport Der ausblick auf die berge am horizont und die unberuehrte natur im tal haben mir schier den atem geraubt.

  36. Kitaro habe, und die ich jedem empfehlen kann, istleider eine japanische und sie ist japanisch beschriftet. gates of inanna ranch As such, it made perfect sense for him to try and direct an old radio drama, and for his perfectionist tendencies to ruin everything.

  37. [url=https://propecia3.com/]propecia no prescription bonus 98212[/url] [url=https://ivermectinstromectol.com/]ivermectin stromectol[/url] [url=https://ivermectin3.com/]ivermectin 2%[/url] [url=https://stromectolmed.com/]stromectol medication[/url] [url=https://albuterol360.com/]albuterol over the counter canada[/url]

  38. A year of change and movement is in front of us, which will also have an effect on the upcoming years. thewriteacademy.org This means several hundreds of terribly itchy and repeatedly bursting water blisters – from the size of peas to tangerines – spread over the entire body down to the soles of her feet.

  39. [url=http://albuterol2020.com/]albuterol prices[/url] [url=http://vardenafilev.com/]cheap vardenafil online[/url] [url=http://stromectolivermectin.com/]buy ivermectin stromectol[/url] [url=http://tadalafiltab.com/]tadalafil 5mg[/url]

  40. No exaggeration is to say that astrology dominated everythingduring that period and thus many systems of knowledge depended upon it, weresymbiotic with it, or made reference to it in their worldview. netherlandsvps.com The organization will initially dole out five year grants to about 45 scientistsfrom all three universities.

  41. Pingback: best cialis site
  42. Thank you, I have recently been looking for info about this topic for a while and yours is the greatest I’ve came upon so far. But, what in regards to the conclusion? Are you certain concerning the source?|

  43. It is perfect time to make some plans for the long run and it is time to be happy. I’ve read this submit and if I may just I want to recommend you few interesting issues or advice. Perhaps you could write subsequent articles regarding this article. I want to read even more issues approximately it!

  44. I am really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Either way keep up the excellent quality writing, it is rare to see a nice blog like this one today.|