Call variable in PCR

Helllo colleagues
----you may also put the operation PRINT under any line of the rule to check exactly what the rule is doing. this is the comment which made by Edoardo in another thread Call variable in PCR....
does your comment mean by adding operation PRINT (as a last line in any PCR) in any PCR (standard/custom) we can find out the PCR executions steps? where can we see this? is it in payroll log?? plz. expalin..... i want to identify the behaviour of standard/custom PCR.... which is the best way to understand the behaviour of the PCRs??
Cheers......

Hi,
Look a this example:
9999
RTE=KZTACA
PRINT
MULTI RNA
PRINT
AMT*KGENAU
PRINT
AMT/&Z1
PRINT
AMT/KGENAU
PRINT
ADDWT *
PRINT
This is just a PCR I just invented. As you may see I put operation PRINT under any line of the rule. If you run the payroll with the log mode check and you go through your log and go where the PCR is you are going to notice that you are going to see step by step what the PCR is doing. Operation print would be like a debug.
About the variable check what Remi mentioned, and with operation print you can see if the variable is working ok.
Kind Regards,
Edoardo

Similar Messages

  • UCCE 7.5.7 CAD macro to populate ICM Call Variable

    UCCE 7.5.7
    CAD 7.5.8
    I need to create a CAD Toolbar macro in Cisco Desktop Administrator that reads data from a text file (an 8 digit number) and writes this data to an ICM Call Variable.
    The 8 digit number is not known until after the call is answered. 
    I have created a Toolbar Task that asks the CAD Agent to enter digits, which are then written to a text file on the local PC, but I haven't been able to create a macro successfully that will copy the data from the text file and write this to an ICM Call Variable.
    Anyone done this before or know how to?
    Thanks,
    Neil

    The layout logic works pretty much the way it is described in the CAD documentation. Double check the naming of your ECC variable id 252. What did you name your ecc variable in ICM? What did you name it in CAD? Remember in CAD the name should not include the "user" prefix. Make sure you are writing the correct layout name into variable 252, this needs to exactly match the name of your layout in CAD.
    For database reads you may want to look into the dblookup functionality in ICM. It's somewhat limited with what you can do but easy to setup if it works for you. Otherwise you could use the database querying abilities of CVP or IP-IVR. If none of those are suitable then you can go with some custom integration triggered by a CAD client desktop workflow.

  • Passing ICM Call Variable info to CAD not working

    Hello,
    we are running UCCE 7.2(7) with CAD 7.2(1) SR2 and we seem to be having an issue with the ICM Call Variable information being populated in the CAD.
    Up until now, it's been working fine. We have our ICM scripts set ICM Call Variables 1, 2 and 3 and they all appear in the CAD when a call goes to an agent. But, just this morning, I added a new DN, mapped it to a scheduled script, and within that script I set that new DN (just like I've been doing with all the rest so far), set a Call Type, then call 'Go To Script' which is the actual script to handle that specific call.
    Dialling that DN plays the correct script, and going into the Sales queue sends me to that agent, but no ICM Call Variable info is showing up.
    So far this has been working, but now that I've added a new line, it appears to have stopped, but just for this new line, it still appears to be working for all existing lines.
    Any ideas anyone?

    Geoff,
    we just have one Layout (default) listed in Enterprise Configuration - Enterprise Data in the Desktop Admin. The fields in this default Layout did not include any of the ICM Call Variables, so we added a few of them (that we set in ICM scripts). Up until now, these have been showing up in CAD when calls to skill groups come through. It's just now that I've added a new DN and ICM script, they are not showing up for that script only. The ICM Call Vars are working for all other DNs in the system, just not this new one.
    Just to let you know, we upgraded ICM and CTIOS from 7.1(5) to 7.2(7) just recently, and with that we installed CAD 7.2(1) with SRs 1 and 2.
    This is the 1'st time I've added a new line (DN) and ICM script to the system since that upgrade, so could that have something to do with this?
    Also, there is a post where someone had this same issue (https://supportforums.cisco.com/message/1053394#1053394) and it was suggested that they shutdown and restart the CAD Services to resolve this.
    My question is what services are in fact the CAD services? I would like to try that after hours tonight to see if that resolves this issue.
    I verified via CAD that I'm running Build 7.2.1.200
    Any other suggestions?

  • Changing a ICM Call Variable Data label in CAD

    Is there a way to actually change the language label on the CAD 8.x from reading EN to English? The language label is data received from ICM Call Variable.
    Thsnk you
    Prashant

    Thanks for that! Yeah I'm thinking I'm going to have to create some ECC vars as you suggested!
    I'm just confused as to how it worked in the first place, here is that old screenshot from when it was first installed:
    When I look at the 'Set Enterprise Call Info' step I can see from the above "First line of Address" links to Call Variable 4, which is a variable called "Address1". I have no idea where it was getting the "First line of Address" field description from! Grrrrr!

  • CVP call variables not found in script editor

    Hi,
    I installed the Packaged CCE and I am trying to configure a basic CVP routing script. I want to use the Run Ext. Script ICM node but before that I have to set some variables - user.microapp.xyz.
    The problem I am facing is that the Set Variable step in ICM doesn't give me the option to specify these call variables as they just do not exist in the list.
    I think that the Packaged CCE base configuration script is supposed to create these variables (as per the link below):
    (http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/pcce/pcce_901/installation/guide/PCCE_BK_IBC40C6F_00_installing-and-configuring-pcce_chapter_01000.html)
    Create configuration objects to support CVP:
    A type 10 Network VRU for CVP along with Network VRU Labels to send calls to CVP
    CVP ECC Variables
    VXML_Server Network VRU Script - GS,V microapp
    Any thoughts why these variables are missing on the "Set Variable" step in ICM? I don't see any user.microapp.* options in the list.
    Thanks.

    Hi,
    Yes, I am new to CCE. This was the issue. After enabling those variables from the CCE web interface they appeared in the script editor.
    Thanks

  • ICM call variables to Avaya

    I am looking for anyone who has integrated an AVAYA to ICM and how they transfer call variables between to the two systems and also how they overcome differences in MI between IPCC and AVAYA CHT etc
    In the Avaya integration guide you can define what call variables are used and are read/write, but when it comes to transferring data back from the AVAYA you have only call variable 5 to play with or is this reference for guidance only and the default configuration. I want to be able to send from ICM to the AVAYA and potentially onto the turret the customer number and type of call. Is it possible to do this?
    Looking forward to your experiences
    regards
    Mark

    Hi Mark,
    you should use the UUI in Avaya as you pointed out and the default Call Variables on the ICM side, those variables content could be pushed to other variables and eventually ECCs and then overwritten as you keep updating the informations, same goes from the agent desktop, you could use the appropriate agent controls to update them.
    Generally speaking the better method to implement this would vary based on the scenario at hand and the customer requirements, hence why I would recommend having a chat with the Advanced Services group for more specific guidance and a prompt engagement/followup.
    Regards,
    Riccardo

  • Maximum Number of Expanded Call Variable

    In Cisco ICM is there a limit to the total number of Expanded Call variable.
    And is there a length limitation of Expanded Call Variables.
    Thanks
    Alok

    1. To use ECC variables in ICM script editor:
       Maximum number of characters (length) allowed for each ECC variable is
    210 (the size of the variable string).
       And maximum amount of space that all the ECC variables together can take
    up in the ICM system is 2000 Bytes.
       Formula used to calculate buffer size for scalar variable and array
    element is as:
              The maximum buffer size for each scalar variable = 5 + the
    maximum length of the variable where the 5 bytes includes 4 bytes to tag the
    variable and 1 byte for the null terminator.
               The maximum buffer size for each array = 5 + (1 + the maximum
    length of array element)* (the maximum number of elements in the array).
    2. ECC variables for use by CTI Server:
       Formula used to calculate buffer size for scalar variable and array
    element is as:
           The maximum buffer size for each scalar variable = 4 + length of the
    ECC name + the maximum length of the variable where the 4 bytes includes a 1
    byte tag, 1 byte to define the length, and2 terminating NULL characters.
           The maximum buffer size for each array = (5 + length of the ECC name
    + the maximum lengthof array element) * (the maximum number of elements in
    the array) where the 5 bytes includes a 1 byte tag, 1 byte to define the
    length, 1 byte for the array index, and 2 terminating NULL characters.
    In this case max buffer size is 2500 bytes. This calculation is applicable
    when setting ECC variable through third party client eg. CTIOS desktop.
    As you can see for CTI server formula contains length of ECC name, which is
    there to account for extra 500 bytes. Actual max size for ECC variable value
    is only 2000 Bytes.
    In case of variables being set using CTI server and buffer size exceeds 2500
    bytes, But variables value size remains less than 2000 bytes. Then user is
    allowed to set the variables with a warning. But if Variable value size
    exceeds 2000 then user would be getting error.

  • Call variable from outside method

    I have a method for a listSelectionListener with a variable in it called "results", I want to be able to get the information from this variable outside of this method. In my main class alled "gifts" I have a TextArea and I want "results" to be displayed in it but I can't get results into it because it's in a seperate method. Anyone know how I can do this?
    Heres some relevant code:
    public Gifts()
              super( "Spiritual Gift Database" );
              try
                   Class.forName(JDBC_DRIVER);
                   conn = DriverManager.getConnection(DATABASE_URL);
                   stat = conn.createStatement();
                   ResultSet rs = stat.executeQuery("SELECT heading1 FROM demo");
                   Vector vector1 = new Vector();
                   while(rs.next()) vector1.add(rs.getObject(1));
                   container = getContentPane();
               container.setLayout( new FlowLayout() );
                   nameListPanel = new JPanel();
                   statListPanel = new JPanel();
                   buttonPanel = new JPanel();
               nameList = new JList(vector1);
               nameList.setVisibleRowCount( 9 );
                   nameList.setPrototypeCellValue("XXXXXXXXXXXX");
                   nameList.addListSelectionListener(
                        new ListSelectionListener()
                             public void valueChanged(ListSelectionEvent event)
                                  try
                                       ResultSet resultSet = stat.executeQuery("SELECT * FROM demo");
                                       StringBuffer results = new StringBuffer();
                                       ResultSetMetaData metaData = resultSet.getMetaData();
                                       int numberOfColumns = metaData.getColumnCount();
                                       for(int i = 1; i<=numberOfColumns; i++)
                                       results.append(metaData.getColumnName(i) + "\t");
                                       results.append("\n");
                                       while (resultSet.next())
                                            for(int i = 1; i<= numberOfColumns; i++)
                                            results.append(resultSet.getObject(i) + "\t");
                                            results.append("\n");
                                  catch(SQLException sqlException)
                                       JOptionPane.showMessageDialog(null,sqlException.getMessage(),
                                       "Database Error", JOptionPane.ERROR_MESSAGE);
                                       System.exit(1);
                   statList = new JTextArea(results.toString());
                   add = new JButton("Add Entry");

    Declare you variable at the class level instead of the function level, then you can see if from any method in the class.
    Paul

  • Using a Temporary Variable in PCR

    Hi All
    Please suggest for the following.
    How can I use a temporary variable in a PCR.
    Say if I need to transfer the AMT of WT 4100 to a variable like 'XYZ=4100' in PCR.....What variable I can use and what is the correct syntex for this. And how can I use the same variable for further calculations.
    Please suggest.

    Hi Friends
    Thanks for your precious suggestions.
    I understood your point but if I need to transfer the value of a wage type in a variable as mentioned below then how can I do that....
    4000
    OUTWPPERSB
    Z1
    XYZ=/102 (Value of /102 should be transfered to XYZ so that can be used for further processing. Or If there is other way to solve this then please suggest.)
    Here this PCR should work only if there is a Wage Type 4000. And when it finds 4000 in Payroll and enter into this PCR then wage type /102 should be multiplied with a constant stored in T511K & the result of that should be stored in 5000. '/102' should not change.
    Please suggest

  • Calling variables from a loop

    Hi
    I have 6 variables declaerd:
    b_banner0 iloug.iloug_activities.banner0%type;
    b_banner1 iloug.iloug_activities.banner1%type;
    b_banner2 iloug.iloug_activities.banner2%type;
    b_banner3 iloug.iloug_activities.banner3%type;
    b_banner4 iloug.iloug_activities.banner4%type;
    b_banner5 iloug.iloug_activities.banner5%type;
    i would like to loop through the variables and do with them something, is it possible to call the variables in a dynamic way, somthong like this:
    for i IN 0..5 loop
    if not(b_banner&#0124; &#0124;i IS NULL) then
    end if;
    end loop;i get an error message that b_banner has to be declared, apperantly, it doesnt understand the &#0124; &#0124; sign in this case, is there another way?
    Thx in advance
    Esther
    null

    Hy Esther in this case declare the vars as one PLSQL-Table/Varray, then you can use the for -loop efficient;
    Karl[
    QUOTE]Originally posted by Esther levin ([email protected]):
    Hi
    I have 6 variables declaerd:
    b_banner0 iloug.iloug_activities.banner0%type;
    b_banner1 iloug.iloug_activities.banner1%type;
    b_banner2 iloug.iloug_activities.banner2%type;
    b_banner3 iloug.iloug_activities.banner3%type;
    b_banner4 iloug.iloug_activities.banner4%type;
    b_banner5 iloug.iloug_activities.banner5%type;
    i would like to loop through the variables and do with them something, is it possible to call the variables in a dynamic way, somthong like this:
    for i IN 0..5 loop
    if not(b_banner| |i IS NULL) then
    end if;
    end loop;i get an error message that b_banner has to be declared, apperantly, it doesnt understand the | | sign in this case, is there another way?
    Thx in advance
    Esther
    null

  • Calling variable set in Scene 1

    apologies for the repost/redo but previous did not work as I
    thought it did!
    I'm working with Scene 1 with 2 buttons, "Corporate" and
    "Editorial" and a movie clip, mcMainScreenArea. I want the buttons
    to set a variable which can be called in movie clip
    mcMainScreenArea. This variable is then used in mcMainScreenArea
    (and later also in another movie clip) to move the timeline along
    to a label string set in the variable by the buttons in Scene 1.
    With the following scripts the mcMainScreenArea simply plays
    the timeline to the next clip - the variable does not appear to be
    defined and a trace(this.varSubject); in the code returns
    "undefined".
    Code for Scene 1 is as follows.
    stop();
    //Navigation variables
    var varSubject:String = "opening";
    gotoAndStop(varSubject);
    trace(varSubject);
    function moveToCorporate(event:MouseEvent):void {
    var varSubject:String = "corporate";
    gotoAndStop(varSubject);
    this.mcMainScreenArea.play();
    trace(varSubject);
    btn_corporate.addEventListener(MouseEvent.CLICK,
    moveToCorporate);
    function moveToEditorial(event:MouseEvent):void {
    var varSubject:String = "editorial";
    gotoAndStop(varSubject);
    this.mcMainScreenArea.play();
    trace(varSubject);
    btn_editorial.addEventListener(MouseEvent.CLICK,
    moveToEditorial);
    The code for mcMainScreenArea is
    stop(); //at labels named "corporate" and "editorial"
    //and
    gotoAndPlay(this.varSubject); //after the labels named
    "corporate" and "editorial"

    This I find surprising! No way of calling a variable set in
    another element? Are there any alternatives to set a variable (or
    whatever) to be read by mcMainScreenArea? Is there a way for
    mcMainScreenArea to check what button has been clicked without
    having the script in Scene 1 telling mcMainScreenArea what button
    has been clicked. Pull rather than push the infor from the
    button...
    Thanks.

  • How to call variable SlideID

    Hi all,
    I recently started using the export function for captions for translating purpose. That´s when I first saw the variable "Slide ID". It´s apparantly not a default user or system variable but I would like to use the Slide ID as reference for bigger projects as it´s unique and doesn´t change unlike slide number. I´ve tried messing around with the available system variables, adding SlideID instead of SlideNumber and stuff like but no luck so far. Does anyone know how to call that particular variable?
    Any help is appreciated.
    Thanks,
    goldmundig

    Aside from using AS3 in a widget, I'm not sure how you could accomplish it.  If you're using AS3, you can access the movieXML variable off of the maintimeline and that XML has unique identifiers for the slides as well.  But that only helps you in widget scenarios.  Maybe you could concatenate the slide label with some static text for a meaningful unique ID?  Possibly create a variable for each slide and assign the value on slide entry?... probably more work than it's worth.  It would be nice to have the Slide ID exposed...
    Jim Leichliter

  • Calling variables with dynamic names

    so lets say theres 5 variables,
    name1 = "james";
    name2 = "billy";
    name3 = "nilly";
    name4 = "dilly";
    name5 = "alfred";
    is there any way to enumerate through those names by doing something like this...
    for(i=1;i<6;i++){
    System.out.println(["name"+i]) // where ["name"+i] uses variable name1, name2, name3 etc...
    ending up with something like
    james
    billy
    nilly
    dilly
    alfred
    i know its possible to do it in some other programming languages, and if java can do it too, it'd be very useful to me.

    woops - noticed I was in New To Java...
    You can search for this, the question came up quite a bit some time back.
    Use an implementation of Map (like HashMap) and call the put method with the name you want as a key and the value as a value. You can then call get with the name to get the value, or you can iterate over the key set to do what you're after.
    Or, you could create a "Name" array (or List) and the you get "name0", let's say, by saying "name[0]" or nameList.get(0).
    Make sense?
    Good Luck
    Lee

  • How to Call variable value in OLEDB Command SSIS

    Hi ,
    I am facing one issue in SSIS OLEDB Command.under OLEDB Command there is sql update query
        UPDATE dbo.ArchiveBBxFbapp
        SET LatestVersion = 0
        WHERE BBxKey = ?
    dbo.ArchiveBBxFbapp is the name of the table, which I want to change by dynamically on fly.
    table name I am getting from variable .
    I want to take same variable value instead of hard coded table name in update statement.
    suggest me the correct command
    thanks and regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    For that you've to first store the query itself inside a variable after setting EvaluateAsExpression as true.
    Then use expression as below
    "UPDATE dbo." + @[User::TableName] +
    "SET LatestVersion = 0
    WHERE BBxKey = " + @[User::ColumnValue]
    Use option as SQL command from variable for data access mode property
    Then map the variable containing query above inside this OLEDB command.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to access (call) variables from multiple components

    I have what I think is a basic task, but I cant seem to get it to work.  I have a Flex project with one application.  In addition to the one application, I have many components that are used in the application.  These components vary from simple (a ComboBox) to complex (many sub-components).  What I need to do is define a viable in one component and access it in another component.  I can't seem to do this.  Below is an example of how I think it should be:
    Component1
    <mx:Script>
           <![CDATA[
            [Bindable]
            private var userID:int=0;
           ]]>
    </mx:Script>
    Component2
    <mx:TextInput  text="{Component1.userID}"/>
    Any help you can provide would be beneficial.
    Lee

    Hello,
         You may also want to consider using the mx.core method.
         In your main application script area define all of your public variables and functions. Then from your component, you can reference these absolutely with the following syntax.
    <!-- Main App -->
    [Bindable]
    public var userID:int;
    <!-- Component -->
    private function init():void {
         var com_UserID = mx.core.Application.application.userID;
    Using this method ensures that you will have access to any Function or variable within the scope of the project.
    Kind Regards,
    Dr. Ivan Alexander, Ph.D.
    Sr. Applications Engineer
    FlexAppsStore.com
    Sun Microsystems
    MySQL Enterprise Ready Partner 2009

Maybe you are looking for