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
Similar Messages
-
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 -
Can anyone tell me how to insert a short video into a Keynote slide presentation?
Can anyone tell me how to insert a short (20 sec) video into a Keynote slide presentation?
Gary, thank you for responding:
1) I know my "profile" indicates I'm on Mountain Lion. I have not figured out how to update that. I am using Yosemite and Keynote Version 6.5.2 on a 15" Macbook-Pro (tell me how to update my profile, please - nothing I click on opens any kind of "edit" options)
2) My 20 sec video does play in Quicktime. I find nothing in the Quicktime Inspector about deselecting "start movie on click."
3) in my slide presentation I can insert the video on a slide okay and if I click on it can get it to play, But I cannot seem to get it to play after a transition automatically. Maybe it cannot be done. Obviously I would like the entire presentation to play automatically without clicking on or between slides.
Again, thank you for you kind help! -
Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched?
Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched or activated?
If it's not printed on the card, then you'll need to check the receipt from the purchase of the card. There's no way to check the value from the card itself without redeeming it.
Regards. -
Hi, I recently changed my username for my iTunes/iCloud account. Can anyone tell me how i change the username on my iCloud iPad? When I go onto setting to change it it keeps the username grey so I can't even select it?
Welcome to the Apple Community.
In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
If you are using iMessages or FaceTime, you will also need to log out and into your ID there too. -
Can anyone tell me how to access the sync apps button please? I used to be able to select it but it is no longer visible.
You have to connect and select iPhone in computer iTunes Sidebar.
If you don't see the Sidebar, toggle it on in iTunes menu View > Show Sidebar.
Take a look at this screenshot on updating apps. -
hi, since the last update i find my rented movies remained under rented although unplayable. now i find some, as before the update, are deleting fully - can anyone tell me how to delete the unwatchable covers that remain?
bunjamin wrote:
There is now a new line in BBM that wasn't there before which covers the message that I am typing, so I can't actually see what I am typing.
Hi bunjamin,
just go to BlackBerry World, and update all your apps including BBM.
bunjamin wrote:
Every time I unlock my phone, my screen enlarges so I can't really see much on the hub/notification screen and it defaults to the hub which it didn't do before).
you can turn off the magnifying glass :
device settings >> accessibility >> magnify mode >> OFF
you can deactivate the "reset to Hub view" :
hub >> overflow (bottom right button) >> Settings >> Display and actions >> Return to Default View When Idle >> OFF
bunjamin wrote:
my ringtone is much softer than it was previously
yes, BlackBerry has acknowledged this bug in this article from the public knowledge base:
KB36755 After upgrading BlackBerry 10 OS to version 10.3.1 the volume for notifications is noticed to be significantly lower than in the previous version
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
I used a terminal command in Lion to show the LIbrary in the Users folder, and now the Finder is behaving erratically, hanging up and becoming almost paralyzed. Can anyone tell me how to reverse the terminal command for show Library. The command I used was:
chflags nohidden ~/Library/Showing the Library folder will not cause the problem you've described. Nevertheless:
chflags hidden ~/Library
will hide the folder. To reveal the folder:
chflags nohidden ~/Library
Note, there is no "/" after Library. -
Can anyone tell me how to change the language in the app store?
can anyone tell me how to change the language in the app store?
But before making the upgrade to Ios 5 I was able to have the iTunes in italian (since in Switzerland we speak german, french and italian) but now only the blody german is available, i can change the IPAD language to italian or english but the iTunes dont change .... so pist off... i cannot use it!!!!!
-
Please can anyone tell me how to download the flash player to allow virgin anytime on ipad3
Hi There,
Please can anyone tell me how to update the flash player on ipad3 to allow virgin anytime to play?
Regards
GaryAdobe has not made a version of Flash for the iPad.
Kappy explains why. https://discussions.apple.com/message/19446567#19446567
5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
Top 4 browsers supports flash player on iPad and iPhone
http://mashtips.com/flash-player-ios/
Cheers, Tom -
hi i dont have a wifi broadband n i just bought the new ipod touch can anyone tell me how 2 download apps for my ipod without using wifi
Download the apps on your syncing computer and then sync to the iPod. Note that you can only sync apps for the one syncing computer you use with the iPod. You can manage music and videos among different computer.
-
Can anyone tell me how to change the names of the networks I have set up on Airport Express
Can anyone tell me how to change the names of the networks I have set up on Airport Express please? I now work in a UN compound and my network is my own name, would prefer some anonymity so seeking to change the wifi network name that others might see.
Hi mkl1961,
Happy Holidays! The article below will explain how to reset your Airport Express and change the network and base station names back to their defaults.
Resetting an AirPort base station FAQ - Apple Support
http://support.apple.com/en-us/HT3728
What default settings will my AirPort base station have after a hard or factory default reset?
AirPort base stations are set to request an IP address by DHCP.
AirPort base station passwords are "public."
AirPort base station names revert to "base station xxxxxx," where xxxxxx is the last six digits of the wireless MAC address*.
AirPort base station network names are "Apple Network xxxxxx," where xxxxxx is the last six digits of the wireless MAC address*.
*A MAC (Media Access Control) address, also known as a "network ID," is a unique hardware identification number for a network port. You can find the wireless and Ethernet network IDs on the printed label on the bottom or side of the device.
Airport Express Setup Guide
manuals.info.apple.com/MANUALS/1000/MA1613/en_US/airport_express_80211n_2nd_gen _setup_guide.pdf
I hope this information helps ....
- Judy -
Can anyone tell me how to remove the owner when setting the location
Hello,
Can anyone tell me how to remove the owner when setting the location?
Properties
Table Name: (Table Name)
Table Type: Tables
Owner: Public
Overridden Qualified Table Name: (Table Name - same as above)
Any help would be appreciated.
Thanks
AnnHi Ann,
please check this document to determine the correct space for your question:
Find Topic Spaces on SCN (Forums)
If you need help moving it, let me know!
Thanks,
Kristen -
I installed OSX server 10.6 snow leopard on my IMAC, but still have choppy videos. can anyone tell me how to fix the problem
By your use of "still", did this problem exist before OS X Server was installed? OS X Server itself has no particular linkages to video processing, beyond what OS X client provides.
Some details on the configuration might be useful. Are these videos you're having issues with stored locally in files, or are these videos received over the network and played? If the videos are local, have you tried playing the videos from a different disk? If the video files are remote, can you download the videos and play them as a test?
What software are you using to play the videos? QuickTime? QuickTime X? Does using VLC or another player work better? There are some discussions of choppy videos around the forums, too. -
Hi can anyone tell me how to make the forms url short to the end user
Hi,
Im using oracle forms 11gR2 and everything is working fine, but my question in how to make the forms url short to the end user.
For example my forms url is " http://localhost:9001/forms/frmservlet " now i want to modify this url as "myweb.gov.ae"
can anybody suggest me the possibilities to change to default forms url to our own url as mentioned in the above example.
Thanks & Regards,
HariYou would have to either -
* edit the code pointed to by the new action attribute to
include the form
processing and email generation, or
* edit the form processing script to also include the insert
record and
check user name scripting
The former is probably the better procedure, since I suppose
you'd want to
do the check user name before sending the email.
Unfortunately, this means
you will have to get your hands into the code, or hire
someone to do it for
you.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"ducati1" <[email protected]> wrote in
message
news:gkriis$et6$[email protected]..
> Hi guys.
> I have a page with a form on it here.
>
http://www.thechallenge.net.au/superredemption.php
> I want the data placed in the textfields within the form
to come to me in
> an
> email upon submission.
> Now normally I would action the form to use this page
here
>
http://www.thechallenge.net.au/Redemptionform.txt
> But because the action of the form is now <?php echo
$editFormAction; ?>
> due
> to an insert record and check user name server behavior
I cannot use my
> normal
> method.
> Can anyone tell me how I can get around this problem?
>
Maybe you are looking for
-
How can I print with the black and white cartridge only?
I am trying to print using the black and white cartridge only because magenta is out of ink but I'm getting the following error message in HP Photosmart C7200 series print dialog: The printer is out of ink. The following ink cartridges are empty: Mag
-
Okay so I broke my old laptop and I had PSE on it! I don't have the serial number anymore
as it was thrown out with the case by my brothers I just have no clue what to do from here the product came with my Wacom Bamboo Capture tablet (I think it was 7)
-
IPhoto library deleted - How do I get my pictures back?
Hello, I have just spent hours categorizing my pictures from my Mac HD into Iphoto folders. Once everything looked good, I deleted the Iphoto library on the HD just to save space. Pretty stupid! The problem is that I see the grey frame of the picture
-
My imac OS 10.8.4 keeps crashing and restarting "due to problem"
My imac running OS X 10.8.4, with the group update installed keeps crashing and restarting itself at various intervals and running different software each time. This last time, I tried to double check the 10.8.4 group update was installed, ran it and
-
V11.1.2 - LCM Import Automation
Hi All, Is it possible LCM - Import (automation) from my Development server to QA server. have anyone tried on this & if so the procedure for this task. I'm using v11.1.2. I'm planning to migrate all my essbase, planning, HFR artifacts. Thanks in adv