Order line invoiced even it has a fulfillment set value

Hello all,
I am facing this issue with some SO....my order lines are getting invoiced even it has the fulfillment set value...let me explain with an example:
I have SO with 3 lines, which have the same fulfillment_set value, lets say letter "A" is the value for the 3 lines....
When lines get closed and invoiced...i get a different invoice for each line....for example:
Line 1 has invoice B
Line 2 has invoice C
Line 3 has invoice D
Somebody know why?
As far as i know, the 3 lines should get the same invoice number because they have the same fulfillment_set value.....
I would appreciate to get an answer from you guys....
Thanks in advance

If the lines are part of the fullfilment set then they will fulfill together.
Say you have 3 lines
L1
L2
L3 and all are part of same fulfillment set , and suppose L1 and L2 are already shipped , but L3 is not yet shipped .In that case workflow for L1 and L2 will remain at FULFILL_LINE - Notified status and status for these lines will be AWAITING_FULFILLMENT, and once L3 will be shipped and workflow background process will be complete, L3 will Push itself , L1 and L2 to invoicing and finally close.
But in your case some lines though part of Fulfillment set are already reached to either Invoiocing or closed but some other lines of same set are not yet shipped, In such a case best solution is remove the open lines from the set and progress them as Individual lines.
check my blog eoracleapps.blogspot.com for more details.
Regards
eoracleapps.blogspot.com
Edited by: 874289 on Jul 21, 2011 11:20 PM

