Report Computation
Hello,
I need to create a PL/SQL Expression Computation for a Report Item. When creating the Computation only the Items are listed to select. But I have a Master Detail form that has a Tabular Form that I need to
UPPER(:P1_Item)for the Tabular Form Items. Is this possible even though my Items are not in the parent table? Any help is appreciated, thanks.
Have a look at this example. http://apex.oracle.com/pls/otn/f?p=50942:10
Hop it helps. Thanks
--Manish
Similar Messages
-
Safari reports "computer not connected to internet" (but it is)
Safari reports "computer not connected to internet" (but it is). Firefox works normally. What kind of issue is this with Safari? Corrective action?
Message was edited by: NoaksHello. Safari 5 has a bug that causes you're router/modem to crash cutting internet access for many on it's users. This can last for several seconds in my case. Their are many threads here on the case and you can Google, "safari can't connect to server" and look for the most recent cases. The only work around that has worked for some has been open dns. Apple will have a fix soon.
-
Problem with report COMPUTE SUM
hi @all
hope sombody can help me
i have a prob with a report in sql, see script below:
CLEAR COLUMNS BREAKS COMPUTES;
COLUMN WORK_TYPE FORMAT a95 HEADING 'Work Type' ENTMAP off
COLUMN TEXT FORMAT a95 HEADING 'Work Description' ENTMAP off
COLUMN TOTAL_MAN_MINUTES FORMAT 9999.99 HEADING 'Working Hours' ENTMAP off
COLUMN TOTAL_MAINT_MAN_MINUTES FORMAT 9999.99 HEADING 'Maintanance Hours' ENTMAP off
BREAK ON report
COMPUTE SUM OF TOTAL_MAN_MINUTES TOTAL_MAINT_MAN_MINUTES ON report
SELECT MWO.WORK_TYPE AS Work_TYpe, WORK_TYPE.TEXT AS Description, SUM(TRUNC(MAINT_ACTION.TOTAL_MAN_MINUTES / 60, 2)) AS Working_Hours, SUM(TRUNC(MAINT_ACTION.TOTAL_MAINT_MAN_MINUTES / 60, 2)) AS Maintanance_Hours
FROM MAINT_ACTION, MWO, WORK_TYPE
WHERE MWO.MWO_ID = MAINT_ACTION.originating_mwo_id
AND MWO.WORK_TYPE = WORK_TYPE.CODE
AND MWO.AC_SERIAL_NO = 'AS0007'
AND MAINT_ACTION.START_DATE_TIME_ACT >= '01.04.2010'
AND MAINT_ACTION.START_DATE_TIME_ACT <= '01.05.2010'
AND MWO.WORK_TYPE BETWEEN '000' AND '999'
GROUP BY MWO.WORK_TYPE, WORK_TYPE.TEXT
ORDER BY MWO.WORK_TYPE, WORK_TYPE.TEXT;
what i expect is the total working_hours and maintanance_hours per column at the last line from the output, but what i get is only that below
WORK_TYPE DESCRIPTION WORKING_HOURS MAINTANANCE_HOURS
041, blablabla, 1,16, 0,58
105, sülzsülz, 2, 1,5,
348, bla, 3, 2,33,
what is my mistake??
sorry for my bad english
cu ice
Edited by: Icebear on May 14, 2010 1:28 AMHi,
The SQL*Plus command:
COMPUTE SUM OF TOTAL_MAN_MINUTES TOTAL_MAINT_MAN_MINUTES ON reportmeans "from now on, any time there a result set has is a column called TOTAL_MAN_MINUTES or TOTAL_MAINT_MAN_MINUTES, print the grand total of that column at the end of the report."
Your result set does not have columns with those names, so the COMPUTE statement does not apply to that query.
The alias used in the output is what's important; SQL*Plus won't try to find out what columns from the table were used in deriving all the output columns.
Try using the same column names in both the COMPUTE statement and the query.
For example:
COMPUTE SUM OF Working_Hours Maintanance_Hours ON report -
Interactive Report - Compute columns
Hi,
Interactive report query is storing in a apex view - apex_application_page_ir.
Like, if compute columns added in runtime, APEX is making a new query with compute columns. I want to know in which APEX view is having this query:
I created a Interactive report (APEX 3.2.0) for the following query:
select
"EMPNO",
"ENAME",
"JOB",
"MGR",
"HIREDATE",
"SAL",
"COMM",
"DEPTNO"
from "EMP"
In the run time, I added a compute column , now the query is as follows:
select
ROWID as apxws_row_pk,
"EMPNO",
"ENAME",
"JOB",
"MGR",
"HIREDATE",
"SAL",
"COMM",
"DEPTNO",
"SAL" *10/100 "APXWS_CC_001",
count(*) over () as apxws_row_cnt
from (
select * from (
select
"EMPNO",
"ENAME",
"JOB",
"MGR",
"HIREDATE",
"SAL",
"COMM",
"DEPTNO"
from "EMP"
) r
) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
order by ROWID
Regards
Mohanit is not the sql query its all about the report_columns in apex_application_page_ir
in case anyone landed in this page -
The symbol '=' is missing in interactive report compute option's keypad
Hi Friends,
I am having an interactive report. I am trying to give a compute option like CASE WHEN A = 10 THEN B + C ELSE B
END . All other sysmbols except *=* is found in the key pad. But if we put '=' symbol manually it is working fine. Is
there any option to show the *=* symbol in the key pad itself?
Thanks
TJHi,
There is no option to add it
Br, Jari -
Add line break in name of an interactive report computed field
I have a computed field in an IRR and need the name of this field to be broken into 2 lines. In regular columns I can add "br" right in the column attributes but if I use that in the computed field name, the HTML "br" actually shows up in the field name. How can I do this?
Here is a threa dealing with a nowrap issue for an IRR, try making the nowrap setting in the css a wrap and see what happens..
Re: Interactive Report - fields wrapping
Thank you,
Tony Miller
Webster, TX -
SCOM 2012 - Custom disk space report - Computer Groups
Hello,
I've created custom disk report with sql query to pull the disk space for all servers. The report has parameters start data,End date and computer name but now my requirement would be to get the disk reports based on custom created computer group, Is it possible
to feed computer group name instead of computer name in the custom reports?
Regards,
VijayHi,
For SCOM 2007, you can’t select a group of servers and run a free disk space report on them. And for 2012 I think it also like that.
But based on my research, someone said that when you create group with Logical Disk targets, it may work. Here are two similar threads for your reference:
Report on Logical Disk Free Space % for a group of servers
http://social.technet.microsoft.com/Forums/en-US/fbec6fce-8f65-461b-8730-98a0d493c375/report-on-logical-disk-free-space-for-a-group-of-servers?forum=operationsmanagerreporting
Can't target free disk space report at Custom Group
http://social.technet.microsoft.com/Forums/en-US/8555fc3e-eed2-4523-a307-589eb6ff72fc/cant-target-free-disk-space-report-at-custom-group?forum=operationsmanagerreporting
Regards,
Yan Li
Regards, Yan Li -
Interactive Report - Compute problem
When I try and to anything with the "Compute" option of an interactive report I get:
Invalid computation expression. ORA-00942: table or view does not exist
Anyone know why? or which table may be missing?Reproduced this on apex.oracle.com
http://apex.oracle.com/pls/otn/f?p=37327
Login with Demo, no password and navigate to the Projects page.
here is the query that drives the interactive report:
select "PROJECT"."PROJECT_ID" as "PROJECT_ID",
"PROJECT"."PROJECT_NAME" as "PROJECT_NAME",
"PROJECT"."PROJECT_MGR" as "PROJECT_MGR",
"PROJECT"."DEV_DATE" as "DEV_DATE",
"PROJECT"."CIE_DATE" as "CIE_DATE",
"PROJECT"."QA_DATE" as "QA_DATE",
"PROJECT"."PROD_DATE" as "PROD_DATE",
"FDIC_DEPARTMENT"."DEPARTMENT_CODE" as "DEPARTMENT_CODE"
from "#OWNER#"."PROJECT" "PROJECT",
"#OWNER#"."FDIC_DEPARTMENT" "FDIC_DEPARTMENT"
where "PROJECT"."FDIC_DEPARTMENT_ID" ="FDIC_DEPARTMENT"."DEPARTMENT_ID" (+) -
APEX Interactive Report Compute Case with multiple conditions to highlight
My ultimate is to highligt a row in an interactive report based on two conditions. I didn't see a way to use the highligt feature with two conditions. So I thought I would try to create a computation based on the two conditions. Then use that result for the highligting. Though I don't seem to be a be able to use multiple conditions in my computation Case statement. Is there a different syntax?
Here is what I have:
Case
When C = 'Open' and I > 15 Then 'True'
Else 'False'
End The error I get is: Invalid computation expression. and
Application Express 4.0.2.00.07
Thanks!
Edited by: cjmartin on Jan 10, 2012 10:57 AMI'm surprised no one responded to this. What I did to resolve this issue was create a nested case statement. I don't think this was a good solution, but I can't find anyone else giving input. I know I can create another computational column in the select statement for the report, but the 'Interactive Report' part is where this should be. I want my clients to calculate what they want. Kind of hard when you can not use an 'and' for a range criteria.
-
IR Report Computation Expression Column Name
I am trying to generate a custom Report based on the Existing IR Report Conditions.
One of My IR Report have a Computation column with Expression as To_Char(trunc(Y, 'YEAR'), 'YYYY') Where Y is the Column Identifier.
My requirement is to substitute the Column Identifiers with the Exact column Name.
For Ex: TO_CHAR(trunc(Report_Date, 'YEAR'), 'YYYY') where Report_Date is the Actual Column to be used. Apex substitutes the Identifier as Y.
Another Example is CASE WHEN A = 10 THEN B + C ELSE B END
Where A,B and C should be Substituted by their respective column Names.
Is there a way to trace the column name used in the Expression or Frame the Expression with the Column Name.
Hope i am clear in my Requirement.
Thanks
SridharParse the statement character by character, and if the character is not surrounded by others except for a set of tokens (eg "'(),; ) then you have found an identifier. You can then map it to the correct column name by querying apex_application_ir_rpt and retrieving the report columns, mapping them to an identifier, and retrieving computation specifics from apex_application_ir_comp.
But really, don't do this. (DON'T) It's a load of code and prone to errors. There is no simple way to parse these. It's a fun exercise, that's all.
Rather tell us about what you're really trying to achieve. Why do you need a custom report when you already have the IR with the filters and computations on it? -
Custom SCCM Report COMPUTER MODEL
Could someone help me build a report that would return the computer model of the user ID that is entered? I know there is a report that will return the computer name, but what about the computer model(ex. dell gx360)? Thanks!
If you are looking for just a quick list then you can create a ConfigMgr Query in about 2 mins that will have the computer name and Model type. Then you can export this to Excel. One thing you need to be aware of is the userId can come from
heartbeat, Inventory. So last logged in user, topconsoleuser and user are all coming from different sources and could be different so you either need to put that into your query to look for using Or's and display that data or use something you know will
be more accurate given your enviroment. The query below will prompt you for the last logged in user
ConfigMgr Query Node:
select distinct SMS_G_System_COMPUTER_SYSTEM.Name, SMS_G_System_COMPUTER_SYSTEM.Model, SMS_R_System.LastLogonUserName from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where
SMS_R_System.LastLogonUserName = ##PRM:SMS_R_System.LastLogonUserName##
http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com -
Interactive Report Compute Field Creation Computation Formula
I'm trying to create a compute field in Interactive Report in APEX 3.
There are two fields: 'Plan Type' and 'Product Type'.
I want to create Compute Field - 'My Check'
Condition is as follows:
If 'Plan Type' field value begins with 'FY11 AA' and 'Product Type' field value ends with 'ABC' then 'My Check' field value should be 'CHECK' else 'OK'.
'Plan Type'-----------'Product Type'----------'My Check'
FY11 AA123---------123ABC-------------------CHECK
FY11 BB123---------123KKK--------------------OK
FY11 CC123---------123ZZZ--------------------OK
Would appreciate if you can write for me a computation formula for the case above.
Thanks,
GuyHi Jari,
Thanks for your formula.
When I tried that, I got error as below.
Actual formula entered:
case when BH = 'Y' then
case when SUBSTR(T,1,7) = 'FY11 OU' then
case when SUBSTR(AL,-3) = 'REC' then
'CHECK'
else 'OK' end
else 'OK' end
else 'OK' end
Error message:
Invalid computation expression. then case -
Good Day to ALL!
I have a script of SQLPlus that creates a report. I have 8/9 numeric columns which are 'SUM'ed up thru 'COMPUTE' command. It works for all BUT 2 columns. If I put these two columns, compute does not take affect. If I remove these two columns ( just cut) 'COMPUTE' works fine!!! These two coulumns use DB Function. But I have other column that also use DB Function. These two columns has some extra additions. Any thing wrong with the script/column defn.
Thanks - Pradip (Pradip Biswas @Singapore) Could you pl. reply to [email protected]
Here is bit of script. Sorry about the length of the cut and paste.
COLUMN OPEN_QTY_BAL FORMAT 9,99,990 HEADING 'Opening|Qty' Justify LEFT
COLUMN OPEN_QTY_VALUE FORMAT 99,999,990 HEADING 'Opening|S$' Justify LEFT
COLUMN PO_RECEIPTS_QTY FORMAT 99,990 HEADING 'PO Rec|QTY ' Justify LEFT
COLUMN PO_RECEIPTS_QTY_VALUE FORMAT 9,999,990 Heading 'PO Rec|S$' Justify LEFT
COLUMN MISC_RECEIPTS_QTY Format 99,990 Heading 'Misc |Qty' Justify LEFT
Column MISC_RECEIPTS_QTY_VALUE Format 9,999,990 Heading 'Misc|S$' Justify LEFT
COLUMN WORKORDER_QTY FORMAT 99,990 HEADING 'WorkOrd|Qty' Justify LEFT
COLUMN WorkOrder_QTY_VALUE Format 9,999,990 HEADING 'WorkOrd|S$' Justify LEFT
COLUMN SALES_SHIPMENT_QTY FOrmat 99,990 Heading 'SalesShip|Qty' Justify LEFT
COLUMN SALES_SHIPMENT_QTY_VALUE FOrmat 9,999,990 Heading 'SalesShip|S$' Justify LEFT
COLUMN MISC_ISSUE_QTY Format 99,999 HEADing 'Misc|Qty' Justify LEFT
COLUMN MISC_ISSUE_QTY_VALUE Format 9,999,990 heading 'Misc|S$' Justify LEFT
COLUMN TRANSFER_QTY format 99,990 heading 'Transfer|Qty' Justify LEFT
COLUMN TRANSFER_QTY_VALUE format 99,999,990 heading 'Transfer|S$' Justify LEFT
COLUMN REVAL_VALUE Format 99,990 Heading 'Reval|S$' Justify LEFT
COLUMN ON_HAND_QTY FORMAT 9,99,990 HEADING 'Closing|Qty' Justify LEFT
COLUMN ON_HAND_QTY_VALUE FORMAT 99,999,999,990 HEADING 'Closing|S$' Justify LEFT
REPHEADER on
REPHEADER left ' GL Period From: &&P_GL_PERIOD_NAME_FROM ' skip left ' GL Period To : &&P_GL_PERIOD_NAME_TO ' skip left ' Inv Org Code : &&P_INV_ORG_CODE ' skip left 'SubInventory Code : &&P_SUBINVENTORY_CODE ' skip 2
TTITLE left 'H - Inv Inventory Movement Report as at:' TTITLE_DATE RIGHT 'PAGE:' FORMAT 999 SQL.PNO SKIP 2
BTITLE skip 1 CENTER 'COMPANY CONFIDENTIAL - Printed on ' TTITLE_DATE
BREAK on REPORT skip 1;
--rem(1) compute SUM label 'Total' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
--REM(2) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE on report;
--REM(3) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE ON_HAND_QTY_VALUE on report;
compute SUM label 'Total $S:' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
WHENEVER SQLERROR EXIT FAILURE
select
-- MSI.ORGANIZATION_ID ORGANIZATION_ID,
-- MSI.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
MSI.SEGMENT1||'//'||MSI.DESCRIPTION ITEM,
-- MSI.DESCRIPTION DESCRIPTION,
All_Item_subinv.SUBINVENTORY_CODE SUBINVENTORY,
MSIV.PRIMARY_UOM_CODE UOM,
--NVL(MOQ_OPen_BAL.OPEN_QTY_BAL ,0) OPEN_QTY_BAL ,
-- NVL(MOQ_OPen_BAL.OPEN_QTY_BAL,0) * NVL(AVG_ITEM_COST1.ITEM_COST,0) OPEN_QTY_VALUE,
(MOQ_OPen_BAL( All_Item_subinv.SUBINVENTORY_CODE,
MSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM') ) OPEN_QTY_BAL ,
(MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,
mSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM')
) OPEN_QTY_VALUE,
NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY,0) PO_RECEIPTS_QTY,
NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) PO_RECEIPTS_QTY_VALUE,
NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0) MISC_RECEIPTS_QTY,
NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) MISC_RECEIPTS_QTY_VALUE,
NVL(AGGREGATED_MTT.WORKORDER_QTY,0) WORKORDER_QTY,
NVL(AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) WorkOrder_QTY_VALUE,
NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0) SALES_SHIPMENT_QTY,
NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY_VALUE,0) SALES_SHIPMENT_QTY_VALUE,
NVL(AGGREGATED_MTT.MISC_ISSUE_QTY,0) MISC_ISSUE_QTY,
NVL(AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) MISC_ISSUE_QTY_VALUE,
NVL(AGGREGATED_MTT.TRANSFER_QTY,0) TRANSFER_QTY,
NVL(AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) TRANSFER_QTY_VALUE,
NVL(AGGREGATED_MTT.REVAL_VALUE,0) REVAL_VALUE,
(MOQ_OPen_BAL(All_Item_subinv.SUBINVENTORY_CODE,
MSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM')
+
nvl(AGGREGATED_MTT.PO_RECEIPTS_QTY,0) +
nvl(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0) +
nvl(AGGREGATED_MTT.WORKORDER_QTY,0) +
nvl(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0) +
nvl(AGGREGATED_MTT.MISC_ISSUE_QTY,0) +
nvl(AGGREGATED_MTT.TRANSFER_QTY,0) ) ON_HAND_QTY,
((MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,MSI.ORGANIZATION_ID,MSI.INVENTORY_ITEM_ID,'&P_GL_PERIOD_NAME_FROM'))
+(nvl( AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.sALES_SHIPMENT_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) )
+nvl( AGGREGATED_MTT.REVAL_VALUE,0)) ON_HAND_QTY_VALUE -- column alias
FROM
-- In line View for MSI
(select distinct MMT.ORGANIZATION_ID, MMT.INVENTORY_ITEM_ID, MMT.SUBINVENTORY_CODE
From MTL_MATERIAL_TRANSACTIONS MMT,
ORG_ORGANIZATION_DEFINITIONS OOD,
MTL_ONHAND_QUANTITIES moq
where
OOD.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD.inventory_enabled_flag = 'Y'
AND OOD.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND MMT.ORGANIZATION_ID = OOD.organization_id
AND MMT.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
and MMT.ORGANIZATION_ID = MOQ.ORGANIZATION_ID -- to eliminate consigend items:2007Jan04:PKB
and MMT.INVENTORY_ITEM_ID = MOQ.INVENTORY_ITEM_ID --,,
and MMT.SUBINVENTORY_CODE = MOQ.SUBINVENTORY_CODE --,,
UNION
Select distinct MOQ.ORGANIZATION_ID, MOQ.INVENTORY_ITEM_ID, MOQ.SUBINVENTORY_CODE
from MTL_ONHAND_QUANTITIES MOQ,
ORG_ORGANIZATION_DEFINITIONS OOD2
WHERE
OOD2.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD2.inventory_enabled_flag = 'Y'
AND OOD2.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD2.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND moq.ORGANIZATION_ID = OOD2.organization_id
AND moq.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', moq.SUBINVENTORY_CODE)
) ALL_Item_SUBInv,
MTL_SYSTEM_ITEMS_B MSI,
Mtl_System_Items_Vl MSIV,
(SELECT
MMT.ORGANIZATION_ID ORGANIZATION_ID,
MMT.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
MMT.SUBINVENTORY_CODE SUBINVENTORY_CODE,
-- PO RECEIPTS.
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Purchase order')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('PO Receipt','PO Rcpt Adjust','Return to Vendor')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) PO_RECEIPTS_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Purchase order')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('PO Receipt','PO Rcpt Adjust','Return to Vendor')
THEN
NVL(MMT.ACTUAL_COST,0)* nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST * NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) PO_RECEIPTS_QTY_VALUE,
-- MISC RECEIPTS.
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Account','Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Account receipt','Miscellaneous receipt')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) MISC_RECEIPTS_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Account', 'Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Account receipt','Miscellaneous receipt')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) MISC_RECEIPTS_QTY_VALUE,
-- WorkOrder Qty and S$
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) WORKORDER_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) WorkOrder_QTY_VALUE,
-- Sales Shipment
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Sales order','RMA')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) SALES_SHIPMENT_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Sales order','RMA')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) SALES_SHIPMENT_QTY_VALUE,
-- MISC ISSUE
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Inventory','Account' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Miscellaneous issue','Account issue')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) MISC_ISSUE_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Inventory','Account' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Miscellaneous issue','Account issue')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) MISC_ISSUE_QTY_VALUE,
-- Transfers
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Inventory' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Subinventory Transfer')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) TRANSFER_QTY,
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Subinventory Transfer')
THEN NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) TRANSFER_QTY_VALUE,
-- Adjustment to Cost (Revaluation)
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Standard cost update','Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Standard cost update','WIP cost update')
THEN
--2007JAN03:PKB MMT.TRANSACTION_COST
MMT.TRANSACTION_COST* MMT.QUANTITY_ADJUSTED
ELSE 0
END
ELSE 0
END ) REVAL_VALUE
FROM
MTL_MATERIAL_TRANSACTIONS MMT,
--GL_PERIODS GP,
MTL_TRANSACTION_TYPES MTT,
MTL_TXN_SOURCE_TYPES MTST,
ORG_ORGANIZATION_DEFINITIONS OOD
WHERE
OOD.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD.inventory_enabled_flag = 'Y'
AND OOD.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND MMT.ORGANIZATION_ID = OOD.organization_id
AND MMT.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
-- AND GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL' -- Hardcoded PKB
AND
( (EXISTS
( select GP.Period_name
FROM GL_PERIODS GP
where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
>= TO_DATE(TO_CHAR(GP.START_DATE,'DD-MM-YYYY'),'DD-MM-YYYY') --Between GP.START_DATE and GP.END_DATE
AND GP.PERIOD_NAME = '&P_GL_PERIOD_NAME_FROM'
and GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL'
AND NVL('&P_GL_PERIOD_NAME_FROM','ALL') != 'ALL'
OR (NVL('&P_GL_PERIOD_NAME_FROM' ,'ALL') = 'ALL')
AND
( (EXISTS
( select GP.Period_name
FROM GL_PERIODS GP
where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
<= TO_DATE(TO_CHAR(GP.END_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
AND GP.PERIOD_NAME = '&P_GL_PERIOD_NAME_TO'
and GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL'
AND NVL('&P_GL_PERIOD_NAME_TO','ALL') != 'ALL'
OR (NVL('&P_GL_PERIOD_NAME_TO','ALL') = 'ALL')
AND MMT.TRANSACTION_TYPE_ID = MTT.TRANSACTION_TYPE_ID
AND MMT.TRANSACTION_SOURCE_TYPE_ID = MTST.TRANSACTION_SOURCE_TYPE_ID
group by
MMT.ORGANIZATION_ID,
MMT.INVENTORY_ITEM_ID,
MMT.SUBINVENTORY_CODE
) AGGREGATED_MTT,
-- Inline Table for AVG_ITEM_COSTs 2nd time,
(SELECT
CIC.ORGANIZATION_ID ORGANIZATION_ID,
CIC.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
CIC.COST_TYPE_ID COST_TYPE_ID,
CCT.COST_TYPE COST_TYPE,
NVL(CIC.ITEM_COST ,0) ITEM_COST
FROM
CST_ITEM_COSTS CIC,
CST_COST_TYPES ccT,
ORG_ORGANIZATION_DEFINITIONS OOD1
WHERE
CCT.COST_TYPE_ID = CIC.COST_TYPE_ID
/*AND (
(CCT.COST_TYPE = 'Average' and '&P_INV_ORG_CODE' = 'HS')
OR
(CCT.COST_TYPE = 'Frozen' and '&P_INV_ORG_CODE' = 'HL')
AND CCT.COST_TYPE_ID =
( select m.primary_cost_method
from mtl_parameters m
where m.organization_id = OOD1.ORGANIZATION_ID
and OOD1.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD1.inventory_enabled_flag = 'Y'
AND OOD1.operating_unit = fnd_profile.value('ORG_ID') 83 --fnd_profile.value('ORG_ID')
AND OOD1.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') 1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND cic.ORGANIZATION_ID = OOD1.organization_id
) AVG_ITEM_COST1
WHERE
AGGREGATED_MTT.ORGANIZATION_ID(+) = All_Item_subinv.ORGANIZATION_ID
AND AGGREGATED_MTT.INVENTORY_ITEM_ID(+) = All_Item_subinv.INVENTORY_ITEM_ID
AND AGGREGATED_MTT.subinventory_code(+) = All_Item_subinv.subinventory_code
AND All_Item_subinv.ORGANIZATION_ID = MSI.ORGANIZATION_ID
AND ALL_Item_SUBInv.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
AND AVG_ITEM_COST1.ORGANIZATION_ID(+) = MSI.ORGANIZATION_ID
AND AVG_ITEM_COST1.INVENTORY_ITEM_ID(+) = MSI.INVENTORY_ITEM_ID
and msi.ROWID = MSIV.ROW_ID
and msi.ORGANIZATION_ID = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
and sysdate between NVL(msi.start_date_active,sysdate -1 )
and NVL(msi.end_date_active,sysdate+1)
Order BY
MSI.SEGMENT1,
MSI.DESCRIPTION ,
All_Item_subinv.SUBINVENTORY_CODE
/Hi Barry and All: This indeed is a bug in SQLPLUS ! Version 9.2.0.1.0 as well.
Thanks for asking the version no of SQLLPLUs. I was working thru Oracle Apps 11i.10 (concurrent program). So I did not get any message from SQLPLUS.
I tested independently in SQLPLUS and got the message! Thanks Oracle!!!
The Bug is in the name of COLUMN NAME or ALIAS Name. I renamed the columns from ON_HAND_QTY and ON_HAND_VALUE to CLOSE_QTY and CLOSE_QTY_VALUE. It worked!! The string 'ON' in the column/alias name is taken as 'ON' keyword/clause for 'compute' statement for SQLPLUS.
Here is the message from SQLPLUS
" SP2-0084: COMPUTE ON keyword specified already"
See these two line and compare
--compute SUM label 'Total $S: ' of SALARY ON_SALARY on report;
compute SUM label 'Total $S: ' of SALARY on report;
Thanks - Pradip
Here is the sample code to simulate. (not Big :))
WHENEVER SQLERROR EXIT FAILURE
CLEAR computes
CLEAR BREAKS
clear column
TTITLE OFF
BTITLE OFF
set verify off
set feedback off
set echo off
set heading off
set termout off
set linesize 203
set pagesize 30
set termout on
SET UNDERLINE =
set heading on
COLUMN SALARY FORMAT 9,999,990 Heading 'SALARY'
COLUMN ON_SALARY format 9,999,990 Heading 'ON Salary'
column ENAME format a20 heading 'NAME'
COLUMN EMPNO Format 99999 HEADING 'EMPNO'
BREAK on REPORT skip 3;
--compute SUM label 'Total $S: ' of SALARY ON_SALARY on report;
compute SUM label 'Total $S: ' of SALARY on report;
WHENEVER SQLERROR EXIT FAILURE
select empno, ename, sal SALARY, sal ON_SALARY from scott.emp; -
Client machine not reporting to wsus server
My server Windows Server 2008 R2 Standard x 64 virtual machine install in Hyper-v server and Install SCE management version 2010.
in sudden server stopped sending updated to client machine. So I check many and did many changed as per MS community forums. But still I have same issue.
Then I planned to install again SCE management server in different VM. But even though I am getting error that old SCE management server is existing in my domain. Therefore I am afraid to change or remove any setting in AD since I have short
of knowledge about SCE servers.
However my SCE server was working smoothly until 11-2013 and then suddenly stuck. When I check the server machine I found that local drive C: is getting full and SCE management is fail to start. So from that to now when ever I had free time I changed
many things. But unfortunately I couldn't get the sever back to normal.
Few changes which I made are below.
- Remove and reinstall WAUS several times
- Check online update and direct updated server SCE machine without getting updated from SCE
- Remove dotnet frame work and updated version 4
- product configuration wizard reconfigure
- Repair management agent in client machine.
Kindly help for me to repair my SCE server or make another installation without having change of settings.
It would be highly appreciated if you could resolve issue
The error massage is below in windows update log.
2015-02-11 11:37:46:747 904 c78 Misc =========== Logging initialized (build: 7.6.7600.320, tz: +0300) ===========
2015-02-11 11:37:46:747 904 c78 Misc = Process: C:\Windows\system32\svchost.exe
2015-02-11 11:37:46:747 904 c78 Misc = Module: c:\windows\system32\wuaueng.dll
2015-02-11 11:37:46:747 904 c78 Service *************
2015-02-11 11:37:46:747 904 c78 Service ** START ** Service: Service startup
2015-02-11 11:37:46:747 904 c78 Service *********
2015-02-11 11:37:46:750 904 c78 Agent * WU client version 7.6.7600.320
2015-02-11 11:37:46:750 904 c78 Agent * Base directory: C:\Windows\SoftwareDistribution
2015-02-11 11:37:46:750 904 c78 Agent * Access type: No proxy
2015-02-11 11:37:46:751 904 c78 Agent * Network state: Connected
2015-02-11 11:37:58:940 904 8a0 Report CWERReporter::Init succeeded
2015-02-11 11:37:58:940 904 8a0 Agent *********** Agent: Initializing Windows Update Agent ***********
2015-02-11 11:37:58:941 904 8a0 Agent * Prerequisite roots succeeded.
2015-02-11 11:37:58:941 904 8a0 Agent *********** Agent: Initializing global settings cache ***********
2015-02-11 11:37:58:941 904 8a0 Agent * WSUS server: http://SCE-01.mubarrad.com.kw:8530
2015-02-11 11:37:58:941 904 8a0 Agent * WSUS status server: http://SCE-01.mubarrad.com.kw:8530
2015-02-11 11:37:58:941 904 8a0 Agent * Target group: (Unassigned Computers)
2015-02-11 11:37:58:941 904 8a0 Agent * Windows Update access disabled: No
2015-02-11 11:37:59:068 904 8a0 DnldMgr Download manager restoring 0 downloads
2015-02-11 11:37:59:081 904 8a0 AU ########### AU: Initializing Automatic Updates ###########
2015-02-11 11:37:59:082 904 8a0 AU # WSUS server: http://SCE-01.mubarrad.com.kw:8530
2015-02-11 11:37:59:082 904 8a0 AU # Detection frequency: 22
2015-02-11 11:37:59:082 904 8a0 AU # Approval type: Pre-install notify (Policy)
2015-02-11 11:37:59:082 904 8a0 AU # Auto-install minor updates: No (User preference)
2015-02-11 11:37:59:082 904 8a0 AU # Will interact with non-admins (Non-admins are elevated (User preference))
2015-02-11 11:37:59:082 904 8a0 AU # Will display featured software notifications (User preference)
2015-02-11 11:37:59:301 904 c78 Report *********** Report: Initializing static reporting data ***********
2015-02-11 11:37:59:301 904 c78 Report * OS Version = 6.1.7601.1.0.196880
2015-02-11 11:37:59:301 904 c78 Report * OS Product Type = 0x00000007
2015-02-11 11:37:59:313 904 c78 Report * Computer Brand = Microsoft Corporation
2015-02-11 11:37:59:313 904 c78 Report * Computer Model = Virtual Machine
2015-02-11 11:37:59:316 904 c78 Report * Bios Revision = 090004
2015-02-11 11:37:59:316 904 c78 Report * Bios Name = BIOS Date: 03/19/09 22:51:32 Ver: 09.00.04
2015-02-11 11:37:59:316 904 c78 Report * Bios Release Date = 2009-03-19T00:00:00
2015-02-11 11:37:59:316 904 c78 Report * Locale ID = 1033
2015-02-11 11:37:59:352 904 8a0 AU Successfully wrote event for AU health state:0
2015-02-11 11:37:59:352 904 8a0 AU Initializing featured updates
2015-02-11 11:37:59:352 904 8a0 AU Found 0 cached featured updates
2015-02-11 11:37:59:352 904 8a0 AU Successfully wrote event for AU health state:0
2015-02-11 11:37:59:353 904 8a0 AU Successfully wrote event for AU health state:0
2015-02-11 11:37:59:354 904 8a0 AU AU finished delayed initialization
2015-02-11 11:37:59:354 904 c78 AU #############
2015-02-11 11:37:59:354 904 c78 AU ## START ## AU: Search for updates
2015-02-11 11:37:59:354 904 c78 AU #########
2015-02-11 11:37:59:356 904 c78 AU <<## SUBMITTED ## AU: Search for updates [CallId = {A05977D0-8D58-4DC1-AAC5-C5FD68987D7F}]
2015-02-11 11:38:01:818 904 8a0 AU Triggering AU detection through DetectNow API
2015-02-11 11:38:01:818 904 8a0 AU Will do the detection after current detection completes
2015-02-11 11:38:03:808 904 1de0 Misc WARNING: Send failed with hr = 80072efd.
2015-02-11 11:38:03:808 904 1de0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>
2015-02-11 11:38:03:808 904 1de0 Misc FATAL: SOAP/WinHttp - SendRequest: SendRequestUsingProxy failed. error 0x80072efd
2015-02-11 11:38:03:808 904 1de0 PT + Last proxy send request failed with hr = 0x80072EFD, HTTP status code = 0
2015-02-11 11:38:03:808 904 1de0 PT + Caller provided credentials = No
2015-02-11 11:38:03:808 904 1de0 PT + Impersonate flags = 0
2015-02-11 11:38:03:808 904 1de0 PT + Possible authorization schemes used =
2015-02-11 11:38:03:808 904 1de0 PT WARNING: GetConfig failure, error = 0x80072EFD, soap client error = 5, soap error code = 0, HTTP status code = 200
2015-02-11 11:38:03:808 904 1de0 PT WARNING: PTError: 0x80072efd
2015-02-11 11:38:03:808 904 1de0 PT WARNING: GetConfig_WithRecovery failed: 0x80072efd
2015-02-11 11:38:03:808 904 1de0 PT WARNING: RefreshConfig failed: 0x80072efd
2015-02-11 11:38:03:808 904 1de0 PT WARNING: RefreshPTState failed: 0x80072efd
2015-02-11 11:38:03:808 904 1de0 PT WARNING: PTError: 0x80072efd
2015-02-11 11:38:03:808 904 1de0 Report WARNING: Reporter failed to upload events with hr = 80072efd.
2015-02-11 11:38:08:092 904 1de0 Misc WARNING: Send failed with hr = 80072efd.
2015-02-11 11:38:08:092 904 1de0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>
2015-02-11 11:38:08:092 904 1de0 Misc FATAL: SOAP/WinHttp - SendRequest: SendRequestUsingProxy failed. error 0x80072efd
2015-02-11 11:38:08:092 904 1de0 PT + Last proxy send request failed with hr = 0x80072EFD, HTTP status code = 0
2015-02-11 11:38:08:092 904 1de0 PT + Caller provided credentials = No
2015-02-11 11:38:08:092 904 1de0 PT + Impersonate flags = 0
2015-02-11 11:38:08:092 904 1de0 PT + Possible authorization schemes used =
2015-02-11 11:38:08:092 904 1de0 PT WARNING: GetConfig failure, error = 0x80072EFD, soap client error = 5, soap error code = 0, HTTP status code = 200
2015-02-11 11:38:08:092 904 1de0 PT WARNING: PTError: 0x80072efd
2015-02-11 11:38:08:092 904 1de0 PT WARNING: GetConfig_WithRecovery failed: 0x80072efd
2015-02-11 11:38:08:092 904 1de0 PT WARNING: RefreshConfig failed: 0x80072efd
2015-02-11 11:38:08:092 904 1de0 PT WARNING: RefreshPTState failed: 0x80072efd
2015-02-11 11:38:08:092 904 1de0 PT WARNING: PTError: 0x80072efd
2015-02-11 11:38:08:092 904 1de0 Report WARNING: Reporter failed to upload events with hr = 80072efd.
2015-02-11 11:38:08:093 904 1de0 Report REPORT EVENT: {62417852-380A-47BC-B153-8A8E0E198470} 2015-02-11 11:37:59:352+0300 1 202 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Content Install Reboot completed.
2015-02-11 11:38:08:098 904 1de0 Report CWERReporter finishing event handling. (00000000)
2015-02-11 11:38:08:098 904 1de0 Agent *************
2015-02-11 11:38:08:098 904 1de0 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-02-11 11:38:08:098 904 1de0 Agent *********
2015-02-11 11:38:08:098 904 1de0 Agent * Online = No; Ignore download priority = No
2015-02-11 11:38:08:098 904 1de0 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2015-02-11 11:38:08:098 904 1de0 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2015-02-11 11:38:08:098 904 1de0 Agent * Search Scope = {Machine}
2015-02-11 11:38:08:440 904 1de0 Agent * Found 0 updates and 0 categories in search; evaluated appl. rules of 0 out of 0 deployed entities
2015-02-11 11:38:08:441 904 1de0 Agent *********
2015-02-11 11:38:08:441 904 1de0 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-02-11 11:38:08:441 904 1de0 Agent *************
2015-02-11 11:38:08:441 904 edc AU >>## RESUMED ## AU: Search for updates [CallId = {A05977D0-8D58-4DC1-AAC5-C5FD68987D7F}]
2015-02-11 11:38:08:441 904 edc AU # 0 updates detected
2015-02-11 11:38:08:441 904 edc AU #########
2015-02-11 11:38:08:441 904 edc AU ## END ## AU: Search for updates [CallId = {A05977D0-8D58-4DC1-AAC5-C5FD68987D7F}]
2015-02-11 11:38:08:441 904 edc AU #############
2015-02-11 11:38:08:441 904 edc AU Featured notifications is disabled.
2015-02-11 11:38:08:442 904 edc AU Successfully wrote event for AU health state:0
2015-02-11 11:38:08:442 904 edc AU Successfully wrote event for AU health state:0
2015-02-11 11:38:08:442 904 c78 AU #############
2015-02-11 11:38:08:442 904 c78 AU ## START ## AU: Search for updates
2015-02-11 11:38:08:442 904 c78 AU #########
2015-02-11 11:38:08:444 904 c78 AU <<## SUBMITTED ## AU: Search for updates [CallId = {B8E1001D-5C48-4A26-888D-99FECCD6F9F1}]
2015-02-11 11:38:08:444 904 1de0 Agent *************
2015-02-11 11:38:08:444 904 1de0 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-02-11 11:38:08:444 904 1de0 Agent *********
2015-02-11 11:38:08:444 904 1de0 Agent * Online = Yes; Ignore download priority = No
2015-02-11 11:38:08:444 904 1de0 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2015-02-11 11:38:08:444 904 1de0 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2015-02-11 11:38:08:444 904 1de0 Agent * Search Scope = {Machine}
2015-02-11 11:38:08:444 904 1de0 Setup Checking for agent SelfUpdate
2015-02-11 11:38:08:445 904 1de0 Setup Client version: Core: 7.6.7600.320 Aux: 7.6.7600.320
2015-02-11 11:38:12:726 904 1de0 Misc WARNING: Send failed with hr = 80072efd.
2015-02-11 11:38:12:726 904 1de0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>
2015-02-11 11:38:12:726 904 1de0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://SCE-01.mubarrad.com.kw:8530/selfupdate/wuident.cab>. error 0x80072efd
2015-02-11 11:38:12:726 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd
2015-02-11 11:38:12:726 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd
2015-02-11 11:38:12:726 904 1de0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd
2015-02-11 11:38:16:993 904 1de0 Misc WARNING: Send failed with hr = 80072efd.
2015-02-11 11:38:16:993 904 1de0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>
2015-02-11 11:38:16:993 904 1de0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://SCE-01.mubarrad.com.kw:8530/selfupdate/wuident.cab>. error 0x80072efd
2015-02-11 11:38:16:993 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd
2015-02-11 11:38:16:993 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd
2015-02-11 11:38:16:993 904 1de0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd
2015-02-11 11:38:21:278 904 1de0 Misc WARNING: Send failed with hr = 80072efd.
2015-02-11 11:38:21:278 904 1de0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>
2015-02-11 11:38:21:278 904 1de0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://SCE-01.mubarrad.com.kw:8530/selfupdate/wuident.cab>. error 0x80072efd
2015-02-11 11:38:21:278 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd
2015-02-11 11:38:21:278 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd
2015-02-11 11:38:21:278 904 1de0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: Send failed with hr = 80072efd.
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://SCE-01.mubarrad.com.kw:8530/selfupdate/wuident.cab>. error 0x80072efd
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd
2015-02-11 11:38:25:564 904 1de0 Misc WARNING: DownloadFileInternal failed for http://SCE-01.mubarrad.com.kw:8530/selfupdate/wuident.cab: error 0x80072efd
2015-02-11 11:38:25:564 904 1de0 Setup FATAL: DownloadCab failed, err = 0x80072EFD
2015-02-11 11:38:25:564 904 1de0 Setup WARNING: SelfUpdate check failed to download package information, error = 0x80072EFD
2015-02-11 11:38:25:564 904 1de0 Setup FATAL: SelfUpdate check failed, err = 0x80072EFD
2015-02-11 11:38:25:565 904 1de0 Agent * WARNING: Skipping scan, self-update check returned 0x80072EFD
2015-02-11 11:38:25:565 904 1de0 Agent * WARNING: Exit code = 0x80072EFD
2015-02-11 11:38:25:565 904 1de0 Agent *********
2015-02-11 11:38:25:565 904 1de0 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-02-11 11:38:25:565 904 1de0 Agent *************
2015-02-11 11:38:25:565 904 1de0 Agent WARNING: WU client failed Searching for update with error 0x80072efd
2015-02-11 11:38:25:565 904 1de0 Report CWERReporter finishing event handling. (00000000)
2015-02-11 11:38:25:565 904 edc AU >>## RESUMED ## AU: Search for updates [CallId = {B8E1001D-5C48-4A26-888D-99FECCD6F9F1}]
2015-02-11 11:38:25:566 904 edc AU # WARNING: Search callback failed, result = 0x80072EFD
2015-02-11 11:38:25:566 904 edc AU # WARNING: Failed to find updates with error code 80072EFD
2015-02-11 11:38:25:566 904 edc AU #########
2015-02-11 11:38:25:566 904 edc AU ## END ## AU: Search for updates [CallId = {B8E1001D-5C48-4A26-888D-99FECCD6F9F1}]
2015-02-11 11:38:25:566 904 edc AU #############
2015-02-11 11:38:25:566 904 edc AU Successfully wrote event for AU health state:0
2015-02-11 11:38:25:566 904 edc AU AU setting next detection timeout to 2015-02-11 13:38:25
2015-02-11 11:38:25:566 904 edc AU Successfully wrote event for AU health state:0
2015-02-11 11:38:25:567 904 edc AU Successfully wrote event for AU health state:0
2015-02-11 11:38:30:595 904 1de0 Report REPORT EVENT: {6470B8FE-1600-4F7B-807F-6031606ECC8B} 2015-02-11 11:38:25:564+0300 1 148 101 {D67661EB-2423-451D-BF5D-13199E37DF28} 1 80072efd SelfUpdate Failure Software Synchronization Windows Update Client failed to detect with error 0x80072efd.
2015-02-11 11:38:30:613 904 1de0 Report CWERReporter::HandleEvents - WER report upload completed with status 0x8
2015-02-11 11:38:30:613 904 1de0 Report WER Report sent: 7.6.7600.320 0x80072efd D67661EB-2423-451D-BF5D-13199E37DF28 Scan 101 Managed
2015-02-11 11:38:30:613 904 1de0 Report CWERReporter finishing event handling. (00000000)Can you try the below to reset the authorization and force a connection back from one of the win 7 machines:
it should help pinpoint exact issues.
1. Record the system time.
2. Reboot the system (or restart the Windows Update service).
3. After reboot run the command wuauclt
/resetauthorization /detectnow.
4. Wait 30 minutes.
5. Post the entries from the WindowsUpdate.log starting at the time recorded in Step #1.
Do you have any Windows 7 machines that are reporting? Are other machines with different operating systems reporting correctly? -
Power Efficiency Diagnostics Report - How to fix the below mentioned issues?
Power Efficiency Diagnostics Report
Computer Name
SONY-VAIO
Scan Time
2014-04-12T15:29:55Z
Scan Duration
60 seconds
System Manufacturer
Sony Corporation
System Product Name
VPCEH25EN
BIOS Date
04/19/2012
BIOS Version
R0200Z9
OS Build
7601
Platform Role
PlatformRoleMobile
Plugged In
false
Process Count
134
Thread Count
1477
Report GUID
{bd655715-c758-4329-9f37-029a6c41aa27}
Analysis Results
Errors
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
USB Composite Device
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_12D1&PID_14DB
Port Path
1,1
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
USB Mass Storage Device
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_0BB4&PID_0001
Port Path
1,3
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
USB Root Hub
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_8086&PID_1C26
Port Path
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
Generic USB Hub
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_8087&PID_0024
Port Path
1
CPU Utilization:Processor utilization is high
The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute
the most to total processor utilization.
Average Utilization (%)
10.44
Platform Power Management Capabilities:PCI Express Active-State Power Management (ASPM) Disabled
PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
Warnings
Platform Timer Resolution:Platform Timer Resolution
The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to
multimedia playback or graphical animations.
Current Timer Resolution (100ns units)
10000
Maximum Timer Period (100ns units)
156001
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period
10000
Requesting Process ID
2768
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period
10000
Requesting Process ID
7268
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)
The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
SRService.exe
PID
2632
Average Utilization (%)
1.61
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
1.34
\Device\HarddiskVolume3\Windows\SysWOW64\kernel32.dll
0.04
\Device\HarddiskVolume3\Windows\System32\wow64.dll
0.04
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
1728
Average Utilization (%)
1.40
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
1.21
\SystemRoot\system32\ntoskrnl.exe
0.10
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
0.01
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
5264
Average Utilization (%)
0.87
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome.dll
0.33
\SystemRoot\system32\ntoskrnl.exe
0.27
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
0.04
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
7268
Average Utilization (%)
0.59
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Windows\SysWOW64\nvd3dum.dll
0.15
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\libglesv2.dll
0.08
\SystemRoot\system32\ntoskrnl.exe
0.07
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
System
PID
4
Average Utilization (%)
0.55
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.36
\SystemRoot\System32\drivers\dxgmms1.sys
0.06
\SystemRoot\system32\DRIVERS\nvlddmkm.sys
0.02
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
svchost.exe
PID
860
Average Utilization (%)
0.44
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.28
\Device\HarddiskVolume3\Windows\System32\rpcrt4.dll
0.04
\Device\HarddiskVolume3\Windows\System32\ntdll.dll
0.03
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
AvastSvc.exe
PID
1316
Average Utilization (%)
0.38
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.13
\Device\HarddiskVolume3\Program Files\Alwil Software\Avast5\defs\14041100\algo.dll
0.05
\Device\HarddiskVolume3\Windows\winsxs\x86_avast.vc110.crt_2036b14a11e83e4a_11.0.60610.1_none_1d37a43bbfe1dc9c\msvcr110.dll
0.03
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
6232
Average Utilization (%)
0.29
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
0.21
0.04
\SystemRoot\system32\ntoskrnl.exe
0.01
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
Apoint.exe
PID
4420
Average Utilization (%)
0.28
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.14
\SystemRoot\System32\win32k.sys
0.06
\SystemRoot\system32\drivers\fltmgr.sys
0.02
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
explorer.exe
PID
4056
Average Utilization (%)
0.21
Module
Average Module Utilization (%)
\SystemRoot\System32\win32k.sys
0.09
\SystemRoot\system32\ntoskrnl.exe
0.07
\Device\HarddiskVolume3\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
0.00
Information
Platform Timer Resolution:Timer Request Stack
The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period
10000
Requesting Process ID
2768
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Calling Module Stack
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume3\Windows\SysWOW64\winmm.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
\Device\HarddiskVolume3\Windows\SysWOW64\kernel32.dll
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
Platform Timer Resolution:Timer Request Stack
The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period
10000
Requesting Process ID
7268
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Calling Module Stack
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume3\Windows\SysWOW64\winmm.dll
\Device\HarddiskVolume3\Windows\SysWOW64\d3d9.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\libglesv2.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\libegl.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
Power Policy:Active Power Plan
The current power plan in use
Plan Name
OEM Balanced
Plan GUID
{381b4222-f694-41f0-9685-ff5bb260df2e}
Power Policy:Power Plan Personality (On Battery)
The personality of the current power plan when the system is on battery power.
Personality
Balanced
Power Policy:Video Quality (On Battery)
Enables Windows Media Player to optimize for quality or power savings when playing video.
Quality Mode
Balance Video Quality and Power Savings
Power Policy:Power Plan Personality (Plugged In)
The personality of the current power plan when the system is plugged in.
Personality
Balanced
Power Policy:Video quality (Plugged In)
Enables Windows Media Player to optimize for quality or power savings when playing video.
Quality Mode
Optimize for Video Quality
System Availability Requests:Analysis Success
Analysis was successful. No energy efficiency problems were found. No information was returned.
Battery:Battery Information
Battery ID
5950SONY Corp. VGP-BPS26
Manufacturer
SONY Corp.
Serial Number
5950
Chemistry
LION
Long Term
1
Design Capacity
45040
Last Full Charge
34940
Platform Power Management Capabilities:Supported Sleep States
Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer
to resume working quickly. Very few platforms support the S1 or S2 Sleep states.
S1 Sleep Supported
false
S2 Sleep Supported
false
S3 Sleep Supported
true
S4 Sleep Supported
true
Platform Power Management Capabilities:Adaptive Display Brightness is supported.
This computer enables Windows to automatically control the brightness of the integrated display.
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
0
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
1
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
2
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
3
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8Hi,
What is the symptom of the issue you encountered? The report shows there's a "known incompatibility with the hardware" and all "USB Suspend:USB Device not Entering Suspend" errors are caused by the prevention of Power Management (which is disabled due to
hardware issue) so have you made any hardware change rencently?
You can also manually check the Power Management setting, control panel\power options\chang plan settings\change advanced power settings, scroll down to PCI Express (check if you can set it to "Moderate Power Savings") and Process Power Management(should be
active).
Yolanda Zhu
TechNet Community Support
Maybe you are looking for
-
I am unable to send mail from my Orange.fr account on my ipad add
Orange.fr lost personal data on Sunday, so I decided to change the password on my mail account which I did successfully can pick up and send mail via Thunderbird on my PC. However, I had to delete my orange account from the mail application as it wo
-
TS3694 How do i take my phone out of recovery mode?
I have followed the recovery restore steeps and get error -1 the troubleshooting says Error -1 Attempt to restore your iOS device two more times. If the issue is still unresolved, the device may need service. I have an appointment at my local apple s
-
Log out issue in Employee Self service
We are encountering an error when people click on log out in self service page Once all the steps are done such as adding a dependent and making elections, a confirmation page comes up with the summary of benefits info. At this point, there is a "Log
-
tablespace size: 62G, 14 4G files and 1 6G file, freespace =51G When I try to resize datafiles, I get an error; the max free space per file =1G --- not sure what is using up the space. environment: 10.2.0.3 2-node RAC cluster on Red Hat Linux 4 Can s
-
NB200 running Windows XP - What's wrong with my USB ports?
I bought a new NB200 recently and have had a problem with my USB ports ever since. Independently, both rhs ports operate fine with my Logitech wireless mouse - unless I attach it via a USB hub. When I use the second port to attach another device - in