Commerce item in the order got deleted

Hi,
We have a production issue like customer placed an order and our fullfillment system which is a atg scheduler which invokes the order object and create flat file and send it to external system and while order loading we are missing the product information.
We use the getOrderManager().loadOrder() to load the order during the load we got pipeline errors like failed in setCatalogRefId and orders lost the commerce item information from DB for some of the order.
Did anybody faced this issue before if yes how you fixed this issue.
Thanks,
Tijomon Mathew

ATG OOTB checks for user catalog and only allows you to order products in user's catalog. If you are calling OrderManager.loadOrder() from a scheduled service most likely it's finding the product out side user's catalog and hence removing it from order. If you want to load order from scheduler service use repository query (OrderRepository.getItem(pOrderId)) instead of OrderManager.loadOrder()

Similar Messages

  • Custom table Not deleting the line items on the order.

    Hi All
    I have an issue, In SAP  we have created a custom table which is related to ship to party, as and when we delete any line items in the order(VBAP)  it should update /delete the custom table but it is not deleting, while when we create any line items in the order (VBAP) it is updating  the entries in the custom table which is suppose to happen.
    Please let me know your inputs.
    Thanks,
    Ram

    UPDKZ is not a field name. it is the processing status of a line or order.
    If UPDKZ is I , its initial, like adding a new line
    If UPDKZ is U, its update. Like changing or modifying an existing line
    ....so on...
    Regards
    Sai

  • Calculate sales tax based on all line items on the order

    My users have asked to determin tax on the sales order, based on all the line items on the order. For example, if all the items are for product only, or if all the line items are for labor only, or if there is a mix of product and labor,
    Order 1
    line 1 product flag as both for vertex
    line 2 labor flag as both for vertex
    Order 2
    line 1 product flag as product only
    line 2 product flag as product only
    Order 3
    line 1 labor flag as labor only
    line 2 labor flag as labor only
    I do not see away to do this while the order is being created. In the order 1 example above, line one is entered, priced, and taxed as product only (it is the only line on the order at that time and it is product only). Line two is entered, it is marked as both. But I cannot send line item one back through vertex marked as both. Vertex processing is already complete.
    I have looked at using both FYTX0001 and FYTX0002. With both of these exits I can only work with a single line item, i.e. once item one is processed it will not go through the exit when item two is added.
    Any assistance would be appreciated.
    Jay

    Hi WCG,
    Our business is located in California as well. California is a modified-origin state, where state, county, and city taxes are based on the origin of the sale, while district taxes are based on the destination of the sale. You only need to add Sales tax when your customer's billing address is in California. I do not believe that Catalyst currently supports district based sales tax. You could look into a third party solution like TaxJar and see if it could be integrated into Catalyst. We currently charge our California based customers exactly what we would charge them in our retail store.
    So you want to do something like this:
    -Ryan

  • I cant get my mac out of recovery mode and the disk got deleted

    i cant get my mac out of recovery mode becuase the disk got deleted and i didnt back it up from time machine

    This should work -- at least to get you booted.
    http://support.apple.com/kb/PH13871

  • All my documents were stored on my icloud drive in windows PC somehow the documents got deleted from my ios device. Kindly let know if there is a way to retrive my data

    All my documents were stored on my icloud drive in
    windows PC somehow the documents got deleted from my ios device. Kindly let
    know if there is a way to retrive my data

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • How to Create a Pro Forma invoice (F5) for selecetd items in the order?

    Hello,
    Is there a way to create a F5 Proforma invoice for an order, but for selected items? e.g if the sales order has 5 line items , is there a way to select the items we want to create the proforma for? or it's always going to create the proforma for all eligible items?
    Thank you so much.
    Irfan

    Dear Satish,
    Thanks for your reply.
    Without getting into config and setting up the invoice split criteria, when creating a proforma is there a way to select the line items from the order and create the pro forma invoice only for those items?
    Thanks.
    Irfan

  • Getting cache items in the order that they were inserted

    Hi,
    Is there a way to get the cache items in the order that they were inserted into the cache?
    I tried the following but that does not work - the result is not in order of insertion...
    NamedCache cache = CacheFactory.getCache("XXXX");
    Set setKeys = cache.keySet();
    debug("key size: " + setKeys.size());
    Iterator keysIt = setKeys.iterator();
    while (keysIt.hasNext())
    Object object = (Object) keysIt.next();
    debug("key: " +object);
    debug ("----------------------------------------------\n\n\n");
    Thanks
    G

    khanna111 wrote:
    Hi,
    Is there a way to get the cache items in the order that they were inserted into the cache?
    I tried the following but that does not work - the result is not in order of insertion...
    NamedCache cache = CacheFactory.getCache("XXXX");
    Set setKeys = cache.keySet();
    debug("key size: " + setKeys.size());
    Iterator keysIt = setKeys.iterator();
    while (keysIt.hasNext())
    Object object = (Object) keysIt.next();
    debug("key: " +object);
    debug ("----------------------------------------------\n\n\n");
    Thanks
    GHi G,
    in general there is no way to do this with get/iterate calls.
    Particularly because you can't define a time order in the cache as there is no shared timesource to relate to without relying on explicit cluster-wide locking which is not done in caches by default.
    Best regards,
    Robert

  • What is the order of deletions when a DVR is full

    1302 wrote:
    My DVR is nearly full and I have a number of items marked for recording in the next two weeks one of which will surely bring DVR to 100% full. What is the order in which the DVR will begin deleting previously recorded programs to make room for latest recordings?  Normally, the oldest recordings will be deleted.... with the X1 system DVR, you can select to KEEP for 1 year or select "Space is needed" within the DVR manager.. -=Ray=-

    1302 wrote:
    My DVR is nearly full and I have a number of items marked for recording in the next two weeks one of which will surely bring DVR to 100% full.
    What is the order in which the DVR will begin deleting previously recorded programs to make room for latest recordings?
    Sounds like an external hard drive might be something to investigate for your DVR.  
    Some details at the links below:
    http://customer.xfinity.com/help-and-support/cable-tv/external-dvr-storage/
    http://store.comcast.com/my-book-av-dvr-expander/detail.php?p=442589&v=comcast_accessories
     

  • Multiple sales deal for a line item in the order

    Hi,
    We are planning to use sales deals but i'm wondering as the sales deal is entered at condition record level, If i have one line item on an order and that this line item will have several sales deal eligibible (several condition records with different sales deal) What sales deal number will be saved on the VBAP table and VBRP table (sales and billing document). The sales deal is not saved at condition level (KONV) ?
    Does anyone know that ?
    Thanks
    Myriam.

    Hi, Gurus,
    Any answer to that question, please ?
    Thanks.
    Myriam.

  • Would my music in the iPod got deleted in this situation?

    I have my iPod automatically updated with iTunes. But now my computer has the window reinstalled, all my music in the computer hard disk is gone and so as the iTunes program. The iTunes that I install now of course has no song library or any song in it. If I plug the iPod in now, would my music in iPod got deleted as it syncs with iTunes? Or would the playlist in iPod be blanked but still the music is in the iPod and I can retrieve them. What should I do?
    Thankyou for any help.
      Windows XP  

    Of course I would love to transfer my iPod music back to the iTunes library. But most importantly, I would like to know would my iPod, being synced with iTunes before I reinstall the Windows, lose all the songs in the iPod when I plug the iPod into the computer?
    I thank StarDeb55 for your help, but my question seems to be not answered.
    Thankyou for any help again.

  • Writing a trigger to update the QOH in a Parts table for for each item of the order whenever the order is filled. The trigger is for the OrderItem table when an item record is inserted into the OrderItem table.

    Any ideas?

    Hi,
    If orderitem and parts are the only tables involved, and each orderitem references only 1 part, then it's pretty simple: just update parts, like this
    UPDATE  parts
    SET     qoh       = qoh - :NEW.quantity
    WHERE   part_num  = :NEW.part_num;
    If you can modify filled orderitems (e.g., DELETE orderitems or change the part_num after the order is filled, or change the status from filled back to unfilled then it's more complicated; you might have UPDATE the :OLD.part_num as well as the :NEW.part_num
    I hope this answers your question.
    If not, post your best attempt, along with a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Since you're asking about a DML statement, such as UPDATE, the sample data will be the contents of the table(s) before the DML, and the results will be state of the changed table(s) when everything is finished.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Different deliver to in the items of the order

    Hi,
    I create an order in the B2B*
    I select Deliver To 1 in item 10, I select another Deliver To 2 in item 20.
    I save the order.
    I reopen the order.
    I saw old value in the item 20! I saw that changes are not saved!
    Does anybody use this functionality? Can I use different Deliver To in the items?
    Is it works?
    Denis.

    What is the backend for the scenario? ECC or CRM.
    The steps the way you explained works fine in B2B scenario with CRM backend.
    Try clicking "Update" after changing the item ship-to and follow that with the "Save" or "Order".
    From what you've told here, it seems that you are using an existing order (orderstatus object) and trying to change the item ship-to.
    Did you check the same business case either in SAPGUI or WebUI? For the scenario you have explained, is the partner function and the partner determination configured as "Ship-to partner can be changed"?

  • ORDERS05 (CRM) IDOC processing issues when blocking items on the order

    We're successfully loading Sales orders from IDOC type ORDERS05. There are certain checks carried out against a customer contract reference (if supplied) which could require the item in question to be blocked/rejected. I can achieve this okay, but when an item is blocked the Qty against the item is Zeroised, and I notice that the schedule line for the item also has a Zero qty, depsite a schedule line segment appearing on the IDOC with a Qty. If I don't block the item, by removing the checking code, then the qty against the item shows exactly as identified in the schedule (E1EDP05) segment.
    Has anyone else had this problem and if so how did you get around it.
    I've tried duplicating the schedule for the item, thinking that just the first schedule record is zeroised, but it would seem that all scheuled lines are zeroised if the item is block, although that's not what happens if you enter an order manually.
    Regards

    Tx: CRMXIF_C1
    Set Download to Full

  • On plugging my iPod to the iMac, all the songs got deleted on the iPod. Now it doesn't sync to iTunes and it shows that 'mac os can't repair the device'. How can I get my iPod to start functioning normally again? Please help!

    Hey! I plugged my 80 gb ipod classic to my imac, but had to switch it off when itunes hung. The ipod wasn't switching on , and when it did, all the data, including all my songs were deleted. Now, when I try syncing it to the mac, it doesn't connect to the itunes and I keep getting an alert saying ' Mac osx can't repair the device'. Now, althought all the data is gone, the ipod still shows 30 gb free. What will happen if I partiton my ipod? How do I get it to start functioning again? Please help!

    Try a low level reformat of the iPod's hard drive to possibly try and repair some of its damage. Use the instructions in this article to walk you through the process.
    http://www.methodshop.com/gadgets/ipodsupport/erase/
    B-rock

  • Problem controlling the order of deletes

    Hello,
    I built a very simple example that uses two Java classes (Department and Employee) with a one-to-many relationship. The property "name" of class Employee maps to the primary key column of the EMPLOYEE table in the database. Now if I remove all employees from a department and then insert one employee who happens to have the same name as one of ex-employees, the things go wrong:
    [TopLink Info]: DatabaseSession(101)--acquire unit of work: 216
    [TopLink Info]: DatabaseSession(101)--Connection(102)--SELECT NAME FROM MACIEJ.DEPARTMENT WHERE (NAME = 'IT')
    [TopLink Info]: UnitOfWork(216)--begin unit of work commit
    [TopLink Info]: DatabaseSession(101)--Connection(102)--begin transaction
    [TopLink Info]: UnitOfWork(216)--Connection(102)--INSERT INTO MACIEJ.EMPLOYEE (NAME, FIRST_NAME, DEPARTMENT_NAME) VALUES ('Schinzel', 'Dieter', 'IT')
    [TopLink Info]: UnitOfWork(216)--Connection(102)--DELETE FROM MACIEJ.EMPLOYEE WHERE (NAME = 'Marczukajtis')
    [TopLink Info]: UnitOfWork(216)--Connection(102)--DELETE FROM MACIEJ.EMPLOYEE WHERE (NAME = 'Schinzel')
    [TopLink Info]: DatabaseSession(101)--Connection(102)--commit transaction
    [TopLink Info]: UnitOfWork(216)--end unit of work commit
    [TopLink Info]: UnitOfWork(216)--release unit of work
    This happens also when I am using the method setShouldPerformDeletesFirst(true). The deletes are still executed after the insert. The code follows.
    ExpressionBuilder builder = new ExpressionBuilder(Department.class);
    Expression constraint = builder.get("name").equal("IT");
    UnitOfWork uow = this.session.acquireUnitOfWork();
    uow.setShouldPerformDeletesFirst(true);
    Department dep = (Department) uow.readAllObjects(Department.class, constraint).get(0);
    uow.logMessages();
    dep.removeAllEmployees();
    // Employee emp = new Employee();
    Employee emp = (Employee) uow.registerObject(new Employee());
    emp.setName("Schinzel");
    emp.setFirstName("Dieter");
    dep.addEmployee(emp);
    uow.commit();
    Another problem I encountered is that I have to use registerObject() on the new Employee (still if the value of "name" is identical to one of the employee's names that I am removing), because otherwise I am getting this:
    Local Exception Stack:
    Exception [TOPLINK-6004] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.QueryException
    Exception Description: The object [cern.toplink.try1.Employee@ec[ name: Schinzel ; 1st name: Dieter ; dep: IT ]], of class [class cern.toplink.try1.Employee], with identity hashcode (System.identityHashCode()) [236],
    is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
    but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
    registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
    help debug where the error occurred. For more information, see the manual or FAQ.
    I would appreciate any hints how I can force the deletes to happen before the insert.
    Cheers,
    Maciej

    You cannot have two different objects in the same unit of work with different primary keys.
    You must either update the object instead of deleting and inserting it, or split the operation across two units of work.
    The setShouldPerformDeletesFirst only applies to publicly deleted objects, not objects that are deleted through private owned relationships. If you did not mark the relationship as private-owned and deleted the objects through uow.deleteObject then the deletes would be processed first. However you should still try to avoid having two different objects with the same primary key in the same unit of work.

Maybe you are looking for

  • Firefox will not start and Firefox.exe process will not end!

    Good evening, I am typing this on Internet Explorer, and Google Chrome seems to refuse to install. I have been experiencing considerable trouble with launching FF. Whenever I double-click the icon, FF does not launch. There are no error mesages, the

  • Wish List for Separation Preview

    1. Fully functional Ink Manager with editable Linescreen, Angle, Dot Shape and Ink Type. 2. Ink Type choices of at least Normal, Die and Varnish. 2. Black & White View with positive and negative options. 3. Select by color. 4. Ability to print separa

  • Can't fix Java under Leopard - help!

    I was using Tiger with Java 1.6 SE set as the default. I then upgraded to Leopard and have found that 1.6 is not supported (ok, in my haste, I didn't research this properly). However, now, I'm stuck because I can't switch the default back to 1.5. Whe

  • FileWriter to write bytes

    Hi can I use the FileWriter class to write bytes arrays int a file or its exclusive for text? I used to use the common output streams (DATA and FILE) but for the appending issue I want to use the FileWriter. So, will it write correctly bytes instead

  • Creating Buttons from Photoshop Layers

    Hi, I am actually a designer trying to supply someone with a DVD menu template. They are using DVD Studio Pro. I've sent the files as layered Photoshop .PSD files with the proper aspect ratio & size. The text that needs to be made into menu buttons I