How can find the Invoice number for GL journal in SQL?
Dear all:
I want to ask:
If I know the GL journal number and also know the journal comes from AP, how can I use the SQL to find out the ap invoice number ,which relevant with this journal?
my environment is : ORACLE EBS 11.5.9
Regards
Terry
Hello Terry.
Use the following query:
SELECT h.doc_sequence_value "Journal Num", l.reference_5 "Invoice Num"
FROM gl_je_lines l, gl_je_headers h
WHERE l.je_header_id = h.je_header_id
AND h.doc_sequence_value = <document number of your journal>
AND h.je_source = 'Payables'
AND l.set_of_books_id = <your set of books id>
Hope this helps.
Octavio
Similar Messages
-
How to find the Invoice available for Purchase orders
Hi friends,
How to find the Invoice available for PO. Please give me the tcodes also.
Is one PO can have multiple Invoice, then what is the relation between those PO and Invoices.
Thanks,
Veerendra.Hi,
Goto ME23N and in the line item choose the PO History tab..
There you can check if there is any invoice created for that PO..
Yes one PO can have multiple invoices...
Check the table RSEG where it has references to a PO and PO line items..
THanks,
Naren -
How to find the invoice number from accounting document number?
Hi
I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
How can i get the invoice numbers from the accounting doc. numbers?
Regards
SujaiI am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
XBLNR is blank when i check the table.
the output of the bapi is something like this
COMP VENDOR CLEAR_DATE CLR_DOC_NO ALLOC_NMBR FISC DOC_NO ITE
1000 1100 ........ ......................................... 20020123 2002 1900000202 002
1000 1100 ........ .........................................20020123 2002 1900000203 002
1000 1100........ .........................................20020123 2002 1900000204 002
1000 1100........ .........................................20020123 2002 1900000205 002
now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
I am not sure what this sequence (19___) represents.
Sujai
Edited by: Sujai S on Nov 5, 2008 7:22 PM
Edited by: Sujai S on Nov 5, 2008 7:22 PM -
How to find the serial number for more than one Ipod Touch in Itunes?
I lost my Ipod Touch (first one I bought), how can I find the serial number in Itunes or somewhere else beside I sync my daughter's new Ipod (2nd I bought) with my Itunes account, because when I try to find the serial number they show me only my daughters Ipod, not my Ipod????
Hover the mouse pointer over your iPod backup in iTunes>Preferences>Devices and the SN will pop up.
Go to:
My Support Profile -
How to find the model number for wired keyboard
i have 2 metallic wires usb keyboards but have no idea what or which model they are. please help me to know. but have some number underneath but clearly not the model number
ok. The thing is. I don't have an imac. but was given 2 keyboards. Both look identical but the USB connection is squared on one and rounded on the other at the side where the wire enters the use. The squared USB keyboard does not work but the other seems to work but has missing keys. to my shock I found the bracket for the keys are different so not interchangeable. I'm hoping to replace the missing keys therefore I need to know what model the keyboard is. looking on ebay I see many keys that all look the same but for different models of keyboard
-
How to find the serial number for Photoshop CS6?
hello,
i want to know the serial number of the photoshop cs6? can you tell me?thank you very muchFind your serial number quickly
Mylenium -
How to find the device number for the line input for sound measurements
Hi,
I would like to measure the input of sound wave given to a line input of a PC. Can anyone tell me how to write a DLL Program to actualy get the device numbers. Appreciate your help.
Thank You,
Mudda.Hello Mudda,
Are you connecting a microphone to the sound card of your PC? I assume
that you want to use the built-in LabVIEW Sound VIs, and would like to write a
LabVIEW DLL which returns the device numbers of the sound devices.
If you are using a Windows system, you will have to use some Windows API
functions to get that information.
Microsoft (and their website) can help with the specific functions which
enumerate the sound devices (with documents like this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_devices_and_data_types.asp).
Your LabVIEW DLL will then be a wrapper for a Windows call.
I am happy to help out in any way I can. Feel free to post again with a
little more information on what exactly you wish to do, or with any other
follow up questions. Thanks for posting!
Regards,
Travis M
LabVIEW R&D
National Instruments -
How can I find the router number for airport extreme card?
I am trying (unsuccessfully) to wirelessly connect my PlayStation 3 to my iMac Duo using the built in Airport Extreme Card.
Can someone please tell me how to find the router number for the built-in Airport? I am using OSX 10.4.9. The wireless card type on my Mac info is "Airport Extreme (Ox14E4, Ox89)".
Thanks in advance.Since the iMac is using OS X's Internet Sharing, the iMac is acting as a router. The router IP address created by the iMac is dependent on the IP address assigned to the iMac. The first 2 numbers are the same but the last 2 are .2.1.
For instance:
If your iMac is getting an IP address of 192.168.0.200 your Mac's router IP address will be 192.168.2.1
Similarly, if your iMac is getting an IP address of 10.0.1.200 your Mac's router IP address will be 10.0.2.1
So
Open Network Utility.
Click on "Info". Under "Please select a network interface for information" select "Network Interface (en0)" to see what IP address the iMac has been assigned.
Click on "Info". Under "Please select a network interface for information" select "Network Interface (en1)" to see what IP address the iMac is using as the router address on the wireless interface. -
How can I find the serial number for my creative suite CS6 I bought it from a store.
How can I find the serial number for my creative suite CS6 I bought it from a store.
https://www.adobe.com/account.html for serial numbers or subscriptions on your Adobe page... or
Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html -
How can I find the serial number for my stolen iPad that's associated with my apple ID ?
How can I find the serial number for my stolen iPad that's associated with my apple ID ?
If you registered it with Apple check your registered items at Your Support Profile for Registered Purchases. Also, see iOS- How to find the serial number, IMEI, MEID, CDN, and ICCID number.
What To Do If Your iDevice Is Lost Or Stolen
If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. What to do if your iOS device is lost or stolen
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
8. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices) -
i want to find out how to retrieve the serial number for my product. i can't find it in my email
Find your serial number quickly
-
How do I find the serial number for a lost ipad?
My ipad's been stolen, and I need to find the sertial nunber to give to the Police. Unfortunately, I did not keep the original packaging, so cannot refer to that for the serial number. I have an itunes account....am I able to locate my serial number through itunes, and if so, could anyone talk me through how I go about doing that. Many thanks.
andybanham wrote:
....am I able to locate my serial number through itunes,
Yes:
Open iTunes on the computer you used to sync the iPad and select Preferences… from the iTunes menu. (In Windows, choose Edit > Preferences.)
Select the Devices pane. Position the cursor over any of its backups. The iPad's serial number will appear in a popup window.
For a screenshot read: iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
Scroll down to:
Additional Information >
Get the information from your computer >
If you can access your computer, but not your device: -
How do i find the serial number for my stole ipod touch on itunes
My Ipod touch was stolen. I am trying to find out what the serial number for it is. Can I locate that anywhere on ITunes?
This has more since an iOS devices like an iPod touch has more means than "dumb" iPods
- iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number -
I can't turn on my ipod or do anything with it. It's refurbished and I can't find the serial number so I don't know what to do. ANy suggestions? Thank you
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar
iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number -
How do I find the serial number for my ipod touch? It was damaged
My touch (3rd generation) was damaged at the serial number area and it is no longer readable. How may I find the number?
I have since loaded my Iphones to the account and I can't find the info.- iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
Maybe you are looking for
-
Copying files from Mac to Windows-invalid file names
Unfortunately, my boss likes Windows more than Macs, so we have puchased some new Dell computers to replace older G4 Macs. I'm having trouble copying existing files from a Mac (OS 10.4)to the shared drive on the Windows XP computer. I'm getting an er
-
Where did my photo stream go?
A few weeks ago, I created a photo stream in order to clear space on my phone. The stream had 966 photos on it. As soon as I downloaded iOS 7 for my phone, all the photos on the stream were gone. The stream is still there but it is empty. How can I r
-
Hi all, I have a MBP SR...I just noticed the drop shadow on all text, in all apps, including the finder looks messed up. It is like I am seeing a double of all text or a ghost reflection, only slightly faded and like an up shadow visible above the te
-
Is auto-size pop-up fixed in RH9?
To update or not to update? I have discovered that RH8 has a glitch in auto-sizing pop-ups (WebHelp), where it does not give the viewer access to a scroll bar for the pop-up window. I found a thread in this forum that confirmed it was a glitch and w
-
URGENT: OBIEE Lineage Reporting
Experts, I need to generate a report in Answers which will show me the following info: Answer Request/Report Name, Answers Column Name, Answers Folder Name, DB Column Name, DB Table Name . In Oracle Discoverer there is EUL Admiinstration Business Are