UCCX Modulus 11 Check against Caller Entered Digits

I was wondering if someone could help with a solutions to a request I have to check a Caller Entered Digits (which be a length of 10) using Modulus 11.
I presume that I need to convert the string to Long and perform and if but I don't have a clue how to do the detailed sum required to check the right most digit.
Below is modulus 11 check I need to perform and the enter number to check it's a valid number.
Step 1
Multiply each of the first nine digits by a weighting factor as follows:
Digit Position
(Starting from the left)
Factor
1
10
2
9
3
8
4
7
5
6
6
5
7
4
8
3
9
2
Step 2 Add the results of each multiplication together.
Step 3 Divide the total by 11 and establish the remainder.
Step 4 Subtract the remainder from 11 to give the check digit. If the result is 11 then a check digit of 0 is used. If the result is 10 then the NUMBER is invalid and not used.
Step 5 Check the remainder matches the 10th digit. If it does not, the NUMBER is invalid.
I am not a programmer so I would need to know the steps in script editor I would need to perform.
Regards

You need to try this with some real account numbers
Graham

Similar Messages

  • Passing "Caller Entered Digits" to CTIOS Agent Desktop through IVR.

    Hi,
    Please suggest me on the below issue-
    I need  to Customize CTIOS Agent Desktop for the Screen POP-UP, where is Customer ID and Customer Address etc should be populated in CTIOS Agent Desktop. I have created the  tabs for these (i.e. Customer ID and Customer Address), Now I need to send values(Customer ID) from IVR to CTIOS Agent Desktop, so that it can populate on Agent Desktop.
    Please let me know to achive this.
    Thanks in advance.
    Thanks,
    Manish Gupta.

    Use the Call.PeripheralVariableX (X could equal 1-10).  The call leaves the IVR and you pass the CED to ICM, ICM looks at this CED and puts it in a peripheral variable (PV for short).  These 10 PVs are past on to the desktop once a call is received, they are part of the call context and travel with the call.
    david

  • UCCX send entered digits to CAD display

    Hi,
    I'm trying to get a set of numbers (that will be entered by the caller) to show up in the enterprise data fields in CAD.
    Scenario would be that the caller would have to enter their customer number (7 digits) and when the call gets put through to an agent it would show as a data field.
    I've created a new layout list with an extra field "222 Caller Entered Digits". What I'm not sure is how that layout list links to the agent/application/script.
    I've also created a new work flow group as I wanted to just test this on one of our applications.
    I was going to use the Get Digit String to collect the info, but then I'm not sure what to do with this. Do I need to use the Set Enterprise Call Info step?
    An idiots guide would be most appreciated!
    Using UCCX 8.5.
    Thanks, Will

    You are pretty close.
    Yes, you would need to use the Set Enterprise Info Step for two things:
    1) To store the Caller Entered Digits in your newly created Enterprise Field.  Use the name of the field which does not have spaces, and use double quotes.  E.g., If you Enterprise field has a name of "my_new_field" and a display name of "My New Field", then it's "my_new_field" you would use in the script editor.  The display name is just what shows up in CAD.
    2) To pick which layout CAD will use for the call.  You store this in the same place you store the above, only instead of using a field name you defined, you will use the system defined field: "user.layout" and set that equal to your newly created layout name.
    Those two things alone should get you where you need to be.  Also, you didn't need a new workflow group for this, as the workflow group has nothing to do with Enterprise Data.
    The document you would need to reference for this kind of stuff is the Cisco Desktop Administrator Guide:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/user/guide/cda85ccxug-cm.pdf
    Good luck and happy enterprise data displaying!
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • UIX: Anybody have example of lovValidate checking against db?

    Hi gang
    Does anybody have an example in UIX of using the lovValidate event to check a user entered messageLovInput value against the database, and if an invalid entry, via showWindow, forcing the user to select a value from the LOV?
    Any help appreciated.
    CM.

    Okay, IperProcedureCode is the attribute in the VO that the lovInput is attached to. When you write bindings.<attributeName> in your EL, then this comes out as the DCControlBinding (or a subclass) in the Java code. So I pass the binding into the EL method in order to get access to the binding container, the AM, the VO ... whatever.
    I have defined that EL method myself and it's no big deal. You add an UI extension in your UIX config and in that UI extension you register the new EL functions.
    This is the EL class:
    package com.ge.med.bone.el;
    import ...
    public class DataUtilityElFunctions {
      public static Method lookupInput;
      static {
        try {
          lookupInput = DataUtilityElFunctions.class.getDeclaredMethod( "_lookupInput",
                                                                        new Class[] {
                                                                          JUCtrlAttrsBinding.class,
                                                                          String.class,
                                                                          String.class,
                                                                          String.class
        } catch( NoSuchMethodException nsme ) {
          // Will never ever happen!
      //~ Constructors ***********************************************************************
      private DataUtilityElFunctions(  ) {}
      //~ Methods ****************************************************************************
       * Performs the lookup of user input.
       * @param binding The JUCtrlsAttrsBinding as used to bind text fields.
       * @param input The input the user has typed in.
       * @param setResult Pass 'true' if you want to set the result automatically in the
       *        attribute.
       * @param clearUnresolved Pass 'true' if you want the attribute to be cleared if it
       *        couldn't be resolved. Needs setResult='true' to work.
       * @return The looked up value or null if none found or ambigous.
      public static String _lookupInput( JUCtrlAttrsBinding binding,
                                         String input,
                                         String setResult,
                                         String clearUnresolved ) {
        String lookupResult = null;
        String attributeName = null;
        if( ( binding != null ) && ( input != null ) && ( input.length(  ) > 0 ) ) {
          BaseViewObject viewObject = (BaseViewObject)binding.getViewObject(  );
          DCBindingContainer container = binding.getBindingContainer(  );
          attributeName = binding.getAttributeNames(  )[ 0 ];
          BaseViewObject vo = (BaseViewObject)binding.getViewObject(  );
          BaseAttributeDef attributeDef = vo.findExtendedAttributeDef( attributeName );
          if( attributeDef != null ) {
            TextLookupData data = new TextLookupData( container, attributeDef, attributeDef,
                                                      true );
            data.lookupInput( input );
            if( data.isAllLookedUp(  ) ) {
              LookupDataItem item = (LookupDataItem)data.getLookedUpDataItems(  ).get( 0 );
              lookupResult = item.getResolvedObject(  ).toString(  );
          if( ( setResult != null ) && setResult.equals( "true" ) ) {
            if( lookupResult != null ) {
              binding.setInputValue( lookupResult );
            } else if( ( clearUnresolved != null ) && clearUnresolved.equals( "true" ) ) {
              binding.setInputValue( null );
            } else {
              binding.setInputValue( input );
        return lookupResult;
    }We use our own VO base class, don't let that disturb you. The TextLookupData class encapsulates the lookup. We already use this class in our Swing client to do the lookup. It uses the container to get to the AM, then creates the lookup VO, sets a nifty where-clause, executes the VO and then returns the lookup result after removing the lookup VO again.
    Again, no big deal.
    The EL function, as you can see, returns the result of the lookup or null if the lookup failed. I use this in the UIX event handler to determine whether the attribute that controls the LOV window showing should be set to "true" or "false".
    param.seachText contains the user input at the moment of validation.
    Of course, you could move the lookup stuff in a AM method if you prefer it that way.
    The UI extension class:
    package com.ge.med.bone.uix;
    import ...
    public class BoneUiExtension implements UIExtension {
      //~ Constructors ***********************************************************************
       * Default constructor.<br> Creates the object and sets the parameters.<br>
      public BoneUiExtension(  ) {}
      //~ Methods ****************************************************************************
       * Registers the parser manager
       * @param manager The parser manager.
      public void registerSelf( ParserManager manager ) {
        manager.registerFunction( "http://xmlns.med.ge.com/centricity/bone/el/data",
                                  "lookupInput",
                                  new JavaMethod( DataUtilityElFunctions.lookupInput ) );
       * Register renderers with the look-and-feels.
       * @param laf The LAF or LAF extension to register with.
      public void registerSelf( LookAndFeel laf ) {}
    }and in our uix-config.xml:
          <extension-class>
            com.ge.med.bone.uix.BoneUiExtension
          </extension-class>In the UIX page that holds the lovInput I just add the namespace:
    xmlns:dataEl="http://xmlns.med.ge.com/centricity/bone/el/data"Now I can simply call the EL function whenever I like. This EL stuff is pretty handy. I also use it to get custom labels that we defined for our attributes and to access resource bundles.
    The input field contains a (medical) procedure code. Just for user convenience I also display read-only the description of the medical procedure after validation. This read-only field (with id _procedureName) needs a refresh after validation/lookup. That's why it's a partial refresh target.
    That must be the longest posting I ever posted here :o)
    Sascha

  • VMI order check against Product Allocation

    Hi
    We are setting up VMI where we are to plan the supply to one of our customers.
    During our tests we have dicovered that the TLB orders are not checking against Product Allocation.
    An ATP check does takes place when creating the TLB order (we are not using Deployment!!) but check against Product Allocation does not take place!!!
    If we do an online ATP check from R/3 after
    Does anybody knows how to enable check against Product Allocation during TLB order creation ?

    Unfortunately there is not a tool to make diagrams in here or do we have..
    To depict ATP check against Product Allocations, we can have two big blocks representing R/3 and APO.
    Then in each block we can have smaller blocks to represent
    a sales order creation(in R3 block) and Product Allocations in Planning area (in SCM block).
    You can depict ATP call by making an arrow from sales order block to product allocation block. Then to add further details you
    can have a time series(bar graph) showing product allocations for time buckets( say months) getting offset by incoming orders in a separate diagram.
    to represent BOP, a block for SD ( in R3 block) and a block for BOP (in APO) and a link between them to trigger BOP process. A line from BOP back to R3 block connecting a smaller blocks "process event" and then connecting to "update".
    This update block should be linked to another smaller block in APO  named as "update time series". then this update time series can lead to "delete temporary quantity assignments" block( in APO).
    Hope this helps..
    Mohan Chunchu

  • Double Invoice Check - Against the Delivery Note/ Bill #

    Dear All,
    I have a requirement here, Bit different from the Regular Double Invoice Check,
    I will receive the Material A, 10 different times, will do the GR 10 times & enter the Bill # & Challan # during GR. While posting the Invoice i want the system to check against which Bill # i am posting the invoice. Say during GR my Bill #s were 1 to 10. I receive the Invoice from my Vendor from 1 to 5 today, so i posted the invoice. After few days He will send a duplicate Invoice with Bill # as 5, & he will inform me that he lost original Invoice so he is sending the duplicate. As i have'nt posted Bill # 6 to 10, system will accept the Bill 5 also again. How can i avoid these things ?
    regds,
    CB

    Hi,
    Already I am maintaining these Bill # & Delivery Challan # during GR. My issue is during Invoice i want a check. In Invoice we have a reference field at header, If i am posting a single GR as a single invoice thats OK. But if I am posting more than 1 GR in single Invoice, where can i maintain the Bill # ? Any solutions pls ?
    regds,
    CB

  • Check against country-specific edit format

    Hi All,
    Currently for VAT registration number, settings for VAT registration number using transaction code OY17 is as follows,
    Length: 9
    Checking rule : 9 i.e. Check against country-specific edit format
    Now the user wants to enter a registration number with a different format which SAP is not allowing to enter. The length of the number is 9. But it is still not accepting. Country is ES.
    Can anyone let me know the relevance of the checking rule 9 i.e. Check against country-specific edit format. How the system validates the VAT registration number.
    Please help.
    Thanks,
    Aman Goel

    Hi All,
    Does anyone has idea about this?
    Thanks,
    Aman

  • DropTarget check against all objects on the stage

    Hey all,
    Not sure the best way to do this.  I have a class we will call DropActivity, here is the code
    package com.activitycontrol
              import com.activitycontrol.DropCheck;
              public class DropActivity
                   // Constants:
                   // Public Properties:
                   // Private Properties:
                   private var _selectedClip:Object;
                        // Initialization:
                        public function DropActivity(/*selectedClip:Object*/)
                        // Public Methods:
                        public function set selectedClip(selectedClip:Object):void
                                  _selectedClip = selectedClip;
                        public function stopDraggingMe():void
                                       var dropCheck:DropCheck = new DropCheck();
                                       //dropCheck.checkAgainst = dropTarget.name; ///***********
                                       if (dropCheck.canBeDropped == true)
                                            _selectedClip.stopDrag();     
                        // Protected Methods:
    when the stopDraggingMe() method is called from another object (code shown below) I need to see all the objects on the stage to see what objects on the stage my currently selected movie clip is over and assign it to the dropCheck.checkAgainst method (that will be checked against an array to see if it can in fact be dropped, if so set the canBeDropped value to true and therefor run the .stopDrag() ).  I have read using root is not a good coding practice in AS 3.
    call to the stopDraggingme() mehod.
    private function setDown(event:MouseEvent):void
                             var droppedItem:DropActivity = new DropActivity();
                             droppedItem.selectedClip = this;
                             droppedItem.stopDraggingMe();

    No, I think I can use drop target, I just need to use it from the DropActivity class and not a document class. I just don't know how to use it from a non-document class.
    "and you need to loop through all displayobjects to see which have a positive hitTest with your dropped object, correct?"
    I am trying to say..... ok, what movie clip is currently under the one I have selected,  the drop activity class knows what object I have selcted as it is in the selectedClip variable.  so I need to find out what clip is under it ......... the light just came on!
    answer duh......dropCheck.checkAgainst = _selectedClip.dropTarget.parent.name;
    thanks a bunch kglad you have helped me out once again, you are the man. I might just have to buy you a beer one of these days.

  • How come every time i'm on the phone and another call enters I answer it but it doesnt tell me anywhere who is who on each line so i can go back and forth?? it only says multiple calls and i cant hang up the other line

    how come every time i'm on the phone and another call enters I answer it but it doesnt tell me anywhere who is who on each line so i can go back and forth?? it only says multiple calls and i cant hang up the other line.

    My carrier is Sprint. But I actually have checked with others and theirs work fine.

  • VK11 condition check against MEK1 conditions: VOFM routins or UserExit/BADI

    We have Z condition types for prices(SD side)..and some Z condition types for Costs (MM side). My requirement is to check costs assosciated with the Material based on MM condition types when creating SD prices (condition records) and do vice versa and throw information/warning/error messages...
    In otherwords...when creating condition records from VK11 check against costs that are created in MEK1 and Vice Versa.
    I am trying to accomplish this in VOFM routines partially if not fully.
    Can this be achieved through VOFM routines.
    If VOFM is not the right place..what is the correct UE/BADI for this.
    Thanks.

    You already received an answer on this yesterday in a different post - why the new post?
    That aside, you don't understand the purpose of a requirement against an access in an access sequence.  The requirement prevents the access from being triggered (or allows it) at the time that the line item condition is analyzed for pricing (during the creation of an order/contract/etc.).  If the access is prevented, then the existing condition records for the access are never analyzed for a match.  It has nothing to do with condition record entry in VK11.  If you need to change the behavior of VK11, then use Runtime Analysis to check for BADI's or enhancement points in the transaction by analyzing the call stack.

  • Availability check against product allocation

    Hi gurus,
    I'm trying to figure out how depict in a diagram the process of availability check against product allocation.
    The process includes the sales order creation in R/3, the availability check in APO (SCM 5.0) ,  returnig the delivery date.
    We are also planning a backorder process
    I think the diagram is very simple ... just 1 box for the sales order creation, one box for the availability check and 1 exit to the back order processing.
    Any help  will bee appreciated
    -Italo

    Unfortunately there is not a tool to make diagrams in here or do we have..
    To depict ATP check against Product Allocations, we can have two big blocks representing R/3 and APO.
    Then in each block we can have smaller blocks to represent
    a sales order creation(in R3 block) and Product Allocations in Planning area (in SCM block).
    You can depict ATP call by making an arrow from sales order block to product allocation block. Then to add further details you
    can have a time series(bar graph) showing product allocations for time buckets( say months) getting offset by incoming orders in a separate diagram.
    to represent BOP, a block for SD ( in R3 block) and a block for BOP (in APO) and a link between them to trigger BOP process. A line from BOP back to R3 block connecting a smaller blocks "process event" and then connecting to "update".
    This update block should be linked to another smaller block in APO  named as "update time series". then this update time series can lead to "delete temporary quantity assignments" block( in APO).
    Hope this helps..
    Mohan Chunchu

  • Hi  I'm try to set up a new Epson printer SX 445 to my router/network but each time I run the set up wizard it fails to complete saying Security Key/Password Check fail.  *entered security key/password does not match the one set for for router.  I know th

    Hi
    On my macbook pro
    I'm try to set up a new Epson printer SX 445 to my router/network but each time I run the set up wizard it fails to complete saying Security Key/Password Check fail.
    *entered security key/password does not match the one set for for router.
    I know that the password is correct and have rechecked this by changing it a few times
    and I still get the same result.
    My network internet service provider is not interested and says to call Epson.
    Anybody have any clues how I can resolve this?
    Regards

    I personally suggest the new Drobo FS. Since it has an iTunes server built in and you can use any size sata hard drive in it it is better and a NAS that has to use the same size drives.

  • Login to cisco CME as Administrator failed check your call manager express

    Hi Experts
    CME and CUE in one router. when i access the CUE from the IE , i put the CUE username and password and i get in. After that it asks me to enter CME username and password to run the wizard. whenever i put the password i get this crappy message "Login to cisco CME as Administrator failed. check your call manager express config" i have cheked my config many times. Please let me know if someone has faced this problem or any suggestion on this. today is the 2nd time i have faced this problem , last time I cud not solve it and end up wasting 6 hours...
    please help

    Hi friend,
    Here is the Prerequisites for Installing Cisco Unity Express Software. As David describes, may be the CME admin account is missing:
    http://www.cisco.com/en/US/docs/voice_ip_comm/unity_exp/rel3_1/installation/guide/prereq31.html#wpmkr1112912
    Try this, and let us know.
    Best regards,
    - Adrián.

  • Checking against Select-Options with "CP" using "IF value IN select_option"

    Dear experts,
    first of all: I'm sorry, if this question already should have been asked and answered!
    I tried quite a lot of search terms but didn't find anything helpful.
    We are using a statement like "IF value IN select_option" to perform comparisons after the Select-Options have been used in a SELECT statement. This logical expression fails (compared to the results of the DB-SELECT) whenever a select-option line contains the option CP (Contains Pattern). To be more specific: The case sensitivity of the LOW value doesn't seem to play a role any more. A variable with the value 'ABCD' would be positively checked against a select-option with OPTION 'CP' and LOW 'abc*', whereas this value wouldn't have been selected if the select-option had been used in a DB-SELECT.
    Does anybody know a workaround?
    Thanks in advance
    Andreas

    Dear Keshav,
    it's an own field in an own table, defined as CHAR of length 140 (lowercase allowed), reflecting to a line of remittance info of an account statement. A regular Select-Option for this field is provided in a report which works perfectly fine regarding the case sensitivity. For reasons I don't want to point out in detail we need to check a value in this field against the select-option without selecting it from the db again.
    Let's assume that a field remittance_info contains the value 'ABCD'.
    A line of the select-option table looks like this:
    select_option_table-SIGN = 'I'
    select_option_table-OPTION = 'CP'
    select_option_table-LOW = 'abc*'.
    Then an ABAP statement such as
    IF remittance_info IN select_option_table.
    * would be true !!!
    ENDIF.
    but wouldn't deliver a result in a SELECT such as
    SELECT * FROM my_table INTO TABLE my_internal_table WHERE remittance_info IN select_option_table.
    because of the differences in lower/upper case.
    regards
    Andreas

  • ATP Check against customer stock for return Sale order

    Hi Friends,
    Pl.help in this.
    1. Is it possible to configure ATP check against Customer stock in a Sale order/Return order/any other way? ( Actuallly, client wants to take back empty cylinders through return sale order by ATP check against the customer stock)
    Regards,
    Mani

    Hi Mani ,
    Are you  taking cylinder as returable packing item or not?
    ex- For soft  drinks or beverages industry  it pretty common , they  use thel returnable package material type and more over why you want  use return sales order for this?
    Note- Just plz explain  scenario to MM and PP People also as availability check with all combination
    Hope it is helpful to you,
    Regards
    Venkat

Maybe you are looking for

  • How to get subtitles in different idioms

    Hi there, Do you know how to (or if we can) get subtitles in different languages when it is an english movie? Not sure it is possible..... Thanks. Jr

  • How to do itemrendering in actionscript

    Hi all, I trying to convert this item renderer on the image tag to as3 in a script block. <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" horizontalCenter="middle" verticalCenter="middle" width="60" height=

  • Muse not using image at right size

    So I have an image in Photoshop that is 682x258 at 72 dpi. For some reason, when I put it in Muse, it says that the image is 640x242. It says that it is 100% at that size. When I "scale it up to 682x258, it says I'm uprezing. Any ideas?

  • NullPointerException in Poll.CDB

    Hi We get the following error at runtime (however it worked fine for two months). Our environment is Weblogic 8.1 sp4, Windows 2003, JRockit 1.4.2 on Itanium. Do you know why we suddenly get this, and whe can avoid this problem ? Regards, Jean-Baptis

  • TS3367 I can not find Facetime sitting in my Iphone 5c

    I can not find Facetime sitting in my Iphone 5c. I tried all the steps mentioned in Apple support but, it's not working. I was using it ok when I was in Qatar where I bought my iphone but, once I moved to germany I installed new german SIM card and s