Creating a record in IT0006 giving an error?
Hi Experts,
I have added a new field in IT0006 ,Now when try to create a new record for a employee.
1,If I give the SUBTY in the PA30 screen getting an error "Don't Specify a subty error"
if and remove the subty and press CREATE button popup's comes and list the subty values.......It was allowing me to enter the subty in the PA30 screen prior to my new field addition in IT0006... is't a problem with the new field addition?
2, After I choose the subty value from the pop-up I am able to see the next screen....BUT GETTING AN INFORMATION MESSAGE THAT "Assignment to feature P0006 did not take place"?
3,, In the next screen after I have passed all mandatory fields while attempting SAVE I am getting an error called " Time constraint table in T777D is incorrect" what could be the cause?
Thanks in Advance,
Srini R
>
Srini.r wrote:
> I have added a new field in IT0006
> Srini R
Have you done this through PM01?
~Suresh
Similar Messages
-
When creating new records in any entity getiing error in mscrm 2011
Dear all;
when i try to create new record in any entity for example opportunity i am getting this error
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Server was unable to process request.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147023878</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
/>
<Message>Server was unable to process request.</Message>
<Timestamp>2013-09-04T12:10:21.3522306Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
please helpHi Anwar,
As suggested above enable the trace, This would help you get the exact and detailed error.
Steps:-
1. Start the trace
2. Reproduce the Error
3. Stop the trace.
4. Look in the log file and search for error.
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
Creating new record in Results Table giving Error
Hi All,
On update page there is a Results Table with Add button to create a new row.
While creating a new record on Results Table gives error
Attribute set for AccessId in view object XXLCUpdVariablesVO1 failed
I have checked EO and VO attributes, everything seems to be right.
Also Updatable is set to 'Always'.
Still don't know why this error is coming up.
Plz help to resolve this error.
Thanks,
SKAjay,
XML code
<?xml version='1.0' encoding='windows-1252' ?>
<!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
<Entity
Name="XXLCVarAssignmentsEO"
DBObjectType="table"
DBObjectName="XXLCOKC_VARIABLE_ASSIGNMENTS"
AliasName="XXLCVarAssignmentsEO"
BindingStyle="OracleName"
UseGlueCode="false"
RowClass="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEOImpl"
DefClass="oracle.apps.fnd.framework.server.OAEntityDefImpl"
CollClass="oracle.apps.fnd.framework.server.OAEntityCache" >
<DesignTime>
<Attr Name="_isCodegen" Value="true" />
<Attr Name="_version" Value="10.1.3.41.57" />
<AttrArray Name="_publishEvents">
</AttrArray>
<Attr Name="_panelSchema" Value="table|alias" />
<Attr Name="_codeGenFlag2" Value="Init|Delete|Access|Val" />
</DesignTime>
<Attribute
Name="AssignmentId"
IsNotNull="true"
ColumnName="ASSIGNMENT_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS"
PrimaryKey="true" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="AssignmentAccess"
IsNotNull="true"
Precision="30"
ColumnName="ASSIGNMENT_ACCESS"
Type="java.lang.String"
ColumnType="VARCHAR2"
SQLType="VARCHAR"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="30" />
</DesignTime>
</Attribute>
<Attribute
Name="VariableId"
IsNotNull="true"
ColumnName="VARIABLE_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="ListValueId"
IsNotNull="true"
ColumnName="LIST_VALUE_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="OrganizationId"
IsNotNull="true"
Precision="15"
Scale="0"
ColumnName="ORGANIZATION_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="TemplateId"
IsNotNull="true"
ColumnName="TEMPLATE_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="AuctionHeaderId"
IsNotNull="true"
ColumnName="AUCTION_HEADER_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="PoHeaderId"
IsNotNull="true"
ColumnName="PO_HEADER_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="CreatedBy"
IsNotNull="true"
ColumnName="CREATED_BY"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="CreationDate"
IsNotNull="true"
ColumnName="CREATION_DATE"
Type="oracle.jbo.domain.Date"
ColumnType="DATE"
SQLType="DATE"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="7" />
</DesignTime>
</Attribute>
<Attribute
Name="LastUpdateDate"
IsNotNull="true"
ColumnName="LAST_UPDATE_DATE"
Type="oracle.jbo.domain.Date"
ColumnType="DATE"
SQLType="DATE"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="7" />
</DesignTime>
</Attribute>
<Attribute
Name="LastUpdatedBy"
IsNotNull="true"
ColumnName="LAST_UPDATED_BY"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="LastUpdateLogin"
IsNotNull="true"
ColumnName="LAST_UPDATE_LOGIN"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Attribute
Name="AccessId"
ColumnName="ACCESS_ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</Attribute>
<Key
Name="SysC00329905" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentAccess" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""ASSIGNMENT_ACCESS" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329905" />
</DesignTime>
</Key>
<Key
Name="SysC00329906" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.VariableId" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""VARIABLE_ID" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329906" />
</DesignTime>
</Key>
<Key
Name="SysC00329907" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.ListValueId" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""LIST_VALUE_ID" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329907" />
</DesignTime>
</Key>
<Key
Name="SysC00329908" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.OrganizationId" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""ORGANIZATION_ID" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329908" />
</DesignTime>
</Key>
<Key
Name="SysC00329909" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.TemplateId" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""TEMPLATE_ID" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329909" />
</DesignTime>
</Key>
<Key
Name="SysC00329910" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AuctionHeaderId" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""AUCTION_HEADER_ID" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329910" />
</DesignTime>
</Key>
<Key
Name="SysC00329911" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.PoHeaderId" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""PO_HEADER_ID" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329911" />
</DesignTime>
</Key>
<Key
Name="SysC00329912" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreatedBy" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""CREATED_BY" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329912" />
</DesignTime>
</Key>
<Key
Name="SysC00329913" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreationDate" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""CREATION_DATE" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329913" />
</DesignTime>
</Key>
<Key
Name="SysC00329914" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateDate" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""LAST_UPDATE_DATE" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329914" />
</DesignTime>
</Key>
<Key
Name="SysC00329915" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdatedBy" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""LAST_UPDATED_BY" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329915" />
</DesignTime>
</Key>
<Key
Name="SysC00329916" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateLogin" />
</AttrArray>
<DesignTime>
<Attr Name="_checkCondition" Value=""LAST_UPDATE_LOGIN" IS NOT NULL" />
<Attr Name="_isCheck" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329916" />
</DesignTime>
</Key>
<Key
Name="SysC00329917" >
<AttrArray Name="Attributes">
<Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentId" />
</AttrArray>
<DesignTime>
<Attr Name="_isPrimary" Value="true" />
<Attr Name="_DBObjectName" Value="SYS_C00329917" />
</DesignTime>
</Key>
</Entity>
XXLCVarAssignmentsEOImpl Code
package xxlc.oracle.apps.okc.schema.articles.variables.server;
import oracle.apps.fnd.framework.OAAttrValException;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OADBTransaction;
import oracle.apps.fnd.framework.server.OAEntityDefImpl;
import oracle.apps.fnd.framework.server.OAEntityImpl;
import oracle.jbo.AttributeList;
import oracle.jbo.Key;
import oracle.jbo.domain.Date;
import oracle.jbo.domain.Number;
import oracle.jbo.server.AttributeDefImpl;
import oracle.jbo.server.EntityDefImpl;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class XXLCVarAssignmentsEOImpl extends OAEntityImpl
public static final int ASSIGNMENTID = 0;
public static final int ASSIGNMENTACCESS = 1;
public static final int VARIABLEID = 2;
public static final int LISTVALUEID = 3;
public static final int ORGANIZATIONID = 4;
public static final int TEMPLATEID = 5;
public static final int AUCTIONHEADERID = 6;
public static final int POHEADERID = 7;
public static final int CREATEDBY = 8;
public static final int CREATIONDATE = 9;
public static final int LASTUPDATEDATE = 10;
public static final int LASTUPDATEDBY = 11;
public static final int LASTUPDATELOGIN = 12;
public static final int ACCESSID = 13;
private static OAEntityDefImpl mDefinitionObject;
/**This is the default constructor (do not remove)
public XXLCVarAssignmentsEOImpl()
/**Retrieves the definition object for this instance class.
public static synchronized EntityDefImpl getDefinitionObject()
if (mDefinitionObject == null)
mDefinitionObject =
(OAEntityDefImpl)EntityDefImpl.findDefObject("xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO");
return mDefinitionObject;
/**Add attribute defaulting logic in this method.
public void create(AttributeList attributeList)
super.create(attributeList);
OADBTransaction transaction = getOADBTransaction();
Number asgId = transaction.getSequenceValue("XXLC_VAR_ASG_SEQ");
setAssignmentId(asgId);
/**Add entity remove logic in this method.
public void remove()
super.remove();
/**Add Entity validation code in this method.
protected void validateEntity()
super.validateEntity();
/**Gets the attribute value for AssignmentId, using the alias name AssignmentId
public Number getAssignmentId()
return (Number)getAttributeInternal(ASSIGNMENTID);
/**Sets <code>value</code> as the attribute value for AssignmentId
public void setAssignmentId(Number value)
if (value != null)
OADBTransaction transaction = getOADBTransaction();
Object[] varKey = {value};
EntityDefImpl varDefinition = XXLCVarAssignmentsEOImpl.getDefinitionObject();
XXLCVarAssignmentsEOImpl variable =
(XXLCVarAssignmentsEOImpl)varDefinition.findByPrimaryKey(transaction, new Key(varKey));
if (variable != null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AssignmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
setAttributeInternal(ASSIGNMENTID, value);
/**Gets the attribute value for AssignmentAccess, using the alias name AssignmentAccess
public String getAssignmentAccess()
return (String)getAttributeInternal(ASSIGNMENTACCESS);
/**Sets <code>value</code> as the attribute value for AssignmentAccess
public void setAssignmentAccess(String value)
setAttributeInternal(ASSIGNMENTACCESS, value);
/**Gets the attribute value for VariableId, using the alias name VariableId
public Number getVariableId()
return (Number)getAttributeInternal(VARIABLEID);
/**Sets <code>value</code> as the attribute value for VariableId
public void setVariableId(Number value)
setAttributeInternal(VARIABLEID, value);
/**Gets the attribute value for ListValueId, using the alias name ListValueId
public Number getListValueId()
return (Number)getAttributeInternal(LISTVALUEID);
/**Sets <code>value</code> as the attribute value for ListValueId
public void setListValueId(Number value)
setAttributeInternal(LISTVALUEID, value);
/**Gets the attribute value for OrganizationId, using the alias name OrganizationId
public Number getOrganizationId()
return (Number)getAttributeInternal(ORGANIZATIONID);
/**Sets <code>value</code> as the attribute value for OrganizationId
public void setOrganizationId(Number value)
setAttributeInternal(ORGANIZATIONID, value);
/**Gets the attribute value for TemplateId, using the alias name TemplateId
public Number getTemplateId()
return (Number)getAttributeInternal(TEMPLATEID);
/**Sets <code>value</code> as the attribute value for TemplateId
public void setTemplateId(Number value)
setAttributeInternal(TEMPLATEID, value);
/**Gets the attribute value for AuctionHeaderId, using the alias name AuctionHeaderId
public Number getAuctionHeaderId()
return (Number)getAttributeInternal(AUCTIONHEADERID);
/**Sets <code>value</code> as the attribute value for AuctionHeaderId
public void setAuctionHeaderId(Number value)
setAttributeInternal(AUCTIONHEADERID, value);
/**Gets the attribute value for PoHeaderId, using the alias name PoHeaderId
public Number getPoHeaderId()
return (Number)getAttributeInternal(POHEADERID);
/**Sets <code>value</code> as the attribute value for PoHeaderId
public void setPoHeaderId(Number value)
setAttributeInternal(POHEADERID, value);
/**Gets the attribute value for CreatedBy, using the alias name CreatedBy
public Number getCreatedBy()
return (Number)getAttributeInternal(CREATEDBY);
/**Sets <code>value</code> as the attribute value for CreatedBy
public void setCreatedBy(Number value)
setAttributeInternal(CREATEDBY, value);
/**Gets the attribute value for CreationDate, using the alias name CreationDate
public Date getCreationDate()
return (Date)getAttributeInternal(CREATIONDATE);
/**Sets <code>value</code> as the attribute value for CreationDate
public void setCreationDate(Date value)
setAttributeInternal(CREATIONDATE, value);
/**Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate
public Date getLastUpdateDate()
return (Date)getAttributeInternal(LASTUPDATEDATE);
/**Sets <code>value</code> as the attribute value for LastUpdateDate
public void setLastUpdateDate(Date value)
setAttributeInternal(LASTUPDATEDATE, value);
/**Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy
public Number getLastUpdatedBy()
return (Number)getAttributeInternal(LASTUPDATEDBY);
/**Sets <code>value</code> as the attribute value for LastUpdatedBy
public void setLastUpdatedBy(Number value)
setAttributeInternal(LASTUPDATEDBY, value);
/**Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin
public Number getLastUpdateLogin()
return (Number)getAttributeInternal(LASTUPDATELOGIN);
/**Sets <code>value</code> as the attribute value for LastUpdateLogin
public void setLastUpdateLogin(Number value)
setAttributeInternal(LASTUPDATELOGIN, value);
/**getAttrInvokeAccessor: generated method. Do not modify.
protected Object getAttrInvokeAccessor(int index,
AttributeDefImpl attrDef) throws Exception
switch (index)
case ASSIGNMENTID:
return getAssignmentId();
case ASSIGNMENTACCESS:
return getAssignmentAccess();
case VARIABLEID:
return getVariableId();
case LISTVALUEID:
return getListValueId();
case ORGANIZATIONID:
return getOrganizationId();
case TEMPLATEID:
return getTemplateId();
case AUCTIONHEADERID:
return getAuctionHeaderId();
case POHEADERID:
return getPoHeaderId();
case CREATEDBY:
return getCreatedBy();
case CREATIONDATE:
return getCreationDate();
case LASTUPDATEDATE:
return getLastUpdateDate();
case LASTUPDATEDBY:
return getLastUpdatedBy();
case LASTUPDATELOGIN:
return getLastUpdateLogin();
case ACCESSID:
return getAccessId();
default:
return super.getAttrInvokeAccessor(index, attrDef);
/**setAttrInvokeAccessor: generated method. Do not modify.
protected void setAttrInvokeAccessor(int index, Object value,
AttributeDefImpl attrDef) throws Exception
switch (index)
case ASSIGNMENTID:
setAssignmentId((Number)value);
return;
case ASSIGNMENTACCESS:
setAssignmentAccess((String)value);
return;
case VARIABLEID:
setVariableId((Number)value);
return;
case LISTVALUEID:
setListValueId((Number)value);
return;
case ORGANIZATIONID:
setOrganizationId((Number)value);
return;
case TEMPLATEID:
setTemplateId((Number)value);
return;
case AUCTIONHEADERID:
setAuctionHeaderId((Number)value);
return;
case POHEADERID:
setPoHeaderId((Number)value);
return;
case CREATEDBY:
setCreatedBy((Number)value);
return;
case CREATIONDATE:
setCreationDate((Date)value);
return;
case LASTUPDATEDATE:
setLastUpdateDate((Date)value);
return;
case LASTUPDATEDBY:
setLastUpdatedBy((Number)value);
return;
case LASTUPDATELOGIN:
setLastUpdateLogin((Number)value);
return;
case ACCESSID:
setAccessId((Number)value);
return;
default:
super.setAttrInvokeAccessor(index, value, attrDef);
return;
/**Gets the attribute value for AccessId, using the alias name AccessId
public Number getAccessId()
return (Number)getAttributeInternal(ACCESSID);
/**Sets <code>value</code> as the attribute value for AccessId
public void setAccessId(Number value)
setAttributeInternal(ACCESSID, value);
/**Creates a Key object based on given key constituents
public static Key createPrimaryKey(Number assignmentId)
return new Key(new Object[]{assignmentId});
Thanks,
SK -
Hello,
I'm trying to run a simple OpenScript script in Eclipse that creates a record (a Supplier in this case) in Oracle E-Business Suite. So I copied the the script file from OpenScript and created it as a Class in Eclipse. Then I created a main class to call the methods within the script class but no matter what method I call (initialize, run or finalize) I'm getting the java.lang.NullPointerException message. The error doesn't seem to be related with any specific line in the script but with the way that I'm calling it.
Should I call the OpenScript class from my main class in a different way? (see my examples below)
BTW, all external .jar files coming with OATS have been added to my project in Eclipse.
1) Here's the main class I created to call the OpenScript method (Eclipse auto-corrected my main class adding a Try and Catch around the method call):
public class Test {
public static void main(String[] args) {
nvscript nvs = new nvscript();
try {
nvs.initialize();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
2) Here's the script from OpenScript (the actual script has more steps but I'm just using the first one for a proof of concept):
import oracle.oats.scripting.modules.basic.api.*;
import oracle.oats.scripting.modules.browser.api.*;
import oracle.oats.scripting.modules.functionalTest.api.*;
import oracle.oats.scripting.modules.utilities.api.*;
import oracle.oats.scripting.modules.utilities.api.sql.*;
import oracle.oats.scripting.modules.utilities.api.xml.*;
import oracle.oats.scripting.modules.utilities.api.file.*;
import oracle.oats.scripting.modules.webdom.api.*;
import oracle.oats.scripting.modules.formsFT.api.*;
import oracle.oats.scripting.modules.applet.api.*;
public class nvscript extends IteratingVUserScript {
@ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
@ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
@ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
@ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
@ScriptService oracle.oats.scripting.modules.applet.api.AppletService applet;
@ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;
public void initialize() throws Exception {
this.getSettings().set("formsft.useformsonly",true);
browser.launch();
public void run() throws Exception {
beginStep(
"[1] E-Business Suite Home Page Redirect (/ebs12cloud.winshuttle.com:8000/)",
0);
web.window(2, "/web:window[@index='0' or @title='about:blank']")
.navigate("http://ebs12.xxxxxxx.com:8000/");
web.window(4, "/web:window[@index='0' or @title='Login']")
.waitForPage(null);
think(4.969);
web.textBox(
7,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_text[@id='usernameField' or @name='usernameField' or @index='0']")
.setText("winshuttle_user");
think(2.0);
web.textBox(
8,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
.click();
think(1.109);
web.textBox(
9,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
.setPassword(deobfuscate("kjhkjhkj=="));
think(1.516);
web.button(
10,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:button[@id='SubmitButton' or @value='Login' or @index='0']")
.click();
endStep();
public void finish() throws Exception {
3) Here's the error messages I'm getting based on the method I call from my main class:
3.a) when calling Initialize():
java.lang.NullPointerException
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getSettings(IteratingVUserScript.java:723)
at nvscript.initialize(nvscript.java:22)
at Test.main(Test.java:9)
3 b) when calling Run():
java.lang.NullPointerException
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.beginStep(IteratingVUserScript.java:260)
at nvscript.run(nvscript.java:30)
at Test.main(Test.java:9)
Any help and/or constructive comment will be appreciated it.
Thanks.
Federico.UPDATE
Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
Thanks.
Fede. -
Error while creating absence record in PA30 using 2001 infotype
Hi all,
iam getting an error while creating absence record for infotype 2001for LOP(unpaid)
error : No quota available for att./abs. 6000 for pers. no. 61000052 between 31.12.2009 and 31.12.2009
i have did
Create a absence type LOP
Determine Entry Screens and Time Constraint Classes
Define Counting Rules
Assign Counting Rules to Absence Types
Payroll: India>>Absences>Describe Absence Valuation Rules 01 Unpaid Leave
Group Absences for Absence Valuation>>Absence valuation rule>>F4 country grouping 40>> assign 01Unpaid Leave
please solve thisActually I don't know how your system is configured.
However, the error you're receiving seems you have assigned the absence type to a quota type.
Please go to your counting rule and check whether Deduction rule - absence quotas - within entitlement field is filled.
If yes, get the deduction rule value and go to
SPRO Time man- Time data rec - Absences - Absence Cat - Abs counting - rules for counting (new) - deduction rules for abs quotas and check the quota type in here.
If there is a quota assignment in place, before creating an IT2001 you need to create a IT2006 for that specific time period.
Or, you need to delete the quota assignment via two config steps mentioned above.
Regards,
Dilek -
Error while creating condition record
Hi
Am using 4.7 and creating condition record while saving condition record am getting error NO UPDATE SERVER FOUND FOR CONTEXT E, So am stuck up and do not know whom to contact is it error for BASIS? or related with SD kindly help.
ThanxHi Mukesh
As you are getting error NO UPDATE SERVER FOUND FOR CONTEXT E, while saving the condition record, kindly consult your BASIS consultants and ask them to check wheather the pricing related tables and structures have been copied and uploaded properly or not.
Regards
Srinath -
Error in message monitoring while creating new record in R/3
Hi All,
I am getting the following error in message monitoring while creating a new record from SAP Mobile client.
Service name: Validation_Service
Message: BackendKeys are not filled in table HEADER returned by getDetails
I am passing some random number from Client to SAP R/3 create function module.
When i pass the same value in create FM as in message monitoring. I am able to create the record successfully,
Corresponding to newly created record, i can see the data in getdetail header also.
Not sure why this error is coming.
Appreciate your help!!
Thanks & Regards
DevendraThe CREATE FM should not only create the entry, it should also EXPORT the key that it uses to create the entry. Is it doing that?
i.e. the CREATE signature is usually something like:
CREATE_BLAH
IMPORTING header TYPE header_row
EXPORTING key type header_row-key_field.
So the 'key' here should be filled by the FM and returned to DOE. -
Throwing error when Creating Info record
Hai,
When Creating Info record . I maintained standard Qty, Min qty ,price and Planned dely time .
It is not saving and there is an error message that "Maintian all entries in Reqt fields" and Cursor is blinking at Planned delytime . and Not saved/
Can any one solve my issue.
regards
MadhavHi madav ,
create inforecord me11
vender name
mat
purchase org
plant
maintain that and enter,
go to text maintain, then click on condition hear maintain as per as the requirement,
go back
click on purchase organization data then save
u will not get error .
hope it will help u .
thanks
BIswa -
Error material not maintained by purchasing when creating info record
Hi Expert,
I have an issue when creating info record, error says "Material ******* not maintained by purchasing". I've checked in MM03 purchasing view, all has been maintained and at the bottom there is message says "No plant-specific data exist". Accounting view also maintained. I've also checked in MARC table for this material and plant. It existed. I cannot see anything wrong on the material master setup but not sure why am i having this error...
Please help.
Thanks,Hi,
Error says "Material ******* not maintained by purchasing" & you checked purchasing view has been maintained.
OK. Just cross check following optionS
Option-1: You creating info- record for material with combination of plant & vendor....check did the material have purchasing view for same plant-the info-record you are creating!
Option-2: If no purchasing view for material with same plant , just extend in t.code MM50 for E Purchasing
Option-3: Check the material for same plant, did Procurement type F (External procurement) is there
Option-4: Check Profit Center in Plantdata/ sto-2 view of material.
Regards,
Biju K -
Error message:FRM-12001: Cannot Create the record group(check your query)
Requirement: Need to get employee name and number in the LOV in search criteria.
So I created LOV "full_name" and Record group Query under Employee Name property palette with
select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
,papf.employee_number
from apps.per_all_people_f papf, apps.per_person_types ppt
where sysdate between papf.effective_start_date and papf.effective_end_date AND papf.person_type_id=ppt.person_type_id AND ppt.system_person_type IN ('EMP', 'OTHER', 'CWK','EMP_APL')
AND PPT.default_flag='Y' and papf.BUSINESS_GROUP_ID=1
order by papf.full_name
I was unable to save and getting error message "FRM-12001: Cannot Create the record group(check your query)".
I cant use PER_ALL_PEOPLE_F.FULL_NAME since full name here is last_name||title||middle_names||firstname.
But my requiremnet is papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name .
Can any one of you help me.First, Magoo wrote:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name ( p_title in varchar2,
p_last_name in varchar2,
p_first_name in varchar2,
p_mid_names in varchar2 ) return varchar2 is
begin
for l_rec in ( select decode ( p_title, null, null, p_title || ' ' ) ||
p_last_name || ', ' || p_first_name ||
decode ( p_mid_names, null, null, ' ' || p_mid_names ) full_name
from dual ) loop
return ( l_rec.full_name );
end loop;
end;</font></pre>
Magoo, you don't ever need to use Select from Dual. And the loop is completely unnecessary, since Dual always returns only one record. This would be much simpler:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name
( p_title in varchar2,
p_last_name in varchar2,
p_first_name in varchar2,
p_mid_names in varchar2 ) return varchar2 is
begin
Return ( Ltrim( Rtrim ( p_title
||' ' ||p_last_name
||', '||p_first_name
||' ' ||p_middle_names )));
end;</font></pre>
And second:
user606106, you did not mention how you got your record group working. However, you DO have an issue with spaces. If you change this:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
,papf.employee_number </font></pre>
to this:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select Ltrim(Rtrim(papf.title||' '||papf.last_name||', '
||papf.first_name||' '||papf.middle_names)) AS emp_full_name,
papf.employee_number</font></pre>
it should work. The Ltrim(Rtrim()) removes leading and trailing spaces from the resulting full name. -
Issuing error message when creating a record for infotype
i have a req in HR
for the infotype 14 and the subtype 3010, when i'm going to create a record, i need to check some fields in infotype 0002. if check fails, i need to give error message and stop processing...
how i should do this...
thanks in advanceGo to CMOD transaction and create a project with enhancement PBAS0001.Components for PBAS0001 is EXIT_SAPFP50M_001,EXIT_SAPFP50M_002.
These two exit will contain tw0 includes ZXPADU01,ZXPADU02.ZXPADU01 include will trigger in the PBO of the transaction in create and change mode and ZXPADU02 will trigger in in create and change mode .Inside the inculde you can add the following code for different infotype
CASE innnn-infty.
0 0 1 4 *************************
WHEN '0014'.
PERFORM validate_0014_pai USING tclas
psave
ipsyst
i001p
i503
CHANGING innnn
show_data_again.
0 1 4 7 *************************
WHEN '0147'. -
Error when creating info record
Hi there:
When I am creating info record,and trying to enter 9.9 eur per kg,but the system popped up a error message and saying that enter a numeric value,what's wrong?you may have to enter 9,9 instead of 9.9
This is base on the decimal setting in your user profile. you can adjust this in SU3 transaction yourself -
When trying to access
the SCSM
console to create the
record release
appears the error below:
Version: System Center Service Manager 2012 R2
System.MissingMethodException: Method not found: 'Void Microsoft.EnterpriseManagement.ServiceManager.Application.Common.RelatedItemsPane.set_IsReadOnly(Boolean)'.
at Microsoft.EnterpriseManagement.ServiceManager.ReleaseManagement.Forms.ReleaseRecordForm.UpdateRelatedItemsPaneSettings()
at Microsoft.EnterpriseManagement.ServiceManager.ReleaseManagement.Forms.ReleaseRecordForm.ReleaseRecordDataContextChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyPropertyChangedEventHandler.Invoke(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
at System.Windows.FrameworkElement.OnDataContextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.FrameworkElement.set_DataContext(Object value)
at Microsoft.EnterpriseManagement.UI.FormsInfra.FormViewController.<OnReadHelperPropertyChanged>b__16()
at Microsoft.EnterpriseManagement.UI.FormsInfra.FormViewController.OnReadHelperPropertyChanged(Object sender, PropertyChangedEventArgs e)
at Microsoft.EnterpriseManagement.UI.ViewFramework.SupportClassBase.OnPropertyChanged(Object sender, PropertyChangedEventArgs e)
at Microsoft.EnterpriseManagement.UI.ViewFramework.SingleItemSupportClass.NewDataAvailable(Object sender, DataEventArgs e)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.GenericWpfWindowConstructor.BeginShow(ShowViewContext showViewContext, Object parent, Object view, AsyncCallback callback, Object state)
at Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
at Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.WpfWindowRecord.ShowWindow()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()I haven't seen that particular error before, but if i had to take a guess, i'd wager your console wasn't properly upgraded to 2012, or possibly wasn't installed fully. MissingMethodException against a form display function in what appears to be a common
library makes me suspect this is a problem local to that execution context.
can you replicate this issue on another console?
-
Creating new record instead of update existing one in Bank application
HI Mate
Here is my issue and I want from ur help
Bank information iview---when i am doing "EDIT" option in that it will edit the bank details,But when i check the records in SAP HR system.it is creating extra record instead of replace that record with payroll date.
Could anyone please help me to fine the solution ASAP.as it is very import for me
Thanks
KeshariNote 965324
Check your time contraints
As per the timeconstraint validation if you edit the record it is
changing this validity for the future and the gap is included. That is
the system standard behavior as per the configuration. To achieve the
desired behavior you need to create a new record or change
timeconstraint to 1 (but in this case only one record may exist at a
given period).
I kindly ask you to refer to note 818957 which explains the Use Cases x
Timeconstraint configuration.
ie
to achieve the functionality you have to create new future record.
Reason is you are using TC:3, in which gaps are allowed, but you dont
want gap in between.
When an employee wanted to change his/her bank details
via portal effective future date, system is
giving error as "Change in the payroll past not possible". This error
appears for the scenario as mention below :
1. Payroll is processed and Exited for the period 16th Dec 2010 to
31st Dec 2010 on 28th Dec 2010 (3 days in advance).
2. Employee wanted to change bank details on 29th Dec 2010 effective
1st Jan 2011 via ESS portal.
3. An error Change in the payroll past not possible" is shown while
saving the data.
In your case either you have to use TC:1, since you don't want gap in
between, or you have use new button to create future record. -
Write back feature giving an error
hi all
i have implemented write back feature in obiee,
in custom messages i have created one xml file,in that i have written one updated command
when i am trying to update the record from the answers it is giving an error
in xml file i have created WebMessage name= "Insertorupdate",even i wrote simple update command,
<update>
update user_table set name='@{c1}',description='@{c2}',create_date=sysdate,active='@{c3}' where user_name='{c0}'
</update>
this is the error message i am getting,
The system is unable to read the Write Back Template 'Insertorupdate'. Please contact your system administrator.
Thanks
Sreedharhi kishore
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem">
<WebMessageTable lang="en-us" system="messages" table="Templates">
<!-- Testing templates used for writing back into an Excel workbook used as a data source -->
<!-- Save this file in the OracleBIData\web\msgdb\customMessages folder as WriteBackTemplate.xml -->
<WebMessage name= "Insertorupdate">
<XML>
<writeBack connectionPool="WriteBack">
<!-- Table has columns Col1, Col2, Col3Char, Col4Date and in query c0 maps to Col1, c1 maps to Col3Char, c2 maps to
Col4Date, c3 maps to Col2-->
<update>
update Create_user set full_name='@{c1}',description='@{c2}',create_date=sysdate,is_active='@{c3}' where
user_name='{c0}'
</update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
in my table i am having 7 columns,but here i am using only 4columns for updating.is it wrong???
Thaks
Sreedhar
Edited by: 791907 on Oct 19, 2010 3:18 AM
Maybe you are looking for
-
Satellite Pro U940 - How to downgrade from Win 8 to Win 7 64bit?
Actually I want to downgrate mi laptop (Satellite Pro serie U940) since Windows 8 to Windows 7. But, when I choose the hard disk to format and to install the new System Operative (W7 64bits) I read this message: "No signed device drivers were found."
-
HP 4515 ALL IN ONE DESKJET PRINTER NOT SCANNING
I HAVE OS:WINDOWS 8.1 32-BIT PRINTER:HP 4515 ALL IN ONE DESKJET PRINTER OVER THE PAST FEW DAYS MY PRINTER HAS STOPPED SCANNING DOCUMENTS THE MESSAGE "NOW SCANNING" KEEPS ON COMING EARLIER IT WAS SCANNING DOCUMENTS BUT NOW IT HAS STOPPED DOING SO ANY
-
For example, when I type an artist's name in the search bar, such as Drake, it'll say "2 Albums, 19 songs, Nothing Was The Same, Thank Me Later" etc. then once I click on any of them, it doesn't take me to that artist and just acts as if the search b
-
Applications for the hr forms in HR abap
Hi All, please send me the application, output type,transaction and the tables for the following hr forms. 1. Benefits & Enrollements 2. Time Sheet 3. Retirement & Pension 4. Payroll Check 5. Direct deposit advice Above forms are pertaining to U
-
Trackpad/Mouse not working on lower part of screen
I just got a refurbished Macbook Pro in the mail from Apple. It's the 17" 2.3ghz bad boy. Well right above the dock i can't click on anything. For example, if i have my apps folder open I can't click on the bottom row of apps. Only if i move the fold