Creating orders via the Order Management API

Hi there,
we are wanting to use the Order Management API (within Oracle 11.5.4) as a means of integrating with our B2B website. I am thinking of creating a Java class that will talk to the Order Management API - pass it a list of products (amongst other variables) - create an order, and then retun that order's details to the clients browser - via the Java class. So my questions are specifically...
1) is this possible, and am i heading in the right direction?
2) where would i find more documentation on the Order Management API - i only have 1 doco so far and it isnt too clear
3) has anyone had any experience doing something similar, and if so - can you give me any examples, tips etc etc
Please reply to [email protected]
cheers,
matt lemsing

I've done it a couple of times. I hope you have some help, and I assume you'll have to use Customer (AR/CRM) APIs as well as the OM APIs. My suggestion is to make you java beans in small pieces, don't try to do it all in one class. As for displaying the order back to the screen, don't forget a view or SELECT statement can also be viewed as an API. Keep it simple, don't try to get tricky.

Similar Messages

  • Accessing the user management API programmatically

    I am looking for the officially supported method that could be used to access the user management API via "curl" for CRX:
    There is a user management API described here:
    http://sling.apache.org/site/managing-users-and-groups-jackrabbitusermanager.html
    However, executing a command on CRX 2.2 such as:
    curl -u:admin:admin http://localhost:7402/system/userManager/user.tidy.1.json
    Only returns a message indicating that the contents have been redirected (without providing another URL).
    Using the Content Explorer in CRX shows the list of users at: /home/users but I am not sure if a curl command could access the user list via that URL.
    Any pointers on how this could be done are appreciated.  This is for a partner.
    Regards,
    Blair

    I am a co-worker of MorrellJ.  I am trying to do a change password request using the Jackrabbit User Manager with the REST URL /system/userManager/user/<username>.changePassword.json.  The problem I am having is that this request requires an oldPwd form param in the request.  The issue is that when I am trying to do this request it is in response to the user selecting "Forgot Password" so our logic has created a random password which we then email to the user so they can use that the next time they want to login.  We need to change that user's password in CRX so they can log in using it next time.  Since they haven't logged in there is no session, NOT the problem.  THE PROBLEMS, I don't know 1. how to use the userManager to get that user's old password, since /system/userManager/user/<username>.json doesn't appear to return the password and 2. if I could get the old password it most certainly will be encoded, some how, so I will need some decoding algorithm to pass it through in order to get the actual password to set as the oldPwd form param to my change password request.  Please let me know if you require any further explanation.  Any assistance would be greatly appreciated.  Thank you, in advance, for your assistance.
    Sincerely,
    Mike Sucena
    [email protected]

  • Changing CardCode via the SDK DI API

    Forum,
    I am trying to change a BP's Cardcode via the SDK DI API that I can change if I do it via the BP Screen inside SAP, but the update method is failing on the BP object and on getting the error message it is telling that "it already exists in the following tables" but does not in fact tell which tables.
    Do you if it is possible to change the Cardcode via DI API?
    The reason we need to be able to do this is that Leads have a certain style of CardCode ie L009988, but on conversion to a Customer the style changes
    to reflect the Customer Name ie ABC Garages may become ABC142 and this needs to be record as well in all of still active non-SAP systems these are used to raised Invoices and Credit Notes.
    Regards,
    Juan

    Once there is a transaction against a CardCode, it cannot be changed.

  • Create users via the CLI interface on a SX20

    Hi 
    Are there some who know how to create users via the CLI interface on a SX20. You can do this via the web interface but I have many video installations where I need to create a user account. Therefore, it would be easiest if I can make it through the CLI interface. 
    Best regards 
    Jesper

    Unless there's a very well hidden command somewhere, then no. As far as I know, this can only be done for the remote supportuser account;
    xcommand UserManagement ?
    xCommand UserManagement RemoteSupportUser Create
        ExpiryDays: <1..31>
    xCommand UserManagement RemoteSupportUser Delete
    xCommand UserManagement RemoteSupportUser DisablePermanently
        Confirm(r): <Yes>
    xCommand UserManagement RemoteSupportUser GetState
    /jens
    Please rate replies and mark question(s) as "answered" if applicable.

  • Getting Started with the Contract Manager API

    I am looking for a quick way to move invoices that are assigned to the wrong contract or purchase order. (Right now we're deleting the current invoice and creating a new invoice on the correct contract, before re-entering all of the invoice information).
    It seems that this might be as simple as changing a key on one (or more?) invoice tables to link it to the correct contract or purchase order, and that the API might be the way to do it.
    So, if I wanted to investigate the API, where should I get started? I've read through most of what can be found by searching for "contract manager api" - and most of it seems to be this (http://www.oracle.com/us/products/applications/042740.pdf) or consulting companies. I'd like to see if there's somewhere with examples or a tutorial so that I can determine if this is something I can do.
    Thanks!

    The only documentation I have seen has come from Oracle Primavera. The documentation on the API is a little week and takes some time to get your head around. On how to make the move of existing invopices to another contract. In my experience it has been best to recreate ratehr than reassign. Of course this can cause much rework and can have ramifications.
    Option 1 - Do it by hand. Best way to make sure all of the needed data and business process are followed.Keeps the summary fields calulating properely etc..
    Option 2 - Use the API. Sounds eaisier than it is. Really need to be experienced at this otherwise you might as well do it by hand, in fact using the API is JUST LIKE doing it by hand since you must follow the business process in place. In cases where the data entry is so huge I'd pick this route, but we have several years of expereince leveraging the API at this point, so we can get it done. I don't know how you are loading so my exact wording might not match your tables. My approach is to untagle the existing invoices first by removing approvals (if any, certainly applies if doing pay apps). Then starting with the first one, I would load each in the order they need to entered. Several tables may need to be updated/added to: Some of these might be Master Table, SOV, Cost Detail and Attachments at the Master or SOV level. Just from my horrible exapalnation you can see there are some hairs on this.
    Option 3 - Change the keys and reference numbers from the back end of the database. Normally NOT RECOMMENDED and onyly should be used in extreme cases where needed. My approach here is to contact Oracle support, discuss issue, get theri recommendation, document it then move forward if needed. Down side of this, especially in the requisition area, is that we have seen the summary information getting thrown off and not calculating properly afterwards. I have seen this more with API than with changing keys, but assume that the same issues would apply since editing from the backend would not trigger code in the applciation to update? If you go this route use Oracle as a resource and do your research to make sure you do not orphan any records in the tables. The Contract Master Key is used in several forms and sometimes the Document NUmber is used as well and both need to be updated when appropriate.

  • Creating users via the admin console

    Hi,
    I'm trying to create a user via the admin console. The user will have to
    authenticate via Membership, and will require a username and password.
    However, when creating the user via the admin console it does not allow you
    to specify a default password (or by using the command line 'ipsadmin create
    user /domain/user.xml', unless there is some XML field specified in the file
    to do that? If so, what is it? Specify an attribute in the
    "iwtAuthMembership-password"?) After creating a user via the console, I
    tried logging in using a blank password and a password the same as the
    username, but neither worked. Is this password set as default to something,
    and if so to what?
    Also, is there some existing means for a user who has already created a
    membership account to change their password? If not, then I guess I will
    have to develop some code to modify the "iwtAuthMembership-password"
    attribute.
    Thanks,
    Mark

    Hi,
    After you have created the user via the console, then the user will be added to a particular role.From the console go that particular domain and then to the role under which the user was created.Then select the Users link you can see the users list.From that list select the user for whom a password is needed,then it will lead you to a screen where you can see a link named Authentication.Expand that link and click on the Membership link there you can enter the username and password for the user

  • Possible to Set Solve Order via the 7.15 API?

    <p>I'm wondering if this is not available until 9i etc - let meknow.</p><p> </p><p>Working on an app to automate the conversion of BSO to ASO Using the VB (Main and Outline) API(s).</p><p> </p><p>Thanks</p><p> </p><p>D</p>

    <p>I can see the value in the C API member info structure but notin that for VB..... wondering if even available via VB. Maybe I canducttape somethin together</p>

  • Correction by Order Management API

    Hi,
    Could anyone give me a expmle:
    how can I make a correction using oe_headers_iface_all and oe_lines_iface_all , or link where I can find it.
    I'm using EBS 11.5.9.

    Can you please provide details of what you want to correct in the Order?
    You can definitely update existing order using Order Import.
    Thanks
    Shailendra

  • Oo4o and Order Management API

    Has anyone tried calling any of the stored procedures that use an oracle defined type as a parameter?
    e.g. OraDatabase.ExecuteSQL ("Begin OE_HEADER_UTIL.GET_ORDER_NUMBER(:P_X_HEADER_REC, :P_OLD_HEADER_REC); end;")
    where P_X_HEADER_REC and P_OLD_HEADER_REC are of type OE_ORDER_PUB.HEADER_REC_TYPE
    I'm trying to do a lookup from an ASP page.

    Can you please provide details of what you want to correct in the Order?
    You can definitely update existing order using Order Import.
    Thanks
    Shailendra

  • User management API/get all the users for a group

    Hi all,
    I'm trying to get all the users and their associated groups with the user management API. The method DirectoryManagerServiceClient.findGroupMembers(GroupMembershipSearchFilter)
    returns all the users, great, but not the associated groups.
    TO get the users i use the oid of a "super group" and this "super group" contains severals groups. It's the information about these groups i need.
    I have read in the documentation of Principal Object that a search could omit
    the group informations for efficiency. How can i bypass this limitation?
    Thank you in advance for your help,
    Philippe Vandenhove

    Hi Philippe
    Our CreateUser component will allow you to create local users and groups.
    http://avoka.dnsalias.com/confluence/display/Public/Create+User+Create+Group
    LookupGroup takes a group name or id, and returns a list of all members. I'm pretty sure it recursively evaluates contained groups, but you'll need to check. If it doesn't, log a bug to support-at-avoka.com.
    http://avoka.dnsalias.com/confluence/display/Public/Lookup+DSC
    Download at:
    vhttp://www.avoka.com/apps/checkcookie?qpac=y&qpac_code=avokaESComponents&location=%2Fapps %2Fqpacdownload
    Howard

  • EWS Manage Api Exchange Online TokenCredentials always returning 401

    Hi,
    Im trying to get acces to Exchange Online with the EWS manage api 2.2 and Im trying using this
    ExchangeService service = new ExchangeService();
    service.TraceEnabled = true;
    service.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx");
    //service.HttpHeaders.Add("Authorization", "Bearer " + token);
    service.Credentials = new TokenCredentials(token);
    //service.PreAuthenticate = true;
    //service.SendClientLatencies = true;
    //service.EnableScpLookup = false;
    Always I get 401 unauthorized the token I get Azure Ad Authentication library , with this code
    var authenticationContext = new AuthenticationContext(_config.AuthString, false);
    // Config for OAuth client credentials
    var clientCred = new ClientCredential(_config.ClientId, _config.ClientSecret);
    AuthenticationResult authenticationResult = authenticationContext.AcquireToken(_config.ResourceUrl,clientCred);
    string token = authenticationResult.AccessToken;
    The app is registered on Azure Ad and have all the permision ,
    Im missing something? There is somewhere  a working example?
    I thinks is the same problem that is explained  here
    Live like you'll die tomorrow, learn like you'll live forever.
    Blog

    Got this "nuclear bomb", as i call this type of unexpected issues, in response too.
     {[x-ms-diagnostics, 2000010;reason="The access token is acquired using an authentication method
    that is too weak to allow access for this application. Presented auth strength was 1, required is 2.";error_category="insufficient_auth_strength"]}
    As i see, have to use a trusted certificate via ADAL (not self-signed), i guess, to get prtectio
    level 2.
    But all i initially was need - edit subject of an item at read-view outlook web (content) app...

  • Configuration Manager API

    Hi,
    Does someone know if the Configuration Manager API is still supported in NetWeaver 2004 SP15? The com.sap.engine.frame.core.configuration package is still present, but I can't find any documentation.
    That is, via SAP Help I do find this old (WAS 6.30) document: <a href="http://help.sap.com/saphelp_webas630/helpdata/en/a8/c7ccfd2ee40c438a4e0a21210baede/frameset.htm">Configuration Context</a>
    And via Google I was able to find this recent (NW 04) document: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/33/8439e52dc94c7192eb53f99854dfd6/content.htm">Opening a Configuration in Read or Write Mode</a> but when I use the search functionality in SAP Help it doesn't come up.
    Besides, the API is not present in the <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/index.html">SAP Netweaver 2004 SPS 15</a> javadocs.
    As a sidenote, would you recommend to use this configuration mechanism or use a framework like <a href="http://jakarta.apache.org/commons/configuration/">Apache Jakarta Commons Configuration</a>?
    Kind regards,
    /Sigiswald

    Hi Siva,
    The API version is hardcoded in Microsoft.ServiceBus.dll, which ships as part of the Service Bus. Each version of this lib has a different string.
    If you install workflow manager 1.0, here are the pre-requisites:
    .NET Framework 4 Platform Update 3 or .NET Framework 4.5
    Service Bus 1.0
    Workflow Client 1.0
    PowerShell 3.0
    The following are the pre-requisites to configure Workflow Manager 1.0
    Instance of SQL Server 2008 R2 SP1, SQL Server Express 2008 R2 SP1, or SQL Server 2012.
    TCP/IP connections or named pipes must be configured in SQL Server.
    Windows Firewall must be enabled. [Windows Firewall is Off on target server]
    Ports 12290 and 12291 must be available.
    Here are the reference for installing and configuring Workflow Manager 1.0:
    http://lennytech.wordpress.com/2013/06/02/installing-workflow-manager-1-0/
    http://lennytech.wordpress.com/2013/06/02/configuring-workflow-manager-1-0/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Retrieving queue components with glassfish management API

    Hi,
    In the caps managment API the following,
    RTC51XMonitor rservice = rlocator.getRuntimeService51x();
    String serviceID = service.openSession("admin","adminadmin");
    Object[] servicelist = rservice.getComponentsList(serviceID);
    servicelist would return the list of components including the stcms and jmq components.
    With the glassfish management API I can retrieve service assemblies, service engines, bc's and jee objects, but how do I get the stcms and jmq components?
    Regards,
    Rupert

    If you want to create destinations manually set the imq.auto.create.queue=false and imq.auto.create.topic=false in the broker config file. This disables the auto creation f destinations on the broker. You will have to create them manually before your application will work.
    Tom

  • User management API

    Hello,
    could you please tell me how I can create Groups and add users to, within EP, using the User management API ?
    do you have a javadoc on the User management API ?
    best regards,

    Here's sample code for adding users to a group:
    // assign individual user to a Group
    String userid = "<unique-id of user>";
    String groupid = "<unique-id of group>";
    IGroupFactory grpFact = UMFactory.getGroupFactory();
    // add the user
    grpFact.addUserToGroup(userid, groupid);
    // get rid of the user
    grpFact.removeUserFromGroup(userid,groupid);
    Note: the unique IDs are obtained by searching for the user or group. You can also use the appropriate factory (e.g. UserFactory)
    The IDs look something like:
    GRUP.CORP_LDAP_2.cn=developers,ou=groups,dc=sap,dc=corp
    or
    USER.CORP_LDAP.uid=i802895,ou=people,dc=sap,dc=corp
    So:
    String uid = "i802895";
    IUser user = UMFactory.getUserFactory().getUserByLogonID(uid);
    String uniqID = user.getUniqueID();

  • Cubes on the Materials management Cube 0IC_C03

    HI,
    We need to create cubes on the Materials management Cube 0IC_C03 to take care of the huge inventory data we have . These will be a copy of 0IC_C03 and 0IC_C03 will be a staging layer.
    Want to know how will the marker update will work on the new cubes?
    Thanks.
    Nitin

    Hi,
    Look this link wll give u full detailes about marker updats and so on....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    ***********Asign Points if usefull*******
    Cheers,
    Satya

Maybe you are looking for

  • Bios 1.9 on P35 Platinum Problems

    As i stated, I recently purchased a 8400 cpu and I'm having issues with the bios.  No matter what I do I can't get the bios to change my ram settings from 5 4 4 12, I am running 4x1gig of crucial ram.  I have tried to change it manually and let the b

  • Adobe flash player /installer/uninstaller 16.0 r0 stopped working

    Good morning ,                              Wanted to see if any one could help with this We are trying to deploy adobe play 16.0.0.305 activex  exe offline installer When you try and run crashing on installation Problem signature:   Problem Event Na

  • Wifi on ipad 2 is extreme slow

    Hi, I have 4G network available and i am using AT&T Mobile Hotspot as a wireless router, Everything is perfect such as my laptop, Android phone, but when it comes to IPAD, it is extremely slow. Even to open google it takes about 1-2 minutes, i cant d

  • Can't download .pdfs from web - Standard

    Have standard 7.0 and it worked fine for years but recently it will not download pdf files from the web.  Locks up IE and Mozilla when I try.  Opens pdf's fine from local drive just a problem with the web downloads.  Removed and reloaded Acrobat 7.0.

  • Difference control refnum and control reference

    Hi guys. I am new on labview reference, can you explain difference between control refnum and control reference.  Gary Wang