How can I look up a user's details by a custom CRM field?

Hi all,
I'm researching the possibility of using BC to record brick-and-mortar sales to site members who have a membership card. The way I imagine this would work in the site is that each user on BC would have a barcode field containing their membership card's barcode number. After each sale, the checkout person would scan the customer's membership card, and BC (using a web form) would record a case for the sale. Initially, there would be no data recorded on the monetary value of the sale, just the fact that the customer bought something.
I've had no trouble setting up the CRM field for the user's barcode, but I'm having some difficulty with the web form to record the sale. BC requires that it record the full name and email address of the customer as well as any other fields I might add (ie. the barcode), and it would be too cumbersome to enter these each time a customer with a membership card bought something.
I think a possible solution would be to look up the customer's name and email address from their barcode number using Javascript and then populate those fields in the form. I'm quite capable of writing the JS to accomplish this, but I haven't found a way of getting that information out of BC. Do you know if there is a way to do that? Or is there another way of solving this problem that I haven't thought of? Thanks in advance for any pointers you can offer!
Cheers,
Rohan

h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************")
Each app server provides their own jndi factory class. For ex for weblogic it is weblogic.jndi.WLInitialContextFactory. SInce you are using sun app server, check if there are any examples to find out or the docs.
private static String url="http://localhost:4848
Since the client is in a different machine the localhost is not going to work here. provide the url or the machine name of the system in which ur sunapp server is running. In addition u will need to have the stubs of the remote interfaces in ur client machine.

