Error in button row

hi experts,
           i am creating a page,for that i took two Groups.in Gropp1,i had five buttons.and in Group2,i have 4 buttons.clicking on button in group1,buttons in group2 should be visible .what i need is how to make Group2 visible on clicking button in Group1.Please provide code if required.please provide valuable links.
Regard's,
Prashanth

Prashant,
1. Declare a context attribute of type Visibility (Local Dictionary --> Simple Tyoe -->UI Element Definitions ) lets say VisibBR2
2. Bind the visibility property of the  second Button Row to this attribute
3. On action of button from Group 1 : wdContext.currentContextElement().setVisibBR2(WDVisibility.VISIBLE)
Regards,
Himanshu

Similar Messages

  • JMeter ThreadGroup Looping cause error- JBO-35007: Row currency has changed

    Hi all,
    Still Stress testing ADF Faces with JMeter,
    I try to simulate each user inserting multiple rows by setting Loop Count = nn on a JMeter Thread Group :
    Test Plan
    Thread Group
    Http Cookie Manager
    Once Only Controller
    1) MainMenu.jspx
    2) Login
    3) SalesMenu
    ***** end of Once Only Controller
    4) Add New Order -> this will open a blank Form after a new row is Inserted
    5) Submit the Form -> this will do entity validation
    6) Press Commit
    7) Back to SalesMenu
    *** end of test plan
    As you see, by using Once Only Controller, I want the looping of inserting new Order starts from step 4)
    But on step 5) I get the error :
    JBO-35007: Row currency has changed since the user interface was rendered.
    The expected row key was oracle.jbo.Key[-3649]
    Is ther any work around for this ?
    Thank you for your help,
    xtanto

    Hi Chris,
    Thank you for your reply
    A) is it the first iteration of the loop it fails? If not which iteration?
    No, first iteration is successfull, error occured on iteration-2.
    B) number 7, when you say back to the sales menu, by what means? Via browser back button?
    Not via back button, I do it using Global Navigation rule from action propeerty of <af:commandMenuItem
    C) your sales menu, does it use af:command controls or af:go controls?
    From SalesMenu to AddOrderPage -> using <af:commandMenuItem
    D) the number -3469. Is it familiar to you? A number you're generating via I'm curious to know why it's negative.
    Yes, negative is expected, its because I use DBSequence as PK, and on entering the AddOrderPage, a new Row is created, when created by ADF the PK is negative,
    then using a DB Before Insert Trigger I update it with a normal sequence.
    Does iteration / looping work in your case ?
    Thank you very much,
    xtanto.

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01403:

    Hi All,
    I have an ADD ROW and SUBMIT button on my page in APEX. After i add a row or submit it the following error appears,
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01403: no data found, update "APPS"."GAU_V" set "PK_FIELDS" = :b1, "SERVICELINEID" = :b2, "SERVICELINEDESC" = :b3, "SERVICEDISPLAYORDER" = :b4, "DIVISION" = :b5
    Error Unable to process update.
    OK
    I have the following select query under region definition :
    select
    "PK_FIELDS",
    "SERVICELINEID",
    "SERVICELINEDESC",
    "SERVICEDISPLAYORDER",
    "DIVISION",
    "STATUSID" // this column was added later in the query
    from "#OWNER#"."GAU_V"
    where "SERVICELINEID" like nvl(:P99_SERVICELINE,'%')
    Order by "SERVICELINEID"
    The region attributes has PK_FIELDS as a hidden column. Value in PK_FIELDS is same as SERVICELINEID column.
    Also the GAU_V view has an INSTEAD OF trigger for insert or update or delete.
    Please tell me the solution for this error..
    Its urgent..
    Regards,
    GTS

    Hi All,
    I have an ADD ROW and SUBMIT button on my page in APEX. After i add a row or submit it the following error appears,
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01403: no data found, update "APPS"."GAU_V" set "PK_FIELDS" = :b1, "SERVICELINEID" = :b2, "SERVICELINEDESC" = :b3, "SERVICEDISPLAYORDER" = :b4, "DIVISION" = :b5
    Error Unable to process update.
    OK
    I have the following select query under region definition :
    select
    "PK_FIELDS",
    "SERVICELINEID",
    "SERVICELINEDESC",
    "SERVICEDISPLAYORDER",
    "DIVISION",
    "STATUSID" // this column was added later in the query
    from "#OWNER#"."GAU_V"
    where "SERVICELINEID" like nvl(:P99_SERVICELINE,'%')
    Order by "SERVICELINEID"
    The region attributes has PK_FIELDS as a hidden column. Value in PK_FIELDS is same as SERVICELINEID column.
    Also the GAU_V view has an INSTEAD OF trigger for insert or update or delete.
    Please tell me the solution for this error..
    Its urgent..
    Regards,
    GTS

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400:

    my application on apex.oracle.com.
    http://apex.oracle.com/pls/otn/f?p=19391:1:931174149200985:::::
    login : guest pwd : 123
    To get the error
    1. click on edit button on daily entry.
    2. click on add button on daily_entry_detail
    3. enter party name
    4 enter qty
    and click on add row to add 2nd row
    following error
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ("PTEST"."DAILY_ENTRY_DETAILS"."ENTRY_DATE"), insert into "PTEST"."DAILY_ENTRY_DETAILS" ( "ENTRY_DATE", "PARTY_NAME", "QTY") values ( :b1, :b2, :b3)     Error     Unable to process update

    Hi
    I am going to assume that ENTRY_DATE should be the date that the user created the record - otherwise, you will have to add this field to your form to get the user to fill it in.
    You need to check how your DAILY_ENTRY_DETAILS table is set up.
    Go to SQL Workshop, Object Browser and in the list of tables, select DAILY_ENTRY_DETAILS, then click on the SQL option above the table definition and you should see something like:
    CREATE TABLE  "A_LOV1"
       (     "LOV1" NUMBER,
         "LOV1_NAME" VARCHAR2(100),
          CONSTRAINT "A_LOV1_PK" PRIMARY KEY ("LOV1") ENABLE
    CREATE OR REPLACE TRIGGER  "BI_A_LOV1"
      before insert on "A_LOV1"
      for each row
    begin
      if :NEW."LOV1" is null then
        select "A_LOV1_SEQ".nextval into :NEW."LOV1" from dual;
      end if;
    end;
    ALTER TRIGGER  "BI_A_LOV1" ENABLE
    /(This is based on one of my tables, so the names etc will be different for you).
    In the first block, the CONSTRAINT line tells you whether or not you have a primary key on the table - in the example above, the primary key field is LOV1. If this is not set up, you must do this - click on the Constraints option at the top of the page and click Create then follow the prompts.
    The next block is a TRIGGER. This is set to run whenever a record is inserted into the table. A record being inserted is referred to as :NEW. You can see from the example that, in this case, when the record is being inserted, the value in the Primary Key is checked. If it is null, then a new sequence number is generated (see below) and the record is updated with this number before the record is saved.
    The final block just switches the trigger on
    You will see that this trigger says "select A_LOV1_SEQ.nextval...". This refers to a "sequence" object. Go back to the Object Browser and select Sequences. In my example, there is a sequence called A_LOV_SEQ which, if I select it and look at the sql, it is defined as:
    CREATE SEQUENCE "A_LOV1_SEQ"  MINVALUE 1 MAXVALUE 99999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLEThis is a counter that is used by the trigger to get the next Primary Key value for the record.
    If you don't have the sequence, you will need to set it up. This can be done by clicking the Create button at the top right and following the prompts. Or you can copy the above, change the sequence name as required and then run this in the SQL Commands window
    If you don't have the trigger, you can copy the code above and edit it to suit your table needs.
    Now for the ENTRY_DATE issue. If this is to be automatically set to the current date, you can handle this in the trigger. For example - assume I had that field on my table, then my trigger would be:
    CREATE OR REPLACE TRIGGER  "BI_A_LOV1"
      before insert on "A_LOV1"
      for each row
    begin
      if :NEW."LOV1" is null then
        select "A_LOV1_SEQ".nextval into :NEW."LOV1" from dual;
      end if;
      if :NEW."ENTRY_DATE" is null then
        :NEW."ENTRY_DATE" := SYDATE;
      end if;
    end;
    ALTER TRIGGER  "BI_A_LOV1" ENABLE
    /SYSDATE just means the current date/time
    The CREATE and ALTER statements must be run separately in the SQL Commands window
    Once you have that set up correctly, your form should work
    Andy

  • There was an error while updating row count for "SH".."SH".CHANNELS

    Hi All,
    Am new to OBIEE.Pls help in this regard.
    Am building the physical layer as per Repository guide.When am importing the data in to this,am getting the below error.
    *"There was an error while updating row count for "SH".."SH".CHANNELS" :"*
    channles is the table name and having 5 rows.
    but am able to see the data in the sql prompt. like SELECT * FROM SH.CHANNELS then 5 rows data would be displaying..
    pls help in this regard and where is the excat problem?
    Thanks,

    what is the error?
    Make sure that your connection pool settings are okay..
    Make sure that, you are using correct driver in case of if you are using ODBC dsn..
    Also make sure that, your oracle server is running... TNS and Oracle server services

  • Jbo 25017 error while create row

    Hi ,
    jbo 25017 error while creating row
    Getting The above error message which updating Master Detail Page
    Krishna

    Hi Ajay ,
    Posting the EOImpl File
    Method specified in bold is greturning line number as 0..Please check
    public class AplShipmentsEOImpl extends OAEntityImpl {
    /**Gets the attribute value for OtherShipReason, using the alias name OtherShipReason
    public String getOtherShipReason() {
    return (String)getAttributeInternal(OTHERSHIPREASON);
    /**Sets <code>value</code> as the attribute value for OtherShipReason
    public void setOtherShipReason(String value) {
    setAttributeInternal(OTHERSHIPREASON, value);
    /**Gets the attribute value for ForeignShipment, using the alias name ForeignShipment
    public String getForeignShipment() {
    return (String)getAttributeInternal(FOREIGNSHIPMENT);
    /**Sets <code>value</code> as the attribute value for ForeignShipment
    public void setForeignShipment(String value) {
    setAttributeInternal(FOREIGNSHIPMENT, value);
    /**Gets the attribute value for ZoneName, using the alias name ZoneName
    public String getZoneName() {
    return (String)getAttributeInternal(ZONENAME);
    /**Sets <code>value</code> as the attribute value for ZoneName
    public void setZoneName(String value) {
    setAttributeInternal(ZONENAME, value);
    /**Gets the attribute value for PrimeContractNumber, using the alias name PrimeContractNumber
    public String getPrimeContractNumber() {
    return (String)getAttributeInternal(PRIMECONTRACTNUMBER);
    /**Sets <code>value</code> as the attribute value for PrimeContractNumber
    public void setPrimeContractNumber(String value) {
    setAttributeInternal(PRIMECONTRACTNUMBER, value);
    /**getAttrInvokeAccessor: generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index,
    AttributeDefImpl attrDef) throws Exception {
    switch (index) {
    case SHIPMENTID:
    return getShipmentId();
    case LASTUPDATEDATE:
    return getLastUpdateDate();
    case LASTUPDATEDBY:
    return getLastUpdatedBy();
    case CREATIONDATE:
    return getCreationDate();
    case CREATEDBY:
    return getCreatedBy();
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    case APPROVALSTATUS:
    return getApprovalStatus();
    case PROJECTID:
    return getProjectId();
    case TASKID:
    return getTaskId();
    case EXPORGID:
    return getExpOrgId();
    case EXPTYPEID:
    return getExpTypeId();
    case APPROVERID:
    return getApproverId();
    case APPROVEDDATE:
    return getApprovedDate();
    case REJECTIONCOMMENTS:
    return getRejectionComments();
    case EXPCTRLAPPRVID:
    return getExpCtrlApprvId();
    case EXPCTRLAPPRVDATE:
    return getExpCtrlApprvDate();
    case EXPREJECTCOMMENTS:
    return getExpRejectComments();
    case SHIPMENTREASON:
    return getShipmentReason();
    case CLASSIFICATION:
    return getClassification();
    case HAZARDMATLIND:
    return getHazardMatlInd();
    case DCN:
    return getDcn();
    case SHIPTOADDRID:
    return getShipToAddrId();
    case SHIPTOATTN:
    return getShipToAttn();
    case SHIPTOATTNPHONE:
    return getShipToAttnPhone();
    case PUBLICDOMAININD:
    return getPublicDomainInd();
    case ENDUSERADDRID:
    return getEndUserAddrId();
    case PARTYSCREENFLAG:
    return getPartyScreenFlag();
    case PROGNAME:
    return getProgName();
    case PROGMGRID:
    return getProgMgrId();
    case EXPORTPURPDESC:
    return getExportPurpDesc();
    case EXPORTAUTHCODE:
    return getExportAuthCode();
    case DESTCTRLSTMT:
    return getDestCtrlStmt();
    case RMANBR:
    return getRmaNbr();
    case PRIMECONTRACTNBR:
    return getPrimeContractNbr();
    case DESTINATIONDATE:
    return getDestinationDate();
    case SHIPMENTWEIGHT:
    return getShipmentWeight();
    case EXPECTEDRETURNDATE:
    return getExpectedReturnDate();
    case RETURNPAPERWORKIND:
    return getReturnPaperworkInd();
    case PICKUPBUILDING:
    return getPickupBuilding();
    case ROOMNUMBER:
    return getRoomNumber();
    case PICKUPAVAILABILITYTIME:
    return getPickupAvailabilityTime();
    case PRIMARYPOCID:
    return getPrimaryPocId();
    case SPECIALINSTRUCTIONS:
    return getSpecialInstructions();
    case RECEIPTBACKOUTIND:
    return getReceiptBackoutInd();
    case SHIPMENTCOST:
    return getShipmentCost();
    case SHIPCLERKID:
    return getShipClerkId();
    case PACKINGCLERKID:
    return getPackingClerkId();
    case DATESHIPPED:
    return getDateShipped();
    case UNNUMBER:
    return getUnNumber();
    case SHIPDESCRIPTION:
    return getShipDescription();
    case PACKCLERKNOTES:
    return getPackClerkNotes();
    case GOVTBOL:
    return getGovtBol();
    case TOTALNOOFPIECES:
    return getTotalNoOfPieces();
    case IATAHAZARDCODE:
    return getIataHazardCode();
    case SHIPCARRIER:
    return getShipCarrier();
    case PROPVARIFICATIONBY:
    return getPropVarificationBy();
    case SHIPCARRIERSRVLVL:
    return getShipCarrierSrvLvl();
    case OTHERSHIPREASON:
    return getOtherShipReason();
    case FOREIGNSHIPMENT:
    return getForeignShipment();
    case ZONENAME:
    return getZoneName();
    case PRIMECONTRACTNUMBER:
    return getPrimeContractNumber();
    case MAXLINENUM:
    return getMaxLineNum();
    case APLAPPROVERSEO1:
    return getAplApproversEO1();
    case APLSHIPDETAILSEO:
    return getAplShipDetailsEO();
    case APLAPPROVERSEO:
    return getAplApproversEO();
    case APLSHIPLINESEO:
    return getAplShipLinesEO();
    case HRALLORGANIZATIONUNITSEO:
    return getHrAllOrganizationUnitsEO();
    case APLPOCEO:
    return getAplPocEO();
    case POPROJECTSEO:
    return getPoProjectsEO();
    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 SHIPMENTID:
    setShipmentId((Number)value);
    return;
    case LASTUPDATEDATE:
    setLastUpdateDate((Date)value);
    return;
    case LASTUPDATEDBY:
    setLastUpdatedBy((Number)value);
    return;
    case CREATIONDATE:
    setCreationDate((Date)value);
    return;
    case CREATEDBY:
    setCreatedBy((Number)value);
    return;
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    case APPROVALSTATUS:
    setApprovalStatus((String)value);
    return;
    case PROJECTID:
    setProjectId((Number)value);
    return;
    case TASKID:
    setTaskId((Number)value);
    return;
    case EXPORGID:
    setExpOrgId((Number)value);
    return;
    case EXPTYPEID:
    setExpTypeId((Number)value);
    return;
    case APPROVERID:
    setApproverId((Number)value);
    return;
    case APPROVEDDATE:
    setApprovedDate((Date)value);
    return;
    case REJECTIONCOMMENTS:
    setRejectionComments((String)value);
    return;
    case EXPCTRLAPPRVID:
    setExpCtrlApprvId((Number)value);
    return;
    case EXPCTRLAPPRVDATE:
    setExpCtrlApprvDate((Date)value);
    return;
    case EXPREJECTCOMMENTS:
    setExpRejectComments((String)value);
    return;
    case SHIPMENTREASON:
    setShipmentReason((String)value);
    return;
    case CLASSIFICATION:
    setClassification((String)value);
    return;
    case HAZARDMATLIND:
    setHazardMatlInd((String)value);
    return;
    case DCN:
    setDcn((String)value);
    return;
    case SHIPTOADDRID:
    setShipToAddrId((Number)value);
    return;
    case SHIPTOATTN:
    setShipToAttn((String)value);
    return;
    case SHIPTOATTNPHONE:
    setShipToAttnPhone((String)value);
    return;
    case PUBLICDOMAININD:
    setPublicDomainInd((String)value);
    return;
    case ENDUSERADDRID:
    setEndUserAddrId((Number)value);
    return;
    case PARTYSCREENFLAG:
    setPartyScreenFlag((String)value);
    return;
    case PROGNAME:
    setProgName((String)value);
    return;
    case PROGMGRID:
    setProgMgrId((Number)value);
    return;
    case EXPORTPURPDESC:
    setExportPurpDesc((String)value);
    return;
    case EXPORTAUTHCODE:
    setExportAuthCode((String)value);
    return;
    case DESTCTRLSTMT:
    setDestCtrlStmt((String)value);
    return;
    case RMANBR:
    setRmaNbr((String)value);
    return;
    case PRIMECONTRACTNBR:
    setPrimeContractNbr((String)value);
    return;
    case DESTINATIONDATE:
    setDestinationDate((Date)value);
    return;
    case SHIPMENTWEIGHT:
    setShipmentWeight((Number)value);
    return;
    case EXPECTEDRETURNDATE:
    setExpectedReturnDate((Date)value);
    return;
    case RETURNPAPERWORKIND:
    setReturnPaperworkInd((String)value);
    return;
    case PICKUPBUILDING:
    setPickupBuilding((String)value);
    return;
    case ROOMNUMBER:
    setRoomNumber((String)value);
    return;
    case PICKUPAVAILABILITYTIME:
    setPickupAvailabilityTime((Date)value);
    return;
    case PRIMARYPOCID:
    setPrimaryPocId((Number)value);
    return;
    case SPECIALINSTRUCTIONS:
    setSpecialInstructions((String)value);
    return;
    case RECEIPTBACKOUTIND:
    setReceiptBackoutInd((String)value);
    return;
    case SHIPMENTCOST:
    setShipmentCost((Number)value);
    return;
    case SHIPCLERKID:
    setShipClerkId((Number)value);
    return;
    case PACKINGCLERKID:
    setPackingClerkId((Number)value);
    return;
    case DATESHIPPED:
    setDateShipped((Date)value);
    return;
    case UNNUMBER:
    setUnNumber((String)value);
    return;
    case SHIPDESCRIPTION:
    setShipDescription((String)value);
    return;
    case PACKCLERKNOTES:
    setPackClerkNotes((String)value);
    return;
    case GOVTBOL:
    setGovtBol((String)value);
    return;
    case TOTALNOOFPIECES:
    setTotalNoOfPieces((Number)value);
    return;
    case IATAHAZARDCODE:
    setIataHazardCode((String)value);
    return;
    case SHIPCARRIER:
    setShipCarrier((String)value);
    return;
    case PROPVARIFICATIONBY:
    setPropVarificationBy((Number)value);
    return;
    case SHIPCARRIERSRVLVL:
    setShipCarrierSrvLvl((String)value);
    return;
    case OTHERSHIPREASON:
    setOtherShipReason((String)value);
    return;
    case FOREIGNSHIPMENT:
    setForeignShipment((String)value);
    return;
    case ZONENAME:
    setZoneName((String)value);
    return;
    case PRIMECONTRACTNUMBER:
    setPrimeContractNumber((String)value);
    return;
    case MAXLINENUM:
    setMaxLineNum((Number)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    /**Gets the associated entity PoProjectsEOImpl
    public PoProjectsEOImpl getPoProjectsEO() {
    return (PoProjectsEOImpl)getAttributeInternal(POPROJECTSEO);
    /**Sets <code>value</code> as the associated entity PoProjectsEOImpl
    public void setPoProjectsEO(PoProjectsEOImpl value) {
    setAttributeInternal(POPROJECTSEO, value);
    /**Gets the associated entity AplApproversEOImpl
    public AplApproversEOImpl getAplApproversEO() {
    return (AplApproversEOImpl)getAttributeInternal(APLAPPROVERSEO);
    /**Sets <code>value</code> as the associated entity AplApproversEOImpl
    public void setAplApproversEO(AplApproversEOImpl value) {
    setAttributeInternal(APLAPPROVERSEO, value);
    /**Gets the associated entity HrAllOrganizationUnitsEOImpl
    public HrAllOrganizationUnitsEOImpl getHrAllOrganizationUnitsEO() {
    return (HrAllOrganizationUnitsEOImpl)getAttributeInternal(HRALLORGANIZATIONUNITSEO);
    /**Sets <code>value</code> as the associated entity HrAllOrganizationUnitsEOImpl
    public void setHrAllOrganizationUnitsEO(HrAllOrganizationUnitsEOImpl value) {
    setAttributeInternal(HRALLORGANIZATIONUNITSEO, value);
    /**Gets the associated entity AplPocEOImpl
    public AplPocEOImpl getAplPocEO() {
    return (AplPocEOImpl)getAttributeInternal(APLPOCEO);
    /**Sets <code>value</code> as the associated entity AplPocEOImpl
    public void setAplPocEO(AplPocEOImpl value) {
    setAttributeInternal(APLPOCEO, value);
    /**Gets the associated entity AplApproversEOImpl
    public AplApproversEOImpl getAplApproversEO1() {
    return (AplApproversEOImpl)getAttributeInternal(APLAPPROVERSEO1);
    /**Sets <code>value</code> as the associated entity AplApproversEOImpl
    public void setAplApproversEO1(AplApproversEOImpl value) {
    setAttributeInternal(APLAPPROVERSEO1, value);
    /**Gets the associated entity oracle.jbo.RowIterator
    public RowIterator getAplShipDetailsEO() {
    return (RowIterator)getAttributeInternal(APLSHIPDETAILSEO);
    /**Gets the associated entity oracle.jbo.RowIterator
    public RowIterator getAplShipLinesEO() {
    return (RowIterator)getAttributeInternal(APLSHIPLINESEO);
    public static ShipmentEntityExpert getShipmentEntityExpert (OADBTransaction txn)
    return (ShipmentEntityExpert)txn.getExpert(AplShipmentsEOImpl.getDefinitionObject());
    } // end getShipmentEntityExpert()
    /**Gets the attribute value for MaxLineNum, using the alias name MaxLineNum
    public Number getMaxLineNum()
    OADBTransaction transaction = (OADBTransaction)getOADBTransaction();
    *// mMaxLineNum is in its initial state, so we need to check and*
    *// see if we have lines in both the entity cache and in the*
    *// database to find the current maximum.*
    System.out.println("Inside max line");
    *//Number mMaxLineNum = (Number)getAttributeInternal(MAXLINENUM);*
    System.out.println("Inside max line with line "+mMaxLineNum);
    if (mMaxLineNum == null || mMaxLineNum.equals(new Number(-1)))
    System.out.println("line number is null or negative");
    Number tempNum = new Number(0);
    com.sun.java.util.collections.Iterator fastCacheIterator =
    AplShipLinesEOImpl.getDefinitionObject().getAllEntityInstancesIterator(getDBTransaction());
    System.out.println("line EO "+tempNum);
    while (fastCacheIterator.hasNext())
    System.out.println("inside while loop");
    AplShipLinesEOImpl cachedLine = (AplShipLinesEOImpl)fastCacheIterator.next();
    Number currentShipmentId = getShipmentId();
    Number cachedShipmentId = cachedLine.getShipmentId();
    System.out.println("shipment id is "+currentShipmentId+ "cached id "+cachedShipmentId);
    *// If we find a match for this line, check the shipment number. Remember*
    *// that the cache includes shipments for many lines.*
    if ((cachedShipmentId != null) && (cachedShipmentId.compareTo(currentShipmentId) == 0 ))
    System.out.println("cached is not null inside if ");
    tempNum = cachedLine.getLineNbr();
    System.out.println("gettin line number temp num "+tempNum);
    *// resetLineNum( ) will test the value to see if it's the current max,*
    *// and if it is, set it on our private EO transient attribute.*
    if (tempNum != null)
    System.out.println("reset temp num");
    resetLineNum(tempNum);
    System.out.println("checking Entiry State "+getEntityState());
    *// Now check the database if the header EO isn't new (if it is, we haven't*
    *// saved it so we can't have a line in the database)*
    if (getEntityState() != STATUS_NEW)
    System.out.println("inside entity state");
    ShipmentEntityExpert poExpert = getShipmentEntityExpert(transaction);
    System.out.println("taken Entiry Expert Class");
    AplMaxPoLineVVOImpl maxLineVO =
    *(AplMaxPoLineVVOImpl)poExpert.findValidationViewObject("AplMaxPoLineVVO1");*
    System.out.println("getting Line instance");
    maxLineVO.initQuery(getShipmentId());
    System.out.println("line query initialised");
    if (maxLineVO != null)
    System.out.println("line VO is not null");
    tempNum = (Number)maxLineVO.first().getAttribute(0);
    System.out.println("line tempNum"+tempNum);
    if (tempNum != null)
    System.out.println("line tempNum1"+tempNum);
    resetLineNum(tempNum);
    System.out.println("returing max line num");
    return mMaxLineNum;//(Number)getAttributeInternal(MAXLINENUM);
    *} // end getMaxLineNum()*
    * Increments the maximum lineNum.
    * <p>
    * @return current maximum lineNum + 1
    public Number getNextLineNum()
    System.out.println("In header New Line");
    Number currentMaxLineNum = getMaxLineNum();
    System.out.println("current max line num is "+currentMaxLineNum);
    resetLineNum(currentMaxLineNum.add(new Number(1)));
    System.out.println("returning max number");
    return getMaxLineNum();
    } // end getNextLineNum()
    * Resets the maximum line number whenever newLineNum > mMaxLineNum.
    * <p>
    * @param newLineNum the value to be compared against the current
    * mMaxLineNum for this purchase order.
    public void resetLineNum(Number newLineNum)
    // Number mMaxLineNum = (Number)getAttributeInternal(MAXLINENUM);
    System.out.println("inside reset LIne wiht "+newLineNum);
    if (newLineNum.compareTo(mMaxLineNum) == 1)
    System.out.println("setting to new "+newLineNum);
    setMaxLineNum(newLineNum);
    } // end resetLineNum()
    private void setMaxLineNum(Number lineNum)
    setAttributeInternal(MAXLINENUM, lineNum);
    } // end setMaxLineNum()
    krishna

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779:

    I have a tabular form based on a view like:
    select
    t1.id,
    t2.network_id,
    t2.month_id,
    t2.icp_ic,
    t1.status,
    t1.disc_comment
    from
    table1 t1,
    table2 t2
    where
    t1.month_id (+) = t2.month_id and
    t1.network_id (+) = t2.network_id and
    t1.icp_id (+) = t2.icp_id
    id is a surrogate key of table1 and there is a trigger to populate this on insert. There is also a unique index on table2 (month_id, network_id, icp_id). When I change the disc_comment column through the form and try to save I get an error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779: cannot modify a column which maps to a non key-preserved table
    If I take out the outer join, it works fine. The problem is table1 will not have a row for every row in table 2, hence I need the outer join. Any ideas how I can get around this problem?
    Regards
    Sadanand

    Hi Andy,
    Yes I am paginating the form and I am not getting a set of blank rows. What I mean by next set of records is - if the page is showing rows 11 to 20 and I enter a comment against row 15 and save, the form inserts the comment into the table via the INSTEAD OF trigger and the page automatically refreshes with rows 21 to 30 from the query. On the other hand, if I click Prev link and redisplay rows 11 to 20, change the comment and click on Save, the form updates the comment and refreshes the page with rows 11 to 20. If I update the comment again, it redisplays page with rows 11 to 20 and this is the behaviour I desire when I insert data. Remember that I am using outer join, so there will be a mix of inserts and updates of data. I hope my explanation is clear. I have tried removing the tabular form region and starting from scratch but that hasn't helped - maybe I will drop the page and recreate it.
    As for checksum error, you are right - it disappears after I logout and login again.
    Regards
    Sadanand

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001:

    Hi,
    Using HTMLDB 2.0 we have created several Master Detail forms using wizard. When we have started testing our application recently we are realising that most of the master details forms not working with an error "Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process"
    We have created several such pages and now we are not sure on the resolution for the same.
    Could you please helpus to resolve this issue?
    Regards,
    DGKM

    Please check following thread:
    Re: Error in mru internal routine: ORA-20001: no data found in tabular form

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1

    Hi I have a Multi-Row Report, where you can change the status in on column
    Example:
    7939 Jones (Manager/Clerk/President) ....
    8000 SCOTT (Manager/Clerk/President)
    I used a select list for the 3rd column.
    If i Try to Update this report i get:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
    ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
    current checksum = "C9E9B9EE43F674CAF6827176E554121E", item checksum = "50BB6F7005ACD33C70494DB171D2AB44".,
    update "MUNIQ"."MSTA_KONTAKT" set "KONTAKT_ID" = :b1, "STATUS" = :b2, "BENUTZER" = :b3, "ZBENUTZER" = :b4
    But there is nobody inside the database except me. I thought it worked for a couple of days, but now it dosn´t.
    What can i do ?
    Thanks
    Marco

    Hi I have a Multi-Row Report, where you can change the status in on column
    Example:
    7939 Jones (Manager/Clerk/President) ....
    8000 SCOTT (Manager/Clerk/President)
    I used a select list for the 3rd column.
    If i Try to Update this report i get:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
    ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
    current checksum = "C9E9B9EE43F674CAF6827176E554121E", item checksum = "50BB6F7005ACD33C70494DB171D2AB44".,
    update "MUNIQ"."MSTA_KONTAKT" set "KONTAKT_ID" = :b1, "STATUS" = :b2, "BENUTZER" = :b3, "ZBENUTZER" = :b4
    But there is nobody inside the database except me. I thought it worked for a couple of days, but now it dosn´t.
    What can i do ?
    Thanks
    Marco

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001:

    Hi, I'm using HTMLDB version 1.6.0.00.87 on a DB 10.1.0.3.0.
    I'm creating a Tabular Form to perform update operations on multiple rows in a database table.
    The table is in a schema outside of the HTMLDB schema and my application works.
    If I substitute my table with a synonym (outside of the HTMLDB schema) pointing to another table (outside of the HTMLDB schema), the select works fine but when I try to update records an error occurs:
    0.05: Branch point: BEFORE_PROCESSING
    0.05: Processing point: AFTER_SUBMIT
    0.05: ...MULTI_ROW_UPDATE (AFTER_SUBMIT) #OWNER#:CSTCMP:T$NCMP:T$CPCP
    0.08: Show ERROR page...
    0.09: Processing point: AFTER_ERROR_HEADER
    0.10: Processing point: BEFORE_ERROR_FOOTER
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "1F2F93F97DFD18A9D69960FCD28AF6EF", item checksum = "A884FA378C851786DDFE3A33709CB23C"., update "WS_T1"."CSTCMP" set
    If I perform with SQL the update on the synonym, it works.
    I only have a browser connected to the application and I'm not locking the table.
    I don't think this is correlated with
    Re: Error in mru internal routine (HTML DB BUG?)
    What do you think about?
    Thanks in advance.

    To look into what? You probably modified your tabular form by adding a column and you didn't take care of the column source.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Error in mru : ORA-20001: Error in MRU: row= 1 Current version of data ...

    hi i am getting tihs error msg
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum
    i'll try to show a form table in which i can edit and add data
    when i use the wizzard it is all fine with editing but i cant creat a new item because i have to insert my primary key and that shoud be done automatically.
    ok again
    my PK is at first col1 and second col2
    i got a dropdown list in which i choose an item from col1 to just show items in my form with that value, here are more than one results possible
    no i want to edit col2 up to col4
    or add a line with the same col1 but different col2 and some col3-col4 values
    but if i add a line i want to insert col2 to up to col4 (and the PK from col1 shoud be automatically insert from my dropwdown list i choosed before)
    i want in col2 an drop down list
    so all this works fine i got all the changes i want but when i try do save or update my changes i got the error frome above
    i think the problem is at the primary key thing cause i want to choose a part manually but i have to
    to get the new line actually u use the add row link but i use instead after my select statement an
    Union select :P62_PNR_VOll, null, null, null from dual
    to get my first pk automatically from my dropdown element (in my case :P62_PNR_VOLL)
    how can i solve that error?
    thx for ur help
    regadrs
    Falk

    Hi Falk,
    It is usually best to have a sequence number for the primary key on a table. If you need to restrict other fields to be unique, then you can create a constraint to do this.
    To create a sequence number and apply this to a new record, you need to do two things:
    Let us say that you have a table called TABLEX and this has a numeric primary key field of ID. Do the following in the SQL Commands window
    1 - Create a sequence SQL object:
    CREATE SEQUENCE "TABLEX_ID_SEQ"  MINVALUE 1 MAXVALUE 99999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE2 - Create a trigger:
    CREATE OR REPLACE TRIGGER "TABLEX_BI"
    BEFORE
    INSERT ON "TABLEX"
    FOR EACH ROW
    BEGIN
    IF :NEW.ID IS NULL THEN
      SELECT TABLEX_ID_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END IF;
    END;This needs to be enabled, so run:
    ALTER TRIGGER "TABLEX_BI" ENABLEWhen this is done, you then have "An existing trigger" that you can use for your tabular form. When a new record is created, the trigger is run and this checks for a value in the ID field. If this is NULL, then the next value in the sequence is assigned to it.
    Primary Keys can be based on other values. You can use any value from the current record - for example, if you need to get the value from the XXX field, you just reference :NEW.XXX You can use this to pass into a function that returns your new primary key value. But I would recommend keeping to one field for your primary key as this makes things a lot simpler later on.
    Andy

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-01403:

    Hi All,
    I have one issue that, i am geeting this " *Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-01403: no data found, insert into "BM_TOOL"."BASE_DATA_STORAGE_TAB"* error while i try to add row for sql(updatable report) or tabular form report. Can anybody plz look into it as where i went wrong.
    Thanks

    To look into what? You probably modified your tabular form by adding a column and you didn't take care of the column source.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Syntax error in GP_ERR_RSDTPERR, row 198 (- long text)

    Hi Experts,
    We are getting this error while running DTP for master data." Syntax error in GP_ERR_RSDTPERR, row 198 (-> long text)".
    Actually i have loading master data for an compunding info object.
    Pls help me how to resolve this.
    Thanks & Regards
    Sanjay

    Hi,
    Do check the long text. Also Check if there are any special characters in the load.
    Also you can check the Note
    [Note 994681 - 70SP11: DTP activation: Syntax error in GP_ERR_RSDTPERR|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=994681]
    Regards,
    Gaurav

  • Syntax error in GP_ERR_RSAPTD1 row 27 encountered

    Hi
    I encountered this error 'Syntax error in GP_ERR_RSAPTD1, row 27 ' when I was trying to create an InfoPackage which I intend to run the initialise with data transfer.  The diagnosis message doesnt really give a clue saying 'Field "/BIC/CCZDM_PAR000010000001" is unknown. It is neither in one of the specified tables nor  ...'
    Does anyone know how to fix this problem ?
    Please let me know.
    Many thanks,
    Anthony

    Try the following:
    Replicate datasource
    Re-activate transfer rules, transfer structure
    Try creating InfoPackage again.
    Regards -
    Ron Silberstein
    SAP

  • ORA-20001: Error in multi row delete operation: ORA-01403: no data

    Whenever I attempt a multi-row delete on my master detail page, I recieve the error:
    ORA-20001: Error in multi row delete operation: ORA-01403: no dataI have seen in other threads that the primary key attribute of the underlying table needs to be set to 'Show' in the report attributes. I have tried this both with it displaying as 'Hidden' ('Show' is unchecked) and with it displaying as text. Either way still gives me the same error.
    Is there anything else not mentioned in the other threads that could be causing this error for me?
    Thanks.
    BoilerUP

    Jimmy,
    In your multi row delete process you specify schema name, table and column name. Your report needs to be of type “SQL query (Updateable report)”. And your report needs to include the primary key column of your table. The column or alias name of that report column needs to correspond with the actual column name of your table.
    Marc

