About Order object in ATG

Hi,
I have some confusions about Order object in ATG. Please see -
When actually ATG creates an Order object and how?
Is there any scenario where we should use synchronize on Order object?
An ItemPricingEngine invoked through a price droplet. How/when an OrderPricingEngine gets invoked?
Thanks.

Hi,
Don't get confused that we need to synchronize only those things which are shared between multiple users.
We should synchronize order because there should not be more than one thread/process updating it , else you will get inconsistencies and invalid version exceptions as already pointed by gurvinder.
About your 3rd point :
pricing can be invoked in many ways from many places , like droplet , formhandlers , pipelines etc.
Enable loggingdebug on important components like OrderPricingEngine , ItemPricingEngine , Pricing tools and various Pricing calculators and study the logs  then you will be clear on what is invoked and when is invoked.

Similar Messages

  • Order Object in ATG

    HI
    how an order object is created in atg after adding an item to cart
    please give me clear picture

    below threads will be helpful :
    Order Object Creation
    Order Creation for Anonymous and Registered/Loggedin User

  • Creation of Order Object through DAF pipeline

    Hi all,
    Like how a transient profile object is created through DAF pipeline in the ProfileRequestServlet, i know there is an order object also created like profile, but i want to know which RequestPipeline is creating it????

    Hi,
    Transient orders are not created by the servlet pipeline. The closest analog in the servlet pipeline is that CommerceProfileRequestServlet for an auto-login only, will load an existing order on the profile, thereby creating an OrderImpl object in the session for that order.
    Transient, new orders are created by any reference in your page code to ShoppingCart.current (OrderHolder.getCurrent() call in the code). For a registered user, this will only happen if that user has no current order from a previous visit, but for anonymous users (if anonymous users and orders are not being persisted), this will tend to happen with any new visit (after the previous anonymous session has timed out) as most pages on a commerce site do reference ShoppingCart.current.
    Both of these behaviors are perfectly correct and necessary for ATG Commerce to function. No attempt should be made to prevent them. If you believe any of this is causing a problem for your site, you should post a thread about that problem itself, and I'm sure there will be suggestions as to how to avoid it.
    Thanks.
    Nick Glover
    Oracle Support for ATG Products

  • Problem with document_lines in the sales order object

    Hey all,
    i have a question refering to the document lines object from a sales order, or an invoice! When i add a line to the document, is there a possibility to get information if the line is correct or not? now its only possible, when posting the sales order or invoice, but that is to late! when i now post a sales order i get for example the error that the item number is missing! but i have add the correct line with itemCode etc.
    thanx for your help:)
    Maggie

    Hi Maggie,
    Unfortunately there is no way of getting information about the correctness of the line until you add the sales order.
    If you create the sales order object one line is always present, so for the first line you must NOT do an add, only before the next lines.
    Regards
    Ad

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • Saved order management in ATG.

    Hi All,
    Please help me understanding in processing the saved order management in ATG.

    below threads will be helpful :
    Order Object Creation
    Order Creation for Anonymous and Registered/Loggedin User

  • Order Object

    Actually When an Order object is created in atg White Running the Project

    The creation of order object happens when ShoppingCart.current from JSP or OrderHolder.getCurrent() is called from java class.
    If you first page in the jsp is referring the shoppingcart.current then OrderHolder.getCurrent() check if there is order is session otherwise it will create one.
    Or it could be pipelineableServlets or your customized code would call this method, in that case order object is created.
    Refer this post for more discussions on this:
    Re: Order Object Creation
    Peace
    Shaik

  • ABAP OO sales order object - how to attach link to VA03

    I'm trying to build workflow using ABAP Objects instead of BOR. I created custom object for sales order according to blog "Getting started with ABAP OO for Workflow using the IF_WORKFLOW interface". It works correctly in my workflow but I would like to attach link to "browse sales order" (VA03) to workflow step. When using BOR I can attach link my binding BOR objest to AdhocObjest step container element. The same way does not work for ABAP OO object. The error message is "The object categories 'CL' (source) and 'BO' (target) are not compatible".
    Is there any way to add this link to attachments when sales order object is OO not BOR?

    At least make sure that you have a default method 'browse' in your class. I mean that make a method for "displaying" or "browsing" or whatever you want to happen when you click the object, and make it default. OR actually if I remember correctly there is a default method existing already, but put your code to there.
    Also try this:
    -Create a container element of type 'sales order' into your task
    -Bind the sales order object from workflow to the the task
    Regards,
    Karri

  • Getting information about an object from JList

    Hi
    I have created a movie application and i have a JList displaying all registered movies, it uses a DefaultListModel to display these.
    I want to be able to click on an element in the JList and then push a button called "Show movie details" to display all information about the selected movie.'.
    Every new movie is added to the DefaultListModel as an object with "Titlle", "Genere" etc. If someone click on a movie, what do i do to get information about which object that was clicked. All i can see is that integers can be returned with the getSelectedIndex/Value methods. If i use one of these methods to get the object from the DefaultListModel, that would work i guess, but what when someone deletes a movie in the middle of the JList, then the indexes wouldnt match.
    Can someone help me out here? :)

    I get a big fat exception when trying to cast the returned object to a Movie object which im using.
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to Movie
    ...sure that this is the way to do it? If so, what am i doing wrong..

  • Create Notification Navigation Button not working in Order Objects Tab

    Hi Gurus,
    I am having an issue in Order --> Objects tab. I want to create notification for additional  technical objects for the order. When I enter the technical object details and press enter, a "Create Notification" navigation button gets activated for that line item. But when I press that button, nothing happens. On the other hand if a select multiple line items and then press "Create Notification" button at the bottom of the line items, I am able to create notifications for the selected line items.
    Can someone help me suggest what can be the problem or suggest a Note which might restore the functionality of the "Create Notification" navigation button at the line item level.
    Thanks in advance for the help.
    Best Regards
    Vikas Hali

    Vishal,
    I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
    Regards,
    Usman

  • About order and delivery quantities

    I have a number of questions about order and delivery quantities:
    1) How can I make a delivery even when there is no order?
    2) Where is customization of the controllig mechanism if the quantity of the items can be higher at the in the order than at the delivery or not?
    Thanks in advance...

    1) How can I make a delivery even when there is no order?
    Transaction Code: VL01NO
    Delivery Type: LO
    2) Where is customization of the controllig mechanism if the quantity of the items can be higher at the in the order than at the delivery or not?
    Ideally the Quantity of Order can be higher at Order, compared to Delivery. This is a case of partial delivery. Always ensure that Delivery Quantity = Pick Quantity i.e if Delivery Quantity is 50, but you want to deliver 30, in that case reduce the delivery quantity also to 30. If the quantity is different, PGI will not be allowed.
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Internal Order , object class related issue

    hi
    when i created internal order with the object class (Assignment Tab) :- Investment and not specified any assignment like (cost center ) i am  able to view line items posted to internal order by transaction KOB1
    but if i am selecting object class as Overhead and not specified any other assignment like (cost center )i am not able to see actual posted line items . so How we will get this line items ?
    is there any other transaction available ?
    Thanks in advance
    sachin

    HI,
    I can view real actual postings for order object classes "Overhead costs, Investment, Production" using KOB1.
    Check your postings (value type!) and your KOB1 selection screen.
    Best regards, Christian

  • About ABAP Object

    Hello All,
    i have some question about ABAP Object.
    What is the meaning of friend class and singleton?
    Regards,
    Luke

    Hi,
    The addition Friends makes class class a friend of classes classi and or interfaces ifaci.At the sam time, all subclasses of classes classi, all classes that implement one of the interfaces ifaci and all interfaces that have one of the interfaces ifaci as a component interface become friends of class. you have to specify at least one class or interface.
    The friends of a class have unrestricted access to the protected and private components of that class, and can generate unrestricted instances of the class.
    The friends of class are not automatically friends of subclasses of class. the addition Friends does not make class a friend of its friends.
    Thea ddition global is allowed only when you use the addition public for the global class of a class pool at the same time.You can list other global classes and interfaces from the class library after global friends.This addition is generated when the Class Builder creates a global class and you specified friends at the corresponding tab page of the class Builder.
    `
    In the example , classs c2 is a friend of interface i1, and therefore also of the implementing class c1. It can instantiate these objects and access their private component a1.
    interface i1.
    endinterface.
    class c1 definition create private friends i1.
    private section.
    data a1(10) type c value 'Class 1'.
    endclass.
    class c2 definition.
    public section.
    interfaces i1.
    methods m2.
    endclass.
    class c2 implementation.
    method m2.
    data oref type ref to c1.
    create object oref.
    write oref->a1.
    endmethod.
    enclass.
    Kindly Reward Points If You Found The Reply Helpful,
    Cheers,
    Chaitanya.

  • Question about Order Online / Delivery

    Hi everyone,
    I am thinking about order a MBP online. But there has one thing which i worry about. Sorry about that if you think that question is stupid, but it is my first time to order something so expensive on the internet, so i am a bit worry
    Because I am a student and I live on my own.
    What will happen if the delivery is arrived, but I am not at home?
    P.S I live in England
    Thanks a lot

    Hi,
    My MBP has been scheduled for delivery today. I have taken the day off work for the delivery. I have just heared that it is going to be delivered tonight around 8pm. It seems that TNT have a policy that they do not deliver certain items during the working week as people are not at home. This may sound very good if you have not taken a day off to take delivery. Quite frankly I am a bit hacked off as I would like to use the machine for a job tomorrow and now will have to stay up late doing updates etc.
    Regarding delivery: I'm sure this is a reasonable policy, I would just have liked them to tell me yesterday ( when I phoned up) that delivery would not be until tonight so I could have gone out and earned some money today!!!
    Don't worry...you will get your machine!!
    Mark

  • More Details about Info Objects

    I want to enrich my technical skillset.
    So could you experts pls guide me in more detail about Info Objects in SAP BI
    Thanks,
    Vijayakumar

    HI,
    Actually the info given on thatpage is a copy paste of the information from Help.sap.com.
    [Editing InfoObjects|http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a63cde07211d2acb80000e829fbfe/frameset.htm]
    [Creating InfoObjects: Key Figures|http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a63b3e07211d2acb80000e829fbfe/frameset.htm]
    And So on
    Regards,
    Gaurav

Maybe you are looking for