Similar Messages

  • How can I make only one user to be able to change a field

    I want only one user to be able to change material group for example.
    I want all other users when trying to change material, to see thie field - material group - display only.
    How can I do this?? What are the steps??
    Thank you

    Dear Theodoros,
    For the user to create/change material group:
    Go to transaction PFCG -> enter the role that you are using -> Select "authorizations" tab -> Edit Profile -> Here you will maintain activities for different authorization objects. Maintain Acticity "01" for material group authorization object.
    For the users to display material group:
    Go to transaction PFCG -> enter the role that you are using -> Select "authorizations" tab -> Edit Profile -> Here you will maintain activities for different authorization objects. Maintain Acticity "03" for material group authorization object.
    Authorization Object for Material Group: M_MATE_WGR
    Regards,
    Naveen

  • How can i create a new user with only read rights ?

    How can i create a new user with only read rights ?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • How can I tell if a user has used IMAP?

    How can I tell if a user has used IMAP?
    <P>
    Check their mailbox for a file called "__VALIDITY__" If they have this
    file in their mailbox, they've used IMAP.

    You may want to refer to the Java Security forum at http://forum.java.sun.com/forum.jspa?forumID=545 for information on Kerberos & JAAS.
    There is a also a post in this forum, outlining how to utilise Kerberos, JAAS with JNDI to access Active Directory. JNDI, Active Directory and Authentication (Part 1) (Kerberos)
    at http://forum.java.sun.com/thread.jspa?threadID=579829&tstart=300
    Possibly the part you are looking for is the functionality included in the class that implements java.security.PrivilegedAction
    Good luck.

  • How can i look up a EJB residing in different machine from client side?

    hai ,
    How can i look up a EJB residing in different machine from client side?
    this is my code...........i don't know what should i use as Initial Context Factory...................i am using a sun appserver 8............
    package com.parx.lms.lmsdelegate;
    import com.parx.lms.exception.LMSException;
    import javax.naming.Context;
    import javax .ejb.CreateException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import java.rmi.RemoteException;
    import com.parx.lms.controller.*;
    import com.parx.lms.vo.UserVo;
    import com.parx.lms.exception.BusinessException;
    import java.util.Hashtable;
    import java.lang.*;
    public class LmsDelegate{
    private final static String JNDI_NAME="LmsBean";
    private static String url="http://localhost:4848";
    public static Lms lms = null;
    public void getController() throws CreateException,
    NamingException,RemoteException{
    if(lms == null){
    Hashtable h=new Hashtable();
    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************");
    h.put(Context.PROVIDER_URL,url);
    System.out.println("Before Loading Context in Delegate");
    Context ctx=new InitialContext(h);
    System.out.println("Loaded Context in Delegate");
    Object obj=ctx.lookup(JNDI_NAME);
    System.out.println("Loaded Object in Delegate");
    System.out.println("Before Loading Home in Delegate");
    LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
    System.out.println("Loaded Home in Delegate");
    lms = home.create();
    System.out.println("Loaded remote in Delegate");
    public void addUserDelegate(UserVo vo) throws BusinessException{
    try{
    getController();
    System.out.println("Before calling the addUser of Session");
    lms.addUser(vo);
    }catch(CreateException e){
    System.out.println("Create Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(NamingException e){
    System.out.println("Naming Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    catch(RemoteException e){
    System.out.println("Remote Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(LMSException e){
    System.out.println("duplicate user name--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    pls help me..........

    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************")
    Each app server provides their own jndi factory class. For ex for weblogic it is weblogic.jndi.WLInitialContextFactory. SInce you are using sun app server, check if there are any examples to find out or the docs.
    private static String url="http://localhost:4848
    Since the client is in a different machine the localhost is not going to work here. provide the url or the machine name of the system in which ur sunapp server is running. In addition u will need to have the stubs of the remote interfaces in ur client machine.

  • Could any one tell me that How can i create the service User ie j2ee SID

    hi all,
    In the implementation of SPNego Authentication schem in my portal system.
    i want to create the service user ie .j2ee-<SID>.
    <b>could any one tell me that How can i create the service User ie j2ee-<SID> in my visual administrator??</b>.
    any help will be highly Appretiated .
    thanks and regards.
    vinit soni.

    Vineet,
    the user management tab opens in Read Only mode - thats why the button is coming as disabled. There is a button for switching into Edit mode - it looks like a pen / pencil on the top bar. Click on that - your "Create User" button would be enabled.
    Also regarding creation of Service User via code level you can see <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=1057074">THIS</a> thread. And <a href="http://HERE">http://help.sap.com/saphelp_nw04/helpdata/en/f9/e3162ec55f4df6922d161f3785012a/frameset.htm</a>HERE[/url] is the SAP Help documentation on required permission settings.
    Regards,
    Shubhadip
    Message was edited by:
            Shubhadip Ghosh
    Message was edited by:
            Shubhadip Ghosh

  • I got bulks of videos in my ipad 2, how can i look at my videos in list display? or make the fonts in my movie gallery smaller?

    I got bulks of videos in my ipad 2, how can i look at my videos in list display? It's hard for me to look through my gallery with grid display..
    any ideas?

    There is no list display option. If there were such an option, it would likely be available within the Videos app.

  • How can i set up multiple user accounts for my new ipad mini?

    How can i set up multiple user accounts for my new ipad mini?

    The iPad mini is basically a one user device. There are no Accounts. You can set up restrictions so that only you can do certain things.

  • I use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    i use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    Welcome to Apple Support Communities
    That's the classic behaviour after using Migration Assistant and that's normal.
    To transfer the data from the new user account to your old user account, you can follow some steps. Here is all the information you need to do this > https://discussions.apple.com/docs/DOC-5472

  • How can i delete my old user ID

    One month ago I change my Iphone4 for a new one Iphone6, a soon as I set up, I can not loading any new programs in to.

    Hi
    Do not work, appear my old ID and, that Account do not reconized my password
    Regards.
    Carlos
    Sourcing Specialist.
    Idex Corporation
    Phone: *******
    Enviado desde mi iPhone
    El 04/02/2015, a las 7:59, Apple Support Communities Updates <[email protected]<mailto:[email protected]>> escribió:
    http://www.apple.com/support/assets/images/external/emails/logo.gif
    You received a reply
    Briansyddall<https://discussions.apple.com/people/Briansyddall?ac_cid=op123456> has replied to your question. You can view the full discussion<https://discussions.apple.com/message/27606356?ac_cid=op123456#27606356> in Apple Support Communities.
    How can i delete my old user ID<https://discussions.apple.com/message/27606356?ac_cid=op123456#27606356>
    Hi  Did you use the same Apple ID toxset up new iPhone? Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo. You may need to do this for upto 50 Seconds. Cheers Brian
    Correct Answer <https://discussions.apple.com/email/thread/6814340/correct/27606356> Helpful Answer <https://discussions.apple.com/email/thread/6814340/helpful/27606356>
    Use the buttons above to tell Briansyddall and the rest of the community if this reply solved your question or helped you get closer to finding a solution.
    To reply to Briansyddall, go to the discussion<https://discussions.apple.com/message/27606356?ac_cid=op123456#27606356> in Apple Support Communities.
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile<https://discussions.apple.com/user-preferences!input.jspa>.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved<http://www.apple.com/legal/> | Privacy Policy<http://www.apple.com/legal/privacy/> | Terms of Use<https://discussions.apple.com/docs/DOC-5952> | Apple Support<http://www.apple.com/support/>
    This e-mail is intended solely for the intended recipient or recipients. If this e-mail is addressed to you in error or you otherwise receive this e-mail in error, please advise the sender, do not read, print, forward or save this e-mail, and promptly delete and destroy all copies of this e-mail.
    This email may contain information that is confidential, proprietary or secret and should be treated as confidential by all recipients. This e-mail may also be a confidential attorney-client communication, contain attorney work product, or otherwise be privileged and exempt from disclosure. If there is a confidentiality or non-disclosure agreement or protective order covering any information contained in this e-mail, such information shall be treated as confidential and subject to restriction on disclosure and use in accordance with such agreement or order, and this notice shall constitute identification, labeling or marking of such information as confidential, proprietary or secret in accordance with such agreement or order.
    The term 'this e-mail' includes any and all attachments.
    <Personal Information Edited by Host>

  • How can i create a new user in OID DIT tree programmatically  ?

    Dear All,
    How can i create a new user object in the OID DIT tree programmatically ?
    any help will be appreciated.
    Regards,
    Mohammed Amin

    Dear Eng. Jaime.. 
    Thank you so much  for replay...
    Can yon  explain 
    Do you want to create a contact in Jabber?
    Do you want to enable Jabber for a user?
    And what you meant last question..

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • How can i get all the users from weblogic server?

    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

    BTW, i use weblogic platform 8.1
    "Daniel" <[email protected]> дÈëÓʼþ
    news:[email protected]..
    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

  • How can I set a specific user log on neme to a specific machine

    Greeting,
    I have a question : 
    How can I set a specific user log on name to a specific machine.
    e.g. 
    Only User.A can log on to PC.A and the other can not.
    Base On :
    Windows Server 2003
    Active Directory Version : 5.2.3790.1812

    Technically we're both right.  This depends on what scenario you're setting this up.
    1)  If you want to say only this person can log on to this machine, and it's not an enterprise solution (meaning you have a handful of computers you want restricted, not all computers) then do something like Yan Li has recommended.  However, I
    do not recommend using any DENY LOCAL LOGON user rights.  In this case, you would have to deny everyone except 'User A' and your Administrators.  If you put a user in ALLOW LOCAL LOGON and DENY LOCAL LOGON, then DENY wins and no one logs in.  Instead,
    you should remove all the settings from ALLOW LOCAL LOGON and add only User A and administrators.
    2) If this is an enterprise solution, use the LOG ON TO option I mentioned before.  Managing user right assignments per machine is very difficult and isn't a practical way to do it on a large scale.  If every user in your domain is assigned a computer
    that they can use, only that user can use that machine and that machine will effectively only allow that user.  For this to work, EVERY user must be restricted to a workstation, if no setting is present, then that user can log on anywhere.  This
    is my preferred solution still.
    Like I said, it depends on your situation to which route is better.  I hope this helps and is clear and easy to understand.
    - If you have my posts to be helpful, or the answer, please mark them appropriately.  Thank you.
    Chris Ream

  • How can i look up a TxDataSource bound in Weblogic JNDI

              HI,
              How can i look up a TxDataSource bound in weblogic JNDI. When i access it using
              javax.sql.XADataSourse ds = (XADataSourse)context.lookUp(jndiName)
              .it gives me classcast exception.
              and if i lookup it using javax.sql.DataSource like below
              javax.sql.DataSourse ds = (DataSourse)context.lookUp(jndiName)
              then while executing my sql on the connection object it throws some other excepiton
              like below
              java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected
              Exception - with nested exception:
              [weblogic.rjvm.PeerGoneException: ; nested exception is:
                      java.io.EOFException]
              at weblogic.jdbc.rmi.SerialStatement.executeQuery(SerialStatement.java:92)
              at TestTransactionMgr.main(TestTransactionMgr.java:46)
              How can i solve this problem.. Actually my application needs to handle distributed
              transactions so i need to implement XADataSource.
              can somebody help me iin this.
              Thanks & Regards
              Akhil Nagpla
              

              HI,
              How can i look up a TxDataSource bound in weblogic JNDI. When i access it using
              javax.sql.XADataSourse ds = (XADataSourse)context.lookUp(jndiName)
              .it gives me classcast exception.
              and if i lookup it using javax.sql.DataSource like below
              javax.sql.DataSourse ds = (DataSourse)context.lookUp(jndiName)
              then while executing my sql on the connection object it throws some other excepiton
              like below
              java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected
              Exception - with nested exception:
              [weblogic.rjvm.PeerGoneException: ; nested exception is:
                      java.io.EOFException]
              at weblogic.jdbc.rmi.SerialStatement.executeQuery(SerialStatement.java:92)
              at TestTransactionMgr.main(TestTransactionMgr.java:46)
              How can i solve this problem.. Actually my application needs to handle distributed
              transactions so i need to implement XADataSource.
              can somebody help me iin this.
              Thanks & Regards
              Akhil Nagpla
              

Maybe you are looking for

  • Feature Request: Javascript libraries of which the versions are in better control

    This essentially aimed at the developpers: Anyone who browsed with noscript, or used ghostery, knows the web is full of javascript. These are often downloaded from separate websites.(for no apparent reason, they can easily be hosted locally) This is

  • Error converting data type nvarchar to numeric 'witholding tax' (OWHT)

    Hi Guys. After I have upgraded my clients 2007 PL 30 database to 8.81 PL05, and running a repair to fix inconsistincies, I am receiveing some error when opening any sales documents. It takes place when I open a sales document, or browse previous docs

  • Very Poor Customer Care Europe

    I switched from a an iPhone back in August and I found the WP OS easier and far more functional than iOS. There are fewer apps and sometime features missing on apps that exist both in IOS and WP but nothing I could not live without. Overall it was go

  • Cannot install Oracle 10g rel. 2 on Win Server 2003 SB

    Hello, I cannot install Oracle 10g rel. 2 on Win Server 2003 SB, because when the the configuration assistant installer try to copy the db files, it stop with the following errors: ORA-24324 Service Handle not Initialized ORA-24323 Value not authoriz

  • Configuring  b2b/transportServlet on another HTTP server

    Hi All, Here we have a strange requirement Actually we are trying to configure B2B with DMZ in place Our approach follows like B2B should be within Oracle firewall and HTTP server will be in DMZ we will open required ports on firewall to have communi