R12 Payables: SQL Query to List Invoices along with their Validation Status
Hi All,
I am looking for a SQL query that gives me the list of all AP Invoices and their Validation Status.
Thanks,
Anil
select invoice_id, invoice_num, invoice_amount, invoice_currency_code, approval_status_lookup_code from AP_INVOICES_V ;
--Prasanna
Similar Messages
-
SQL query to list the "Administrative category" field for all applications
yesterday i started a thread to list the "Optional reference" field for all cm applications in a SSRS report. I've got the query with the help of Torsten.
https://social.technet.microsoft.com/Forums/en-US/00419e6e-e3c2-4b80-b6af-2a24ced1032d/sql-query-to-list-the-optional-reference-field-of-all-packages-in-cm-2012?forum=configmanagersdk
But again today, i'm looking for a way to get "Administrative category" field in a SSRS report. Could someone point me to the right direction ?
Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. DelphinHi,
You could monitor the SMSProv.log when you check the category of an application. It shows that SQL query the SCCM provider used is related to function fn_ListCategoryInstances.
Best Regards,
Joyce -
Sql query to list menus, submenus and function-names for all resp
Hi,
Please let me know one single sql query to list all the menus, submenus and user-function-names attached for all responsibilities
Thanks...Hi,
See the following threads.
How to find All The Responsibilities with a specific Menu
How to find All The Responsibilities with a specific Menu
SQL query
SQL query
Regards,
Hussein -
PLEASE SEND ME SQL query to list ALL CONSTRAINTS ON EMPLOYEES TABLE FROM OU
PLEASE SEND ME SQL query to list ALL CONSTRAINTS ON EMPLOYEES TABLE FROM OUTSIDE PP SCHEMA INCLUDING SCHEMA NAME AND CONSTraint NAME
Username : PP
Table : EmployeesI think you are looking for below query :
SQL> SHOW USER;
USER is "SCOTT"
SQL> select owner,constraint_name,constraint_type,table_name,r_owner,r_constraint_name
2 from all_constraints
3 where constraint_type='R'
4 and r_constraint_name in (select constraint_name from all_constraints
5 where constraint_type in ('P','U') and table_name='EMP');
OWNER CONSTRAINT_NAME C TABLE_NAME R_OWNER R_CONSTRAINT_NAME
TEST1 ERL_EMP_FK_1 R EMPLOYEE SCOTT PK_EMP
1 row selected.Means, TEST1 user is having a constraint ERL_EMP_FK_1 on his table EMPLOYEE. Which is using PK_EMP (primary key of SCOTT user's 'EMP' [in the query])
Regards
Girish Sharma -
Is there any report to view" the blocked Vendor Invoices along with the Pay
Dear Gurus,
Is there any report to view" the blocked Vendor Invoices along with the Payment Date". Please Let me know.
BalajiI think you can solve this issue with a Query.
Fernando. -
Is it possible to export full PCD object list along with their PCD ID?
Hi
Is it possible to export full PCD object list along with their PCD ID to an excel sheet or txt file?
Any help will be appreciated.
Regards
VineetHi,
I have provided a simple method below to Get all the PCD objects PCD ID.
1. Create a transport package.
2. Add all the PCD objects for which ever you need the PCD ID.
3. Now release the Transport package as the "File system" mode.
4. Once it is done successfully, it will display all the transported object and its corresponding PCD ID in a table format.
You can simply copy and paste it in a excel to get the PCD ID for the PCD objects.
Hope this is helpful.
Thanks,
Mahendran B. -
Copying tables along with their indexes between databases
I use sql server management studio express. I have a database that has some questionable schemas, roles, etc, so I decided to create a new database, with just tables, stored procedures, and user-functions.
So I used the "import data" feature, which allowed me to select several tables, that were copied along with their data.
Then, I scripted out all the user-functions and stored procedures from the original database, and pasted them into a query window for the new database, and executed the create statements for each.
Then I got a message that I was lacking a full-text index.
I then started examining some tables, and even regular tables with an integer primary key that is supposed to be an identity' field were not identity fields any more, and lacked the auto-increment.
I tried to change that, and make them auto-increment, and then sql server told me that I can't do that. I guess if there is already data inside an integer field, you can't make it auto-increment.
So how do I solve all this?
ThanksYou cant modify a column to be of type identity. For that you need to do the below
http://www.mssqltips.com/sqlservertip/1397/add-or-drop-identity-property-for-an-existing-sql-server-column/
But in your case what works best would be to script out the table along with identity and then use it to create the table in the new database.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to retrieve all the users along with their password from LDAP
Hello,
Can anyone let me know how to retrieve and list all the user along with their password from LDAP.
ThanksHi Prashant,
I have limited experience with Synchronization, but I agree with you - if you need to synchronize Passwords, you need to have the Password in clear Text.
If you trying to build your own Synchronization Solution using any of the avaliable LDAP APIs, I don't think you can ever retrieve a user's Password in clear text.
However, I did come across an interesting article & I hope you find it useful :-
http://www.oracle.com/technology/obe/obe_as_10g/im/configssl/configssl.htm
I am not sure if SSL is necessary - If you have a look at Metalink Note 277382.1 ( How to Configure OID External Authentication Plug-In for Authentication Via Microsoft Active Directory (MS AD) ), teh question asked by oidspadi.sh for the same is asnwered as "N".
Regards,
Sandeep -
Extraction of Contexts along with their joins in Designer
Post Author: sachinj
CA Forum: Deployment
Hi All,
In designer, how can one extract the context along with it's relevant joins ?
I tried File>Save As>Save as type changed to pdf. But the pdf does not give the contexts along with their respective joins.
Does any one have solution to this one ..Thanx in advance.
With Regards
SachinHi,
youa can use these two datasources:
2LIS_11_VAKON Sales Document Condition
2LIS_13_VDKON Billing Document Condition
hope this helps...
Olivier. -
Hi guys, I have the below query which lists all the collections and their members, however I need to expand it to also include the OS, Service Pack, IP and if it's a physical or virtual machine.
I've tried a few things but only made it worse. Is anyone able to expand the below code to include those extras??
SELECT
v_FullCollectionMembership.CollectionID AS 'CollID',
v_Collection.Name AS 'CollName',
v_FullCollectionMembership.Name AS 'SystemName'
FROM
v_FullCollectionMembership, v_Collection
WHERE v_FullCollectionMembership.CollectionID = v_Collection.CollectionID
ORDER BY
CollID ASC, SystemName ASCHi,
These requirements could be found in several threads or blogs. We need convert WQL to SQL, and you can involve SQL guys to integrate the statements and format the result.
How to create a all virtual machines collection.
SCCM SQL Query - IP Address
ConfigMgr Systems without Current Service Packs, and System Patch Status -
SQL Query to list the "Optional reference" field of all packages in cm 2012
Guys, could you please point me to the correct view to extract the "Optional reference" property of all application? I've got a powershell script to get that from WMI, but i really am expecting a way to extract it from ConfigMgr DB if that's
available in CM Db.
Thanks,
Delphin.
Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. DelphinThank you torsten for helping me out here.
I've managed to come up with a query to list the Display name, package verison and optional reference property.
;WITH XMLNAMESPACES ( DEFAULT 'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest')
select DisplayName, SDMPackageDigest.value('(/AppMgmtDigest/Application/CustomId/@ResourceId)[1]', 'nvarchar(10)') [Optional Reference]
,sdmpackageversion
from fn_ListApplicationCIs(1033)
order by DisplayName
But the problem here is, I'm looking for the value AB00001 from that XML but it actually giving me Res_631986121. Can someone help me to get the value AB00001 from that xml file?
<CustomId ResourceId="Res_631986121">AB00001</CustomId>
Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin -
SQL Query to list details by Age
Hi All,
I have a Tenant table and want the query to list all tenants in Age bracket between age 14 and 24. But since we have the mobile no of the main tenant we also want to show their record as well. In certain cases the main tenant can also
be in the age group 14 -24 and should include these tenants as well.
Below is how the view should look like. I have uploaded sample data here:
https://app.box.com/s/ky3ry6x5zk587j7nvuk76dg0ezmsv3kn
ThanksHi
Can you please provide the result that you want get according to your sample data?
It will clear what you are ask for.
* if you return
all tenants in Age bracket between age 14 and 24 then you already returned
main tenant in the age group 14 -24, since he is tenant
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
[SQL QUERY] Select TCP Port Monitors and their related Watcher Node
Hi everybody,
I'm working on a SSRS report and SQL Query, I have no problem to find all my TCP Port Monitor (SCOM 2012 R2) based on the DisplayName, but I can't figure out how to get their related watcher nodes (in my case only 1 computer is a watcher node).
I can't find which table, which field, contains this information..?
Here is the query i started to write (i select * since i still searching for the right column):
SELECT
FROM StateView s
INNER JOIN BaseManagedEntity me on me.BaseManagedEntityId=s.BaseManagedEntityId
INNER JOIN MonitorView mv on mv.Id=s.MonitorId
INNER JOIN ManagedTypeView mtv on mtv.Id=s.TargetManagedEntityType
--where mv.DisplayName like 'Ping Target Status Check%'
AND me.IsDeleted = '0'
where mv.DisplayName like '%tcpmon%'
and mv.LanguageCode = 'ENU'
--and s.HealthState in (@state)
ORDER BY s.Lastmodified DESC
It would be great if someone can help me !
Thanks,
JulienHi,
After creating a TCP port monitor, we can find a table for this monitor under operationsmanager database :
SELECT *
FROM [OperationsManager].[dbo].[MT_TCPPortCheck_******WatcherComputersGroup]
You will find the warcher computer group.
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
SQL query to pull all systems with USB printer attached
I am looking to create a SQL query for a collection that will populate the systems at my site that have a USB printer attached. I saw I could query the USB device, Manufactuer and then include several OR statements for the various printer types we
have on site. I also found under USB device, Service that I could select a usbprint value. I found a few other technet posts that had to do with SCCM 2007 and printers.
I have the following Query statement:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_USB_DEVICE on SMS_G_System_USB_DEVICE.ResourceId
= SMS_R_System.ResourceId where SMS_G_System_USB_DEVICE.Service = "usbprint"
The collection pulled in several systems that appear to also have local USB attached printers but I am just seeking further understanding that by searching on the usbprint service I should pick up any system that has any USB device attached that reports
it has the ability to print. Am I understanding this correctly?Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
Yes basically your understand is correct.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
List of all users in a client along with their roles
Hi All,
Is there a way to get a list of all the users available in a client along with the roles assigned to them?
I could actually compare the users and roles individually. But i would like to have a complete list.
Thanks
Vijaybasically you want user reports...
You can try go to transaction SE38 -> RSUSR* , all the user reports are started with RSUSRxxxxx, inside might have something relevant to your request.
cheers,
Vincent
Maybe you are looking for
-
Error Compiling Movie Unknown Error
Greetings, I have been trying to pinpoint a problem I have been having rendering sequences in CS5.5.1. I am currently shooting AVCHD 1080p/23.976 using Adobe Sequences Settings that match. I get this error on various projects. My workflow preference
-
Adobe Reader X not responding in Vista
Hi, it seems that Adobe Reader is either taking too much time to load certain PDFs n (especially Secured PDFs) or crashes. Vista gives that Reader was closed due to Data Execution Prevention. I have not encountered this problem with Reader 9 before.
-
Hello All, I created an Infoset adn Query in development system and transported the same to the Quality system using the 'EXPORT' and 'IMPORT' with REPLACE option. I made some changes like deleting some fields from Infoset and addition of new fields
-
Call report from form 10g (10.1.2.0.2)
hi i using win 2003 and db 10g and dev10g ( 10.1.2.0.2) and i want to call report from my form as following code : DECLARE dir varchar2(200); repid REPORT_OBJECT; v_rep VARCHAR2(100); rep_status VARCHAR2(20); BEGIN dir:=co$win.get_current_directory ;
-
Off Line Adobe Form has to be Locked
Hi Gurus, I have a requirement in Off Line Adobe Forms. We are sending a Adobe Form to user through mail.User is trying to edit some data by using Acrobat Writer. So client is asking to put a restriction/protect/Lock to the Form.So that user can't ed