Maybe you are looking for

  • Using UTL_DBWS to contact IIS hosted Web Service

    Hello- A generous No-Prize to anyone with insight on this issue... I am using UTL_DBWS to contact an IIS hosted web service, relevant code here: FUNCTION call_gnr ( p_name IN varchar2 ) return varchar2 IS l_wsdl_url varchar2 ( 1024 ) := 'http://local

  • Adobe Photoshop CS6 won't install my CS6 trial.

    My OS is Windows 7. I downloaded Adobe Downloader Assistant, downloaded CS6, and clicked on the 'setup' file, and it gave me an error mesagge saying that there was a prerelease/other version of CS6 interferring, and I had to uninstall it before I cou

  • REP-58105

    Hello everybody. Im working in RedHat Linux ES/AS 4. with Forms & Reports StandAlone Services. in Developer Enviroment, not in OAS Enviroment. My Problem is when I try run Reports from Forms with run_report_object I have the next message FRM-41213 ca

  • "Drag an Drop Funcionality" dont Work in Ipad.

    I'm using JDEVELOPER Studio Edition Version 11.1.2.2.0. I developing a sinple page with too table and using "Drag an Drop Funcionality" for pass rows from a table to other table. This work correctly in all web explorer for Pc and DONT WORK in IPAD.

  • Finder doesn't show network computer "Shared" in sidebar

    I update 10.5.3 (05.28.08) and the Finder doesn't show all network computers at "SHARED" in sidebar except Windows PCs. I rebooted and seems fixed it. now I can see all connected computers as 10.5.2, but when I try to open a file from apps [command+o