Back order line in transact move order form , drived the inventory negative

Hi,
I had problem with transacting some lines in several move orders (it was stuck and giving error each time I tried to transact or delete from view update allocation –> delete line)
In order to cancel these lines to proceed the manufacturing process I back ordered those lines by:
Inventory super user - > move orders - > transact move order - > tools - > back order line
Note that the move orders type was Manufacturing Pick
Now I noticed that this drives the WIP subinv Negative for those items .
So what is the problem and how can I solve it?
Thank you
Edited by: Ahmed.Abbas on Apr 16, 2011 2:39 AM

hi,
The problem was in the interface managers (Material transaction , Move transaction ) were inactive , i launched them
Review note 141493.1 in metalink to know how.
I also deleted the pending transactions with errors from mtl_material_transactions_temp and mtl_transaction_lots_temp ( the items were lot control ) .
Thats all :)

Similar Messages

  • How to add new line in transact move order line

    Hi,
    i am able to update locaotr in Transact move order.
    But i want to add two locators for the same line.
    I tried to insert one more record in data base, but getting error unique index error.
    so how can we add new line in transact move order line .
    please help to slove this isse.
    Thanks In Advance
    Venu.

    Hi,
    the fact that your question is posted in Order Management section, does the move order automatically generated by OM?
    nevertheless, i don't think you should (or allowed, in this case) to add a new line in transact move order. Transact move order only queries (not create records) the move order lines eligible to allocate and transact.
    So, I don't see why you need to add a new line in transact move order.
    You can, however, add a new line in the allocation of the lines, where for instance, you need to have half of the line allocated to one locator, and the other half to another locator
    Thanks

  • How to restrict Sales Order LOV in Transact Move Orders

    Hello
    We would like to restrict LOV in the Transact Move Orders screen to only those orders that were created in that specific Operating Unit. Also, we would like to control the LOV for Release Rules to a specific OU.
    I believe the LOVs for both these screens pull from MTL_SALES_ORDERS. Therefore, I guess we would need to create a Value Set of type Table, value will be SEGMENT1 (Sales Orders) but unsure about the where condition.
    Any help would be appreciated.
    Sanjib

    Sanjib
    Release Rules: Why don't you use the SRS version if pick releasing rather than the screen. Ofcourse you lose some flexibility to enter order number and customer information. If screen is a must you can take the LOV from the existing form and create a new record group in the new form instance trigger. Add this peice to the lov sql to control the pick release rules result:
    (select 1 from org_organization_definitions cust_org
    where org.organization_id=cust_org.organization_id
    and operating_unit=FND_PROFILE.VALUE('ORG_ID'))
    This org is mtl_parmeters table used in LOV.
    2. Transact Move Orders: Instead of changing the LOV and playing with the Sales Order Flexfield, you can use the inventory organization security to control who can do a transaction. This will not change the LOV but definitely will control the access to the records after you have queried. As you know this is inventory or warehouse function not the OE function.
    You can try one idea though:
    Segment2 is order_type which is OU specific. You can create value set that picks the LOV from the order types table for a specific OU, assign that to the segment2 and create a security rule. This rule will have include and exclude rules. You include all the Order types that are in a specific OU and assign that rule to the resp of that OU where move order is transacted. This will limit the LOV of the order types to only those that are availble for that resp. I have not tried this but give it a shot.
    Thanks
    Nagamohan

  • After Transact Move Order the Supply/Demand Type Disappears in INVDVDSD

    1. SR#: 5474007.993
    2. URGENT Response Needed? (vs. the normal 48 hour or less reply time): Yes
    3. Customer: SIPA S.P.A.
    4. Oracle Apps Version: 11.5.9
    5. Error(s):None
    6. Problem Description/Question:
    1. A WIP job is creates and decriments the Available Quantity; but not the
    Current On-hand in the Supply/Demand Detail form.
    When a pick release is performed, they do not see the WIP job in the
    Supply/Demand Detail form and the Current On-hand does not change.
    2. After transact move order the supply/demand type disappear, available
    quantity at the top right side of the form increases, but there is no line with
    demand identifier wip discrete job = 12615.
    See: "ELTERM_SUPPLYDEMAND_after_patch.doc" at:
    http://gtcr.oracle.com/gtcr-dir/gtcr_12930/5474007.993/
    Is It the intended functionality?
    7. Steps taken to debug issue:
    web-iv "INVDVDSD pick release discrete job"
    Located several bugs:
    Bug 4885821 SCREEN VIEW SUPPLY/DEMAND ITEM NOT CORRECT
    BUG: 2991666 SUPPLY/DEMAND DETAIL FORM (INVDVDSD) DOES NOT
    SHOW ITEMS ON MOVE ORDERS
    BUG: 3671489 SUPPLY/DEMAND INQUIRY FOR ATP ONLY
    SUBINVENTORY INCLUDES NONATP DISCRETE JOBS
    Bug:3517095 MRP:ATP INQUIRY FROM WIP SHOWS WRONG RESULT
    However; none seem to provide a definitive explanation.
    Message was edited by:
    Bob Marchant

    Thx a lot for ur help dr.
    I have activated the material transaction interface and now the stock quantity has decreased.
    I just wish to confirm some points in the creation of the new Order Type.
    I have done the following setups:
    Order Category: Mixed
    Transaction type code: Order
    Fulfillment Flow: Order Flow - Generic
    Line workflow assignment: BO Line - Inventory Interface
    Default return line type: Credit Only Line
    Default order line type: BO Line - Inventory Interface
    Plz confirm if the setups parameters are ok especially the Default return line type: Credit Only Line
    Thanks a lot dr.

  • Issue in Transact Move order while updating serial number

    Hi All,
    We need to perform sales order issue of items present in particular subinventory.
    I am successful in creating sales order having one item .
    I did the pick release of the order using the api ,wsh_picking_batches_pub.create_batch and wsh_picking_batches_pkg.submit_release_request to release the batch.
    A move order got created , now I need to allocate the serial number for processing the move order,I used the below script to update the line record with incoming start and end serial number.
    But the api is throwing error .
    DECLARE
    -- Common Declarations
       l_api_version      NUMBER                                 := 1.0;
       l_init_msg_list    VARCHAR2 (2)                          := fnd_api.g_true    ;
       l_return_values    VARCHAR2 (2)                         := fnd_api.g_false;
       l_commit           VARCHAR2 (2)                         := fnd_api.g_false;
       x_return_status    VARCHAR2 (2);
       x_msg_count        NUMBER                                 := 0;
       x_msg_data         VARCHAR2 (255);
       -- WHO columns
       l_user_id          NUMBER                                 := -1;
       l_resp_id          NUMBER                                 := -1;
       l_application_id   NUMBER                                 := -1;
       l_row_cnt          NUMBER                                 := 1;
       l_user_name        VARCHAR2 (30)                          := 'OPERATIONS';
       l_resp_name        VARCHAR2 (30)          := 'MFG_AND_DIST_SUPER_USER_APS';
       -- API specific declarations
       l_header_id        NUMBER                                 := 0;
       l_trohdr_rec       inv_move_order_pub.trohdr_rec_type;
       l_trohdr_val_rec   inv_move_order_pub.trohdr_val_rec_type;
       l_trolin_tbl       inv_move_order_pub.trolin_tbl_type;
       l_trolin_val_tbl   inv_move_order_pub.trolin_val_tbl_type;
       x_trolin_tbl       inv_move_order_pub.trolin_tbl_type;
       x_trolin_val_tbl   inv_move_order_pub.trolin_val_tbl_type;
       x_trohdr_rec       inv_move_order_pub.trohdr_rec_type;
       x_trohdr_val_rec   inv_move_order_pub.trohdr_val_rec_type;
    -- Cursor to load Move Order Headers
    -- CURSOR c_mo_hdrs IS
    -- SELECT * FROM my_custom_move_order_hdrs ;
    BEGIN
       fnd_global.apps_initialize (5939, 50625, 20003);
       mo_global.init ('INV');
       -- call API to create move order header
       DBMS_OUTPUT.put_line
                       ('=======================================================');
       DBMS_OUTPUT.put_line ('Calling INV_MOVE_ORDER_PUB.Get_Move_Order API');
       inv_move_order_pub.get_move_order (p_api_version_number      => l_api_version,
                                          p_init_msg_list           => l_init_msg_list,
                                          p_return_values           => l_return_values,
                                          x_return_status           => x_return_status,
                                          x_msg_count               => x_msg_count,
                                          x_msg_data                => x_msg_data,
                                          p_header_id               => 7360068,
                                          p_header                  => NULL,
                                          x_trohdr_rec              => l_trohdr_rec,
                                          x_trohdr_val_rec          => l_trohdr_val_rec,
                                          x_trolin_tbl              => l_trolin_tbl,
                                          x_trolin_val_tbl          => l_trolin_val_tbl
       DBMS_OUTPUT.ENABLE ();
       DBMS_OUTPUT.put_line
                        ('=======================================================');
       DBMS_OUTPUT.put_line ('Return Status: ' || x_return_status);
       IF (x_return_status <> fnd_api.g_ret_sts_success)
       THEN
          DBMS_OUTPUT.put_line ('Error Message :' || x_msg_data);
       END IF;
       -- Print the Move Order Header/Lines to be processed
       IF (x_return_status = fnd_api.g_ret_sts_success)
       THEN
          DBMS_OUTPUT.put_line (   'Header :'
                                || l_trohdr_rec.header_id
                                || ' '
                                || l_trohdr_rec.request_number
                                || ' '
                                || l_trohdr_rec.date_required
                                || ' '
                                || l_trohdr_rec.from_subinventory_code
                                || ' '
                                || l_trohdr_rec.header_status
                                || ' '
                                || l_trohdr_rec.organization_id
                                || ' '
                                || l_trohdr_rec.status_date
                                || ' '
                                || l_trohdr_rec.to_subinventory_code
                                || ' '
                                || l_trohdr_rec.transaction_type_id
                                || ' '
                                || l_trohdr_rec.move_order_type
                                || ' '
                                || l_trohdr_rec.operation
          l_trohdr_rec.from_subinventory_code := 'CustRet';
          --l_trohdr_rec.to_subinventory_code := 'Staging';
          l_trohdr_rec.operation := inv_globals.g_opr_update;
          DBMS_OUTPUT.put_line (   'Header Update :'
                                || l_trohdr_rec.header_id
                                || ' '
                                || l_trohdr_rec.from_subinventory_code
                                || ' '
                                || l_trohdr_rec.to_subinventory_code
                                || ' '
                                || l_trohdr_rec.operation
          FOR i IN 1 .. l_trolin_tbl.COUNT
          LOOP
             DBMS_OUTPUT.put_line (   'Line '
                                   || i
                                   || ': '
                                   || l_trolin_tbl (i).line_id
                                   || ' '
                                   || l_trolin_tbl (i).line_number
                                   || ' '
                                   || l_trolin_tbl (i).line_status
                                   || ' '
                                   || l_trolin_tbl (i).organization_id
                                   || ' '
                                   || l_trolin_tbl (i).inventory_item_id
                                   || ' '
                                   || l_trolin_tbl (i).from_subinventory_code
                                   || ' '
                                   || l_trolin_tbl (i).to_subinventory_code
                                   || ' '
                                   || l_trolin_tbl (i).quantity
                                   || ' '
                                   || l_trolin_tbl (i).status_date
                                   || ' '
                                   || l_trolin_tbl (i).uom_code
                                   || ' '
                                   || l_trolin_tbl (i).operation
             l_trolin_tbl (i).from_subinventory_code := 'CustRet';
             --l_trolin_tbl (i).to_subinventory_code := 'Staging';
             --l_trolin_tbl (i).inventory_item_id := 19128;
             l_trolin_tbl (i).serial_number_start := '356030032497361';
             l_trolin_tbl (i).serial_number_end := '356030032497361';
             --l_trolin_tbl(i).quantity       := l_trolin_tbl(i).quantity
             l_trolin_tbl (i).operation := inv_globals.g_opr_update;
             DBMS_OUTPUT.put_line (   'Line Updated'
                                   || i
                                   || ': '
                                   || l_trolin_tbl (i).line_id
                                   || ' '
                                   || l_trolin_tbl (i).from_subinventory_code
                                   || ' '
                                   || l_trolin_tbl (i).to_subinventory_code
                                   || ' '
                                   || l_trolin_tbl (i).serial_number_start
                                   || ' '
                                   || l_trolin_tbl (i).serial_number_end
                                   || ' '
                                   || l_trolin_tbl (i).operation
          END LOOP;
       END IF;
       DBMS_OUTPUT.put_line
                        ('=======================================================');
       -- call API to create move order header
       DBMS_OUTPUT.put_line
                        ('=======================================================');
       DBMS_OUTPUT.put_line ('Calling INV_MOVE_ORDER_PUB.Process_Move_Order API');
       inv_move_order_pub.process_move_order
                                           (p_api_version_number      => l_api_version,
                                            p_init_msg_list           => l_init_msg_list,
                                            p_return_values           => l_return_values,
                                            p_commit                  => l_commit,
                                            x_return_status           => x_return_status,
                                            x_msg_count               => x_msg_count,
                                            x_msg_data                => x_msg_data,
                                            p_trohdr_rec              => l_trohdr_rec,
                                            p_trohdr_val_rec          => l_trohdr_val_rec,
                                            p_trolin_tbl              => l_trolin_tbl,
                                            p_trolin_val_tbl          => l_trolin_val_tbl,
                                            x_trohdr_rec              => x_trohdr_rec,
                                            x_trohdr_val_rec          => x_trohdr_val_rec,
                                            x_trolin_tbl              => x_trolin_tbl,
                                            x_trolin_val_tbl          => x_trolin_val_tbl
       DBMS_OUTPUT.put_line
                        ('=======================================================');
       DBMS_OUTPUT.put_line ('Return Status: ' || x_return_status);
       IF (x_return_status <> fnd_api.g_ret_sts_success)
       THEN
          DBMS_OUTPUT.put_line ('Error Message :' || x_msg_data);
          ROLLBACK;
         ELSE
         COMMIT;
       END IF;
       DBMS_OUTPUT.put_line
                        ('=======================================================');
    -- END LOOP;
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line ('Exception Occured :');
          DBMS_OUTPUT.put_line (SQLCODE || ':' || SQLERRM);
          DBMS_OUTPUT.put_line
                       ('=======================================================');
    END;
    Error Log
    =======================================================
    Calling INV_MOVE_ORDER_PUB.Get_Move_Order API
    =======================================================
    Return Status: S
    Header :7360068 7360067 15-JUL-13  7 281 15-JUL-13   3
    Header Update :7360068 CustRet  UPDATE
    Line 1: 6730069 1 7 281 19119  Staging 1 15-JUL-13 UN
    Line Updated1: 6730069 CustRet Staging 356030032497361 356030032497361 UPDATE
    =======================================================
    =======================================================
    Calling INV_MOVE_ORDER_PUB.Process_Move_Order API
    Inv Item Id19119
    Old Inv Item Id19119
    Inv Item Id-356030032497361
    Item Id
    Org Id281
    Serial Number356030032497361
    =======================================================
    Return Status: E
    Error Message :INV_INV_INVALID_ATTRIBUTE_N_ATTRIBUTE_Start serial number
    Please help to solve the issue.
    Thanks,
    Shruti K. Nayak

    Hello Ganesh,
    Hope you have passes this issue.
    I am in the same boat, I need to find out the APIs to update the serial numbers on order at the time of allocation/transact move order step.
    Could you please help me with the process/steps/sample code involved in this.
    Thanks in advance!
    Raj

  • Transact move order API for serial contril item in 10.5.10.2

    Hello Friends ,
    I need a Help from you , I am badly got struck up. I need to the transact move order part of O2C Cycle Using APIs.
    I Could complete the flow upto transact move orders, there i got struck up. Here i need to pass the serial numbers as some of the Items are serialized items.
    Can you plz suggest me.
    Its in Very Urgent.
    i am using version 11.5.10.2
    Regards
    Ganesh

    Hello Ganesh,
    Hope you have passes this issue.
    I am in the same boat, I need to find out the APIs to update the serial numbers on order at the time of allocation/transact move order step.
    Could you please help me with the process/steps/sample code involved in this.
    Thanks in advance!
    Raj

  • How to update UDF of sales order line of closed sales order header

    Hello experts,
    We are using SAP 8.81.313  PL 05  and we noticed that through SDK using businessobject SAPbobsCOM.BoObjectTypes.oOrders,  we can't update an user defined field on sales order line for a sales order with header closed.
    calling the method  Update()   it returns 0  but actually the table field  was not changed !
    Also we noticed that It's possible to make an update of UDF of delivery line for a delivery with header closed.
    I don't understand why.
    Is it a bug or the expected behavior ?
    Our customer needs to change some UDF of sales order line even when the order header is CLOSED.
    Please help me.
    Many thanks for your time.
    Best regards
    Andrea

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • 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

  • API to update a allocation and transact move orders.

    Hi All,
    This is for R12 in INV org (NON WMS enabled). Is there a way to update the move order allocation for a pick wave to update the picked quantity and set the missing quantity action to Cycle Count?
    Thanks
    Amit

    We have exact the same requirement here with serial controlled items.
    But you can refer to note 269144.1 firstly.

  • Adding Sales Order Lines repeating for all orders

    I have a C# program whereby I am trying to get Sales Orders from one database (source) and create them in another database (destination). I asked a question on how to set the current line and was helped.
    The only problem now is that for all Business Partners, the lines being added are all the same (i.e. with the same row numbers and details as the first Sales Order to be entered)
    Source database (TCount represents the number of lines in the document & the DocNum each separate sales order)
    Destination database (compare columns with above)
    As you can see the rows of Source docnum 6 are repeated in the destination table always
    How can I fix it so that it adds the sales orders properly? My code snippet below:
    unaddedSOs = sList.Except(dList).ToList();
                // Add the Sales Orders that are missing to destination database
                SAPbobsCOM.Documents sboSO = (SAPbobsCOM.Documents)oCompanyDestination.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);
                if (unaddedSOs.Count > 0)
                    // Loop through unadded Sales Orders
                    foreach (var item in unaddedSOs)
                        // Set properties of the Sales Order object
                        sboSO.CardCode = item.cardCode;
                        sboSO.CardName = item.cardName;
                        sboSO.DocDate = item.docDate;
                        sboSO.DocDueDate = item.docDueDate;
                        // Add Sales Order Document Lines
                        SAPbobsCOM.Recordset rsLines = oCompanySource.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                        // Get Sales Orders from source database                   
                        rsLines.DoQuery("SELECT ItemCode, Quantity, Price FROM RDR1 WHERE DocEntry = '" + item.docNum + "'");
                        rsLines.MoveFirst();
                        if (rsLines.RecordCount > 0)
                            int row = 0;
                            while (!rsLines.EoF)
                                sboSO.Lines.SetCurrentLine(row);
                                sboSO.Lines.ItemCode = rsLines.Fields.Item("ItemCode").Value;
                                sboSO.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;
                                sboSO.Lines.Price = rsLines.Fields.Item("Price").Value;
                                sboSO.Lines.Add();
                                rsLines.MoveNext();
                                row++;
                        // Try to add the Sales Order to the database        
                        int lRetCode = sboSO.Add();
                        if (lRetCode != 0)
                            int temp_int = lErrorCode;
                            string temp_string = sErrorMsg;
                            oCompanyDestination.GetLastError(out temp_int, out temp_string);
                            // Incase adding a Sales Order failed
                            if (lErrorCode != -4006)
                                // Display error message
                                MessageBox.Show(lErrorCode + " " + sErrorMsg);
                MessageBox.Show("Syncing Complete!!!");
    Any help appreciated,
    Regards Kinyanjui

    Hi Kinyanjui,
    Are you using the same SO for all unadded orders?
    unaddedSOs = sList.Except(dList).ToList();
    // Add the Sales Orders that are missing to destination database
    if (unaddedSOs.Count > 0)
        // Loop through unadded Sales Orders
        foreach (var item in unaddedSOs)
            SAPbobsCOM.Documents sboSO = (SAPbobsCOM.Documents)oCompanyDestination.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);
            // Set properties of the Sales Order object
            sboSO.CardCode = item.cardCode;
            sboSO.CardName = item.cardName;
            sboSO.DocDate = item.docDate;
            sboSO.DocDueDate = item.docDueDate;
            // Add Sales Order Document Lines
            SAPbobsCOM.Recordset rsLines = oCompanySource.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
            // Get Sales Orders from source database               
            rsLines.DoQuery("SELECT ItemCode, Quantity, Price FROM RDR1 WHERE DocEntry = '" + item.docNum + "'");
            rsLines.MoveFirst();
            if (rsLines.RecordCount > 0)
                int row = 0;
                while (!rsLines.EoF)
                    sboSO.Lines.SetCurrentLine(row);
                    sboSO.Lines.ItemCode = rsLines.Fields.Item("ItemCode").Value;
                    sboSO.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;
                    sboSO.Lines.Price = rsLines.Fields.Item("Price").Value;
                    sboSO.Lines.Add();
                    rsLines.MoveNext();
                    row++;
            // Try to add the Sales Order to the database     
            int lRetCode = sboSO.Add();
            if (lRetCode != 0)
                int temp_int = lErrorCode;
                string temp_string = sErrorMsg;
                oCompanyDestination.GetLastError(out temp_int, out temp_string);
                // Incase adding a Sales Order failed
                if (lErrorCode != -4006)
                    // Display error message
                    MessageBox.Show(lErrorCode + " " + sErrorMsg);
            Marshal.ReleaseComObject(sboSO);
            GC.Collect();
    MessageBox.Show("Syncing Complete!!!");
    Best regards,
    Pedro Magueija

  • 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

  • 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

  • How to reprocess those Order (& Line) Status is Entered Orders

    We are fairly new to Oracle Apps.
    We process Sales order via backend API. There are some Orders created but have ENTERED status. In Oracle Apps, those orders' Schedule Ship Date is BLANK.
    Will the Schedule Ship Date automatically fill in later and send the order to BOOK status directly?
    Or we will have to reprocess those Orders via API again?
    (Our goal was to have the Order directly go to BOOKED status.)
    And Where can I look into and find out how the process was designed?
    Thank you very much for any advise.

    I am not sure whether you trying to bring in (import) the orders in the booked status or bringing them in entered and trying to book them later using some other means. Also it depends on whether you are using deferred booking (have to run background engine) or online booking.
    If you are bringing these orders in BOOKED status in the API the only reason I suspect is that the workflow behind these orders is not even started. Scheduled Ship Date has no bearing on booking (unless you have a processing constraint that says not to book the order unless scheduled ship date is there).
    To start with I will check whether there are rows in the table (wf_item_activity_statuses for the item_type ='OEOH' and item_key=to_char(order_header_id)) or check the workflow using either OM screen against the order or using workflow admin responsibility.
    Thanks
    Nagamohan

  • Queries for Open Sales Order Lines and Open Purchase Order Lines

    Experts,
    Forgive me if these have been addressed elsewhere but I can't find them.  I'd like to create two queries to use as Alerts as follows:
    1.  Query of open lines in Sales Orders that are more than two weeks old
    2.  Query of open lines in Purchase Orders that are more than 2 days old
    Thanks in advance for your help.
    Steve

    Hi Steve,
    A couple of query templates you can use for your alerts are as follows:
    Purchase Orders
    SELECT T0.\[DocNum\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[CardCode\], T0.\[CardName\], T1.\[ItemCode\], T1.\[Dscription\], T1.\[Quantity\], T1.\[OpenQty\], T1.\[Price\] FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.\[DocDueDate\] < (getdate() -2) AND  T1.\[LineStatus\] = 'O'
    Sales Orders
    SELECT T0.\[DocNum\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[CardCode\], T0.\[CardName\], T1.\[ItemCode\], T1.\[Dscription\], T1.\[Quantity\], T1.\[OpenQty\], T1.\[Price\] FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.\[DocDueDate\] < (getdate() -14) AND  T1.\[LineStatus\] = 'O'
    You can change the SELECT section to remove some of the columns or add extra columns if need be.  Once your happy with the query you can attach it to an alert and set the frequency.
    Regards,
    Adrian

  • How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item

    Hi,
    I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
    My Requirement is that the system should not allow for Goods Receipt for the Line Item.
    I know of 2 options which are difficult to Implement.
    1) I delete the Line item
    2) Put the delivery Completed Indicator - For this the system still allows for GR
    any Other way of Closing the line Item
    NS

    Hi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
    The Wizard comes only in the Copy From option,
    Close the Line item, by right clicking on that Line item and then 'close Row'
    Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM

Maybe you are looking for

  • How do I install my new hard drive?

    I recently purchased a Wetern Digital Scorpio 250GB PATA HD for my Toshiba M35X-S114.  This was the drive recommened on the Toshiba Laptop Accessories page.  I physically instaled the new drive but can't figure out how to get it started.  I used the

  • Help!! i have forgotten my password to my book on iBooks Author.

    i have absolutely no idea what it could be as my hint is Cartoon which doesn't help me at all. is there any way i can retrieve or reset this password?

  • Java.lang.NullPointerException: null  error sending email

    I built a very simple process: Here are settings for email startpoint: Email settings on server: My local mail server is working fine. When i send  an email to [email protected] i receive such answer: LiveCycle ES has tried to process your request an

  • A bug in the Music App in iOS 6.1

    I'm on an Iphone 5 running iOS 6.1. Is this happening only to me? I'm looking for a song by Janis Ian on the Music App, and as you can see in the capture, there aren't any songs by her in the library (after Janet Jackson is Jarcha)... but if I search

  • Shuffle contents not showing in itunes, license agreement wont go away

    When my shuffle is connected it does not show the contents in itunes. It shows that it is connected and the license agreement shows up in the window. After accepting the agreement it saves it to my computer but then still remains there. How do I get