Similar Messages

  • How to cancel a Move Order line using API

    Hi
    I have a requirement, where I have to cancel Move order lines.
    At times, multiple Move order lines are getting created for the same Sales order line.
    Even after the Sales Order line is shipped and closed, the move order line is still open and it also has a corresponding pending transaction in mtl_material_transactions_temp table.
    I came across INV_MOVE_ORDER_PUB.process move order line API.
    how do I use it to cancel the move order line. Any sample codes would be highly welcome.
    Thanks

    Finally, found an alternate solution.
    used the following code.
    ===================================
    SET serveroutput on size 1000000
    DECLARE
    l_return_status VARCHAR2(100);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_user_id NUMBER;
    l_resp_id NUMBER;
    l_appl_id NUMBER;
    l_org_id NUMBER := &org_id;
    l_move_order_line_id NUMBER := &mo_line_id ;
    BEGIN
    SELECT user_id
    INTO l_user_id
    FROM fnd_user
    WHERE user_name = 'PRAWILNSON';
    SELECT responsibility_id
    ,application_id
    INTO l_resp_id
    ,l_appl_id
    FROM fnd_responsibility_vl
    WHERE responsibility_name = 'Order Management Super User';
    FND_GLOBAL.apps_initialize (l_user_id, l_resp_id, l_appl_id);
    MO_GLOBAL.set_policy_context ('S', l_org_id);
    MO_GLOBAL.init;
    DBMS_OUTPUT.put_line ('Calling INV_MO_BACKORDER_PVT to Backorder MO');
    DBMS_OUTPUT.put_line ('===============================');
    inv_mo_backorder_pvt.backorder (p_line_id => l_move_order_line_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data);
    DBMS_OUTPUT.put_line ('Return Status is : '|| l_return_status);
    -- Check Return Status
    IF l_return_status = fnd_api.g_ret_sts_success THEN
    DBMS_OUTPUT.put_line ('Successfully BackOrdered the Move Order Line');
    COMMIT;
    ELSE
    DBMS_OUTPUT.put_line ('Could not able to Back Order Line Due to Following Reasons' );
    ROLLBACK;
    FOR j IN 1 .. l_msg_count LOOP
    FND_MSG_PUB.get(p_msg_index => j
    ,p_encoded => fnd_api.g_false
    ,p_data => l_msg_data
    ,p_msg_index_out => l_msg_index);
    DBMS_OUTPUT.put_line ('Error Message is : '|| l_msg_data);
    END LOOP;
    END IF;
    END;
    /

  • Restrict purchase order line item selection in MEMASSPO

    How to restrict in authorizations of role which purchase order line item can be selected by user in the memasspo.
    I have a scenario where Business wants that no user should be allowed to select all the Purchase Order line items rather should be displayed sub set of the entire purchase Order line items while attempting to do mass change in the PO created.
    Thanks & Regards,
    Abhimanu

    The mass transaction is meant to change many POs and their items at one time.
    The user can not change anything with mass which he cannot do in ME22N.
    if he can do it in ME22N, why should he not be able to do it in MEMASSPO?
    Based on what criteria should a item be restricted from a change in your special case, how do you define your subset?

  • Sales order line with status calcelled picked by auto invoice program

    I cancelled  one line in Sales Order and Shipped remaining lines
    after Ship Confirm process ,I ran workflow background process.
    I am getting cancelled line information to AR interface tables
    when I run Auto invoice amount is sitting in Unearned account
    The status of cancelled line -  Cancelled
    Flow status code is cancelled
    INVOICE_INTERFACE_STATUS_CODE I AM SEEING is YES for that line.
    Why the cancelled Sales order line is picked by auto invoice program?
    Thanks,
    John

    Hi Ivruksh,
    Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
    Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
    Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
    Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
    Thanks in advance.
    Regards
    Srinivas

  • AR Invoice Presentation / Invoice Lines diff than Sales Order Lines

    Hi,
    Due to business rules I got the following requirement, I'd like to get advice or second opinions please:
    Instead of showing 200 lines we want to show 1 line in the invoice summarizing the job done.
    The requirement is:
    The invoice should summarize the Order Lines, meaning that we want to have different lines in the invoice than those in the orders composing the invoice. The total amounts must equal between both, the invoice and the orders lines been invoiced.
    For example:
    We need to create an Invoice for 2 Sales orders with 10 lines each, each line for $1 usd.
    The invoice could be in any of these situations:
    - Having only one line composing the 2 orders. The invoiced amount is $20.
    - Having 2 lines composing the 2 orders. The invoiced amount is $20 ($10 line 1, $10 line 2)
    The description on the invoice lines must be completly open.
    Internaly, the link/reference between the invoice line and the order line(s) composing it must be kept.
    This must work with 1 or more Sales Orders (partial or complete)
    Can be done via autoinvoice or not. (The user is able to compose and reference the invoice manually)
    ¿Is there already something done that I can use? Just point me on one direction and I'd be happy to investigate.
    I already have 1 or 2 ideas of how to achieve this without customizing at all.
    Just wanted to check and get advice and second opinions on this before taking a decision.
    Technical Spec:
    Oracle EBS 11i (11.5.10.2)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Thanks in advance.
    Juan Alcocer

    seems to error
    APP-AR-11526
    ORA-28115
    seems the security policy is implemented at your database leval and check which ID you are using to insert the record.Check with your DBA, for security to resolve first for ORA-28115.
    Disabled in case if you have any custom triggers defined on RA_CUSTOMER_TRX_ALL.
    Few Documentation for ORA-28115
    ORA-28115 with EXEMPT ACCESS POLICY privilege
    A user USER1 has been granted select, insert, update, delete on all
    tables of an application schema (USER2) that uses row-level security.
    The RLS policies cover select, insert, update, and delete, and have check option enabled. USER1 has also been granted EXEMPT ACCESS POLICY system privilege.
    Each table in the USER2 schema has a trigger that causes insertion of
    a row into an audit table whenever DML is performed. When USER1 performs DML on a USER2 table, the operation fails with

  • Posting multiple invoices against single purchase order line item

    Hi,
    We receive invoices on completion of certain milestones and Goods receipt is done when the final lot of material is delivered.  For example the purchase order may be to deliver 1 quantity of Machine.  Material is supplied in bits like Gear Box, Engine and body.  Invoice is received when Gear Box, Engine is supplied. Final invoicing is received on completion of delivery (taking into account what has already been delivered)
    Goods Receipt in SAP needs to be posted only once when complete machinery is delivered (the tracking for different parts delivered is done outside SAP).  However, the multiple invoice needs to be posted in SAP referring to same PO item (Please note PO quantity for complete assembled material is only 1).
    This needs to be treated as material and not service in SAP.  Can you please suggest how to book multiple invoices for same purchase order line item?
    Thanks

    Hi Charan
    Thanks for your reply.  However, both the options are not feasible.  Invoices can be received in different periods, sometimes over different months or years, hence needs to be booked immediately.
    Also, i cannot create material master for each component as the quantity for the final material is only 1.
    Any other alternatives?
    regards
    Sameer

  • How to show logic of picking multiple stores to fulfill an order line item

    I'm still learning some basics with OPA.
    How do I represent the logic of picking multiple stores to fulfill an order line item when no one store has the requested quantity? A concrete example would be greatly appreciated as I'm still thinking procedurally for solutions.

    Hi!
    I believe this is following on from the thread:
    Calculating least cost of a product across stores using OPA
    So I'm assuming we're using a similar data model.
    If we want to involve quantity as well as cheapest price, then I'm assuming the requirement is:
    Find the cheapest price for the product from all the stores which still have quantity left of that product.
    This is where inferred relationships come in handy.
    Here is an example of what you can do with them to help solve this requirement.
    the store is a member of the product's stores if
    .ExistsScope(the store's prices)
    ..the price's product name = the product name
    the store is a member of the product's stores with remaining stock if
    .the store is a member of the product's stores and
    ..ExistsScope(the store's quantities)
    ...the quantity's product name = the product name and
    ...the quantity's amount > 0
    Then we basically want to pick the cheapest price for the product from the members of the relationship "the product's stores with remaining stock"
    Note that "the product's stores with remaining stock" could obviously be many instances, all with different prices. But for an order, a product needs to come from only one place! The deciding factor to "pinpoint" one place from this potential list of many could be based on anything, such as location, sales ranking, etc. But in this case Im going to assume lowest price is the decider.
    In the previous post we created a simple relationship between "the product" and "the prices" (which are contained by the store).
    We can make a more powerful relationship now:
    the price is a member of the product's available prices if
    ForScope(the price's store, the main store)
    .the main store is a member of the product's stores with remaining stock
    (I'm using an alias here to be 100% sure of which store is in scope)
    Now we can use the rules in the previous post, but change the relationship to the more advanced one we just created:
    the product's cheapest available price = InstanceMin(the product's available prices, the price's amount)
    Then
    the product's cheapest available store name = InstanceValueIf(the product's available prices, the price's store name, the price's amount = the product's cheapest available price)
    This is all psuedo code so many need some slight tweaks when you put it into OPM. Make sure you set up the relationships in a property file and declare all the attributes etc.
    Inferred relationships are really useful as "filters" sometimes. Here we first filtered all the stores which have prices for the product (i.e. have it in their catalogue). Then we filtered to get a list of all the stores which have stock remaining for the product. From that, we could find the cheapest available price.
    This is by no means the only way to do it! It's also by no means a simple problem but the great thing about OPA is that you can put all of the relationship config rules in the system rule folder / word doc, meaning that the source / business rules can still look relatively simple (in the end, it only took 2 lines of source rules to find the cheapest available price!). Once you've got the right set up and invested time in designing your data model, you will find it much easier to solve seemingly complex problems across entities.
    One word of warning though: if you have thousands of instances of prices, stores, products etc. then there is a performance impact of using many inferred relationships and alternatives should also be considered.
    Hope this helps!
    Feel free to contact me for more help on this. If you are relatively new to OPA and trying to tackle this you should consider investing in some training.
    Cheers,
    Ben

  • Sales order line cant be closed....the WF line has the status DEFERRED

    Hello,
    Hope you can help me out with this...
    I have sales order line which can not be closed because it has the status ORDER_CREATED_MANUFACTURING....when i check the Workflow and rewind the last activity which is DEFERRED it doesnt change, it keeps like that....somebody knows what is happening?

    Check if you have created a work order to fulfill the sales order line. Cancel the work order if you are not planning to ship the sales order line.
    Check if there are any reservations to that line. Cancel the reservations if you are not planning to ship the sales order line.
    Then check the line status - it should become awaiting shipping.
    Try to cancel now.
    Sandeep Gandhi

  • Sales Order Line in (Fulfilment) Status

    Hi,
    OM Sales Order Line is showing (Fulfillment) status, when I checked the WF.
    WF Line Level => Header Level Invoice interface- Line Defered => inside this function => ( Wait for invoice interface )
    It got stuck at ( Wait for invoice interface ).
    Some issue with Invoice Interface, it is waiting for Invoice Interface to be completed, not sure exactly what the issue is.
    Could you let me know how I can troubleshoot.
    Thanks

    Hello,
    Check the similar note in metalink
    Cannot Progress Sales Order Since Order Line is Stuck In PO-ReqRequested Status CTOPROCB.pls [ID 411955.1]
    I suggest you to followup with Oracle Dev team thru SR.
    Thanks
    -Arif.

  • Max.cond.base value - wrong line totals in Sales Order and Invoice

    Dear Experts,
        In my pricing procedure, I have set the field Max.cond.base value as 1 in VK12 (in additional data) for one of my condition type ZR16 . If Max.cond.base value is set as 1 for ZR16 condition type, the value for ZR16 will be considered only for the 1st quantity for that item. All subsequent quantities for that item will not be considered. This works fine in Sales Order and when I enter the same material in 2 line items with qty 1 each, only the first line item considers ZR16 value in total net value and the second line item does not consider the value of ZR16 in the total, which is correct.
        Problem arises when I create individual deliveries and individual invoices for each line item. Although the ZR16 value is not considered in the total for the second line item in the sales order the value is being considered in the invoice which is wrong. I tried various scenarios and found this issue arises only with domestic customer and not with overseas customer. Issue is that the line total value value calculated correctly in sales order is reflecting wrongly in Invoice when I use Max.cond.base value. I am confused if this is a pricing procedure related issue or copy control related. Please share your valuable inputs.
    Regards,
    Madhavan

    I tried various scenarios and found this issue arises only with domestic customer and not with overseas customer
    Compare the access sequence combination and condition record in both the above cases and check which one is differing and creating issue.
    the line total value value calculated correctly in sales order is reflecting wrongly in Invoice
    Again here also, compare the Analysis tab which should be self explanatory to find out the root cause of the issue.
    G. Lakshmipathi

  • Order line status is 'Awaiting Invoice Interface - Incomplete Data'.

    Hi
    Can anyone help me with the error message i am getting
    "Order line status is 'Awaiting Invoice Interface - Incomplete Data" and the order type is Internal Order for the sales order.
    When i am trying to progress the Sales order,I am getting the message Batch_source_name is required for invoice interface.I want to close the Sales Order.

    Hi,
    Following metalink id can be helpful
    Internal Order Line Status: Awaiting Invoice Interface - Incomplete Data [ID 1456386.1]
    Batch_Source_Name is required for Invoice Interface Error Prevents Invoicing [ID 343430.1]
    Edited by: 923198 on Sep 7, 2012 9:41 AM

  • Service Order Lines Print in Descending Order on Invoice

    When printing a service order invoice with multiple lines, the output for the invoice lists the order lines in descending order. Is there a way to change this so that the lines print in the same order? i.e (lines 1,2,3 print 3,2,1 and we want them to print 1,2,3)

    Hi
    See Note 646563 - Sorting of billing items according to characteristics
    Regards
    Eduardo

  • How to cancel "Order Line Fulfilled"?

    Dears,
    When I want cancel order ,it display :
    "You are not allowed to cancel Order Line because:
    Line Fulfilled"
    Is there any method to cancel the order line? Which column decide order line Fulfilled??

    Hi Sandeep Gandhi ,
    Thank you for your response.
    1.I wonder why the creditonly line created manually can be cancelled from screen?Also after lines be booked .
    But the retrobill line cannot cancel although the line status ='Entered'.
    2.I don't wnat canceling from sql but try to make the line not become "Fulfilled" before line created.

  • 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

  • Order related invoice created still showing in delivery due list

    Dear All,
    i am having an order type as ZSCR
    which is both order related billing and delivery related billing type assigned to it.
    both the order related and delivery related invoice is ZSCR
    the problem is that when ever i am creating a order related invoice the order still showing in the delivery duelist even the invoice is already created.
    so how to stop the order to come in delievry due list after it has invoiced.
    Thanks With Regards
    Subrat

    hi,
    if i understand correctly order related billing is done while you go for third party scenariio and delivery related billing is done when you deliver the goods
    if i am right in understanding, in third party scenario you change the item category from TAN to TAS whicn automatically will create a PR the schedule line category changes to CS which implies order is not relevant to delivery as your third party vendor will be doing the delivery so you dont do the delivery and your order willnot be shown in delivery due list.
    in the other case you follow the normal OTC cycle.
    regards,
    krishna

Maybe you are looking for