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
Similar Messages
-
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 -
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
AndreaHi 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:48Hi,
The script available in Oracle Note 746796.1 may be of help with your troubleshooting.
Cheers,
Arun -
How 2 read all the line of a sales order text ID plz
Dear all
I have the following to read sales order text of single line of limited char(40)
TIDNO = '0003'.
CONCATENATE SSORD
LIPS-POSNR
INTO TNAME.
TOBJT = 'VBBP'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
WA_ITEM-PACKTYP = mslines-tdline(40).
EXIT.
ENDLOOP.
How do i read mutiple lines plz tell me ?
Thnx
Moni
Message was edited by: md monirujjamanHi Md,
sorry I don't understand your question, can you explain more ?
Regards
Frédéric -
Order Line status is Awaiting Shipping but the header status is Closed.
All,
I have few order lines which are in Awaiting Shipping Status but the order header is closed.
When I checked the Shipping Transactions, the lines are backordered.
I did release and ship confirmed the lines and now the line status is closed.
My understanding is that the header flow should not get closed until all the lines in are completed and closed.
But in this scenario, its not the case. Is it a bug (or) its the standard functionality (or) is there any way we can control this?
Please advise.
Thanks
-Karthik RajYou are correct - this is not supposed to happen. But every now and then Oracle workflow hiccups and causes these kinds of issues.
You can raise an SR and ask Oracle to give you a data fix script.
Or you can write your own script to reopen the header.
Sandeep Gandhi -
How update amount of charge line for a sales order line id
I have a modifier which are qualified for a order line id, i want to update the amount of charges if the Shipping date is > 1 day than resquest date, as I do not have the advances pricing module so i have to do a customization for this condicion.
I want to now how to update these, Does exist a API in order to do that ? or Can i go directly to oe_price_adjustments table and modify the data ??
Thanks
FernandoHi Fernando,
I'd probably do this in Adv. Pricing using a dynamic formula + factor list (two diff charge levels dependent on schedule ship date minus request date) against a booking event modifier. Obviously, you don't have dynamic formulas in Basic Pricing but could you handle this via creating a new pricing attribute? The charge levels could be maintained on a lookup rather than hardcoded and used in the calculation by your new pricing attribute.
Whatever approach you go for would also need to cope with the scenarios that you either rescheduled the order or manually amended the request date because obviously the gap between request date and SSD would change.
Your first suggestion is feasible, the second not a good move - I'm not sure how much it costs to licence Adv. Pricing but you could always offset the cost against the cost of developing and maintaining a custom update routine.
Regards,
Jon -
Order line status = picked
Order line item status = Picked on the OM form. However flow_status_code in oe_order_lines table shows 'AWAITING_SHIPPING' where does this "Picked" status come from?
The status can be queried from WSH_DELIVERY_DETAILS table.
RELEASED_STATUS is the column that maintains the status. This column is mapped with WSH_LOOKUPS lookup type = PICK_STATUS
http://sureshvaishya.blogspot.com -
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 AMhi,
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 :) -
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 KinyanjuiHi 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 -
How to Reprocess Outbound Idocs in Status 02 (Errors)
Hi,
I have an urgent problem. How do I re-process an Outbound IDoc in Status '02' (Error Passing Data to Port)
I have tried reprocessing this IDoc through BD87 using both the options Edit>Process and Edit>Restrict and Process, but it doesn't work
Please help as we are migrating cutover data from SAP to another system
Regards,
AdityaWorth to have a look at this thread
Error handling problem with outbound idoc status 02 and XML HTTP Port
Regards
Vivek
Reward points for all the useful answers -
How to delete a Item line in a Sales Order during Copy Control
I want to delete a Line item (VBAP ) record for a certain condition during Copying from reference . I am writing the code in the Data Transfer Routine 151 which is called through VOFM Transaction . I cannot delete it as it . it is a work area VBAP . When i Clear it in debugging i am only able to clear the Line items . I want to completely remove the line . Is there a user exit for the same .
Hi,
You should create a new copy requirement routine at item level in order to exclude the unwanted item.
Assign the requirement routine to each item category type in the copy control .
Regards,
Andrea -
How to create the service lines in a sales order using Process_order API
Hi ,
I have to create the service lines in a Config to order using process Order API. When i am trying to create a sercvice line , it is comming as new line all together. but i need that one to happen in the configuration itself after the option item but not like standalone line.
what are the manditory fields for service lines to create using Process_order API.
Apprciate your help on this.
Thanks
RagsModerator message - Please do some analysis before posting here - thread locked
Rob -
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.
SteveHi 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
Maybe you are looking for
-
Budgets in Investment Management
I am looking to introduce Investment Management. I am finding budgets very clunky, and far from user friendly, and I am wondering if there is a better way to deal with them. can anybody advise on the following..... 1. I am currently inputting anual
-
Shell script for calling an sql file
Hello, I would need your help in creating a ksh file. We have two ksh files. One for deletion the eim table and the other one is for running the eim job. Ksh file for running the eim job is okay. But the ksh file running the delete sql is not. We wer
-
A private web screen shows up when I close down apps on my ipad, but I don't want to see that web page EVER. It is a private "incognito" Skype number that I don't want ANYONE to see.
-
Power outage - HDD Problem - How to reinstall without disc drive?
Hi there, due to a power outage the journalling of the hdd of the mac mini server running Snow Leopard Server is corrupt and repairing was impossible. I've got to reinstall the system now somehow, but the mac mini doesn't come with a disc drive. I tr
-
when i put my id on then u ask me for a verification code i dnt knw about the verification code where is it located