OM: Apply Hold after new a order line on line level..

Hi All,
There is an issue that we have to apply hold on line level when order is changed.(include update line or new line)
And we try to use trigger(with PRAGMA AUTONOMOUS_TRANSACTION) to call Apply Hold API.
It work when existed order lines are changed.
But it not work when new a order line, at the after-insert moment, it CAN NOT apply Hold on this immature order line.
How can we fulfill this requirement?
Or the requirement is nonsense...
Any suggestion will be appreciated.
Best regards,
Zhxiangl

R U going to use any bapi  to split the line items???

Similar Messages

  • Import new sales order line in existing sales order

    Hi All,
    I want to import new sales order line in existing sales order using these open Interface tables or APIs.
    I did some test but the import request always give me the error message:
    You are trying to insert an existing order or update an order that does not exist. Please enter a correct operation code.
    Help..
    BR,
    Edited by: user7993358 on 2011/5/26 下午 8:48

    Hi,
    The script available in Oracle Note 746796.1 may be of help with your troubleshooting.
    Cheers,
    Arun

  • Can anyone tell me how to insert the new sales order lines using API.

    Hi,
    I am trying to Insert new sales order lines using oe_order_pub.Process_Order API, but i am unable to insert.
    Help me on this.
    Thanks in Adavance
    Shravan Kumar.

    Hi,
    Have you checked this link?
    http://download-west.oracle.com/docs/cd/B25516_08/current/acrobat/115omapi.zip
    it has extensive information on OM APIs
    Regards
    Prashant Pathak

  • Manual override option for Unit selling price in Order line level.

    In OM R-12
    Our client wants manual override option for Unit selling price in Order line level.
    But there is no solution available to fulfill this requirment. To be able to manually override the price on a Sales Order line you
    must have defined a manual modifier that qualifies for the Sales Order line in question. Without a suitable manual modifier the price cannot be changed.
    This is current standard functionality.
    Anybody can give some suggestion/workaround to override selling price in Order header level without using the modifiers.
    regards,

    Hi Kashif,
    I'm finding it little difficult to buy Oracle Support's feedback with regards to R12 functionality for direct List Price update without using any modifier (manual or whatever). After all it is Oracle's product and they should know better. But test results in Solution Beacon's Vision 12.0.6 instance (http://www.solutionbeacon.com/tools_r12vision.htm) and documentation updates in R12 (R12.0.4) OM user guide & implementation manuals potray a different picture.
    After your last post, I did a test in Solution Beacon's Vision 12.0.6 instance with following details:
    OM: List Price Override Privilege = "Unlimited Access" at user level
    OM: Discounting Privileges = "None" at user level
    No manual modifiers defined and Order status = "Entered"
    I could display the "List Price" field from folder under Line Items >> Main tab, override the list price to a new value and save. The unit selling price showed the new value based on updated List Price as soon as I tabbed out of the list price field after overriding. After saving it showed the new selling price. _Please note that under Line Items >> Pricing tab there is another "List Price" field and that is not editable_. For such overrides "View Adjustments" (from Line >> Actions) will not show any adjustment details as it is a direct update of list price.
    Also please note that, if "Enforce List Price" checkbox is selected for the order type, the list price cannot be overridden even if the profile option is set to "Unlimited Access".
    Document References:
    Oracle® Order Management User's Guide
    Release 12, Part No. B28099-03, September 2007 >> R12.0.4
    Page No. 10-74
    +Note: Note: If any order line for an order has the Calculate Price Flag value equal to Partial Price or Freeze Price new order level adjustments will not be applied or allowed to be overridden. _The profile option OM: List Price Override  Privilege controls your ability to override the unit list price. If you have this profile set to Unlimited, you may modify the unit list price by editing the current value displayed_. The original list price is saved in a hidden folder field, so you can display it if necessary+.
    Page No. 10-94
    User Procedures
    _A new profile option, OM: List Price Override Privilege controls whether or not you can update the List Price_. It is enabled and updated at the application, responsibility and user level. It is not user visible and updatable. The values include+:
    - View Only: This is the default value. If set to this value, the current behavior is retained, which means unit list price field is protected.
    - Unlimited Privilege: If set to this value, you can override the unit list price field from the main tab and immediately see selling price adjusted accordingly.
    To use Override List Price:
    +1. Navigate to the Sales Orders/Quick Sales Orders window.+
    +2. Enter the header and line information, including the ordered item and quantity, then tab to the next field. The Selling Price and List Price display+.
    +3. If the profile is set to Unlimited Privilege, you can enter a new list price in the List Price field. You can either proceed to the next line or save your work+.
    +4. You can see the new, entered list price, and if there are automatic discounts applied, they will be based on the new list price+.
    +5. If the folder has been modified to show the Original List Price, the original list price displays+.
    +6. To change the List Price again, go to the list price field and enter a new value, replacing a previously entered value. If Audit Trail is enabled for List Price and a reason is required, a window appears to enter a reason and optional comments+.
    Note: Subsequent overrides of the List Price, after the order line is saved, can be captured by Audit Trail, depending on the setup of Audit Trail (entered or booked state) and any processing constraints that have been set up.
    In the OM Implementation Manual also there are notes related to this.
    OM Implementation Manual
    Release 12, Part No. B25975-03, September 2007 >> R12.0.4
    You can refer to page no. 2-59, C-4 etc.
    Thanks
    Supro

  • Enabling Points in order line level

    Hi Friends,
    The Requirment is like this..
    If a new system order is booked by sales Administration, i have to validate to check if part number,quantities and enabling points combination should be valid.
    But i don't know what is the enabling points in Order Management.
    Can any one tell me what is the enabling points in order line level .
    Thanks in Advance.
    Shravan Kumar Kota.

    Hi Friends,
    The Requirment is like this..
    If a new system order is booked by sales Administration, i have to validate to check if part number,quantities and enabling points combination should be valid.
    But i don't know what is the enabling points in Order Management.
    Can any one tell me what is the enabling points in order line level .
    Thanks in Advance.
    Shravan Kumar Kota.

  • Sales Order - Line Level Information in Info cube

    Hi BW Guru's,
    We are using the following scenario: -
    Info cube = Sales Order – Line level information (yes, we want to capture the product level sales order information in info cube for our internal reporting purpose)
    ODS = NO. we are not using the same
    Info Source – Same as data source (standard one)
    Data Source – 2LIS_11_VAITM (standard business content data source for sales order information)
    Delta in above data source = contract related information (5 extra fields) – working fine – added as append structure in the data source
    Extractor = Standard using SBIW - Perform setup - SD Sales Order (SD – 11)
    Number of Sales order line records / month = 80,000
    Historical Sales order data to be uploaded = 1 year = 80,000 * 12 = Nearly 1 Million records
    Hardware Configuration = 4 * 750 MHZ, 8 GB RAM
    Please advice on the following things: -
    1) How long it will take to upload 1 million records in BW?
    2) Does our server capacity sufficient enough to take 1 million load?
    3) Which delta procedure should we follow for day to day Sales Order line level data updation? Please advice on data selection procedure.
    4) In case, last month Sales Order is changed, how to reflect the same in our info cube? Please suggest the suitable method.
    Waiting for your reply.
    Thanks
    Rajiv

    Hi Rajiv,
    1) How long it will take to upload 1 million records in BW?
    This depends on your network, on the width of your data record, the performance of your machine, on the settings for communication between BW and R/3 ....
    It can be done in 2 hours, in 3 hours, it can take a whole day. There is no exact answer possible.
    2) Does our server capacity sufficient enough to take 1 million load?
    If your disc space is enough, no problem. If you already loaded your master data, there is not too much space necessary to load the transactional data.
    3) Which delta procedure should we follow for day to day Sales Order line level data updation? Please advice on data selection procedure.
    Just run your initial setup and initialize your delta. Run a daily delta package (this is what most companies do).
    4) In case, last month Sales Order is changed, how to reflect the same in our info cube? Please suggest the suitable method.
    The extractor takes care about this, just post the delta to your cube, that's it.
    Hope this helps,
    regards
    Siggi

  • Unit Cost is not Populating in Sales Order Line Level for OPM Enabled Org

    Dear All,
    This is to inform you that Unit Cost is not populating in Sales Order Lines. Ideally it should pick from OPM financials, but whenever i am running Cost Update it is throwing error. We need to pull out Unit Cost for Sales Analysis Report. Please suggest on the same ASAP. What are the steps needs be followed to populate the Unit Cost. Please suggest.
    Thanks & Regards,
    Patrick

    Hi
    I think it will pick from PRICE list. Why don't to you try by keeping this item in the mentioned Price list.
    Regards
    Raj

  • Update Unit Price at Order Line Level

    Hi Sir, Ma'am,
    Is there a way to enable user to update the Unit Price at Order Line Lever without updating the Price List?
    Thanks in Advance,
    Nuel

    You can also enable the different adjustment (Manaully update allowed) so that you can use the same and update the unit selling price.
    This will keep the price list as it is and it will show unit list price for item as Origanl Price.
    Regards,
    Aks

  • Unable to insert the new sales order line using API.

    Hi,
    when i am tring to insert the deleted line with ENTERED Status, i am getting the follwing error msg.
    Yesterday morning i insert the lines, but from yesterday evening onwords i am unable to insert line and i am getting below error msg.
    Item with inventory_item_id=394131 is not defined in Item validation Org
    i written the code like this
    l_step                     varchar2(250);
    l_err_msg               varchar2(1000);
    l_line_tbl                oe_order_pub.Line_Tbl_Type;
    lx_return_status           VARCHAR2(2000);
    lx_msg_count                NUMBER;
    lx_msg_data                VARCHAR2(2000);
    lx_header_rec                oe_order_pub.Header_Rec_Type;
    lx_header_val_rec           oe_order_pub.Header_Val_Rec_Type;
    lx_header_adj_tbl           oe_order_pub.Header_Adj_Tbl_Type;
    lx_header_adj_val_tbl           oe_order_pub.Header_Adj_Val_Tbl_Type;
    lx_header_price_att_tbl      oe_order_pub.Header_Price_Att_Tbl_Type;
    lx_header_adj_att_tbl           oe_order_pub.Header_Adj_Att_Tbl_Type;
    lx_header_adj_assoc_tbl      oe_order_pub.Header_Adj_Assoc_Tbl_Type;
    lx_header_scredit_tbl           oe_order_pub.Header_Scredit_Tbl_Type;
    lx_header_scredit_val_tbl      oe_order_pub.Header_Scredit_Val_Tbl_Type;
    lx_Header_Payment_tbl           oe_order_pub.Header_Payment_Tbl_Type;
    lx_Header_Payment_val_tbl      oe_order_pub.Header_Payment_Val_Tbl_Type;
    lx_line_tbl                oe_order_pub.Line_Tbl_Type;
    lx_line_val_tbl           oe_order_pub.Line_Val_Tbl_Type;
    lx_Line_Adj_tbl           oe_order_pub.Line_Adj_Tbl_Type;
    lx_Line_Adj_val_tbl           oe_order_pub.Line_Adj_Val_Tbl_Type;
    lx_Line_price_Att_tbl           oe_order_pub.Line_Price_Att_Tbl_Type;
    lx_Line_Adj_Att_tbl           oe_order_pub.Line_Adj_Att_Tbl_Type;
    lx_Line_Adj_Assoc_tbl           oe_order_pub.Line_Adj_Assoc_Tbl_Type;
    lx_Line_Scredit_tbl           oe_order_pub.Line_Scredit_Tbl_Type;
    lx_Line_Scredit_val_tbl      oe_order_pub.Line_Scredit_Val_Tbl_Type;
    lx_Line_Payment_tbl           oe_order_pub.Line_Payment_Tbl_Type;
    lx_Line_Payment_val_tbl      oe_order_pub.Line_Payment_Val_Tbl_Type;
    lx_Lot_Serial_tbl           oe_order_pub.Lot_Serial_Tbl_Type;
    lx_Lot_Serial_val_tbl           oe_order_pub.Lot_Serial_Val_Tbl_Type;
    lx_action_request_tbl           oe_order_pub.Request_Tbl_Type;
    v_hold_release_rec OE_HOLDS_PVT.order_tbl_type;
    v_hold_source_rec OE_HOLDS_PVT.Hold_Source_Rec_Type;
    v_err_msg               VARCHAR2(2000);
    v_return_flag VARCHAR2(1);
    v_err_flag               VARCHAR2(1);
    BEGIN     
    FOR c_ins_rec in (SELECT *          
              FROM terom_sales_order_lines_stg          
    LOOP
         IF c_ins_rec.flow_status_code = 'ENTERED' THEN
         -- ASSIGNMENT OF LINE RECORD FOR ENTERED STATUS
         l_line_tbl(1)           := OE_ORDER_PUB.G_MISS_LINE_REC;
         l_line_tbl(1).header_id      := c_ins_rec.header_id;
         l_line_tbl(1).inventory_item_id := c_ins_rec.inventory_item_id;     
         l_line_tbl(1).ordered_quantity := c_ins_rec.ordered_quantity;
         l_line_tbl(1).operation      := OE_GLOBALS.G_OPR_CREATE;      
    ELSE
         -- ASSIGNMENT OF LINE RECORD
         l_line_tbl(1)           := OE_ORDER_PUB.G_MISS_LINE_REC;
         l_line_tbl(1).header_id      := c_ins_rec.header_id;
         l_line_tbl(1).inventory_item_id := c_ins_rec.inventory_item_id;
         l_line_tbl(1).ordered_quantity := c_ins_rec.cancelled_quantity;     
         l_line_tbl(1).operation      := OE_GLOBALS.G_OPR_CREATE;
         END IF;
         -- API CALL
         APPS.OE_ORDER_PUB.PROCESS_ORDER(
                             p_api_version_number      => 1.0,
                             p_init_msg_list           => apps.fnd_api.g_true,
                             p_return_values           => apps.fnd_api.g_false,
                             x_return_status           => lx_return_status,
                             x_msg_count                => lx_msg_count,
                             x_msg_data                => lx_msg_data,
                             p_line_tbl                => l_line_tbl,
                             x_header_rec           => lx_header_rec,
                             x_header_val_rec           => lx_header_val_rec,
                             x_header_adj_tbl           => lx_header_adj_tbl,
                             x_header_adj_val_tbl      => lx_header_adj_val_tbl,
                             x_header_price_att_tbl      => lx_header_price_att_tbl,
                             x_header_adj_att_tbl      => lx_header_adj_att_tbl,
                             x_header_adj_assoc_tbl      => lx_header_adj_assoc_tbl,
                             x_header_scredit_tbl      => lx_header_scredit_tbl,
                             x_header_scredit_val_tbl     => lx_header_scredit_val_tbl,
                             x_line_tbl                => lx_line_tbl,
                             x_line_val_tbl           => lx_line_val_tbl,
                             x_line_adj_tbl           => lx_line_adj_tbl,
                             x_line_adj_val_tbl           => lx_line_adj_val_tbl,
                             x_line_price_att_tbl      => lx_line_price_att_tbl,
                             x_line_adj_att_tbl           => lx_line_adj_att_tbl,
                             x_line_adj_assoc_tbl      => lx_line_adj_assoc_tbl,
                             x_line_scredit_tbl           => lx_line_scredit_tbl,
                             x_line_scredit_val_tbl      => lx_line_scredit_val_tbl,
                             x_lot_serial_tbl           => lx_lot_serial_tbl,
                             x_lot_serial_val_tbl      => lx_lot_serial_val_tbl,
                             x_action_request_tbl      => lx_action_request_tbl
    COMMIT;
    can any one help me why this error mesg is coming, it's very URGENT.
    Thank,
    Shravan Kumar Kota.

    Hi,
    Have you checked this link?
    http://download-west.oracle.com/docs/cd/B25516_08/current/acrobat/115omapi.zip
    it has extensive information on OM APIs
    Regards
    Prashant Pathak

  • Global Attribute Usage -- Customization (Order Line level)

    Hi All,
    We have a requirement to capture some additional fields during order creation. We have already exhausted the attribute fields in the oe_order_lines_all table. So we are unable to create DFF using any of attribute fields.
    To achieve the functionality, we are analyzing the usage of global_attribute field. We have few doubts before using it,
    1. What is the significance of global_attribute fields. Can we use in DFF as we use Attribute fields
    2. Does oracle ever use the global_attribute fields for any of its purpose.
    Please provide some insight in using the global_attribute fields for our customization.
    Thanks,
    Rajesh SM.

    Hi Rajesh,
    I hope you would have got the solution for the same by now. I am also facing the same situation what you faced. We have consumed all attributes in OE_ORDER_HEADERS_ALL and would need minimum 4 more attributes for adding a new functionality which is required by business.
    I raised and SR with oracle asking if it is possible to extend the Order header DFF and got following response
    It is NOT possible to extend the available DFF columns since this will mean adding further columns to the base table which is not supported.
    I can give the below suggestions for your requirement.
    It might be easier to revisit your existing DFF fields and make better use of them - e.g.
    - any that are not user enterable or displayed, push to unused fields e.g. global_attributeXX
    - ensure context sensitivity is being used to make best use of available segments.
    - combine any related DFFs into one (often in combination with validation sets)
    - move any DFFs that are at a lower level of detail to the correct level of detail, eg. if it can be on the customer site rather than customer site use level, move it!
    Some updates to DFF fields may be necessary, but much easier than modifications.
    I am still in a fix to find the best possible solution. Can you please suggest how did you resolve the issue?
    Vikz
    Edited by: user13090130 on Sep 13, 2011 10:18 PM

  • Hold on order line is visible as an order header hold in order organizer

    Hi,
    When we create a hold on a sales order line, then we can see in the order organizer at order header level that the order is on hold (with the check box).
    We don't want this because then it looks like the complete order is on hold.
    We only want to see at the line level that the line is on hold for the specific lines that have a hold.
    Is there any way that we can avoid that an order line hold is visible as an hold in the order organizer at order header level ?
    Regards,
    Jan

    Standard functionality, I'm afraid. What that tick box is currently telling you is 'This order is on hold at header level OR one or more lines within the order are on hold'. What you're looking for is two hold statuses: 1) order header is on hold 2) one or more lines are on hold ... which you won't get without customizing the form.
    If it's really important to access more granular hold info without opening the order (though unfortunately not 'at a glance' and at the cost of a couple of extra clicks), you could always add a personalization message displayable for each row on the Organizer via the Actions menu and where the only limitation on content is your creative skills ;-)

  • Place back ordered lines on automatic hold

    Hi Folks,
    Is there a standard method to automatically place back ordered lines on hold? We are currnetly implementing EBS OM 12.1.3
    Looking at the workflow activities available in the holds form for OM Order Line, there is no back order activity.
    Has anyone come across this problem and come up with a solution?
    Thanks in anticipiation

    I am not sure what this question relates to - it might be an
    Oracle Order Management question.
    Hi All,
    I couldnt find much information about this report Lines On
    credit hold.I was having question ,is it possible to place
    cerdit hold on lines? Because as per my knowlage credit hold is
    order level hold not line level and looks like this report picks
    up lines on credit hold ,hows is possible.I was confuse.If any
    one has idea about it,pls let me know.
    regads

  • Discount Modifiers application @ Order Line

    Hi All
    I have requirement, where business needs to apply discounts @ order line level based on customer DFF ( Saying yes or no) and Order DFF(%) modifiers should apply automatically the % based on the inputs@Order DFF and Customer DFF, once its applied, additionally, after the booking process, down the line if we are adding new order lines, user should not be able to apply any discount/modifiers ( need to restrict users)
    Is this possible in R12
    Please let me know
    Krishna

    I believe this would be possible.  You'd have to create a custom pricing attribute based on the customer DFF to be used as a qualifier for your modifier.  Then I would attempt to use the "Get Custom Price" formula to do the calculation based on the order DFF. I'm not 100% clear on the requirements you stated about restricting users later - if you set the calculate_price field to "Frozen" on the order line, the pricing for that line will not change. 

  • Electronic Order Lines

    The Oracle E-Business Suite Applications Global Price List Software Investment Guide March 16 2009 (http://www.oracle.com/corporate/pricing/applications-price-list.pdf) has the following definition:
    Electronic Order Line: is defined as the total number of distinct electronic order lines entered electronically into the Oracle Order Management application from any source (not manually entered by licensed Order Management Users, Professional Users 2003, or Professional Users 2003 External) during a 12 month period. This includes order lines originating as external EDI/XML transactions and/or sourced from other Oracle and non-Oracle applications. You may not exceed the licensed number of order lines during any 12 month period.
    The price($) of an Electronic Order Line is listed as follows:
    License Price: 0.2300
    Minimum: 100,000
    We've been importing lines from external sources (e.g web, stores, etc) into Order Management for many years, and have never come across this licensing metric. It seems like a heavy price to pay for interfacing into Order Management (0.23 cents per line!). Does anyone have any experience in this area?
    Thanks in advance,
    Alex

    Sometimes it happened because of ATO Flag in ITEM Master. Remove this Flag from both Master Organization as well as from Inventory Organization (The Org which you are using in Sales Order Line).
    And also make sure 'Workflow Background Engine' is schedule to run for every 1 or 2 minutes (based on your requirements). Try to create a New Sales Order Line to verify the result.
    Try and do let us know.
    Regards,
    Khan.
    http://moreapps4u.blogspot.com/

  • Update a Customise status massage/Qty in Sales Order line at PGI

    Dear Gurus,
    We are new to SD and we are willing to implement a status update or the PGI Qty in the Sales order line level, at a PGI by using a Out bound Delivary or shipment document. We are willing to customise  condition group field  (VBKD-KDKG1) in addtional data A. is there a posibility of doing this or any other solution we can do for this. Your kind replies will be highly appriciated at this time.
    Thank.....
    Pubudu & Jeewana.

    Hi,
    It is possible through user-exit/Badi.
    To update PGI Status you can use user-exit "MB_CF001-Customer Function Exit in the Case of Updating a Mat. Doc." Or you can use BAdi "MB_DOCUMENT_UPDATE".
    To update Shipment document status you can use BAdi "BADI_LE_SHIPMENT-BadI: Shipment Processing".
    But how will you handle the partial delivery cases?

Maybe you are looking for

  • Showing preview of downloaded pis fails

    Hi there (second try), this is a often discussed matter AFAIK. There are synchronizing Problems when downloading pics into a component that displays the pics. This could be solved by using imageObservers or MediaTracker Objects (I tried them, but the

  • How do I add a forums system to my Dreamweaver project?

    I have downloaded a premade forum from phpBB.com When I got the files, all of them were .php files. But I dont get where to put them? I tried adding them to my root folder and then I previewed my whole site on Firefox but its just showing me my home

  • Correlation in bpm - Difference between activating and using correlation

    Hi    I would like to know the difference between between activating a correaltion and using a correlation in a step.

  • Iphone wont update to ios 6.0.1

    I am trying to update my iPhone 4 16gb to iOS 6.0.1. My iPhone is currently running iOS 4.3.3. I plug it in to my computer, iTunes recongizes it and tells me there is an update for it. so i proceed with it. I was able to download the OS but was unsic

  • Is 2.1 still dropping calls for you?

    It is for me. No improvement at all. Steve Jobs says this is a small issue and only a few people are experiencing it. Are you one of the few? I have four phone and all of them drop calls. This is not some remote area, this is in flat land around sout