***UDF not working
Hi all,
My requirement is ,if if the ownership = "", 0, or "O" then don't send else send the original value.
Source value Target
Suppose ownership is 0----
Blank
O----
Blank
Blank
Test----
Test
If I pass any other value other than O ,0,"",it should be populated.
For this I wrote a UDF as below.
if ( ! ( inValue[ 0 ].equals("") || inValue[0].equals("O") || inValue[0].equals("0") ) )
result.addValue(inValue[0]);
else
result.addValue("");
When I Test this in Test tab ,it is working fine But it is Populating even O ,0 in the database table.
Source Target
this is if I pass O -
>O
0----
>0
This should not happen.
Can any one help me out in this regard.
Thanks,
Srinivasa
I am using graphical mapping as below.
Ws(fileld name) same for both source and target.
ws- equals(test function)---
OR
Constant O----
equals(test function)---
OR
Constant 0----
equals(test function)---
OR
Constant ""----
ie if equals=0 or O or" " then poplulate constant []
esle populate WS
error
Cannot insert null in to ws.
then I tried this way:
e if equals=0 or O or" " then poplulate constant ['']
esle populate WS
now error.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_LOC' (structure 'StatementName2'): java.sql.SQLException: ORA-01401: inserted value too large for column .
Similar Messages
-
CFL Not working for one of my UDF
Hi,
I have created one UDT.
I have created UDO for it. I also designed the screen in screen painter. In particular form i have created 3 CFL's. i have assigned to three of my UDF's. But only two or working. and another one is not working. I followed the same procedure for assigning the cfl to each field.
Kindly help me in this situation.
Thanks In Advance.sishir,
Can u tell me the code then only i can able to give u the solution. How u define the CFL ???
Regards,
Anitha -
Trigger is not working while updating the values of UDF
Dear Freind,
I have created one Trigger for ORDR for Sales order. It is working fine. For that i have created two UDF to Title level. When i fill all fields it shows the correct result in DocTotal. But problem is that, while updateing specific record it also update but only refresh the DocTotal.
Means suppose i change the value of UDF fields that time it is not working it gives following error.
"There is difference between the document total and component total"
ALTER TRIGGER AmountForPC1
ON dbo.ORDR
AFTER INSERT,
UPDATE
AS
SET NOCOUNT ON
UPDATE x
SET x.DocTotal = COALESCE(i.DocTotalSy, 0) + COALESCE(i.U_Ref, 0) + COALESCE(i.U_Sub, 0)
FROM dbo.ORDR AS x
INNER JOIN inserted AS i ON i.DocEntry = x.DocEntry
Thanks
SwapnilHi Swapnil,
Are you aware that you might run into trouble, at least when it comes to a support case, because you have created triggers?
Accordingly to note [896891|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMSZ3PTU4ODAwMDAr)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=896891] triggers are not supported.
Regards
Mario -
Membership rules does not work with UDF column name having the max length
Found a bug in OIM .
Membership rules does not work with UDF column name having the maximum length
Steps to Reproduce
1.Create a UDF having max column name length for eg UDF_USR_PERSONAL_SUB_DOMAIN_CO (lable = Personal Code)
2. Create a simple Rule like Personal Code = 7000
3. Assign this Rule as a member ship rule of a Group.
4. Create a user with Personal Code = 7000.
5. User doesnot get the group membership.
Thanks
SurenYes , i verified logs as well .
If you just decrease the column name length , w/o making change to any other attributes , it starts working ..
Thanks
Suren -
Shared Libray UDF does not work for all objects
I have created a shared UDF Library and am successfully using the code in other mappings.
however when i am trying to apply the code to two new mappings, the code does not work! there is nothing special about the code. just get the MessageID.
public String GetMessageID(Container container) throws StreamTransformationException{
//This UDF gets the PI message ID
String constant;
java.util.Map map;
map = container.getTransformationParameters();
constant = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
return constant;
it works when i enter the messageID in graphical mapping, but when i test end to end, it does not work!
and as i mentioned, it works in two other interfaces... but not in the new one!
any thoughts?after applying the latest patches it seems to have corrected iteslf
-
IF..THEN..ELSE...not working properly
Hi experts,
iam facing trouble with IF ..THEN..ELSE function.
condition is IF the salearea = 'AB'
THEN date trans DDMMYY------>YYYYMMDD
ELSE date trans MMDDYY----
>YYYYMMDD
here always the only ELSE part working. but if use IF WITHOUT ELSE like below
IF the salearea = 'AB'
THEN date trans DDMMYY------>YYYYMMDD
then above condition is working
iam really not understand the behaviour of IF..THEN..ELSE
could please suggest how can i resolve the issue
Thanks
vasaviHi,
Check the OSS note 1090369.
https://service.sap.com/sap/support/notes/1090369
From SAP Note----
Symptom
The behaviour of functions 'if' and 'ifWithoutElse' in Message-Mapping has been changed. We have changed it after we've become aware of the fact that both functions behave inconsistently with the documentation.
This change has some important consequences, which are described in this note.
Let us consider the function 'if'. The situation with 'ifWithoutElse' is analogous to it.
There are, in fact, two distinct use-cases for the function 'if':
1. One is when the function is used as an if statement. For example, consider this pseudocode:
if <condition>
value = <expression1>
else
value = <expression2>
end
In this case, one expects that the <condition> expression is evaluated first and then, depending on the value of the condition, one of the branch expressions is evaluated and assigned to variable 'value'.
2. The second use case is when the function is used as a procedure. In pseudocode:
value = if (<condition>, <expression1>, <expression2>)
In this case, all three expressions (<condition>, <expression1> and <expression2>) whould be evaluated first and the results of this expressions would be passed to function 'if', which in turn, would return one of them, depending on condition value, to be assigned to 'value' variable. This second use-case is also known in some programming languages as function 'iif'.
In Message-Mapping, the analog of evaluating an expression is advancing a pointer on one of the argument queues of a function. It turned out that the function 'if' did not consistently work either way and that the customers need both variants of the function. The SAP Note 1053706 has delivered the first patch to the function 'if'. This patch was not functionally complete and the function 'if' was patched again. The SAP Note 1085331 has delivered the finally fixed function 'if'. With this Note, the function always works as in use-case 2 above. That is, all arguments are evaluated first, then value of one of them is returned. To minimize compatibility problems with old usages, the function makes one exception to this rule: in case when evaluating one of the branches throws an Exception, the function ignores it, if the exception is in the branch that is not selected by condition.
This change in behaviour can lead to some of the Message-Mappings producing different results than before implementing the patch.
One common problem situation is when one of the branches of function 'if' contains a User-Defined function that produces side-effects. Like increments and stores a counter in 'GlobalContainer', for example. Such functions will be executed more times than before and will cause the numbering to go awry.
Other terms
Message Mapping, XI, PI, IF,IFS IFSWIthoutElse Boolean functions
Reason and Prerequisites
See above.
Solution
To provide customers with functions to use in use-case 1 above, SAP will deliver new standard functions 'ifS' and 'ifSWithoutElse'. The 'S' in the names states for 'Statement'. The new functions will be delivered in
Patch level 1 of SP21 of XITOOLS 3.0,
and SP22 onwards
Patch level 1 of SP14 of XITOOLS 7.0,
Patch level 2 of SP15 of XITOOLS 7.0
and SP16 onwards
SP05 of SAPXIESR 7.1 and SAPXIPCK 7.1,
and subsequent Support Packages of each corresponding major release.
It is not recommended to install the patches between SAP Note 1053706 and 1085331. If you decide to install a patch from Note 1085331 or any subsequent release, carefully test Message-Mappings before deploying the patch in productive systems.
In case the upgrade is necessary and Message-Mappings do not work as before, there is a possibility to workaround the problem. There's no known generic workaround for all kinds of problems that can arise.
Note :
IFS and IFSWIthoutElse functions have a Limitation.
When the The IFS and IFSWIthoutElse functions have the UDF of type Queue or Context, it will be executed unconditionally.
i.e the Queue UDF will be executed once even it does not have a matching condition in the input queue and the Context UDF will be executed once for every Context in the input queue, even if there is no matching condition in the input context.
For situation with functions leaving side-effects described above, we recommend to add a new argument to the User-Defined Function and create the side-effect conditionally based on that argument. Most probably you will want to put in this additional argument the same queue that you use in condition for function 'ifS'.
Please read the relevant Note 1158485 also.
END of Note -
Thanks
SaNv... -
Dynamic configuration not working in Java mapping
Hi All,
I have a scenario where i am using java mapping. In this i am doing following
1)Read file name from input message header
2)set file name in output message Header
3) set Directory name in output message Header
i have used following code .. but iit is not working... when i test end to end... in reciver communication channel it is failing stating " message failed as "Directory is not set in Header. Also i checked in SXMB_MONI "dynamic configuration".It is not showing Directory.
this is code.
public void transform(TransformationInput transformationInput,TransformationOutput transformationOutput)
throws StreamTransformationException {
private Map para;
String Directory ;
String inputFileName;
String var1 = "ABC";
para = transformationInput.getInputHeader().getAll();
DynamicConfiguration conf = (DynamicConfiguration) para
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
.create("http://sap.com/xi/XI/System/File", "FileName");
inputFileName = conf.get(keyFileName1);
DynamicConfigurationKey keyFilename = DynamicConfigurationKey
.create("http://sap.com/xi/XI/System/File", "FileName");
DynamicConfigurationKey keyDirecory = DynamicConfigurationKey
.create("http://sap.com/xi/XI/System/File", "Directory");
Directory = "tmp/"+var1;
conf.put(keyFilename,inputFileName);
conf.put(keyDirecory, Directory);
I am in PI 7.1 , and in eclipse its showing warning that Para is not used.
Can anyone show some lights.
Also is there any way to debug this?? like is there any function by which i can write the trace for each step to see those in MONI.Method name: public void createDirectory(Resultlist result, Container container)throws StreamTransformationException
//Use Simple UDF and do the following lines
String Directory ;
String inputFileName;
String var1 = "ABC";
DynamicConfiguration conf = container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
.create("http://sap.com/xi/XI/System/File", "FileName");
inputFileName = conf.get(keyFileName1);
DynamicConfigurationKey keyFilename = DynamicConfigurationKey
.create("http://sap.com/xi/XI/System/File", "FileName");
DynamicConfigurationKey keyDirecory = DynamicConfigurationKey
.create("http://sap.com/xi/XI/System/File", "Directory");
Directory = "tmp/"+var1;
conf.put(keyFilename,inputFileName);
conf.put(keyDirecory, Directory);
and remove these 3 lines
//private Map para;
//para = transformationInput.getInputHeader().getAll();
//DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION
>>I am in PI 7.1 , and in eclipse its showing warning that Para is not used.Can anyone show some lights.
You can simply remove declaring Map Para line... The eclipse gives warning because you dont assign values for it and you are trying to use...
For using the same input file name in output side, you dont need coding ... you need only for the directory...
Enable ASMA attributes in the channel.
Edited by: Baskar Gopal on Feb 24, 2011 10:58 AM -
Query not working while creating Sales Order... Need suggestions
Dear All,
My client requirement involves creation of Sales Orders both as standalone as well as based on Quotations, depending on the case. Now there is a UDF created in the Item Master Data called "U_Unit" which should be populated in another UDF (U_BPQty) in the Sales Order and Sales Quotation which can be changed at the transaction level.
The requirement is if the Sales Order is created based on Quotation, the system should take the value from 'U_BPQty" of "Sales Quotation" and populate in the Sales Order. if the Sales Order is created as stand-alone, it should take the value from U_Unit field of the Item Master Data. I wrote the following query for that purpose and using it as a FMS but its not working.
Can you suggest me where I am going wrong?
Declare @Base varchar
Declare @Item varchar
Declare @Draw varchar
Declare @BaseQty varchar
Set @Base = (Select Case When $[$38.44.0] is Null then 0 when $[$38.44.0] is not Null then $[$38.44.0] end)
Set @Item = ($[$38.1.0])
Set @Draw = (SELECT T0.U_BPQty from QUT1 T0 INNER JOIN OQUT T1 ON T0.DocEntry = T1.DocEntry INNER JOIN RDR1 T2 ON T2.BaseRef = T1.DocNum WHERE T0.ItemCode = @Item)
Set @BaseQty = (SELECT T0.U_Unit from OITM T0 WHERE T0.ItemCode = $[$38.1.0])
Select Case when (@Base = 0) then @BaseQty when (@Base <> 0) then @Draw end
Thanks and regards,
Bharath SHi Bharath.......
As you said if SQ not there and SO is directly punched then it should Pick up U_Unit else if SQ has target of SO then U_BP then your query working fine.
But if SQ not there and Del is directly punched instead of SO then it should Pick up U_Unit else if SQ has target of Delivery and not SO then U_BP. Is it?
In such case its not working?
If yes then use this query.......
declare @basedoc as nvarchar
set @basedoc=$[DLN1.BaseType.0]
If @basedoc<1
Begin
Select T0.U_Unit from OITM T0 Where T0.ItemCode=$[DLN1.ItemCode.0]
End
If @basedoc>1
Begin
Select T0.U_BPQty From QUT1 T0 where T0.docentry=$[DLN1.BaseEntry.0] and T0.ItemCode=$[DLN1.ItemCode.0]
End
Else use this......
declare @basedoc as nvarchar
set @basedoc=$[DLN1.BaseType.0]
If @basedoc<1
Begin
Select T0.U_Unit from OITM T0 Where T0.ItemCode=$[DLN1.ItemCode.0]
End
If @basedoc>1
Begin
Select T0.U_BPQty From RDR1 T0 where T0.docentry=$[$38.45.0] and T0.ItemCode=$[DLN1.ItemCode.0]
End
Regards,
Rahul -
Validation Event Handler Not working with GTC Recon???
We have implemented a Validation Event Handler on user entity.
In the code we have implemented both the execute methods i.e. Orchestration andf Bulk Orchestration. We have created a UDF for Manager field and our validation handler checks whether the user in Manager UDF field is an Active user in OIM or not. In case the user is not an Active user, code will throw a Validation Failed Exception.
At the time of changing the Manager UDF value from the Console directly Validation Event Handler is getting triggered but with GTC Recon Validation Handler is not Working.
Previously i faced the same issue with the post process event handler but the problem get resoved when i implemented execute method with Bulk Orchestration. As per my understanding Bulk Orchestration exceute method gets called with GTC Recon and execute method with Orchestration gets called when changing the attribute value directly from the console.
In case of Validation Event Handler i have implemented both but still validation Event handler is not working with GTC.
Thanks in Advance....Any Help????
-
Dynamic Configuration not working with Integrated Configuration
Hi All,
Dynamic Configuration works fine in PI 7.3 when Classical Configuration is used. However the same does not work using Integrated Configuration.
Scenario :
SOAP -->SOAP Synchronous scenario in PI 7.3 (Dual Stack).
Trying to save a value from Request mapping using dynamic configuration and use the same in response mapping.
UDF Code :
Request Mapping :
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey Variable = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "Variable1");
conf.put(Variable, a);
Response Mapping :
DynamicConfigurationKey Variable = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "Variable1" );
string1 = conf.get(Variant);
Note : Using Integrated Config(AAE Processing) - Response header does not have DynamicConfiguration header node , but Classical Configuration has that.
Regards,
Parimala
Edited by: ParimalaE on Mar 1, 2012 1:33 PMFor us this is what we had:
This didn't work (getInputParameters is the newer stuff that doesn't work):
DynamicConfiguration dc = (DynamicConfiguration)container.getInputParameters().getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dck = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
dc.put(dck,"https://xyz.api-salesforce.com/services/Soap/c/26.0/0DFa00000008jis");
return "";
This works for us(we had to remove getInputParameters):
DynamicConfiguration dc = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dck = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
dc.put(dck,"https://xyz.api-salesforce.com/services/Soap/c/26.0/00D3000000001X0");
return ""; -
Export Parameters in Parameterized Message Mapping does not work.
Hello, XI-Gurus!
I have a question: how to use an EXPORT parameter in Parameterized Message Mapping? seems it does not work...
(I use XI / PI 7.1)
For example, I have a follow scenario: a large message comes to XI from one BS (message contains a lot of rows), then this large message splits to some small messages (something about 1000 rows in one small message), and send small messaeg one by one from XI to second BS. So, after receive step I use a transformation step with Parameterized Message Mapping to get a total amount of rows in large message (it needs for making condition for loop in IP, for example). I want to use an EXPORT parameter to pass this number from Parameterized Message Mapping to Integration Process. How can I do it?
Of course, I know the way to how to make this scenario without any parameterizing, but I want to use exactly "Parameterized Message Mapping" like it writes in this help:
http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm
This topic contains something about procedure how to use an EXPORT parameter, but this procedure does not work. I don't understand how to write this UserDefined Function, which I can set any export parameters.
I read this blog:
/people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
this blog has NO solutions about EXPORT parameters. about IMPORT parameters - everything OK.
Some topics about how to use export parameters in MM in this forum marked as "answered", but this is not true.
How to export parameters from Message Mapping
Export parameter REALLY work in message mapping???????
Export parameter in Message mapping UDF
WBR,
VsevolodHi Rudolf,
It still does not works.
Great thanks for all your answers! If your advice works on your PI-server, it means that my problem not in UDF.
Step by step:
1) I create in "Signature" tab two parameters: FILE_NAME, FILE_TYPE (of course, they both Export and xsd:string type)
2) Then, I goes to "Functions" tab and create new function "testUDF" with one argument var1.
3) In body of this UDF insert 2 strings:
getOutputParameters.setString("FILE_NAME" , "Order");
getOutputParameters.setString("FILE_TYPE" , "PDF");
4) in "Definition" tab I bind function "Local.testUDF" with one field in my input message and goes to "Test" tab for testing.
5) And then I have a message window "Problems While Testing":
Source text of object Message Mapping: mm_ParamMap | urn:****.*.:****:TEST has syntax errors:
Function testUDF, Line 1:
cannot find symbol
symbol : variable getOutputParameters
location: class com.sap.xi.tf._mm_ParamMap_
getOutputParameters.setString("FILE_NAME" , "Order");
^
Function testUDF, Line 2:
cannot find symbol
symbol : variable getOutputParameters
location: class com.sap.xi.tf._mm_ParamMap_
getOutputParameters.setString("FILE_TYPE" , "PDF");
^
Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
Look at this notes, first writes that I use a deprecated API, second - about unchecked or unsafe operations.
And I have no idea what's wrong... Can you help me?
Thanks!
WBR,
Vsevolod -
SELECT DISTINCT does not work - Another Problem!
Dear All
Previous Post
I just posted a thread, which has been answered by an expert. It's here:
SELECT DISTINCT does not work. Why?
My original problem was that the Query returned duplicate records, and SELECT DISTINCT did not work.
The solution was to change this select:
T0.[U_SupInv] AS 'Link'
... to this:
CAST(T0.[U_SupInv] as nvarchar(100)) AS 'Link'
The amended Query worked.
New Problem
I just discovered that resolving the problem created a new one.
The field U_SupInv (Link) is in fact a UDF.
I created it so that all Suppliers' Invoices could be Scanned to pdf files, and these pdf could be linked
to the respective AP Invoice.
Originally, when I clicked 'Link' in my Query results, the pdf scan pops up.
When the Query is amended by adding CAST, the link becomes dead.
Help
Could anyone tell me how I can make SELECT DISTINCT work, as well keeping the LINKS live?
The main purpose of my Query is to help users view the pdf scans by clicking on the links.
Thanks
Leon Lai
Here's my Original Query
SELECT
T0.[UpdateDate] AS 'Update Dt',
T0.[TaxDate] AS 'Doc Dt',
CASE T5.[TransType]
WHEN '18' THEN 'PU ' + CONVERT(VARCHAR(6), T0.[DocNum])
WHEN '19' THEN 'PC ' + CONVERT(VARCHAR(6), T0.[DocNum])
END 'SAP Ref.',
T1.[ImportLog] AS 'Ship #',
T0.[CardCode] + '' AS 'Supplier #',
T0.[CardName] AS 'Supplier Name',
T0.[DocTotal] AS 'Rs',
T1.[BlockNum] AS 'Reqn #',
T0.[DocNum] AS 'Doc No',
T0.[U_SupInv] AS 'Link'
FROM klship.[dbo].[OPCH] T0
INNER JOIN klship.[dbo].[PCH1] T1 ON T0.[DocEntry] = T1.[DocEntry]
INNER JOIN klship.[dbo].[OJDT] T5 ON T0.[TransID] = T5.[TransID]
WHERE
(T0.[UpdateDate] >= '[%2]' AND
T0.[UpdateDate] <= '[%3]' AND
T0.[U_SupInv] IS NULL)
OR
(T0.[UpdateDate] >= '[%4]' AND
T0.[UpdateDate] <= '[%5]' AND
T0.[U_SupInv] IS NOT NULL)
FOR BROWSEDear István Korös,
Thanks a lot for your answer.
I will test your suggestion tomorrow, as it's night and I am returning home now.
However, I do not think it will suit my requirements for the foll reasons:
- I worked hard to get rid of the need to enter anything in the @Scan2 field.
- This UDF was created solely as a text of instruction for my staff.
Unfortunately I had to fill in something to make the Query work.
- The problem is that if the user forgets to click the drop-down arrow and leaves @Scan2
blank, the query does not work.
- With the help of another expert, I succeeded in ignoring @Scan2 altogether.
- I posted only a simplified version of my Query on the forum, without the codes relating to eliminating the
need to enter something in @Scan2, so you may not be aware of my requirement.
- I hope you understand my reluctance. But I will try your suggestion nevertheless.
My Suggestion
I think using PCH1.VISORDER may be the solution.
If we select only those rows where visorder = 0, then
- there will be no duplication
- I need not use SELECT DISTINCT
- All my LINKS to pdf files will be live because I need not use CAST
- I may retain that part of my Query which permits ignoring @Scan2 altogether.
- A Dream!-
The problem is that I don't know how and where to place that VISORDER.
If you think I may be right, could you help me along that line?
Best Regards
Leon Lai -
Optical DVD drive ejects any inserted disc and does not work!
I can not read or write certain DVDs in my Mid-2009 MacBook Pro since upgrading to Mountain Lion.
I insert an empty DVD-R (Verbatim) and it is being ejected. I insert a recorded DVD-R (Verbatim) and it is being ejected.
I have tried a commercial Video DVD - (Sony) and that one actually did work ... so I am pretty clueless - I can not write any DVD right now.
In the forum I have found many posts regarding this issue under Lion already.
However, my drive used to work fine under Lion and I was able to watch / record DVDs etc.
Now, it is no longer working and I can not use it. Does anyone know how to solve this?
So far I have found the following hints (which did not work for me):
ALL OF THESE THINGS DID NOT WORK:
1) Reset the PRAM (https://support.apple.com/kb/HT1379)
2) Uninstall all virtual machines (Virtual Box, etc.)
3) SMC Reset (https://support.apple.com/kb/HT3964)
some people talk about it being an issue with the 64 bit kernel and that you should try to reboot into 32bit (holding down 32 on startup)
https://support.apple.com/kb/HT3770
others blame it on the UDF format (https://discussions.apple.com/thread/3413998)
There are too many articles in the forums about this - more to make this a random issue.
The most disturbing thing to me is that multiple of the people in these threads contacted Apple and in the end where told, it's probably a bug... now why is this - obviously critical bug - not being resolved, yet ?
https://discussions.apple.com/message/15949663
https://discussions.apple.com/thread/3413998
https://discussions.apple.com/message/5496311
https://discussions.apple.com/message/17628953
https://discussions.apple.com/message/17885393
https://discussions.apple.com/message/18521761
https://discussions.apple.com/message/18331901
https://discussions.apple.com/message/17215345
https://discussions.apple.com/message/15185260
https://discussions.apple.com/message/15585199
https://discussions.apple.com/message/19049195
https://discussions.apple.com/message/18767233
https://discussions.apple.com/message/16875193
the list could probably be continued, but I'll leave it at thisI also had the same problem shortly after upgrading. My optical DVD drive ejects any disk I put in. This started about 2 months ago.
I just got back from the Apple store, after setting up an appointment, and they told me that my life is horrible because my MacBook Pro is no longer under warranty as of 32 days ago. This is really BS.
However just like any other company that treats me with poor customer service I just take my future business elsewhere and make sure not to recommend them to any friends and family - as well as tell them about my horrid experience. -
[Solved (kind of)] Suspend not working after reinstall
Hi folks.
I did a reinstall 2 days ago and since then suspend / resume after a suspend to ram is not working. (Thinkpad x200)
As a desktop i use kde4, i also tried a dbus suspend and a pm-suspend without any X running.
Following happens using arch kernel:
- suspend is initiated and it immediately resumes;
Following happens when using my own kernel + config:
- suspend works (moon led starts blinking and finally the fan stops and the moon is the only led shining)
- after i open the lid or press the power button resume starts but the moon led is aktive, only the cpu fan starts running;
unfortunately i don't know how to log this process, as the display is not working and there's no log available of the resume process.
my rc.conf starts following daemons/programs:
metalog dbus thinkfan sshd
Thanks for any suggestions.
Last edited by gaelic (2011-02-14 11:58:06)Hey.
I add some information from the log files. State is unchanged. Both with slef baked kernel and arch kernel resume is not working
/var/log/pm-suspend.log:
Initial commandline parameters:
Sun Feb 13 12:19:46 CET 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux angus 2.6.38-rc4 #11 SMP PREEMPT Sat Feb 12 17:37:33 CET 2011 i686 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux
Module Size Used by
snd_hda_codec_conexant 29924 1
snd_hda_intel 17032 0
snd_hda_codec 47104 2 snd_hda_codec_conexant,snd_hda_intel
snd_pcm 48808 2 snd_hda_intel,snd_hda_codec
thinkpad_acpi 42892 0
iwlagn 130552 0
e1000e 107988 0
btusb 8568 0
snd_timer 13164 1 snd_pcm
cdc_acm 12256 0
snd_page_alloc 4876 2 snd_hda_intel,snd_pcm
total used free shared buffers cached
Mem: 3069852 363876 2705976 0 684 309004
-/+ buffers/cache: 54188 3015664
Swap: 2000088 0 2000088
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/bios_version: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/bios_vendor: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/bios_date: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/sys_vendor: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/product_name: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/product_version: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/board_name: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/board_version: No such file or directory
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler: line 101: /sys/class/dmi/id/board_vendor: No such file or directory
Kernel modesetting video driver detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Sun Feb 13 12:19:46 CET 2011: performing suspend
So suspend seems to be working, at least i can't see any problem.
dmesg (with pm-debug activated):
7>PM: Adding info for No Bus:tty62
PM: Adding info for No Bus:tty63
pci 0000:00:1c.0: BAR 8: assigned [mem 0xc0000000-0xc01fffff]
pci 0000:00:1c.0: BAR 9: assigned [mem 0xc0200000-0xc03fffff 64bit pref]
pci 0000:00:1c.1: BAR 9: assigned [mem 0xc0400000-0xc05fffff 64bit pref]
pci 0000:00:1c.0: BAR 7: assigned [io 0x3000-0x3fff]
pci 0000:00:1c.1: BAR 7: assigned [io 0x4000-0x4fff]
pci 0000:00:1c.0: PCI bridge to [bus 02-02]
pci 0000:00:1c.0: bridge window [io 0x3000-0x3fff]
pci 0000:00:1c.0: bridge window [mem 0xc0000000-0xc01fffff]
pci 0000:00:1c.0: bridge window [mem 0xc0200000-0xc03fffff 64bit pref]
pci 0000:00:1c.1: PCI bridge to [bus 03-03]
pci 0000:00:1c.1: bridge window [io 0x4000-0x4fff]
pci 0000:00:1c.1: bridge window [mem 0xf2500000-0xf25fffff]
pci 0000:00:1c.1: bridge window [mem 0xc0400000-0xc05fffff 64bit pref]
pci 0000:00:1c.3: PCI bridge to [bus 05-0c]
pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff]
pci 0000:00:1c.3: bridge window [mem 0xf0000000-0xf1ffffff]
pci 0000:00:1c.3: bridge window [mem 0xf2900000-0xf29fffff 64bit pref]
pci 0000:00:1e.0: PCI bridge to [bus 0d-0d]
pci 0000:00:1e.0: bridge window [io disabled]
pci 0000:00:1e.0: bridge window [mem disabled]
pci 0000:00:1e.0: bridge window [mem pref disabled]
pci 0000:00:1c.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
pci 0000:00:1c.1: setting latency timer to 64
pci 0000:00:1c.3: PCI INT D -> GSI 23 (level, low) -> IRQ 23
pci 0000:00:1c.3: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:00: resource 7 [mem 0x000d4000-0x000d7fff]
pci_bus 0000:00: resource 8 [mem 0x000d8000-0x000dbfff]
pci_bus 0000:00: resource 9 [mem 0xc0000000-0xfebfffff]
pci_bus 0000:02: resource 0 [io 0x3000-0x3fff]
pci_bus 0000:02: resource 1 [mem 0xc0000000-0xc01fffff]
pci_bus 0000:02: resource 2 [mem 0xc0200000-0xc03fffff 64bit pref]
pci_bus 0000:03: resource 0 [io 0x4000-0x4fff]
pci_bus 0000:03: resource 1 [mem 0xf2500000-0xf25fffff]
pci_bus 0000:03: resource 2 [mem 0xc0400000-0xc05fffff 64bit pref]
pci_bus 0000:05: resource 0 [io 0x2000-0x2fff]
pci_bus 0000:05: resource 1 [mem 0xf0000000-0xf1ffffff]
pci_bus 0000:05: resource 2 [mem 0xf2900000-0xf29fffff 64bit pref]
pci_bus 0000:0d: resource 4 [io 0x0000-0x0cf7]
pci_bus 0000:0d: resource 5 [io 0x0d00-0xffff]
pci_bus 0000:0d: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:0d: resource 7 [mem 0x000d4000-0x000d7fff]
pci_bus 0000:0d: resource 8 [mem 0x000d8000-0x000dbfff]
pci_bus 0000:0d: resource 9 [mem 0xc0000000-0xfebfffff]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Simple Boot Flag at 0x35 set to 0x1
PM: Adding info for No Bus:mcelog
PM: Adding info for No Bus:msr0
PM: Adding info for No Bus:msr1
PM: Adding info for No Bus:cpu0
PM: Adding info for No Bus:cpu1
apm: BIOS not found.
PM: Adding info for No Bus:snapshot
PM: Adding info for event_source:cpu
PM: Adding info for event_source:breakpoint
PM: Adding info for event_source:software
highmem bounce pool size: 64 pages
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 [email protected]).
NTFS driver 2.1.30 [Flags: R/W].
PM: Adding info for No Bus:autofs
fuse init (API version 7.16)
PM: Adding info for No Bus:fuse
PM: Adding info for No Bus:btrfs-control
Btrfs loaded
msgmni has been set to 1710
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler cfq registered (default)
pcieport 0000:00:1c.0: setting latency timer to 64
pcieport 0000:00:1c.0: irq 40 for MSI/MSI-X
PM: Adding info for pci_express:0000:00:1c.0:pcie08
pcieport 0000:00:1c.1: setting latency timer to 64
pcieport 0000:00:1c.1: irq 41 for MSI/MSI-X
PM: Adding info for pci_express:0000:00:1c.1:pcie08
pcieport 0000:00:1c.3: setting latency timer to 64
pcieport 0000:00:1c.3: irq 42 for MSI/MSI-X
PM: Adding info for pci_express:0000:00:1c.3:pcie08
PM: Adding info for No Bus:fbcon
intel_idle: MWAIT substates: 0x3122220
intel_idle: does not run on family 6 model 23
ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
PM: Adding info for No Bus:AC
ACPI: AC Adapter [AC] (off-line)
PM: Adding info for No Bus:input0
input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0
ACPI: Lid Switch [LID]
PM: Adding info for No Bus:input1
input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
ACPI: Sleep Button [SLPB]
PM: Adding info for No Bus:input2
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
ACPI: Power Button [PWRF]
ACPI: acpi_idle registered with cpuidle
Monitor-Mwait will be used to enter C-1 state
Monitor-Mwait will be used to enter C-2 state
Monitor-Mwait will be used to enter C-3 state
Marking TSC unstable due to TSC halts in idle
PM: Adding info for No Bus:cooling_device0
PM: Adding info for No Bus:cooling_device1
PM: Adding info for No Bus:thermal_zone0
PM: Adding info for No Bus:hwmon0
thermal LNXTHERM:00: registered as thermal_zone0
ACPI: Thermal Zone [THM0] (44 C)
PM: Adding info for No Bus:thermal_zone1
thermal LNXTHERM:01: registered as thermal_zone1
ACPI: Thermal Zone [THM1] (40 C)
PM: Adding info for No Bus:ptmx
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
PM: Adding info for platform:serial8250
PM: Adding info for No Bus:ttyS0
PM: Adding info for No Bus:BAT0
ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
ACPI: Battery Slot [BAT0] (battery present)
PM: Adding info for No Bus:ttyS1
PM: Adding info for No Bus:ttyS2
PM: Adding info for No Bus:ttyS3
PM: Adding info for No Bus:nvram
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel GM45 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 32768K stolen memory
PM: Adding info for No Bus:agpgart
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: power state changed by ACPI to D0
i915 0000:00:02.0: power state changed by ACPI to D0
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
PM: Adding info for No Bus:controlD64
PM: Adding info for No Bus:card0
PM: Adding info for i2c:i2c-0
PM: Adding info for i2c:i2c-1
PM: Adding info for i2c:i2c-2
PM: Adding info for i2c:i2c-3
PM: Adding info for i2c:i2c-4
PM: Adding info for i2c:i2c-5
PM: Adding info for i2c:i2c-6
PM: Adding info for i2c:i2c-7
PM: Adding info for i2c:i2c-8
PM: Adding info for i2c:i2c-9
PM: Adding info for i2c:i2c-10
PM: Adding info for i2c:i2c-11
PM: Adding info for i2c:i2c-12
PM: Adding info for i2c:i2c-13
i915 0000:00:02.0: irq 43 for MSI/MSI-X
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
PM: Adding info for No Bus:card0-LVDS-1
PM: Adding info for No Bus:card0-VGA-1
PM: Adding info for i2c:i2c-14
PM: Removing info for i2c:i2c-14
PM: Adding info for No Bus:card0-HDMI-A-1
PM: Adding info for No Bus:card0-DP-1
PM: Adding info for i2c:i2c-14
PM: Adding info for i2c:i2c-15
PM: Removing info for i2c:i2c-15
PM: Adding info for No Bus:card0-HDMI-A-2
PM: Adding info for No Bus:card0-DP-2
PM: Adding info for i2c:i2c-15
PM: Adding info for No Bus:card0-DP-3
PM: Adding info for i2c:i2c-16
PM: Adding info for No Bus:fb0
PM: Adding info for No Bus:vtcon1
Console: switching to colour frame buffer device 160x50
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
No ACPI video bus found
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
PM: Adding info for No Bus:7:0
PM: Adding info for No Bus:loop0
PM: Adding info for No Bus:7:1
PM: Adding info for No Bus:loop1
PM: Adding info for No Bus:7:2
PM: Adding info for No Bus:loop2
PM: Adding info for No Bus:7:3
PM: Adding info for No Bus:loop3
PM: Adding info for No Bus:7:4
PM: Adding info for No Bus:loop4
PM: Adding info for No Bus:7:5
PM: Adding info for No Bus:loop5
PM: Adding info for No Bus:7:6
PM: Adding info for No Bus:loop6
PM: Adding info for No Bus:7:7
PM: Adding info for No Bus:loop7
loop: module loaded
ahci 0000:00:1f.2: version 3.0
ahci 0000:00:1f.2: PCI INT B -> GSI 16 (level, low) -> IRQ 16
ahci 0000:00:1f.2: irq 44 for MSI/MSI-X
ahci: SSS flag set, parallel bus scan disabled
ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part ccc sxs
ahci 0000:00:1f.2: setting latency timer to 64
PM: Adding info for No Bus:ata1
PM: Adding info for No Bus:ata1
PM: Adding info for No Bus:link1
PM: Adding info for No Bus:link1
PM: Adding info for No Bus:dev1.0
PM: Adding info for No Bus:dev1.0
PM: Adding info for No Bus:ata2
PM: Adding info for No Bus:ata2
PM: Adding info for No Bus:link2
PM: Adding info for No Bus:link2
PM: Adding info for No Bus:dev2.0
PM: Adding info for No Bus:dev2.0
PM: Adding info for No Bus:ata3
PM: Adding info for No Bus:ata3
PM: Adding info for No Bus:link3
PM: Adding info for No Bus:link3
PM: Adding info for No Bus:dev3.0
PM: Adding info for No Bus:dev3.0
PM: Adding info for No Bus:ata4
PM: Adding info for No Bus:ata4
PM: Adding info for No Bus:link4
PM: Adding info for No Bus:link4
PM: Adding info for No Bus:dev4.0
PM: Adding info for No Bus:dev4.0
scsi0 : ahci
PM: Adding info for scsi:host0
PM: Adding info for No Bus:host0
scsi1 : ahci
PM: Adding info for scsi:host1
PM: Adding info for No Bus:host1
scsi2 : ahci
PM: Adding info for scsi:host2
PM: Adding info for No Bus:host2
scsi3 : ahci
PM: Adding info for scsi:host3
PM: Adding info for No Bus:host3
ata1: SATA max UDMA/133 abar m2048@0xf2826000 port 0xf2826100 irq 44
ata2: SATA max UDMA/133 abar m2048@0xf2826000 port 0xf2826180 irq 44
ata3: DUMMY
ata4: DUMMY
PPP generic driver version 2.4.2
PM: Adding info for No Bus:ppp
PPP Deflate Compression module registered
PPP BSD Compression module registered
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.7: power state changed by ACPI to D0
ehci_hcd 0000:00:1a.7: power state changed by ACPI to D0
ehci_hcd 0000:00:1a.7: PCI INT D -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: irq 23, io mem 0xf2826c00
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
PM: Adding info for usb:usb1
PM: Adding info for usb:1-0:1.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev1.1
PM: Adding info for No Bus:ep_00
ehci_hcd 0000:00:1d.7: power state changed by ACPI to D0
ehci_hcd 0000:00:1d.7: power state changed by ACPI to D0
ehci_hcd 0000:00:1d.7: PCI INT D -> GSI 19 (level, low) -> IRQ 19
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: irq 19, io mem 0xf2827000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
PM: Adding info for usb:usb2
PM: Adding info for usb:2-0:1.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev2.1
PM: Adding info for No Bus:ep_00
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1a.0: power state changed by ACPI to D0
uhci_hcd 0000:00:1a.0: power state changed by ACPI to D0
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 20, io base 0x00001860
PM: Adding info for usb:usb3
PM: Adding info for usb:3-0:1.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev3.1
PM: Adding info for No Bus:ep_00
uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1a.1: setting latency timer to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 21, io base 0x00001880
PM: Adding info for usb:usb4
PM: Adding info for usb:4-0:1.0
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev4.1
PM: Adding info for No Bus:ep_00
uhci_hcd 0000:00:1a.2: power state changed by ACPI to D0
uhci_hcd 0000:00:1a.2: power state changed by ACPI to D0
uhci_hcd 0000:00:1a.2: PCI INT C -> GSI 22 (level, low) -> IRQ 22
uhci_hcd 0000:00:1a.2: setting latency timer to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1a.2: irq 22, io base 0x000018a0
PM: Adding info for usb:usb5
PM: Adding info for usb:5-0:1.0
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev5.1
PM: Adding info for No Bus:ep_00
uhci_hcd 0000:00:1d.0: power state changed by ACPI to D0
uhci_hcd 0000:00:1d.0: power state changed by ACPI to D0
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.0: irq 16, io base 0x000018c0
PM: Adding info for usb:usb6
PM: Adding info for usb:6-0:1.0
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev6.1
PM: Adding info for No Bus:ep_00
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.1: irq 17, io base 0x000018e0
PM: Adding info for usb:usb7
PM: Adding info for usb:7-0:1.0
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev7.1
PM: Adding info for No Bus:ep_00
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001c00
PM: Adding info for usb:usb8
PM: Adding info for usb:8-0:1.0
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:usbdev8.1
PM: Adding info for No Bus:ep_00
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
PM: Adding info for platform:i8042
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (unknown) succeeded
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (unknown) filtered out
serio: i8042 KBD port at 0x60,0x64 irq 1
PM: Adding info for serio:serio0
serio: i8042 AUX port at 0x60,0x64 irq 12
PM: Adding info for serio:serio1
PM: Adding info for No Bus:mice
ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (unknown) succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (unknown) filtered out
PM: Adding info for No Bus:psaux
mousedev: PS/2 mouse device common for all mice
PM: Adding info for No Bus:event0
PM: Adding info for No Bus:event1
PM: Adding info for No Bus:event2
ata1.00: ATA-8: HITACHI HTS543225L9SA00, FBEZC43C, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
rtc_cmos 00:07: RTC can wake from S4
ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (unknown) succeeded
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (unknown) filtered out
ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (unknown) succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (unknown) filtered out
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA HITACHI HTS54322 FBEZ PQ: 0 ANSI: 5
PM: Adding info for scsi:target0:0:0
PM: Adding info for No Bus:rtc0
PM: Adding info for scsi:0:0:0:0
rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
i2c /dev entries driver
PM: Adding info for No Bus:i2c-0
PM: Adding info for No Bus:i2c-1
PM: Adding info for No Bus:i2c-2
PM: Adding info for No Bus:i2c-3
PM: Adding info for No Bus:i2c-4
PM: Adding info for No Bus:i2c-5
PM: Adding info for No Bus:i2c-6
PM: Adding info for No Bus:i2c-7
PM: Adding info for No Bus:i2c-8
PM: Adding info for No Bus:i2c-9
PM: Adding info for No Bus:i2c-10
PM: Adding info for No Bus:i2c-11
PM: Adding info for No Bus:i2c-12
PM: Adding info for No Bus:i2c-13
PM: Adding info for No Bus:i2c-14
PM: Adding info for No Bus:i2c-15
PM: Adding info for No Bus:i2c-16
i801_smbus 0000:00:1f.3: PCI INT A -> GSI 23 (level, low) -> IRQ 23
PM: Adding info for i2c:i2c-17
PM: Adding info for No Bus:i2c-17
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
PM: Adding info for platform:coretemp.0
PM: Adding info for No Bus:hwmon1
PM: Adding info for platform:coretemp.1
PM: Adding info for No Bus:input3
PM: Adding info for No Bus:0:0:0:0
PM: Adding info for No Bus:hwmon2
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
PM: Adding info for No Bus:0:0:0:0
sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
PM: Adding info for No Bus:8:0
PM: Adding info for No Bus:sg0
PM: Adding info for No Bus:sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
PM: Adding info for No Bus:0:0:0:0
cpuidle: using governor ladder
PM: Adding info for No Bus:event3
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
hdaps: supported laptop not found!
hdaps: driver init failed (ret=-19)!
sda: sda1 sda2 sda3 sda4
PM: Adding info for No Bus:sda1
PM: Adding info for No Bus:sda2
PM: Adding info for No Bus:sda3
PM: Adding info for No Bus:sda4
ALSA device list:
sd 0:0:0:0: [sda] Attached SCSI disk
No soundcards found.
IPv4 over IPv4 tunneling driver
PM: Adding info for No Bus:tunl0
TCP cubic registered
NET: Registered protocol family 17
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Registering the dns_resolver key type
Using IPI No-Shortcut mode
PM: Adding info for No Bus:cpu_dma_latency
PM: Adding info for No Bus:network_latency
PM: Adding info for No Bus:network_throughput
PM: Hibernation image not present or could not be loaded.
Magic number: 15:387:327
rtc_cmos 00:07: setting system clock to 2011-02-13 11:20:29 UTC (1297596029)
usb 2-4: new high speed USB device using ehci_hcd and address 2
PM: Adding info for usb:2-4
PM: Adding info for usb:2-4:1.0
PM: Adding info for usb:2-4:1.1
PM: Adding info for No Bus:ep_8a
PM: Adding info for usb:2-4:1.2
PM: Adding info for No Bus:ep_01
PM: Adding info for No Bus:ep_81
PM: Adding info for usb:2-4:1.3
PM: Adding info for No Bus:ep_89
PM: Adding info for usb:2-4:1.4
PM: Adding info for No Bus:ep_02
PM: Adding info for No Bus:ep_82
PM: Adding info for usb:2-4:1.5
PM: Adding info for No Bus:ep_8b
PM: Adding info for usb:2-4:1.6
PM: Adding info for No Bus:ep_8c
PM: Adding info for usb:2-4:1.7
PM: Adding info for No Bus:ep_87
PM: Adding info for usb:2-4:1.8
PM: Adding info for usb:2-4:1.9
PM: Adding info for No Bus:ep_85
PM: Adding info for usb:2-4:1.10
PM: Adding info for No Bus:ep_06
PM: Adding info for No Bus:ep_86
PM: Adding info for No Bus:usbdev2.2
PM: Adding info for No Bus:ep_00
IBM TrackPoint firmware: 0x0e, buttons: 3/3
PM: Adding info for No Bus:input4
input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input4
PM: Adding info for No Bus:mouse0
PM: Adding info for No Bus:event4
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
usb 4-2: new full speed USB device using uhci_hcd and address 2
UDF-fs: No partition found (1)
device label root devid 1 transid 1893 /dev/root
PM: Adding info for No Bus:btrfs-1
PM: Adding info for usb:4-2
PM: Adding info for usb:4-2:1.0
PM: Adding info for No Bus:ep_81
PM: Adding info for No Bus:ep_82
PM: Adding info for No Bus:ep_02
PM: Adding info for usb:4-2:1.1
PM: Adding info for No Bus:ep_83
PM: Adding info for No Bus:ep_03
PM: Adding info for usb:4-2:1.2
PM: Adding info for No Bus:ep_84
PM: Adding info for No Bus:ep_04
PM: Adding info for usb:4-2:1.3
PM: Adding info for No Bus:usbdev4.2
PM: Adding info for No Bus:ep_00
VFS: Mounted root (btrfs filesystem) readonly on device 0:10.
Freeing unused kernel memory: 352k freed
Write protecting the kernel text: 5504k
Write protecting the kernel read-only data: 1012k
udev[965]: starting version 165
Bluetooth: Generic Bluetooth USB driver ver 0.6
PM: Adding info for No Bus:hci0
PM: Adding info for No Bus:rfkill0
usbcore: registered new interface driver btusb
e1000e: Intel(R) PRO/1000 Network Driver - 1.2.20-k2
e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
e1000e 0000:00:19.0: setting latency timer to 64
e1000e 0000:00:19.0: irq 45 for MSI/MSI-X
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
iwlagn: Copyright(c) 2003-2010 Intel Corporation
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: setting latency timer to 64
iwlagn 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
iwlagn 0000:03:00.0: device EEPROM VER=0x11e, CALIB=0x4
iwlagn 0000:03:00.0: Device SKU: 0Xb
iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:03:00.0: irq 46 for MSI/MSI-X
PM: Adding info for No Bus:0000:03:00.0
cdc_acm 2-4:1.1: ttyACM0: USB ACM device
PM: Adding info for No Bus:ttyACM0
cdc_acm 2-4:1.3: ttyACM1: USB ACM device
PM: Adding info for No Bus:ttyACM1
cdc_acm 2-4:1.9: ttyACM2: USB ACM device
PM: Adding info for No Bus:ttyACM2
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
thinkpad_acpi: ThinkPad ACPI Extras v0.24
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 6DET28WW (1.05 ), EC 7XHT21WW-1.03
thinkpad_acpi: Lenovo ThinkPad X200, model 7458Y11
PM: Adding info for platform:thinkpad_acpi
PM: Adding info for platform:thinkpad_hwmon
PM: Adding info for No Bus:hwmon3
thinkpad_acpi: detected a 8-level brightness capable ThinkPad
thinkpad_acpi: radio switch found; radios are enabled
PM: Adding info for No Bus:rfkill1
thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
PM: Adding info for No Bus:rfkill2
thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
PM: Adding info for No Bus:tpacpi::thinklight
Registered led device: tpacpi::thinklight
PM: Adding info for No Bus:tpacpi::power
Registered led device: tpacpi::power
PM: Adding info for No Bus:tpacpi::standby
Registered led device: tpacpi::standby
PM: Adding info for No Bus:tpacpi::thinkvantage
Registered led device: tpacpi::thinkvantage
PM: Adding info for No Bus:thinkpad_screen
PM: Adding info for No Bus:card29
PM: Adding info for No Bus:controlC29
thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
PM: Adding info for No Bus:input5
input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input5
PM: Adding info for No Bus:event5
PM: Removing info for No Bus:0000:03:00.0
iwlagn 0000:03:00.0: loaded firmware version 8.24.2.12
PM: Adding info for No Bus:phy0
PM: Adding info for No Bus:rfkill3
ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
PM: Adding info for No Bus:wlan0
PM: Adding info for No Bus:timer
PM: Adding info for No Bus:eth0
e1000e 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:1f:16:09:3e:a6
e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
e1000e 0000:00:19.0: eth0: MAC: 7, PHY: 8, PBA No: 1008FF-0FF
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 17 (level, low) -> IRQ 17
HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
PM: Adding info for No Bus:card0
PM: Adding info for No Bus:pcmC0D1p
PM: Adding info for No Bus:pcmC0D0p
PM: Adding info for No Bus:pcmC0D0c
PM: Adding info for No Bus:controlC0
device label data devid 1 transid 59471 /dev/sda4
PM: Adding info for No Bus:btrfs-2
device label data devid 1 transid 59471 /dev/sda4
Adding 2000088k swap on /dev/sda2. Priority:-1 extents:1 across:2000088k
PM: Adding info for No Bus:vcs10
PM: Adding info for No Bus:vcsa10
PM: Adding info for No Bus:vcs11
PM: Adding info for No Bus:vcsa11
PM: Adding info for No Bus:vcs12
PM: Adding info for No Bus:vcsa12
PM: Adding info for No Bus:vcs13
PM: Adding info for No Bus:vcsa13
PM: Adding info for No Bus:vcs14
PM: Adding info for No Bus:vcsa14
PM: Adding info for No Bus:vcs15
PM: Adding info for No Bus:vcsa15
PM: Adding info for No Bus:vcs16
PM: Adding info for No Bus:vcsa16
PM: Adding info for No Bus:vcs17
PM: Adding info for No Bus:vcsa17
PM: Adding info for No Bus:vcs18
PM: Adding info for No Bus:vcsa18
PM: Adding info for No Bus:vcs19
PM: Adding info for No Bus:vcsa19
PM: Adding info for No Bus:vcs2
PM: Adding info for No Bus:vcsa2
PM: Adding info for No Bus:vcs20
PM: Adding info for No Bus:vcsa20
PM: Adding info for No Bus:vcs21
PM: Adding info for No Bus:vcsa21
PM: Adding info for No Bus:vcs22
PM: Adding info for No Bus:vcsa22
PM: Adding info for No Bus:vcs23
PM: Adding info for No Bus:vcsa23
PM: Adding info for No Bus:vcs24
PM: Adding info for No Bus:vcsa24
PM: Adding info for No Bus:vcs25
PM: Adding info for No Bus:vcsa25
PM: Adding info for No Bus:vcs26
PM: Adding info for No Bus:vcsa26
PM: Adding info for No Bus:vcs27
PM: Adding info for No Bus:vcsa27
PM: Adding info for No Bus:vcs28
PM: Adding info for No Bus:vcsa28
PM: Adding info for No Bus:vcs29
PM: Adding info for No Bus:vcsa29
PM: Adding info for No Bus:vcs3
PM: Adding info for No Bus:vcsa3
PM: Adding info for No Bus:vcs30
PM: Adding info for No Bus:vcsa30
PM: Adding info for No Bus:vcs31
PM: Adding info for No Bus:vcsa31
PM: Adding info for No Bus:vcs32
PM: Adding info for No Bus:vcsa32
PM: Adding info for No Bus:vcs33
PM: Adding info for No Bus:vcsa33
PM: Adding info for No Bus:vcs34
PM: Adding info for No Bus:vcsa34
PM: Adding info for No Bus:vcs35
PM: Adding info for No Bus:vcsa35
PM: Adding info for No Bus:vcs36
PM: Adding info for No Bus:vcsa36
PM: Adding info for No Bus:vcs37
PM: Adding info for No Bus:vcsa37
PM: Adding info for No Bus:vcs38
PM: Adding info for No Bus:vcsa38
PM: Adding info for No Bus:vcs39
PM: Adding info for No Bus:vcsa39
PM: Adding info for No Bus:vcs4
PM: Adding info for No Bus:vcsa4
PM: Adding info for No Bus:vcs40
PM: Adding info for No Bus:vcsa40
PM: Adding info for No Bus:vcs41
PM: Adding info for No Bus:vcsa41
PM: Adding info for No Bus:vcs42
PM: Adding info for No Bus:vcsa42
PM: Adding info for No Bus:vcs43
PM: Adding info for No Bus:vcsa43
PM: Adding info for No Bus:vcs44
PM: Adding info for No Bus:vcsa44
PM: Adding info for No Bus:vcs45
PM: Adding info for No Bus:vcsa45
PM: Adding info for No Bus:vcs46
PM: Adding info for No Bus:vcsa46
PM: Adding info for No Bus:vcs47
PM: Adding info for No Bus:vcsa47
PM: Adding info for No Bus:vcs48
PM: Adding info for No Bus:vcsa48
PM: Adding info for No Bus:vcs49
PM: Adding info for No Bus:vcsa49
PM: Adding info for No Bus:vcs5
PM: Adding info for No Bus:vcsa5
PM: Adding info for No Bus:vcs50
PM: Adding info for No Bus:vcsa50
PM: Adding info for No Bus:vcs51
PM: Adding info for No Bus:vcsa51
PM: Adding info for No Bus:vcs52
PM: Adding info for No Bus:vcsa52
PM: Adding info for No Bus:vcs53
PM: Adding info for No Bus:vcsa53
PM: Adding info for No Bus:vcs54
PM: Adding info for No Bus:vcsa54
PM: Adding info for No Bus:vcs55
PM: Adding info for No Bus:vcsa55
PM: Adding info for No Bus:vcs56
PM: Adding info for No Bus:vcsa56
PM: Adding info for No Bus:vcs57
PM: Adding info for No Bus:vcsa57
PM: Adding info for No Bus:vcs58
PM: Adding info for No Bus:vcsa58
PM: Adding info for No Bus:vcs59
PM: Adding info for No Bus:vcsa59
PM: Adding info for No Bus:vcs6
PM: Adding info for No Bus:vcsa6
PM: Adding info for No Bus:vcs60
PM: Adding info for No Bus:vcsa60
PM: Adding info for No Bus:vcs61
PM: Adding info for No Bus:vcsa61
PM: Adding info for No Bus:vcs62
PM: Adding info for No Bus:vcsa62
PM: Adding info for No Bus:vcs63
PM: Adding info for No Bus:vcsa63
PM: Adding info for No Bus:vcs7
PM: Adding info for No Bus:vcsa7
PM: Adding info for No Bus:vcs8
PM: Adding info for No Bus:vcsa8
PM: Adding info for No Bus:vcs9
PM: Adding info for No Bus:vcsa9
wlan0: authenticate with 00:25:9c:3c:4d:5c (try 1)
wlan0: authenticated
wlan0: associate with 00:25:9c:3c:4d:5c (try 1)
wlan0: RX AssocResp from 00:25:9c:3c:4d:5c (capab=0x411 status=0 aid=2)
wlan0: associated
start_kdeinit (1748): /proc/1748/oom_adj is deprecated, please use /proc/1748/oom_score_adj instead.
Are there any suggestions where i should go from here? (with the official arch kernel its exactly the same story, no difference in the logs) -
Hi Experts.
I have activated approvals and have a simple approval template working (as a test) whereby AR Invoices exceeding a certain value require approval.
I have also created an approval template whereby Purchase Orders require approval if they are over the users approval limit but under their manager's approval limit as defined in UDFs against the employee record. This approval is not working.
The approval is based on a query:
select distinct 'true'
from opor a, por1 b, oact c, ohem d, ohem e
where a.docentry = b.docentry
and a.canceled = 'n'
and a.docstatus = 'o'
and a.docentry = b.docentry
and b.acctcode = c.acctcode
and a.docnum = $[OPOR.DocNum]
and a.ownercode = d.empid
and d.manager = e.empid
and (
(b.u_budgeted = 'budget'and c.groupmask = 6
and (a.doctotal-a.vatsum > d.u_budgetexpense or d.u_budgetexpense is null))
or (b.u_budgeted = 'budget'and c.groupmask = 1
and (a.doctotal-a.vatsum > d.u_budgetcapital or d.u_budgetcapital is null))
or (b.u_budgeted = 'non-budget' and c.groupmask = 6
and (a.doctotal-a.vatsum > d.u_nonbudgetexpense or d.u_nonbudgetexpense is null))
or (b.u_budgeted = 'non-budget' and c.groupmask = 1
and (a.doctotal-a.vatsum > d.u_nonbudgetcapital or d.u_nonbudgetcapital is null)) )
and (
(b.u_budgeted = 'budget' and c.groupmask = 6
and a.doctotal-a.vatsum <= e.u_budgetexpense
and e.u_budgetexpense is not null)
or (b.u_budgeted = 'budget' and c.groupmask = 1
and a.doctotal-a.vatsum <= e.u_budgetcapital
and e.u_budgetcapital is not null)
or (b.u_budgeted = 'non-budget' and c.groupmask = 6
and a.doctotal-a.vatsum <= e.u_nonbudgetexpense
and e.u_nonbudgetexpense is not null)
or (b.u_budgeted = 'non-budget' and c.groupmask = 1
and a.doctotal-a.vatsum <= e.u_nonbudgetcapital
and e.u_nonbudgetcapital is not null) )
The query will return the value 'true' if executed when the PO document is displayed on the screen, so I am happy with the query.
I think maybe the problem might be on the Terms tab of the Approval Template because Total Selected Terms = 2. I think this should be 1.
There is a tick against Undefined Type under Term and I can remove this so that Total Selected Terms = 1, then I click on Update and OK - but when I go back in again the tick is back and Total Selected Terms = 2 again.
Any suggestions would be very much appreciated.
Regards. JulieHi.
Thank you for your replies.
The solution I worked out was to select the Term 'Total Document' as 'Greater than $1.00'.
This enabled me to successfully de-select the last Term 'Undefined Type'.
The Alert then fired successfully.
Regards.
Julie
Maybe you are looking for
-
Regarding parallel queries in ABAP same as in oracle 10g
Hi, Is there any way we can write parallel queries in ABAP, in the same way we do in oracle 10g.Kindly see below; alter table emp parallel (degree 4); select degree from user_tables where table_name = 'EMP'; select count(*) from emp; alter table e
-
How do I get audiobooks into the audiobooks folder?
There is an audiobooks folder on the first menu on my ipod but I can't figure out how to get audiobooks into it. When I make an "audiobooks" playlist it just puts it under the playlists menu but i want to see it under the audiobooks menu.
-
Inherited an ipad 2 and do not have the iTunes password. Can I get the ipad reset?
The ipad was my moms and she passed away. I know her itunes password was rarely used as she had the same few apps on there for years. I want to reset it and give it to my grandkids. Everything I am reading tells me that apple will not help without
-
New XSL processor release 2.2.0.8 ?
When can we expect the XSL processor release (2.2.0.8 ?) with the multi-thread bug fix? Thanks, null
-
Any help about CREDIT CARD handling for E-commerce
I want to create a JSP page that would 1)Get credit card information 2)Validate the credit card number 3)handle the transaction Who will be the volunteer to give me detail about all of this process. The implementation of CREDIT CARD TRANSACTION handl