AOL Tests, AOL Session sysadmin login validation failed...
Hi, I ran the "CRM Foundation" diagnostic checks and got this as a failed test. My sysadmin login works fine when logging in to applications. I checked on Metalink and google for various pastes from this error and can't find anything. Anyone know (1) what this is, (2) how it can be fixed? Thanks!
Group Name: AOLTests
Component Name: AOL Session
Class Name: oracle.apps.jtf.regress.qatool.testcase.authenticateTest
Version: 115.9
Description: To authenticate the user.
Authentication Test Report
Current Execution
Date: 2009-05-11 18:09:18.0 Time Consumed: 23 milliseconds Status: Failed
Version Info:
oracle.apps.fnd.common.WebAppsContext 115.160
oracle.apps.fnd.security.SessionManager 115.172
Inputs:
username= SYSADMIN
password= ******
Diagnostic Test Executed By= SYSADMIN
Error:
Login validation failed
Help:
Check if SYSADMIN is a valid AOL user
I believe this is a known issue - see MOS Doc 146438.1 (CRM AOLSessions Authentication Test Diagnostic Error That Login Failed)
HTH
Srini
Similar Messages
-
SYSADMIN login failing after 12.0.6 upgrade
Hi All,
I had upgrade apps to 12.0.6 from 12.0.4 on HP UX . My SYSADMIN login is failing after this whereas other user logins are fine.
Can someone give any clue on this.
Thanks,
Bharath.Hi,
I had upgrade apps to 12.0.6 from 12.0.4 on HP UX . My SYSADMIN login is failing after this whereas other user logins are fine.
Can someone give any clue on this.What is the error? Any details in Apache log files?
Please verify that the SYSADMIN user is not end-dated. Also, change the password of the SYSADMIN user using FNDCPASS (or from the application) and see if you can login then.
Note: 423274.1 - How To Change The Password For The SYSADMIN User
Note: 437260.1 - How to Change Applications R12 Passwords using Applications Schema Password Change Utility (FNDCPASS)?
Regards,
Hussein -
I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin. Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database. The user attempts
to connect using Excel client or Access or SQL Management Studio and receives Error 18456. The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data. But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
We've turned off UAC on the client machine to see if that was the problem, but no change.
I have dropped and re-added the user's SQL Login (and the related database user login info). No success.
The Ring Buffers output shows:
The Calling API Name: LookupAccountSidInternal
API Name: LookupAccountSid
Error Code: 0x534
Thanks for any help.
-WaltYes, you understand correctly. The user is logging onto a workstation (not the server) with a Windows Authenticated id. The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
If the account has sysadmin role (which is only for testing) then the connection is successful. If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
(SQL Authentication is not an option here. I must use Windows Authentication).
Any other troubleshooting assistance you can offer would be appreciated. Thanks.
-Walt -
I have been updating my site over the last week, using Iweb SEO TOOL, but suddenly 2 days ago I can no longer update when i go to publish it says "invalid password "on Iweb Test. and on SEO Tool, Login Failed Login Authentication Failed, the password and all settings are correct.
I am 100% sure the all the setting are correct, as it has been working for the last 7 months and I have just been updating it, then suddenly it stopped, I have all the FTP settings wrote down, and even changed the passwords twice hoping that may work to no avail.Try the following:
delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
Click to view full size
launch iWeb and try again.
If that doesn't help continue with:
move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
launch iWeb, create a new test site, save the new domain file and close iWeb.
go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
move your original domain file from the Desktop to the iWeb folder.
launch iWeb and try again. -
AOL Instant Messenger Login Problem
Hi guys and gals,
So I've been having a problem for quite some time now and I was hoping someone might have experienced the same problem and can tell me just how to fix it...
So I've been using iChat for years with my AIM password and login and have never had a problem. Just recently, someone hacked in to my account and started spamming people from my account. Because of this I had to change my password. When I entered the new password into iChat, it gave me the following error:
*AOL Instant Messenger Login*
iChat was unable to login to the AOL Instant
Messenger service because your screen name or
password was incorrect.
I know the password is correct and the account works if I sign in with AIM; however, I hate AIM and want to use the account with iChat. I've tried uninstalling and reinstalling iChat. I've also tried deleting my account and recreating it with the new password but that didn't work either.
Has anyone experienced this before or does anyone know how I can get iChat to work again? Thank you so much!Hi,
Use this Users Tip to check the Keychain entry for your AIM name
http://discussions.apple.com/thread.jspa?threadID=121885
You may find you have two entries in the passwords section for your Screen Name.
It may also pay to delete the com.apple.ichat.AIM.plist after removing the passwords row or stars in iChat and well as deleting any extra Keychain items and changing the password there.
Then Restart iChat so that it re-writes the plist from defaults and current Keychain info.
7:43 PM Friday; February 12, 2010
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" -
Failed Logins - Token Based Server Access Validation Failed
Hi All-
I am trying to track down, well for lack of a better word (an annoyance). I have a VM running a proprietary utility (VMware update manager) that connects to a remote SQL VM. This connection is via a service account that from the surface has the
appropriate permissions. The setup and utility has been in and is working as it should. However in our logs we are constantly seeing.
SQL Event Viewer - Login failed for DOMAIN/REMOTESERVERNAME$ Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors [CLIENT: REMOTEIP OF REMOTESERVERNAME]
Then in the SQL Logs I am seeing the same error and also - ERROR 18546, Severity 14, State 11
I have read dozens of threads - pointing to UAC. I have elevated SSMS via UAC and allowed it to run as administrator. Also ran as admin, and reapplied the permissions to that service account, db_owner
What I have read is about AD/user account. However in this case I am seeing the remote server name, not service account. Got me thinking a service is running as network or local system, and phoning home to SQL. However everything I see
is using the service account for that utility. Also in the event viewer in the security portion for that same time, I see the login and log off as successful. Could anyone try to point me in the right direction, without flat out adding the servername
to the local SQL VM administrators group.
Thank you in advance for any assistance.Rather than adding the machine account to the admin group, you could do:
GRANT CONNECT TO [Domain\Remoteservername$]
And then you could set up a logon trigger that captures information about the login. That would include app_name() as well as the Windows process id. This could help you track exactly which process that is knocking on the door.
Erland Sommarskog, SQL Server MVP, [email protected] -
I copied a workbook that has a working scheduled refresh
modified the data model, added some new reports
added a new source (PQ from azure market place)
uploaded workbook to new powerbi location.
get the following error when i try to turn on scheduled refresh - this is even if i just select one data source that is still identical to the original (working) workbook
Test connections settings validation failed: one or more connections did not pass the test
Technical Details ▼
Correlation ID: ddcab6b8-ff2c-4881-9d8e-eeabbd23dff2
Date and Time: 12/12/2014 06:13:06 AM (UTC)
what's the problem?
Jakub @ Adelaide, Australia BlogStill a problem and not just for me but other users going by the threads on here...
https://social.technet.microsoft.com/Forums/en-US/eb8682f4-9b40-456a-a7f1-45627a0f4ff0/cannot-schedule-refresh?forum=powerbiforoffice365#eb8682f4-9b40-456a-a7f1-45627a0f4ff0
Applies to all worksheets that utilise a PQ connection registered in the gateway. (my gateway is on an azure VM)
Existing worksheets receive this warning. New workbooks that utilise these connections also receive this warning
Adding a new PQ to the gateway and a new workbook that uses the new connection also receives this warning.
Every PQ connection I have receives this warning. My PQ connections are all to web resources. Most are to the workflowmax.com API, and one is to the Azure Marketplace to retrieve data for a date dimension.
Note: this does not prevent me from scheduling or triggering a refresh, and the refresh itself completes successfully. It's just a weird warning that caused confusion as it sounds like the actual refresh will fail as well seeing as the connection test failed.
Jakub @ Adelaide, Australia Blog -
Using tcm to load test scripts into mtm, but action fails.
Hi,
I am trying to load test scripts into mtm but action fails saying : "The work item cannot be saved because at least one field contains a value that is not allowed."
My guess is that this issue is due to the parameters/attributes we give to a test case([testmethod], [description()], etc.). I am unable to find what all parameters/attributes that can be given to a test case.
Please help me with this issue.
Regards,
Payal Prajapati
Payal Prajapati.Hi,
I use VS 2012.
One of my test method code is:
/// <summary>
/// Test Scenario to validate auto escalation of chat if within some time analyst does not respond to user.
/// </summary>
[TestMethod]
[Description("Validating scenario, Auto-Escalation of chats to other Analyst.")]
[Priority(2)]
[TestCategory("Acceptance")]
public void ValidatingAutoEscalationOfChatsToOtherAnalyst()
User alice = new User(User1);
alice.SubmitChatInfo();
Analyst admin = new Analyst(Analyst_Admin);
admin.Login();
Analyst analysttier1 = new Analyst(Analyst_Tier1);
admin.SelectQueues(Tier1Queue);
admin.MakeAvailable();
alice.USendMessage("I have a problem.");
admin.AnalystWaitForAutoEscalation(25000);
string Message1 = alice.GetAnalystName();
analysttier1.Login();
analysttier1.SelectQueues(Tier1Queue);
analysttier1.MakeAvailable();
alice.USendMessage("I have a problem.");
string Message2 = alice.GetAnalystName();
analysttier1.ASendMessage("hello, i'm here to help.");
SprtTestContext.sprtTestContext.WriteLine("Earlier agent was: '" + Message1 + "' and present agent is: '" + Message2 + "'.");
Assert.AreNotEqual<string>(Message1, Message2, "=> Issue in auto escalation.");
analysttier1.WrapChatClose(4, "fixed", "comments"); }
Payal Prajapati. -
Why are inputText values within a dataTable tag lost when validation fails?
Hi, As a test, I have three fields outside of a dataTable tag and three fields inside a dataTable tag.
I enter data into field1, field3 and all of the fields within the dataTable. Field2 is left empty and is required. I press the 'go' button which gets to the validation phase and immediately redraws the web page and says 'value is required' which is what it should do.
What shocks me at this point is that the field values inside the datatable are lost. They are back to their original blank values.
It like even though validation fails(the model is not updated), the datatable is redrawn using the model data which is still blank. The renderer forgets that those fields within the datatable had data typed into them.
Is this a bug? and how do I get around it? I don't want to lose what was typed in.
here is my example:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<body>
<f:view>
<h:form>
<h:panelGrid columns="2">
<h:outputText value="field1"/><h:inputText value="#{example.field1}"/>
<h:outputText value="field2 required"/><h:inputText required="true" value="#{example.field2}"/>
<h:outputText value="field3"/><h:inputText value="#{example.field3}"/>
</h:panelGrid>
<h:panelGrid columns="1">
<h:outputText value="dataTable"/>
<h:outputText value="---------"/>
<h:dataTable value="#{example.lines}" var="line">
<h:column>
<h:inputText value="#{line.text}"/>
<f:facet name="header">
<h:outputText value="column1"/>
</f:facet>
</h:column>
</h:dataTable>
<h:commandButton value="go"/>
<h:outputText value="errors"/>
<h:outputText value="---------"/>
<h:messages showDetail="true"/>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
package test;
import java.util.ArrayList;
public class Example {
private String field1;
private String field2;
private String field3;
private ArrayList lines = new ArrayList();
public Example() {
lines.add(new Line());
lines.add(new Line());
lines.add(new Line());
public String getField1() {
return field1;
public void setField1(String field1) {
this.field1 = field1;
public String getField2() {
return field2;
public void setField2(String field2) {
this.field2 = field2;
public String getField3() {
return field3;
public void setField3(String field3) {
this.field3 = field3;
public ArrayList getLines() {
return lines;
public void setLines(ArrayList lines) {
this.lines = lines;
package test;
public class Line {
private String text;
public String getText() {
return text;
public void setText(String text) {
this.text = text;
<managed-bean>
<managed-bean-name>example</managed-bean-name>
<managed-bean-class>test.Example</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>I posted about this bug a month ago and then again twice more (as recently as last week) and got zero responses. I piddled away so much time thinking I was crazy to believe this framework could have such a gaping hole in the fuselage that it was crazy. The more unsettling part too was the fact that the logging in the jsf code is so pathetic that you have no clue even with it on full that it's throwing your data away, they have unit tests in their code, including in-container tests, and they didn't have a test that turned this up? Hello? A project that has been going for this long should not have torture traps like this in it. Sorry for my negative post. To end on a positive note, I am looking forward to finding out about oracle's stuff. And Sun wonders why no one uses their stuff.
Does the Oracle JSF implementation require OAS? -
My current softward is: Mac OS X Lion 10.7.5 (11G63)
When I attempt to use the Filezilla connection wizard I get the following message:
Connecting to probe.filezilla-project.org
Response: 220 FZ router and firewall tester ready
USER FileZilla
Response: 331 Give any password.
PASS 3.7.1.1
Response: 230 logged on.
Checking for correct external IP address
Retrieving external IP address from http://ip.filezilla-project.org/ip.php
Checking for correct external IP address
IP 27.0.19.56 ch-a-bj-fg
Response: 200 OK
PREP 52470
Response: 200 Using port 52470, data token 1871898076
PORT 27,0,19,56,204,246
Response: 200 PORT command successful
LIST
Response: 150 opening data connection
Response: 503 Failure of data connection.
Server sent unexpected reply.
Connection closed
When I attempt to login Host/Username/Password myself I get the following message:
Status: Resolving address of amyhoney.com
Status: Connecting to 184.168.54.1:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 12 of 500 allowed.
Response: 220-Local time is now 04:05. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220 You will be disconnected after 3 minutes of inactivity.
Command: USER 5475****
Response: 331 User 5475**** OK. Password required
Command: PASS ********************
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server
Now before anyone points out the obvious: my username and password are correct. I've already gone through changing them so I know they are.
Additionally, I've pretty much tried EVERYTHING I've read online, from messing with "terminal" (and subsequently the FTP and STFP options) to changing the sharing options and turning on file sharing/remote management as well as just turning off my Firewall completely.
Now I've used Filezilla before when I first published my site and everything worked fine. My site is published through Wordpress so most of my editing was done through simply logging into my "wp-login." I recently changed the theme and in order to change the header image in that theme I have to do it through my "wp-content" folder, which means I need to use Filezilla. I feel like a complete moron right now considering I've had my site for about a year and can't even doing something this simple.
I've read that the newer version of Lion/Mountain Lion don't support automatice FTP anymore, which (as I mentioned prior) I attempted to fix through Terminal. However, nothing I do seem to do works.
Can someone walk me through fixing this? And I do mean 'walk me through'. I'm not a tech-savvy nerd who knows all the lingo, I just know the basics so sorry if my ignorance offends you.
HELP!!First be sure login and password are OK. Sometimes the address starts wit "http://..." and sometime starts with "ftp://...". Try both normal FTP access and Scure FTP access (SFTP). At the end, contact the site's provider.
-
Process_order api - Validation Failed for Field Bill To
I am relatively new to the EBS world and I'm having some issues with calling the OE_Order_Pub.Process_order API. When I call this API I am getting a return error of "Validation failed for field - Bill To".
For a background...I have an APEX application where users can choose parts from a small part master list to add to an existing order. The existing order will not have a status of Closed or Cancelled and there will be atleast 1 line in the order before the new parts are added. The parts will be added as new lines to the order with some of the new line data defaulting to the same information as the first line. I am using EBS version 12.1.3 with a multi-org setup. It seems that the orders under one org (id=3) are working fine, but another org(id=569) they never work and keep getting the error. I am setting the context to the org of the order and initializing the apps user information with the responsibility "Order Management Super User".
Do you have any idea what could be wrong or how I can debug the error to get a little more detail?
Here is the procedure I have.
PROCEDURE TEK_ORD_PROCESS_ORDER(p_order_id IN NUMBER, p_return_code OUT NOCOPY VARCHAR2, p_status OUT NOCOPY VARCHAR2) IS
CURSOR c_order_parts IS
SELECT *
FROM TEK_APEX.TEK_ORD_ORDER_PARTS
WHERE ORDER_ID = p_order_id;
TYPE t_parts IS TABLE OF TEK_APEX.TEK_ORD_ORDER_PARTS%ROWTYPE;
v_order_parts t_parts;
--Setup variables
H_Op_Code VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_UPDATE;
L_Op_Code VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_CREATE;
v_install_type VARCHAR2(25) := 'PTO';
v_source_id NUMBER;
v_user_id NUMBER;
v_resp_id NUMBER;
v_app_id NUMBER;
v_debug VARCHAR2(32767);
v_oracle_order OE_ORDER_HEADERS_ALL%ROWTYPE;
v_apex_order TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
p_header_rec OE_Order_Pub.Header_Rec_Type;
p_header_val_rec OE_Order_Pub.Header_Val_Rec_Type;
p_Header_Adj_tab OE_Order_Pub.Header_Adj_Tbl_Type;
p_Header_Adj_val_tab OE_Order_Pub.Header_Adj_Val_Tbl_Type;
p_Header_price_Att_tab OE_Order_Pub.Header_Price_Att_Tbl_Type;
p_Header_Adj_Att_tab OE_Order_Pub.Header_Adj_Att_Tbl_Type;
p_Header_Adj_Assoc_tab OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
p_Header_Scredit_tab OE_Order_Pub.Header_Scredit_Tbl_Type;
p_Header_Scredit_val_tab OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
p_line_tab OE_Order_Pub.Line_Tbl_Type;
p_line_val_tab OE_Order_Pub.Line_Val_Tbl_Type;
p_Line_Adj_tab OE_Order_Pub.Line_Adj_Tbl_Type;
p_Line_Adj_val_tab OE_Order_Pub.Line_Adj_Val_Tbl_Type;
p_Line_price_Att_tab OE_Order_Pub.Line_Price_Att_Tbl_Type;
p_Line_Adj_Att_tab OE_Order_Pub.Line_Adj_Att_Tbl_Type;
p_Line_Adj_Assoc_tab OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
p_Line_Scredit_tab OE_Order_Pub.Line_Scredit_Tbl_Type;
p_Line_Scredit_val_tab OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
p_Lot_Serial_tab OE_Order_Pub.Lot_Serial_Tbl_Type;
p_Lot_Serial_val_tab OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
p_action_request_tab OE_Order_pub.Request_Tbl_Type;
l_header_rec OE_Order_Pub.Header_Rec_Type;
l_header_val_rec OE_Order_Pub.Header_Val_Rec_Type;
l_Header_Adj_tab OE_Order_Pub.Header_Adj_Tbl_Type;
l_Header_Adj_val_tab OE_Order_Pub.Header_Adj_Val_Tbl_Type;
l_Header_price_Att_tab OE_Order_Pub.Header_Price_Att_Tbl_Type;
l_Header_Adj_Att_tab OE_Order_Pub.Header_Adj_Att_Tbl_Type;
l_Header_Adj_Assoc_tab OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
l_Header_Scredit_tab OE_Order_Pub.Header_Scredit_Tbl_Type;
l_Header_Scredit_val_tab OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
l_line_tab OE_Order_Pub.Line_Tbl_Type;
l_line_val_tab OE_Order_Pub.Line_Val_Tbl_Type;
l_Line_Adj_tab OE_Order_Pub.Line_Adj_Tbl_Type;
l_Line_Adj_val_tab OE_Order_Pub.Line_Adj_Val_Tbl_Type;
l_Line_price_Att_tab OE_Order_Pub.Line_Price_Att_Tbl_Type;
l_Line_Adj_Att_tab OE_Order_Pub.Line_Adj_Att_Tbl_Type;
l_Line_Adj_Assoc_tab OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
l_Line_Scredit_tab OE_Order_Pub.Line_Scredit_Tbl_Type;
l_Line_Scredit_val_tab OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
l_Lot_Serial_tab OE_Order_Pub.Lot_Serial_Tbl_Type;
l_Lot_Serial_val_tab OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
l_ret_status VARCHAR2(200);
l_msg_count NUMBER;
l_msg_data VARCHAR2(200);
--Email information
v_email_address varchar2(100);
v_msg_text varchar(1000);
v_subject_text varchar(1000);
--Default line information
v_item_id NUMBER;
v_contact_id NUMBER;
v_invoice_to_org_id oe_order_lines_all.INVOICE_TO_ORG_ID%TYPE;
v_ship_to_org_id oe_order_lines_all.SHIP_TO_ORG_ID%TYPE;
v_sold_to_org_id oe_order_lines_all.SOLD_TO_ORG_ID%TYPE;
v_flow_status_code oe_order_lines_all.FLOW_STATUS_CODE%TYPE;
FUNCTION GET_ORACLE_ORDER(p_order_number IN OE_ORDER_HEADERS_ALL.ORDER_NUMBER%TYPE)
RETURN OE_ORDER_HEADERS_ALL%ROWTYPE IS
v_order OE_ORDER_HEADERS_ALL%ROWTYPE;
BEGIN
SELECT *
INTO v_order
FROM APPS.OE_ORDER_HEADERS_ALL
WHERE ORDER_NUMBER = p_order_number;
RETURN v_order;
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END GET_ORACLE_ORDER;
FUNCTION GET_APEX_ORDER(p_order_id IN TEK_APEX.TEK_ORD_SALES_ORDERS.ORDER_ID%TYPE)
RETURN TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE IS
v_order TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
BEGIN
SELECT *
INTO v_order
FROM TEK_APEX.TEK_ORD_SALES_ORDERS
WHERE ORDER_ID = p_order_id;
RETURN v_order;
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END GET_APEX_ORDER;
FUNCTION GET_SOURCE_ID(p_source_name IN VARCHAR2)
RETURN OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE IS
v_source_id OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE;
BEGIN
SELECT ORDER_SOURCE_ID
INTO v_source_id
FROM APPS.OE_ORDER_SOURCES
WHERE NAME = p_source_name;
RETURN v_source_id;
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END GET_SOURCE_ID;
FUNCTION GET_ITEM_ID(p_part_number IN VARCHAR2, p_org_id IN NUMBER)
RETURN MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE IS
v_item_id MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE;
BEGIN
SELECT INVENTORY_ITEM_ID
INTO v_item_id
FROM APPS.MTL_SYSTEM_ITEMS
WHERE SEGMENT1 = p_part_number
AND ORGANIZATION_ID = p_org_id;
RETURN v_item_id;
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END GET_ITEM_ID;
BEGIN
apps.mo_global.set_policy_context('S',3);
apps.mo_global.init('XXTEK');
BEGIN
SELECT USER_ID
INTO v_user_id
FROM APPS.FND_USER
WHERE USER_NAME = 'SYSADMIN';
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20001, 'Error selecting user');
END;
BEGIN
SELECT RESPONSIBILITY_ID, APPLICATION_ID
INTO v_resp_id, v_app_id
FROM TEK_APEX.TEK_RR_ACTIVE_RESP_VW
WHERE UPPER(RESPONSIBILITY_NAME) = 'ORDER MANAGEMENT SUPER USER';
--Set current user information
fnd_global.apps_initialize (user_id => v_user_id
,resp_id => v_resp_id
,resp_appl_id => v_app_id);
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20001, 'Error selecting responsibility');
END;
--Get the order information from Oracle and APEX
v_apex_order := GET_APEX_ORDER(p_order_id);
IF v_apex_order.ORDER_ID IS NULL THEN
RAISE_APPLICATION_ERROR(-20001, 'APEX Order ID is invalid: ' || p_order_id);
END IF;
v_oracle_order := GET_ORACLE_ORDER(TO_NUMBER(v_apex_order.ORDER_NUMBER));
IF v_oracle_order.ORDER_NUMBER IS NULL THEN
RAISE_APPLICATION_ERROR(-20001, 'Order Number not found in Oracle: ' || v_apex_order.ORDER_NUMBER);
END IF;
apps.mo_global.set_policy_context('S', v_oracle_order.ORG_ID);
v_source_id := GET_SOURCE_ID('IMPORT');
IF v_source_id IS NULL THEN
RAISE_APPLICATION_ERROR(-20001, 'Source ID not found for IMPORT');
END IF;
/* ********** Gather Order Header********** */
/* ********** Info. ********** */
OE_Order_Pub.Get_Order(p_api_version_number => 1.0,
p_init_msg_list => FND_API.G_TRUE,
p_return_values => FND_API.G_TRUE,
x_return_status => l_ret_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
p_header_id => v_oracle_order.HEADER_ID,
p_header => NULL,
x_header_rec => l_header_rec,
x_header_val_rec => l_header_val_rec,
x_Header_Adj_tbl => l_Header_Adj_tab,
x_Header_Adj_val_tbl => l_Header_Adj_val_tab,
x_Header_price_Att_tbl => l_Header_price_Att_tab,
x_Header_Adj_Att_tbl => l_Header_Adj_Att_tab,
x_Header_Adj_Assoc_tbl => l_Header_Adj_Assoc_tab,
x_Header_Scredit_tbl => l_Header_Scredit_tab,
x_Header_Scredit_val_tbl=> l_Header_Scredit_val_tab,
x_line_tbl => l_line_tab,
x_line_val_tbl => l_line_val_tab,
x_Line_Adj_tbl => l_Line_Adj_tab,
x_Line_Adj_val_tbl => l_Line_Adj_val_tab,
x_Line_price_Att_tbl => l_Line_price_Att_tab,
x_Line_Adj_Att_tbl => l_Line_Adj_Att_tab,
x_Line_Adj_Assoc_tbl => l_Line_Adj_Assoc_tab,
x_Line_Scredit_tbl => l_Line_Scredit_tab,
x_Line_Scredit_val_tbl => l_Line_Scredit_val_tab,
x_Lot_Serial_tbl => l_Lot_Serial_tab,
x_Lot_Serial_val_tbl => l_Lot_Serial_val_tab);
--Save defaults from first line
IF l_line_tab.EXISTS(1) THEN
v_contact_id := l_line_tab(1).SHIP_TO_CONTACT_ID;
v_invoice_to_org_id := l_line_tab(1).INVOICE_TO_ORG_ID;
v_ship_to_org_id := l_line_tab(1).SHIP_TO_ORG_ID;
v_sold_to_org_id := l_line_tab(1).SOLD_TO_ORG_ID;
v_flow_status_code := l_line_tab(1).FLOW_STATUS_CODE;
END IF;
--Clear out the line array before adding any new parts
FOR i IN l_line_tab.FIRST..l_line_tab.LAST LOOP
l_line_tab.DELETE(i);
l_line_val_tab.DELETE(i);
l_line_adj_tab.DELETE(i);
l_line_adj_val_tab.DELETE(i);
l_line_price_att_tab.DELETE(i);
l_line_adj_att_tab.DELETE(i);
l_line_adj_assoc_tab.DELETE(i);
l_line_scredit_tab.DELETE(i);
l_line_scredit_val_tab.DELETE(i);
l_lot_serial_tab.DELETE(i);
l_lot_serial_val_tab.DELETE(i);
END LOOP;
/* ********** Gather Order Lines ********** */
OPEN c_order_parts;
FETCH c_order_parts BULK COLLECT INTO v_order_parts;
CLOSE c_order_parts;
FOR i IN v_order_parts.FIRST..v_order_parts.LAST LOOP
v_item_id := GET_ITEM_ID(v_order_parts(i).PART_NUMBER, v_oracle_order.SHIP_FROM_ORG_ID);
IF v_item_id IS NULL THEN
RAISE_APPLICATION_ERROR(-20001, 'Error selecting part number ' || v_order_parts(i).PART_NUMBER);
END IF;
--Clear line first
l_line_tab(i) := OE_Order_Pub.G_Miss_Line_Rec;
l_line_val_tab(i) := OE_ORDER_PUB.G_MISS_LINE_VAL_REC;
l_line_adj_tab(i) := OE_ORDER_PUB.G_MISS_LINE_ADJ_REC;
l_line_adj_val_tab(i) := OE_ORDER_PUB.G_MISS_LINE_ADJ_VAL_REC;
l_line_price_att_tab(i) := OE_ORDER_PUB.G_MISS_LINE_PRICE_ATT_REC ;
l_line_adj_att_tab(i) := OE_ORDER_PUB.G_MISS_LINE_ADJ_ATT_REC;
l_line_adj_assoc_tab(i) := OE_ORDER_PUB.G_MISS_LINE_ADJ_ASSOC_REC;
l_line_scredit_tab(i) := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_REC;
l_line_scredit_val_tab(i) := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_VAL_REC;
l_lot_serial_tab(i) := OE_ORDER_PUB.G_MISS_LOT_SERIAL_REC;
l_lot_serial_val_tab(i) := OE_ORDER_PUB.G_MISS_LOT_SERIAL_VAL_REC;
--Set line information
l_line_tab(i).PRICE_LIST_ID := v_oracle_order.PRICE_LIST_ID;
l_line_tab(i).header_id := v_oracle_order.header_id;
l_line_tab(i).inventory_item_id := v_item_id;
l_line_tab(i).ordered_quantity := v_order_parts(i).QUANTITY;
l_line_tab(i).operation := l_op_code;
l_line_tab(i).unit_list_price := 0;
l_line_tab(i).ship_from_org_id := v_oracle_order.ship_from_org_id;
l_line_tab(i).program_id := fnd_global.conc_program_id ;
l_line_tab(i).program_application_id := fnd_global.PROG_APPL_ID;
l_line_tab(i).order_source_id := v_source_id;
l_line_tab(i).calculate_price_flag := 'N' ;
l_line_tab(i).unit_selling_price := 0.00 ;
l_line_tab(i).request_date := v_apex_order.onsite_date;
l_line_tab(i).Schedule_ship_date := v_apex_order.onsite_date;
l_line_tab(i).promise_date := null;
l_line_tab(i).invoice_to_org_id := v_invoice_to_org_id;
l_line_tab(i).ship_to_org_id := v_ship_to_org_id;
l_line_tab(i).sold_to_org_id := v_sold_to_org_id;
l_line_tab(i).ship_to_contact_id := v_contact_id;
END LOOP;
--OE_DEBUG_PUB.DEBUG_ON;
--OE_DEBUG_PUB.Initialize;
--OE_DEBUG_PUB.SetDebugLevel(5);
--Add lines to order
OE_Order_Pub.Process_order(p_api_version_number => 1.0,
p_init_msg_list => FND_API.G_TRUE,
p_return_values => FND_API.G_TRUE,
p_action_commit => FND_API.G_FALSE,
x_return_status => l_ret_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
p_header_rec => l_header_rec,
p_old_header_rec => l_header_rec,
p_header_val_rec => l_header_val_rec,
p_old_header_val_rec => l_header_val_rec,
p_Header_Adj_tbl => l_Header_Adj_tab,
p_old_Header_Adj_tbl => l_Header_Adj_tab,
p_Header_Adj_val_tbl => l_Header_Adj_val_tab,
p_old_Header_Adj_val_tbl => l_Header_Adj_val_tab,
p_Header_price_Att_tbl => l_Header_price_Att_tab,
p_old_Header_Price_Att_tbl => l_Header_price_Att_tab,
p_Header_Adj_Att_tbl => l_Header_Adj_Att_tab,
p_old_Header_Adj_Att_tbl => l_Header_Adj_Att_tab,
p_Header_Adj_Assoc_tbl => l_Header_Adj_Assoc_tab,
p_old_Header_Adj_Assoc_tbl => l_Header_Adj_Assoc_tab,
p_Header_Scredit_tbl => l_Header_Scredit_tab,
p_old_Header_Scredit_tbl => l_Header_Scredit_tab,
p_Header_Scredit_val_tbl => l_Header_Scredit_val_tab,
p_old_Header_Scredit_val_tbl => l_Header_Scredit_val_tab,
p_line_tbl => l_line_tab,
p_line_val_tbl => l_line_val_tab,
p_Line_Adj_tbl => l_line_adj_tab,
p_Line_Adj_val_tbl => l_line_adj_val_tab,
p_Line_price_Att_tbl => l_line_price_att_tab,
p_Line_Adj_Att_tbl => l_line_adj_att_tab,
p_Line_Adj_Assoc_tbl => l_line_adj_assoc_tab,
p_Line_Scredit_tbl => l_line_scredit_tab,
p_Line_Scredit_val_tbl => l_line_scredit_val_tab,
p_Lot_Serial_tbl => l_lot_serial_tab,
p_Lot_Serial_val_tbl => l_lot_serial_val_tab,
p_action_request_tbl => OE_ORDER_PUB.G_MISS_REQUEST_TBL,
x_header_rec => p_header_rec,
x_header_val_rec => p_header_val_rec,
x_Header_Adj_tbl => p_Header_Adj_tab,
x_Header_Adj_val_tbl => p_Header_Adj_val_tab,
x_Header_price_Att_tbl => p_Header_price_Att_tab,
x_Header_Adj_Att_tbl => p_Header_Adj_Att_tab,
x_Header_Adj_Assoc_tbl => p_Header_Adj_Assoc_tab,
x_Header_Scredit_tbl => p_Header_Scredit_tab,
x_Header_Scredit_val_tbl => p_Header_Scredit_val_tab,
x_line_tbl => p_line_tab,
x_line_val_tbl => p_line_val_tab,
x_line_adj_tbl => p_line_adj_tab,
x_line_adj_val_tbl => p_line_adj_val_tab,
x_line_price_att_tbl => p_line_price_att_tab,
x_line_adj_att_tbl => p_line_adj_att_tab,
x_line_adj_assoc_tbl => p_line_adj_assoc_tab,
x_line_scredit_tbl => p_line_scredit_tab,
x_line_scredit_val_tbl => p_line_scredit_val_tab,
x_lot_serial_tbl => p_lot_serial_tab,
x_lot_serial_val_tbl => p_lot_serial_val_tab,
x_action_request_tbl => p_action_request_tab);
-- OE_DEBUG_PUB.DEBUG_OFF;
p_return_code := l_ret_status;
IF l_ret_status != 'S' THEN
DBMS_OUTPUT.PUT_LINE(l_msg_data);
IF l_msg_count = 1 THEN
p_status := OE_Msg_Pub.Get(1,'F');
ELSE
FOR i IN 1..l_msg_count LOOP
p_status := OE_Msg_Pub.Get(i,'F') || '<br />';
END LOOP;
END IF;
p_status := 'Error loading lines<br>' || p_status;
ELSE
p_status := 'Order Processed Successfully<br>' || v_order_parts.COUNT || ' Line(s) Loaded';
END IF;
-- WHILE OE_DEBUG_PUB.G_DEBUG_INDEX < OE_DEBUG_PUB.CountDebug LOOP
-- OE_DEBUG_PUB.GetNext(v_debug);
-- DBMS_OUTPUT.PUT_LINE(v_debug);
-- END LOOP;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK;
RAISE;
END TEK_ORD_PROCESS_ORDER;Thanks!
Jonathan HartHello,
Try the following
1) Check if any processing constraints are applied to customer/location
2) Try to create a new customer and associate internal location.
Create a new order to reproduce the issue
Thanks
-Arif -
VPD "Lost" after validation fails
Hi,
We have a custom in house VPD. In the application security section, under VPD, we call a procedure which sets our security context client_id in order to be used to make context references within secure views.
In our page we have a simple select list which is run against a "secure" view. Once the user selects a value they hit continue to go on. A validation is put in place to make sure that a value has been selected.
If the validation fails, we go back to the page and the validation error message displays (as it should) however the select list has no values. After doing a lot of testing, references to any view that uses the VPD returns no values when a validation fails.
We've done some test and it appears that the following happens:
- On a page submit the VPD function gets called (as per the application security / vpd)
- Validations are performed
- If validation fails, run: dbms_session.clear_identifier;
- Load the page along with the appropriate error messages.
Is this correct? Is their anyway around this?
We have tried to set an application process to run before header which would run the same function as that called in the VPD section, however the process isn't run when a validation fails.
Thank you,
MartinAPEX sets client identifier to: APP_USER:APP_SESSION. CLIENT_INFO is set to just APP_USER. Try the following query from the SQL Workshop as well as a region on a page to give you a better idea of what APEX sets:select sys_context('USERENV','CURRENT_SCHEMA') CURRENT_SCHEMA,sys_context('USERENV','SESSION_USER') SESSION_USER,
sys_context('USERENV','MODULE') module,sys_context('USERENV','ACTION') action,
sys_context('USERENV','CLIENT_INFO') CLIENT_INFO, sys_context('USERENV','CLIENT_IDENTIFIER') CLIENT_IDENTIFIER
from dualI would probably include the IP Address of your HTTP Servers in the policy to make sure it's not someone connecting from SQL*Plus: sys_context('USERENV', 'IP_ADDRESS')
Tyler -
Creation of login object failed
Hi all,
I've got a problem with the mobile client development.
We are using the mobile client for many years and we even develop a lot with it, but now i have a problem never seen.
After extending a bDoc and start testing the application, after the generation and login, system states "Creation of login object failed".
So i did a full generation. Result the same.
I debugged the ValidateLogin class and found out, that in the following statement is failing
BOLOGIN = BusinessRootObject.BusinessFactory.LoadBusinessObject("LOGIN", determineUser)
BOLOGIN is Nothing at the end. I tried out to create the Object via BOLOGIN = BusinessRootObject.BusinessFactory.CreateBusinessObject("LOGIN")
same result. Next i tried to create the BOACTIVITY and it failed as well. One day before everything was fine, even with changing business documents.
The error in the VB.ERR object says:
- err {Microsoft.VisualBasic.ErrObject} Microsoft.VisualBasic.ErrObject
Description "In der Methode BusinessFactoryCore.LoadBusinessObject ist eine System-Exception aufgetreten" String
Erl 0 Integer
HelpContext 0 Integer
HelpFile "" String
LastDllError 3 Integer
Number 5 Integer
Source "MTBLLFW" String
Can anybody please give a hint.
We are using CRM 5.0 SP7 and MSA SP7 on MS 2003 Server with local repository. DB is SQL2000.
Yesterday i was releasing a changelist and now its no longer working at all, what a mess.
Thanks to all,
Andreas RoseHi Andreas,
The problem may be incorrect or corrupt ARSREP.DAT file.
The reason may be that the BDOCs are not synched from MAS. Once you sync this through MAS you will find the *.bdoc files at the location
mentioned under the registry key HKLM\SOFTWARE\SAP\MSA\MW\TL\BDocPath
Usually this would be default as C:\Program Files\SAP\Mobile\tpsfiles.
After this when you generate the BusinessLibrary the Arsrep.dat file
will have the *.bdocs incorporated in the Arsrep.dat file.
Hope this helps.
Regards, Gervase
ps. For synching the BDocs refer to SAP Note 942942 -
Sql to find all Sysadmin logins in EBS
Hi ,
I am using this sql to find out all Sysadmin logins in my EBS environment.
SELECT user_name "User Name",
to_char(start_time, 'MM-DD-YYYY HH24:MI:SS') "Login Time",
to_char(end_time, 'MM-DD-YYYY HH24:MI:SS') "Logout Time"
FROM apps.fnd_logins a,
apps.fnd_user b
WHERE a.user_id = b.user_id
AND b.user_name IN ('SYSADMIN', 'MOBDEV', 'MOBADM')
AND TRUNC(start_time) > TRUNC(SYSDATE) - 1
AND login_type = 'FORM'
ORDER BY start_time;
But, somehow I am unable to relate this logins to database sessions id. Is these any direct sql to find out all session info from gv$session / gv$process whenever there is a sysadmin login.
EBS 11.5.10.2
DB 11.2.0.2Hi
HusseinNone of the query gives a correct output.
For example , when I enter the user_name as SYSADMIN for the query , the v$session.action gives result as "FRM:GXGONG:ACCO CA IND Shipping "..this is the forms session info for "GXGONG" user who doesn't have the sysadmin responsibility.
SELECT distinct(s.sid),
s.serial#,
p.spid,
s.process,
substr(to_char(s.logon_time,'mm-dd-yy hh24:mi:ss'),1,20) Logon_Time,
s.action,
s.module,
fu.user_name,
fip.ipaddress
FROM
V$SESSION s, V$PROCESS p,fnd_oam_forms_rti fip, fnd_logins fl, fnd_user fu
WHERE s.paddr = p.addr
AND s.process = fip.PID
AND fl.pid = p.pid
AND fl.user_id = fu.user_id
AND s.username IS NOT NULL
and fu.user_name IN ('SYSADMIN', 'MOBDEV', 'MOBADM')
and s.action like 'FRM%'
and s.logon_time > trunc(sysdate) -1
1047 48328 28016 31638 03-25-13 13:04:55 FRM:JPJUSTIC:ACCO ITEM/INVENTORY INVTVQOH SYSADMIN 10.32.33.95:64961
3772 63791 32428 30206 03-25-13 22:10:16 FRM:EXFINKLE:ACCO INVENTORY ADJU WIPTXSFM SYSADMIN 10.32.82.104:46034
3425 48215 18143 14036 03-25-13 21:26:09 FRM:GXGONG:ACCO CA IND Shipping WMSCTLBD SYSADMIN 172.20.23.102:33548
774 51097 21922 26155 03-25-13 21:12:15 FRM:JXLIM:ACCO PURCHASING APPLIC POXPOVPO SYSADMIN 10.43.2.16:47312
1442 21606 20941 21354 03-25-13 07:58:41 FRM:MDJAMES:ACCO Shipping Execut FNDRSRUN SYSADMIN 10.32.33.127:6350
5150 17379 16824 31376 03-25-13 16:21:49 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
5117 45721 16824 31376 03-25-13 16:09:17 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
3447 151 18143 14036 03-26-13 00:26:44 FRM:GXGONG:ACCO CA IND Shipping FNDRSRUN SYSADMIN 172.20.23.102:33548
5147 4240 16824 31376 03-25-13 16:08:54 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
5107 62706 16824 31376 03-25-13 16:11:17 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
5168 4367 16824 31376 03-25-13 16:38:00 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
3450 59009 18143 14036 03-26-13 00:29:13 FRM:GXGONG:ACCO CA IND Shipping INVMATWB SYSADMIN 172.20.23.102:33548
5137 45737 16824 31376 03-25-13 16:13:01 FRM:GXROY:ACCO Receivables Colle OEXOETEL SYSADMIN 172.25.16.120:60150
3461 16761 18143 14036 03-25-13 21:25:39 FRM:GXGONG:ACCO CA IND Shipping INVMATWB SYSADMIN 172.20.23.102:33548
434 26798 24756 17190 03-25-13 16:20:57 FRM:MXBAKER:Direct US CSR User OEXOEORD SYSADMIN 10.32.33.123:50117
5142 31731 16824 31376 03-25-13 16:20:46 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
1716 11892 24609 27641 03-26-13 00:36:16 FRM:BAMALAGO:ACCO INVENTORY ADJU WIPTXSFM SYSADMIN 10.32.82.143:27123 -
VALIDATION FAILED when setting up mobileme account on ipad
I get this same problem when trying to setup my "Find Iphone" on my ipad.
I first try to add my mobileme account as follows: settings > mail, contacts calendars > mobile me
when I put in my account login and password, i get the following response: "VALIDATION FAILED: the identity of this ipad could not be validated."
Please advise. Thanks!I get this same problem when trying to setup my "Find Iphone" on my ipad.
I first try to add my mobileme account as follows: settings > mail, contacts calendars > mobile me
when I put in my account login and password, i get the following response: "VALIDATION FAILED: the identity of this ipad could not be validated."
Please advise. Thanks!
Maybe you are looking for
-
Sharing libraries on home windows network stopped after upgrade to 7.2.0
Up until I upgraded to 7.2.0 I had no problems sharing my iTunes libraries across my windows desktop & 2 windows laptops. Now I can no longer share. Tried deselecting & selecting the share option. Tried pinging each machine. Tried turning firewalls o
-
Credit Note in SAP Business One
Hi All, We want to reimburse some of the customer promotional expenditure ( e.g. trade scheme operated in the market, distribution expenditure undertaken, display given etc ) in form of credit or we want make credit entry for the same reason to the c
-
I have transferred word files form my PC to my new Mac Book Pro. Some of the word files are feint and will not open as you cant select them. Also you cant delete them either because the cursor wont highlight or select them. Any ideas anyone?
-
HPUX shared libraries versions of XML parser v2 for C++
Hi All, Could somebody tell me whether Oracle have any plans to distribute shared versions of the xml libraries that ship with the C++ XML Parser for HPUX. I am working on a project that uses shared libraries that in turn use the Oracle XML parser. I
-
Regarding BT Infinity availability
about 2 weeks ago i checked more out of curiosity if it was available in our area. entering our phone number came out positive. then i started to compare what we have now how much it costs to what we would get with infinity. i decided against infinit