Limit user to a set number of traing classes

Hi,
I need to create integration between Magento Commerce and Connect Pro so that when a customer places an order from our ecommerce store they get 3 free sessions of our live training.  Can this be done using enterprise API?  I'm able to create users, is there any way to limit the number of training sessions users to participate in?
Any feedback would be greatly appreciated.
Stephen

Hi,
I need to create integration between Magento Commerce and Connect Pro so that when a customer places an order from our ecommerce store they get 3 free sessions of our live training.  Can this be done using enterprise API?  I'm able to create users, is there any way to limit the number of training sessions users to participate in?
Any feedback would be greatly appreciated.
Stephen

Similar Messages

  • In base component when user change the serial number we need to set date time in Extra attribute filed

    HI Team,
    In ibase component when user change the serial number we need to set date time in Extra attribute filed..if we click edit ,User change serial number after save we need to set date time in  Extra Attribute 4 field .
    Component - PRDGENSET
    In this component there is no attributes,so where we need to implement and how to implement please help.
    Thanks
    kalpana

    Hi Abi,
    Thanks for your reply..see i debugged..i have put break point in method SET_S_STRUCT method if press enter in serial number ,debuggeris triggered..in SET_S_STRUCT method value getting serial number..so how to write the logic here...
    In GET_S_STRUCT method iam getting all attributes  but serial number is not filled..So could you please help here what to do..
    in set_S_STRCUT method value iam gettin serial number...in collection wrapper iam geting zrealtions if i open attributes_ref -if i pass Attribute value in run time its getting displayed.so how to write the logic based on serial  number please help some coding.
    Thanks
    kalpana

  • Get nth number of sets from user in proper set format in C#

    how to take nth number of sets from user using string type list in C#. 
    Each set should be in this format {1, 2 , 3, ab,....nth }.
    User can enter nth number of item in each set
    then count the number of item in each set
    Waiting for you answers 

    I think you still not got my point. okay once again i explain you what i want.
    User Enter set in WPF window in this format e.g {1,2,3,ab},{ab,cd,1,2}.
    User can enter nth number of set.
    User can enter nth number of elements\ items in each set.
    Count the number of elements in each set.
    Hopefully now you got my point
    If I understand you correctly, you want to get the number based on the string like "{1,2,3,ab},{ab,cd,1,2}". Maybe you could try Regular Expression:
    https://msdn.microsoft.com/en-us/library/az24scfc%28v=vs.110%29.aspx
    For example this code snippet is able to count the set numbers and element numbers for you:
    string input = "{1,2,3,ab},{ab,cd,1,2}";
    string pattern1 = @"{.*?}";
    string pattern2 = @"\w+,?";
    Regex reg = new Regex(pattern1);
    MatchCollection mc1 = reg.Matches(input);
    Console.WriteLine("Number of set:" + mc1.Count);
    for (int i = 0; i < mc1.Count; i++)
    reg = new Regex(pattern2);
    MatchCollection mc2 = reg.Matches(mc1[i].Value);
    Console.WriteLine("Set " + (i + 1) + " element number:" + mc2.Count);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Running a java program a set number of times

    This is a general question. Is it possible to make a java program run only 5 times for the sake of arguement.
    Basically I want to write a program that will give the user some flexibility when it will actually run another Java program, but I only want them to be able to say "not now' for a set number of times. When the last time comes the other program will launch. I was initially thinking of the Do Whilw loop, but this needs to work when the program is restarted.
    Program starts, it has 5 times it will run before it does something else(doesn't really matter now I think). User takes option "Not Now" and the program ends, but warns the user this will run 4 more times before you will need to do something.
    This process will repeat until the user takes the option "Ok install now" or the time limit expires and the install occurs anyway. Can someone point me in the right direction.

    ok I see so it's like one those programs that you download for free on the internet and they give you a set amount times to use it before you have to pay for it. but in this case when the number of times you use it equals 5 (or when the user clicks ok) a different java app will open automatically.
    My first thought would be to Write a Serialized object to disk using objectOutputStream that stores the number of times the application has been opened. and each time the program runs it checks for the serialized object and then you can do something like what I posted before. of course if were worried about security the user could always look for the object and erase it, if so then I guess we would have to come up with another plan of attack
    Hope this helps

  • Loop though foreach a set number of times

    Hi Guys
    I want to know how I can loop though a foreach loop a set number of times ? I know in a for loop you can set the max number of loops but I don't know how to do it when comes to a foreach loop. Below is the structure of my foreach loop:
    for(Letter letter : letters) {
      //I want to loop though only 50 objects max at a time
    }

    List<Letter> prefix = (letters.size() <= limit) ? letters : letters.subList(0, limit);
    for(Letter letter : prefix) {
    }

  • Set number of copies to print

    Hello,
    We're using Adobe Lifecycle Designer 8.0 and we've the requirement to print copies of our generated pdf delivery form.
    Does anyone know how to set the number of copies dynamically at runtime ? Maybe by using java script  ?
    Thanks in advance !

    Yes, I know OPK8 is used to set number of copies for CO04. We set it to 1 as I mentioned. That is what is needed when the user executes CO04 directly. My question was is there a way to dynamically change the number of copies when running CO04 via creating a BDC (or call transaction) from a custom process, because then we will need more than one copy.
    I am resigned to calling CO04 in a loop for the number of copies I need.

  • Disobey the user profile date setting in module pool

    Hi all,
    I am working on a module pool. I have a request to disobey the user profile date setting dd/mm/yyyy to user requested date format dd-mm-yyyy.
    I understand that it can easily be done in SAPScript with command SET DATE MAST dd-mm-yyyy, but how to do it in module pool?
    Thanks in advance.

    Hi, Wong.
    Follow the Steps Bellow
    --> Copy Search Help BU_DATE_CHAR to ZBU_DATE_CHAR using T-Code SE11
    --> Copy FM BUS_TOOLS_DATE_CHAR_EXIT to Z_BUS_TOOLS_DATE_CHAR_EXIT using T-Code SE37
    --> Open ZBU_DATE_CHAR in Change mode and add Z_ in the Start of Search help exit FM as we have copy new
    --> Active ZBU_DATE_CHAR it will not give you any Error message may be one Warning message but Ignore this.
    --> Active Z_BUS_TOOLS_DATE_CHAR_EXIT my will give you error message do the following Change
         in Changing Tab SHIP type SHLP_DESCR    " Change the Previous type with this one.
         in Tables Tab SHLP_TAB type SHLP_DESCT  " Change the Previous type with this one.-->
    --> After doing above changes.
    --> Add the following line of Code on line number 92 just before the line APPEND record_tab.
    REPLACE ALL OCCURRENCES OF '.' in record_tab-string WITH '-'.
    --> Activate both Search Help and FM
    now in the Search help filed in Module Pool you where using BU_DATE_CHAR use ZBU_DATE_CHAR
    I did the above way and it is working fine this way now When i Press F4 and select some date it show in the Field like 01-01-2009 Previously it was showing me 01.01.2009
    Please Reply if any problem,
    Best Regards,
    Faisal

  • Restrict User to change Page Number

    Hi Geeks,
    In my App, I want to restrict user to change page number from the browser.
    I am using APEX 4.1
    Browser: Mozilla Firefox
    Regards
    Animesh

    Marko Goricki wrote:
    Hi Geek,
    SSP works only if you're passing some parameters.Not true. it depends on the configuration.
    If I rewrite your statement Arguments must have checksum will only work if you pass some parameters in the url.
    But there is also another setting called No URL Access this prevents loading the page using a url Instead it should be processed via branch
    This is what it says in the documentation:
    No URL Access - The page may not be accessed using a URL,
    however the page may be the target of a Branch to Page branch type,
    which does not do a URL redirect.

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • New iPhone user needs guidance setting up 4 iPhones for family - best approach?

    Hi - I'm a new iPhone user tasked with setting up 4 iPhones for family (three 4S, one 3GS). I set up the first 4S using my mother's existing Apple ID (she has an iPad) and I think (hope) hers is fine. When I set up my father's phone, my sister said to enter my mother's Apple ID during setup since they wanted to use a single Apple ID for iTunes purchases. The setup screen I'm referring to the 7th screen into the setup process for a new iPhone 4S (after the Welcome, Language, Country/Region, Location Services, Wi-Fi Networks, and Set Up iPhone screens), where it asks you to "Sign In with an Apple ID" or "Create a Free Apple ID". This screen was where I entered my mother's Apple ID into my father's phone.
    By entering my mother's Apple ID on my father's phone at this point during setup, I seem to have created a "clone" of her phone - their phone numbers are distinct and they can call each other but iMessages sent to either of them initially appeared on BOTH phones. I think I have now fixed that by creating a separate Apple ID for my father after the fact and entering it under Settings>Messages. Thinking I could also enter his new Apple ID under Settings>iCloud, I found I could not change it from my mother's Apple ID (it's greyed out). I saw a recommendation in another post to click on the red "Delete Account" button at the bottom, but will that delete my mother's entire account or only its association with my father's phone?
    Backing up a step or two, I'm worried that at this point I should have entered/created a new Apple ID on screen #7 during initial setup of my father's phone (instead of entering my mother's Apple ID), and that just changing settings in iMessage, iCloud, etc. won't really fix any problem(s) I've created. I hesitate to set up the other two phones before knowing how badly I've already messed things up with this one.
    During the initial set up of my father's iPhone, should I have created/entered his own unique Apple ID on screen #7 instead of entering my mother's Apple ID? (and then on his phone AFTER setup was complete, changing to my mother's Apple ID under Settings>Store so that all purchases are shared)?
    If yes, do I need to restore his phone to factory settings and set it up as a new phone so his phone behaves like his and not a clone of hers?
    Without knowing what might be the best way to set up these 4 new iPhones, I was thinking the four unique users of these new phones would most likely want to share apps (by purchasing them with one Apple ID), backup/synch to one computer, but maintain separate iCloud accounts so everyone's info is private? I've spent time reading other posts and see so many different recommendations for families with multiple devices that my head is spinning. Many include questions from folks migrating from older phones or MobileMe. I think my situation is simpler in that there are 4 new iphones and one existing Apple ID. Have I missed some comprehensive post that clarifies the best way to set things up for families new to iPhones, or do needs vary so much that no single best way exists? Given my situation (and depending on which way I should proceed regarding having set up my father's phone with my mother's Apple ID), should I create/enter a separate Apple ID for each new phone user during initial setup so each phone is distinct from the others, and AFTER setup is complete, changing the iTunes and Store info to the shared Apple Id for purchases? Or can I customize each individual phone after the fact in Settings>Whatever so that even if I've entered the same Apple ID on Screen #7 during initial new phone setup, the 4 phones will ultimately be set up correctly?
    So sorry to have to ask such basic questions. Many thanks, in advance, for any guidance provided to help me not make any (more?) mistakes during setup that will be a real headache to remedy later, once everyone has started using their phones.

    Hi edgefield,sorry you're having so much trouble.
    FIRST CREATE A BACKUP ON YOUR COMPUTER -ALWAYS BEFORE PLAYING WITH THE INFORMATION ON THE PHONES (it prevents losses)
    Now I'll answer your questions)
    During the initial set up of my father's iPhone, should I have created/entered his own unique Apple ID on screen #7 instead of entering my mother's Apple ID? (and then on his phone AFTER setup was complete, changing to my mother's Apple ID under Settings>Store so that all purchases are shared)?
    Yes.  Create his own apple id and sign him in.  then tap settings ->store -> tap on the account name -> sign out.
    Then sign in your fathers apple id.  (create your fathers apple id on the computer, its much easier, trust me).
    If yes, do I need to restore his phone to factory settings and set it up as a new phone so his phone behaves like his and not a clone of hers?##
    No.  Tap settings -> icloud, and turn everything off (keep on the phone option).  Then DELETE ACCOUNT (it's got red around it and at the bottom of the screen if you scroll down).  You cannot sign out of iCloud, you can only delete the account.  Then clean up the contacts and information on the phone. 
    Then you tap settings -> iCloud and sign in.  Put your fathers apple id in the section.  His information will be uploaded to www.icloud.com.  Then go to www.icloud.com and sign in with his apple id.  Make sure his information is uploaded (you'll have to select timezone and such). 
    From that point you are fine except for iMessage.
    For iMessage to function properly, only one apple id can be signed into the iTunes store (settings -> store).  If they are both signed into the same apple id on the iTunes store, than you need to turn off iMessage on one of the phones.  The iMessage may be delievered to either phone when both are signed in under the same apple id in the iTunes store.
    tap settings -> messages -> imessage off 
    This also disables facetime.  If you want them to have iMessage and Facetime, they have to have seperate apple id's signed into the iTunes store.
    Have I missed some comprehensive post that clarifies the best way to set things up for families new to iPhones, or do needs vary so much that no single best way exists?
    Not that I've seen, will consider creating one if I have time.
    Given my situation (and depending on which way I should proceed regarding having set up my father's phone with my mother's Apple ID), should I create/enter a separate Apple ID for each new phone user during initial setup so each phone is distinct from the others, and AFTER setup is complete, changing the iTunes and Store info to the shared Apple Id for purchases?
    Your best bet is to create each apple id on the computer (keyboards are easier to use) and then sign them each in during the creation process.  Then change the iTunes store info to the stored apple id.
    This will allow each person to serpate iClouds without interfering with each others Cloud as you set up new devices.
    Or can I customize each individual phone after the fact in Settings>Whatever so that even if I've entered the same Apple ID on Screen #7 during initial new phone setup, the 4 phones will ultimately be set up correctly?
    Doing it this way can cause problems (or used to, not sure if it still does), initially, when you set it up, it wants to create a backup or upload the blank info to iCloud.  You are better off setting up their own apple id first and signing in with that, and then changing it in the iTunes store.
    I'm off to bed, I'll check this thread tomorrow and see if you have any more questions/problems.  Remember, always create a back-up before you do anything.

  • How to loop an swf a set number of times?

    I need to loop a banner animation a set number of times, then
    get it to gotoandstop on a final frame. I know in the past I could
    use:
    counter++; if (counter<5) { gotoAndPlay (1); }
    At least for the looping part (don't even know yet about the
    stop pon a particular frame part).
    but now in Flash 8 I can't get my test swf to do that using
    this statement. Am I missing something? (Of course, obviously I am
    or I wouldn't be here!)

    This works for me as well, but i don't want it to jump to the
    final still frame. i need mine to loop three times, then plan
    through to the frame i want, stopping there. the frame i want is
    not the final frame in the swf. it is somewhere in the middle.
    does that make sense?

  • User Table Key set up in User defined field management

    Dear  Expert,
    what is use of User Table Key set up in User defined field management in SAP B1.
    Thanks.
    Sridharan.R
    Edited by: Sridharan.R on Oct 4, 2011 8:26 AM

    Hi,
    Once a UDF is created and a value is entered in it, the same cannot be retrieved in any of the layouts and reports unless a Key is generated for that UDF. By assigning a Key to that UDF, the same UDF can be used in Crystal Reports or any other Reporting tool to extract its values from SAP. These reporting tools searches the Uniqueness of the UDF Values with this Keys only.
    For eg.: When you develop a report and select a table from which you need the fields to be shown in the layout. In that, the only fields whose keys are generated are only available to use in the report.
    Hope its clear to you.
    Regards,
    Papil

  • Change history of User for Business Partner Number attaching and removing

    Hi Experts
    Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
    Thanks--
    Guru Prasad Dwivedi

    Serene,
    I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this.  If at all a Payment term was deleted, I don't think it can be traced.
    It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
    Suda

  • Choose a set number of files in a folder?

    Is there a way using AppleScript to choose a set number of files inside a folder?
    I've created an Automator workflow to convert some files (Illustrator to PDF) but the folders contain a large number of files (nearly 500). If I ran the workflow on this amount of files I'm pretty sure it would crash, as the workflow opens the files & then saves them in the other format (so it would open all 500 files).
    So what the workflow does at the moment is ask me to choose the files to convert, I select around 50 & let it convert them & closes the files. It loops, so once it's completed them I it asks again to choose more files to convert etc...
    If I could make it choose a set number of files (via some AppleScript & add this to the workflow) it could open & convert (for example) 50 files, then open & convert the next files. And keep doing this until it completes converting all of them.

    red_menace wrote:
    What happens to the original item after the conversion? Is it moved, or will some method need to be used to keep track of what has already been converted?/Trim Input Items.action.zip
    After the files have been converted they are moved to another folder so that I don't choose them again & again, & so that I know they've been converted.
    So if I used the Trim Input Items action it would choose only 9 items, convert them & then (with the workflow looping) convert another 9 files, & so on & so on. Is that correct? If so that could work for me.
    The Dispense Items Incrementally action could also work for me. If I understand correctly it would convert 1 file at a time & I'd set to loop so it goes through all the items 1 at a time.
    Camelot wrote:
    I don't see the need to select a set number of files in the folder.
    From your description it sounds like you want to process them all anyway, it's just that your existing (manual-select) workflow works by selecting a few at a time.
    What's wrong with the script identifying all files and processing them all in one loop?
    Because my workflow (at the moment) opens all the files at once, & then converts them. So it would open nearly 500 Illustrator files in one go rather then opening a few of them, or opening them 1 at a time. I'm pretty sure it would choke my system opening up 500 files (not particularly small files either).

  • Limit on Query result set

    Limit on Query result set
    Is there anyway in Oracle9i to limit query result
    I.e.: we can limit query result in MySQL
    SELECT * FROM EMP LIMIT 2;
    Will return only top 2 records
    Thanks in advance

    SELECT * FROM EMP WHERE ROWNUM <= 2;

Maybe you are looking for

  • Storage issues during live clone in Server 2012 R2

    We just set up a new 2012 R2 cluster and we are having troubles with live cloning. I have seen it work in our environment but usually it fails. We get this error in our cluster events: Cluster Shared Volume 'Volume8' ('Volume8') has entered a paused

  • All accordion panels closed on page load?

    The default behaviour for a set of accordion panels is for the first one to open automatically when the page firsts loads. Is there a way to stop this happening and have them all closed by default? regards, Adrian

  • Adobe Flash Player download to Windows 7

    Mike M sent a response which included      Flash Player Uninstall.exe which I used, then     Adobe Flash Player (for Internet Explorer) - but it did not install despite saying that it did so successfully. An earlier forum indicated that after using F

  • Draw a table in email content

    Dear all, How to draw a table in email as we usually do in Microsoft Word? Thanks.

  • Garage Band into Powerpoint

    I'm trying to import a Garage Band file into Powerpoint for Mac. When I link to the file with an action button in Powerpoint, I get an error message saying Powerpoing can't read file (or something similar). Is there a way to save a garage band edit i