Baseline Date error in Billling

Hi,
      While billing a document, I got the error "Baseline date for payment not permissible - correct this date" : The specified baseline date for payment is more than 99 years after the current date. Could anyone tell me what  could have gone wrong.
Thanks
Aparna

Hi Check ur payment terms u have maintained !!!
Might be u have maintained wrongly instead of days u have maintained it for years

Similar Messages

  • Error posting asset to company ''Specify payment period baseline date''

    Hi All,
    Please some can advise on the below error msg.
    While posting the asset in to company I will get error like ''Specify payment period baseline date'' and i cant go further.
    Please advise ASAP.
    Many Thanks
    Balaji A S

    Dear:
                   This error message normally appears if In the payment terms that you are using (can be seen in OBB8) there is no any default date assigned to the payment term. If it is then assign one like Posting Date or Document Date in OBB8 against the payment term you using. I am a bot confused in your case that why are you getting this error while acquiring the asset. Would you please elaborate the process you are using for asset acquisition.
    Regards

  • Error on invoice "specify payment period baseline date".

    Hi Experts,
    When I create ZMIRO, ZMIRO it keeps
    asking for a baseline date which we have never had to do before
    Payment terms  filled blank, but teh system throughs error message "specify payment period baseline date".
    I
    Please help.
    Thanks,

    Dear,
    System will want to calculate due for payment to vendor for this invoice it must know baseline date from which it should start calculating the due date. Generally baseline date is determined from payment term but it is empty in your case. Enter a payment term in vendor master so that system will default the baseline date from settings done in payment term.
    Baseline date has to exist in the invoice document.
    Regards,
    Chintan Joshi

  • Idoc INVOIC error Baseline date for payment does not exist

    Dear All,
    I am facing the following error message when processing an idoc to do an MM invoice reception (operation similar to a MIRO).
    The payment term is correctly maintained in the purchase order.
    Idoc message type INVOIC MM.
    Baseline date for payment does not exist
    Message no. M8356
    Diagnosis
    You have tried to post a document without a baseline date for payment.
    The system will not allow you to do this.
    Check the purchase order. No terms of payment have been entered in the document header or no suggestion has been defined in Customizing for the baseline date for payment for the terms of payment entered.
    If you get the error message during automatic settlement of planned delivery costs, maintain the term of payment in the master record (Payment Transactions, Financial Accounting) for the freight vendor or use the Business Add-In MRM_ERS_HDAT_MODIFY to determine the term of payment.
    Regards
    Arnaud

    Hello,
    Date for starting the calculation of the baseline date is indeed managed in the TC OME2 (document date, posting date, etc..).
    In my project, there is already some companies using payment term N60N, so it should be possible to continue using it.
    I solved this issue by putting a payment term in the vendors master data (company & purchasing views) and also in the customers views (company / sales orga) otherwise the structure of the idoc is different.
    Thanks anyway for your input.
    Keep in touch.
    Regards
    Arnaud

  • Baseline date

    Hello SAPians,
    There is an issue from user relating to Baseline date:is as follows
    User is trying to change the payment blocking in FBL1N, in doing so, the baseline date is being changed automatically.
    I checked the Payment terms for that vendor ,the baseline date is defined as Entry date.
    Please can you help me with this issue what need to be done.
    varanasi

    Hello Neal,
    I checked the document changes ,but I didn't find any change in the payment terms.And even I checked the Tran: OBBH but there is no Substitution for this.
    I am trying to debug the issue ,if i find anything interesting to share with you all then I will post it.
    Considering Atif & Ravi Post ,the change may be due to the user posting error.As it is a one time change I could not find it again when testing.
    Thanks for participating.
    Varanasi

  • Baseline Date- Non editable

    Hi all,
    We want to make the "BASELINE Date " of an open line item as NON EDITABLE.
    As user makes the changes in Base line date every now and then,when it is open item.
    I have tried to change the setting in OB32  for BSEG-ZFBDT  by removing the check mark in "Fields can be changed" (Possibility for changing the fields), but the system is prompting an error as
    "Only specify requirements for changing fields which can be changed
    Message no. FC130"
    Do let me know how can i incorporate my clients req. in the system
    Thanks for your patience and Time.
    Do Revert
    Regards

    Hello,
    Do you know how can you use Business transaction event?
    If yes, 00001110 Interface BTE using is the best way for this validation.
    You should copy from SAMPLE_INTERFACE_00001110 to ZFI_INTERFACE_00001110. And make customizing in FIBF transaction.
    Then you must write some ABAP code in this FM.
    When you push save button on FB02, you trigger in this FM. In this FM XBSEG keeps changed value and YBSEG keeps values before save operation. So you can compare XBSEG-ZFBDT and YBSEG-ZFBDT field. If there is difference you set an error message.
    Regards,
    Burak

  • Invoice: Baseline date on the payment terms.

    Dear Experts,
    I am having a problem where trying to change the term of payment of an invoice before a posting, the account doesnt set the baseline date correctly.
    This issue occurs for baseline date type 'Entry Date' .
    After whichever interaction in MIR4 , 'Enter' or 'Save', the baseline date will:
    1. set to the date as in the existing entry if there is no change .
    2. set to the system date if there is a change in the payment terms,
    where the '2nd' is not correct because the payment term changed stated that the baseline date should be 'Entry Date'.
    The above mentioned logic is inside the function module
    'FI_CHANGE_PAYMENT_CONDITIONS'
    Codes bellow shows the scenario mentioned in '1.' no changes
    Wenn keine Änderung, dann Export versorgen und Tschüss-----
    e_zterm = i_newzterm.
    zterm = i_newzterm.
    e_zfbdt = i_newzfbdt. <----
    set to the existing entry
    zfbdt = i_newzfbdt.
    e_sklin = i_newsklin.
    sklin = i_newsklin.
    check not status is initial.
    Codes bellow shows the scenario mentioned in '2.'terms change, and baseline date type 'C'
    T052 contains first entry for payment term key entered "P00K005354
    case t052-zdart. "P00K005354
    when 'C'. "P00K005354
    zfbdt = sy-datum. "P00K005354
    if i_cpudt is initial. "Note 199967
    zfbdt = sy-datum. "P00K005354 <------ set to current date
    else. "Note 199967
    zfbdt = i_cpudt. "Note 199967
    endif. "Note 199967
    Is this a program logic error or is it the way it should be ?
    Any one encounter the similar problem ? or should there be OSS notes to apply ?
    Thank you .....

    .

  • Baseline Date after a change in Terms

    Dear Experts,
    I am having a problem where trying to change the term of payment of an invoice before a posting, the account doesnt set the baseline date correctly.
    This issue occurs for baseline date type 'Entry Date' .
    After whichever interaction in MIR4 , 'Enter' or 'Save', the baseline date will:
    1. set to the date as in the existing entry if there is no change .
    2. set to the system date  if there is a change in the payment terms,
    where the '2nd' is not correct because the payment term changed stated that the baseline date should be 'Entry Date'.
    The above mentioned logic is inside the function module
    'FI_CHANGE_PAYMENT_CONDITIONS'
    Codes bellow  shows the scenario mentioned in '1.' no changes
    Wenn keine Änderung, dann Export versorgen und Tschüss-----
      e_zterm = i_newzterm.
      zterm = i_newzterm.
      e_zfbdt = i_newzfbdt.    <----
    set to the existing entry
      zfbdt = i_newzfbdt.
      e_sklin = i_newsklin.
      sklin = i_newsklin.
      check not status is initial.
    Codes bellow  shows the scenario mentioned in '2.'terms change, and baseline date type 'C'
    T052 contains first entry for payment term key entered    "P00K005354
          case t052-zdart.                                "P00K005354
        when 'C'.                                    "P00K005354
           zfbdt = sy-datum.                     "P00K005354
           if  i_cpudt is initial.                   "Note 199967
               zfbdt = sy-datum.                "P00K005354   <------ set to current date
           else.                                      "Note 199967
               zfbdt = i_cpudt.                   "Note 199967
           endif.                                     "Note 199967
       Is this a program logic error  or is it the way it should be ?
    Any one encounter the similar problem ? or should there be OSS notes to apply ?
    Thank you .....

    Hi,
    If i gave the query that i mentioned above post, in my sql statement, the dynamic action is working but not fetching the correct date for the selected priority..
    what is the answer that im getting is
    When i select priority as low means
    what is populating in my due date field is not the date im expecting........
    it is giving some thing in the due date field like the below i mentioned.......
    " ,,11/10/10 0&amp;#58;0&amp;#58;0,11/10/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,11/24/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,,11/04/10 0&amp;#58;0&amp;#58;0,,,,,,,11/24/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,,,,,,,,,,11/18/10 0&amp;#58;0&amp;#58;0,,,,,,11/24/10 0&amp;#58;0&amp;#58;0,,,11/24/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0,,,,11/27/10 0&amp;#58;0&amp;#58;0,11/26/10 0&amp;#58;0&amp;#58;0,,,,,,,11/05/10 0&amp;#58;0&amp;#58;0,,,,11/24/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0,,,,,,,,,,,11/19/10 0&amp;#58;0&amp;#58;0,11/05/10 0&amp;#58;0&amp;#58;0,11/24/10 0&amp;#58;0&amp;#58;0"
    i dont know why it is returning like this......please help me........
    Regards,]
    Harry......

  • Change of baseline date in customer document

    Hi Experts,
    Baseline date field is uneditable and when we tried changing it through Mass, it throws error and it is obvious. But user has earlier change this field without changing the payment term. He has directly changed the baseline date. Is there any standard setting exists for this other than OB32?
    Regards
    Partha

    To change mass level, go to FBL5N and select the appropriate customer & perameters then select the line items. select the icon which is shown below then change baseline date as per your requirement then execute.
    Hi,
    Hope it will work.

  • I am using Windows 8.1 i have an External Hard Disk and one drive is now inaccessible due to sudden power failure few days ago. Now it shows "Data error (Cyclic redundancy check)". I want all my important files and Pics. How ?

    Hi,
    I am using Windows 8.1
    I have an External Hard Disk i have partitioned it to 4 parts.
    One drive is now inaccessible due to sudden power failure while listening Music from that drive few days ago.
    Now it shows "Data error (Cyclic redundancy check)".
    I tried all the procedures provided here like
    chkdsk /f, diskpart, rescan etc
    but no result :( (i mean all processes failed. They could not detect the drive).
    Please help me to get those data, pictures and project files.
    thank you

    Then why aren't you posting this in the Windows 8 forums found @
    http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro
    This is a Windows 7 forum for discussion about Windows 7.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Stale data error while opening a multiple OAF page .

    Dear Friends ,
    I have a OAF page developed and deployed in server , its basically a search page , it also has several links to
    go to create page and update page . when the user opens the multiple page using different tabs in the browser
    like for example
    ex :
    from search page click on create page open it as new tab . if such multiple table are being opened
    and do some operation like search a record , it gives and error (stale data : Developer's mode exception ) .
    How to over come this exception , could you please share you ideas
    Thanks in Advance,
    Keerthi.k

    Hi friend ,
    In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
    Please give me more suggestion.
    Thanks in advance,

  • Stale data error while deleting a record

    Hi
    My design of this development is as follow...
    1. Search Page in which users give some search criteria and results will be displayed in the results region on the same page. For each results record I have two buttons like 'Update' and 'Delete' so that users can delete the record or can update the record. For update i created a one more page where users can able to edit and save the data. I have two AM one for Search Page and one for Update Page.
    Please find more details below.
    intfEO  based on PO_REQUISITIONS_INTERFACE_ALL
    errorEO  based on PO_INTERFACE_ERRORS
    updateEO based on PO_REQUISITIONS_INTERFACE_ALL
    VOs
    intfVO based on intfEO and errorEO
    updateVO based on updateEO
    AM
    intfAM based on intfVO
    updateAM based on updateVO
    Pages
    searchPG based on intfAM
    updatePG based on updateAM
    Suppose I have one record in interface table with corresponding error record in error table.When users given the search criteria and hit enter they found a record. It means i have one record in the interface having one error record in the error table and both tables have same transaction id (primary key). So here user first try to update the record and it is working. After update he try to delete a record then I am getting below error. Please note that I am not getting this error when if i directly delete the record with out doing any update before delete. When ever users click on update icon then update PG will open and when users click on Apply button then data is getting updated in the database and page will forward to the search page.
    Unable to perform transaction on the record.
    Cause: The record contains stale data. The record has been modified by another user.
    Action: Cancel the transaction and re-query the record to get the new data.
    My UpdatePage Controller
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package powl.oracle.apps.xxpowl.po.requisition.webui;
    import com.sun.java.util.collections.HashMap;
    import com.sun.rowset.internal.Row;
    import java.io.Serializable;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    //import oracle.apps.fnd.oam.diagnostics.report.Row;
    import oracle.apps.icx.por.common.webui.ClientUtil;
    import powl.oracle.apps.xxpowl.po.requisition.server.xxpowlPOReqIntfUpdateAMImpl;
    import powl.oracle.apps.xxpowl.po.requisition.server.xxpowlPOReqIntfUpdateEOVOImpl;
    * Controller for ...
    public class xxpowlPOReqIntfAllUpdatePageCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
         xxpowlPOReqIntfUpdateAMImpl am = (xxpowlPOReqIntfUpdateAMImpl)pageContext.getApplicationModule(webBean);
          xxpowlPOReqIntfUpdateEOVOImpl UpdateVO =(xxpowlPOReqIntfUpdateEOVOImpl)am.findViewObject("xxpowlPOReqIntfUpdateEOVOImpl");
          String newvalue = (String)pageContext.getSessionValue("testValue");     
          System.out.println("Transaction ID from processRequest UpdateCO from testValue field:"+newvalue);
          String transactionid = pageContext.getParameter("HashmapTransacitonid");
          System.out.println("Transaction ID from processRequest Hash Map in UpdateCO :"+transactionid);
          String errorcolumn = pageContext.getParameter("HashmapErrorcolumn");
          System.out.println("Error Column Name from processRequest Hash Map in UpdateCO :"+errorcolumn);
          String errormsg = pageContext.getParameter("HashmapErrormessage");
          System.out.println("Error Message from processRequest Hash Map in UpdateCO :"+errormsg);
          String readyonly = pageContext.getParameter("HashmapReadonly");
          System.out.println("Read Only value from processRequest Hash Map in UpdateCO :"+readyonly);
          if (transactionid !=null & !"".equals(transactionid)) { 
         /* Passing below four parameters to the Update Page */
          Serializable amParams[] = new Serializable[]{transactionid,readyonly,errorcolumn,errormsg} ;
          pageContext.getRootApplicationModule().invokeMethod("executexxpowlPOReqIntfUpdateEOVO", amParams);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);      
         OAApplicationModule am = pageContext.getApplicationModule(webBean);
          if (pageContext.getParameter("ApplyButton") != null)
            System.out.println("Inside ApplyButton method in UpdatePageCO");
            OAViewObject vo = (OAViewObject)am.findViewObject("xxpowlPOReqIntfUpdateEOVO");
            String transactionid = pageContext.getParameter("HashmapTransacitonid");
            System.out.println("Transaction ID from processFormRequest Hash Map in UpdateCO-ApplyButton method :"+transactionid);
            am.invokeMethod("apply");
              pageContext.forwardImmediately("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllPG",
                                                     null,
                                                     OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                                     null,
                                                     null,
                                                     true,
                                                     OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
           else if (pageContext.getParameter("CancelButton") != null)
            am.invokeMethod("rollback");
            pageContext.forwardImmediately("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllPG",
                                                   null,
                                                   OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                                   null,
                                                   null,
                                                   true,
                                                   OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    UpdatePageAMImpl.java
    package powl.oracle.apps.xxpowl.po.requisition.server;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.inv.appsphor.order.server.XxapOrderHeaderVOImpl;
    import oracle.jbo.Transaction;
    // ---    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 xxpowlPOReqIntfUpdateAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
        public xxpowlPOReqIntfUpdateAMImpl() {
        /**Container's getter for xxpowlPOReqIntfUpdateEOVO
        public xxpowlPOReqIntfUpdateEOVOImpl getxxpowlPOReqIntfUpdateEOVO() {
            return (xxpowlPOReqIntfUpdateEOVOImpl)findViewObject("xxpowlPOReqIntfUpdateEOVO");
        /**Sample main for debugging Business Components code using the tester.
        public static void main(String[] args) {
            launchTester("powl.oracle.apps.xxpowl.po.requisition.server", /* package name */
          "xxpowlPOReqIntfUpdateAMLocal" /* Configuration Name */);
    /*  // Added by 
        public void execute_update_query(String TransactionID) {
        xxpowlPOReqIntfUpdateEOVOImpl vo = getxxpowlPOReqIntfUpdateEOVO();
        vo.initQuery(TransactionID);
    // Added by  , this will not call bec changed the logic and so now the update button enabled on search results page
    // and this method will not called
    public void pageInEditMode (String transactionID, String readOnlyFlag, String ErrorColumn,
                                                                           String ErrorMessage)
        System.out.println("Transaction Id from pageInEditMode in UpdatePGAMImpl.java: "+transactionID);
        System.out.println("xxReadOnly from pageInEditMode in UpdatePGAMImpl.java: "+readOnlyFlag);
        // Get the VO
        xxpowlPOReqIntfUpdateEOVOImpl updateVO = getxxpowlPOReqIntfUpdateEOVO();
        //Remove the where clause that was added in the previous run
        updateVO.setWhereClause(null);
        //Remove the bind parameters that were added in the previous run.
        updateVO.setWhereClauseParams(null);
        //Add where clause
        // updateVO.addWhereClause(" TRANSACTION_ID = :1 ");
        //Bind transactionid to the where clause.
         // updateVO.setWhereClauseParam(1, transactionID); // this will not work bec it will start with zero from from 1
          updateVO.setWhereClauseParam(0, transactionID);
        //Execute the query.
        updateVO.executeQuery();
        xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
        // Assiging the transient varaibles
        currentRow.setxxErrorMessage(ErrorMessage);
        currentRow.setxxErrorColumn(ErrorColumn);
        if ("N".equals(readOnlyFlag))
              /* Make the attribute to 'False so that all fields will be displayed in Edit Mode because we used this
               xxReadOnly as SPEL  */
               currentRow.setxxReadOnly(Boolean.FALSE);
       public void executexxpowlPOReqIntfUpdateEOVO(String transactionID, String xxReadyOnly, String ErrorColumn,
                                                                                              String ErrorMessage)
           System.out.println("Transaction Id from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+transactionID);
           System.out.println("xxReadOnly from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+xxReadyOnly);
           System.out.println("Error Message from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+ErrorColumn);
           System.out.println("Error Column from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+ErrorMessage);
         // Get the VO
         xxpowlPOReqIntfUpdateEOVOImpl updateVO = getxxpowlPOReqIntfUpdateEOVO();
         //xxpowlPOReqIntfUpdateEOVORowImpl updaterowVO = xxpowlPOReqIntfUpdateEOVO();
       //not working
       //    OARow row = (OARow)updateVO.getCurrentRow();
       //    row.setAttribute("xxReadOnly", Boolean.TRUE);
    // updateVO.putTransientValue('XXXXX',x);
         //Remove the where clause that was added in the previous run
         updateVO.setWhereClause(null);
         //Remove the bind parameters that were added in the previous run.
         updateVO.setWhereClauseParams(null);
         //Add where clause
         // updateVO.addWhereClause(" TRANSACTION_ID = :1 ");
         //Bind transactionid to the where clause.
          // updateVO.setWhereClauseParam(1, transactionID); // this will not work bec it will start with zero from from 1
           updateVO.setWhereClauseParam(0, transactionID);
        // updateVO.setWhereClauseParam(1, ErorrColumn); 
         //Execute the query.
         updateVO.executeQuery();
         /* We want the page should be read only initially so after executing the VO with above command
            and if you use next() it will go to the first record among the
            fetched records. If you want to iterate for all the records then use iterator */
            /* Using Iterator
             while(updateVO.hasNext()) {  // this will check after execute Query above command if it has any rows
              xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
              /* above line next() will take the control of the first record */
          /*     currentRow.setxxErrorMessage(ErrorMessage);
                 currentRow.setxxErrorColumn(ErrorColumn);
               if ("Y".equals(xxReadyOnly))
                      currentRow.setxxReadOnly(Boolean.TRUE);                 
             } // this while loop will loop till end of all the fetched records
         xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
      // Assiging the transient varaibles
      currentRow.setxxErrorMessage(ErrorMessage);
      currentRow.setxxErrorColumn(ErrorColumn);
        /* Make the attribute to 'TRUE' so that all fields will be displayed as READ ONLY because we used this
           xxReadOnly as SPEL
           if ("Y".equals(xxReadyOnly))
                  currentRow.setxxReadOnly(Boolean.TRUE);            
      //Added by  and this methiod will get called from UpdatePG Process Form Request controller  
         public void rollback()
           Transaction txn = getTransaction();
           if (txn.isDirty())
             txn.rollback();
        public void apply()
            //OAViewObject vo1 = (OAViewObject)getxxpowlPOReqIntfUpdateEOVO();
            //Number chargeAccountID = vo1.get
          getTransaction().commit();      
          OAViewObject vo = (OAViewObject)getxxpowlPOReqIntfUpdateEOVO();
          if (!vo.isPreparedForExecution())
           vo.executeQuery();
    SearchPG AM
    package powl.oracle.apps.xxpowl.po.requisition.server;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.Transaction;
    import oracle.jbo.domain.Number;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlErrosLovVOImpl;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlInterfaceSouceCodeLovVOImpl;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlItemSegment1LovVOImpl;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlOrgLovVOImpl;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlReferenceNumberLovVOImpl;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlRequestIdLovVOImpl;
    import powl.oracle.apps.xxpowl.po.requisition.lov.server.xxpowlRequisitionTypeLovVOImpl;
    // ---    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 xxpowlPOReqIntfAllAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
        public xxpowlPOReqIntfAllAMImpl() {
        /**Container's getter for xxpowlPOReqIntfAllVO
        public xxpowlPOReqIntfAllVOImpl getxxpowlPOReqIntfAllVO() {
            return (xxpowlPOReqIntfAllVOImpl)findViewObject("xxpowlPOReqIntfAllVO");
        /**Sample main for debugging Business Components code using the tester.
        public static void main(String[] args) {
            launchTester("powl.oracle.apps.xxpowl.po.requisition.server", /* package name */
          "xxpowlPOReqIntfAllAMLocal" /* Configuration Name */);
        /**Container's getter for xxpowlRequestIdLovVO
        public xxpowlRequestIdLovVOImpl getxxpowlRequestIdLovVO() {
            return (xxpowlRequestIdLovVOImpl)findViewObject("xxpowlRequestIdLovVO");
        /**Container's getter for xxpowlErrosLovVO
        public xxpowlErrosLovVOImpl getxxpowlErrosLovVO() {
            return (xxpowlErrosLovVOImpl)findViewObject("xxpowlErrosLovVO");
        /**Container's getter for xxpowlOrgLovVO
        public xxpowlOrgLovVOImpl getxxpowlOrgLovVO() {
            return (xxpowlOrgLovVOImpl)findViewObject("xxpowlOrgLovVO");
      //Start Adding by Lokesh
      //This method wil get invoked from the search results page Process Request
       public void rollbackItem()
         Transaction txn = getTransaction();
         if (txn.isDirty())
           txn.rollback();
      //This method will invoked from Controller page when user click Yes on delete confirmtion page from Search Results Page
       public void deleteItem(String trasnsactionID)
         Number rowToDelete = new Number(Integer.parseInt(trasnsactionID));      
         OAViewObject vo = (OAViewObject)getxxpowlPOReqIntfAllVO();
         xxpowlPOReqIntfAllVORowImpl row = null;
         int fetchedRowCount = vo.getFetchedRowCount();
       //  System.out.print(fetchedRowCount);
         System.out.println("No of row fetched on delete method :"+fetchedRowCount);
         RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
           System.out.println("1 :");
         if (fetchedRowCount > 0)
             System.out.println("2 :");
           deleteIter.setRangeStart(0);
             System.out.println("3 :");
           deleteIter.setRangeSize(fetchedRowCount);
             System.out.println("4 :");
           for (int i = 0; i < fetchedRowCount; i++)
               System.out.println("5 :");
             row = (xxpowlPOReqIntfAllVORowImpl)deleteIter.getRowAtRangeIndex(i);
               System.out.println("6 :");
             Number PK = row.getTransactionId();
               System.out.println("7 :");
             if (PK.compareTo(rowToDelete) == 0)
                 System.out.println("8 :");
               row.remove();
                 System.out.println("9 :");
               getTransaction().commit();
                 System.out.println("10 :");
               break;
                 //System.out.println("11 :");
           System.out.println("11 :");
         deleteIter.closeRowSetIterator();
           System.out.println("12 :");
        /**Container's getter for xxpowlInterfaceSouceCodeLovVO
        public xxpowlInterfaceSouceCodeLovVOImpl getxxpowlInterfaceSouceCodeLovVO() {
            return (xxpowlInterfaceSouceCodeLovVOImpl)findViewObject("xxpowlInterfaceSouceCodeLovVO");
        /**Container's getter for xxpowlRequisitionTypeLovVO
        public xxpowlRequisitionTypeLovVOImpl getxxpowlRequisitionTypeLovVO() {
            return (xxpowlRequisitionTypeLovVOImpl)findViewObject("xxpowlRequisitionTypeLovVO");
        /**Container's getter for xxpowlReferenceNumberLovVO
        public xxpowlReferenceNumberLovVOImpl getxxpowlReferenceNumberLovVO() {
            return (xxpowlReferenceNumberLovVOImpl)findViewObject("xxpowlReferenceNumberLovVO");
        /**Container's getter for xxpowlItemSegment1LovVO
        public xxpowlItemSegment1LovVOImpl getxxpowlItemSegment1LovVO() {
            return (xxpowlItemSegment1LovVOImpl)findViewObject("xxpowlItemSegment1LovVO");
    Search Page Controller
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package powl.oracle.apps.xxpowl.po.requisition.webui;
    import com.sun.java.util.collections.HashMap;
    //import com.sun.java.util.collections.Hashtable;
    import java.util.Hashtable;
    //import java.util.HashMap;
    import java.io.Serializable;
    import javax.servlet.jsp.PageContext;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    * Controller for ...
    public class xxpowlPOReqIntfAllSearchPageCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        //Added by Lokesh
          OAApplicationModule am = pageContext.getApplicationModule(webBean);
         if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "updateRecord", false)) {
               am.invokeMethod("rollbackItem");
               TransactionUnitHelper.endTransactionUnit(pageContext, "updateRecord");
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
             String userClicked = pageContext.getParameter("event");
             System.out.println("Event from processFormRequest in SearchPageCO :"+userClicked);
           System.out.println("Parametere Names are :- \t" + pageContext.getParameter("UpdateImage"));
           System.out.println("Parametere Names are :- \t" + pageContext.getParameter("event"));
         if (pageContext.getParameter("event") != null &&
             pageContext.getParameter("event").equalsIgnoreCase("Update")) { 
             String ReqTransactionId=(String)pageContext.getParameter("transacitonidParam");
             String errorcolumn=(String)pageContext.getParameter("errorcolumnParam");
             String errormsg=(String)pageContext.getParameter("errormessageParam");
             String readyonly="Y"; //(String)pageContext.getParameter("readonlyParam");
             System.out.println("Requisition Transaction Id  : "+ReqTransactionId);
             System.out.println("Error Column  : "+errorcolumn);
             System.out.println("Error Message  : "+errormsg);
             System.out.println("Read Only  : "+readyonly);
             HashMap params = new HashMap(4);
             params.put("HashmapTransacitonid",ReqTransactionId);
             params.put("HashmapErrorcolumn",errorcolumn);
             params.put("HashmapErrormessage",errormsg);
             params.put("HashmapReadonly",readyonly);
             pageContext.putSessionValue("testValue",ReqTransactionId);
             //System.out.println("Transaction Id passing through HashMap :- \t" + ReqTransactionId);
             pageContext.setForwardURL("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllUpdatePG",
                                        null,
                                        OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                        null,
                                        params,
                                        true,
                                        OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
                                        OAWebBeanConstants.IGNORE_MESSAGES) ;   
    else if (pageContext.getParameter("event") != null &&
             pageContext.getParameter("event").equalsIgnoreCase("Delete")) {   
        System.out.println("Inside Delete method in SearchCO");
        String deleteTransactionID=(String)pageContext.getParameter("deleteTransactionIDParam");
        System.out.println("Transaction Id in Delete Method :- \t" + deleteTransactionID);
      //  deleteTransactionID ="";  //Makeing Null because dont want to show the transaction id bec users dont know about it
        //MessageToken[] tokens = { new MessageToken("MESSAGE_NAME", deleteTransactionID) };
        MessageToken[] tokens = { new MessageToken("MESSAGE_NAME", "") };
        OAException mainMessage = new OAException("FND", "FND_MESSAGE_DELETE_WARNING", tokens);
        OADialogPage dialogPage = new OADialogPage(OAException.WARNING,mainMessage, null, "", "");
        String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
        String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
        dialogPage.setOkButtonItemName("DeleteYesButton");
        dialogPage.setOkButtonToPost(true);
        dialogPage.setNoButtonToPost(true);
        dialogPage.setPostToCallingPage(true);
        dialogPage.setOkButtonLabel(yes);
        dialogPage.setNoButtonLabel(no);
        Hashtable formParams = new Hashtable(1);
        formParams.put("transactionIdDeleted", deleteTransactionID);
        dialogPage.setFormP

    Hi friend ,
    In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
    Please give me more suggestion.
    Thanks in advance,

  • Data error (cyclic redundancy check) when installing windows xp..

    hi guys.. i'm new here.. just switched to macdom a few days ago but unfortunately, i have been having problems trying to install windows xp with sp 2 on my system using boot camp. everytime i install it, i get to the setup screen ("39 minutes till setup rah rah rah", "windows xp is awesome because it has this cool interface etc... rah rah rah") and then the error of doom comes out -_-
    the error given is;
    an eror has been encountered that prevents setup from continuing
    one of the components that windows needs to continue setup could not be installed
    data error (cyclic redundancy check)
    if you are installing from a cd, there might be a problem with the disc; try cleaning the disc or using another disc
    if you are installing from the network, it is possible that not all of the files were copied correctly to your disk drive. run the disk checking utility on your installation drive from the recovery console and start setup again
    press ok to view the setup log file
    i have tried numerous times without fail and it is getting to my head.. gah.. if someone could help me out, it would be massive and i would sell my soul to you! (kidding).. thanks for reading!
    p/s: my setup is;
    Macbook
    2.1ghz
    1gb ram
    120gb hard disk
    dvd/cd-rw combo drive
    the basic setup pretty much.. again.. any help would be greatly appreciated. thank you so much guys!

    I guess there is a problem with your XP CD, probably scratched or did not burn successfully. Have you tried it with another installation cd?

  • Vendor line item due date error

    I found the net due date in vendor line item report is not correct. vendor payment term is 30 days, accounting document posting date is Jan1. 2010,but net due date is Jan.1.2010, it should be 1.Feb,2010.
    why system calculate wrongly? Thanks

    Is it a credit memo ?
    For a credit memo the due date is the baseline date. This is the default rule. If you want that the credit memo is taken in account with payment terms, you must either link it to an invoice by filling the field REBZG with the invoice number either put the constant 'V' in the same field (REBZG). With 'V' in REBZG, the credit memo is taken in F110 according to its payment term.
    see documentation of data element REBZG.

  • SD Billing to FI Accounting: How to make Baseline Date equal to Entry Date?

    Hello,
    I have configured Baseline Date to be equal to Entry Date in the Payments Terms in OBB8. I have assigned this payment term to the Customer as well as the Sales Order.
    But still, when I release a Billing Document to accounting through VFX3, the Baseline Date in the Accounting Document is taken as the Document Date/Posting Date.
    What does the configuration in Payment Terms do?
    How can I get the Baseline Date to equal the Entry Date?
    Any help is greatly appreciated.
    Cheers!
    Bharath

    Just copy from the standrad delivered 0001 to some Z001 and change the date to entry date.
    For me it is working fine. Also try first individually using FB60 or FB70 to llok at the behaviuor of the system.
    reward if useful
    sarma

Maybe you are looking for

  • IDVD "Quit Unexpectedly" as "DVD Capacity" approaches 1 GB?

    I'm having the age old "Quit Unexpectedly" problem, and it seems to occur as my DVD Capacity as read in the "status" tab approaches 1GB (of 4.1) GB. My project with 4 movies and the projector project totals 0.6 GB and burns fine every time. If I add

  • Can one prioritize phone number in a contact?

    Hello, I was wanting to change the sequence of a contact phonenumber. First I want : Mobile and secondly I want : Work. Is that possible? Everytime I deleted the numbers work krept up as first point of contact, and I want the mobile number on top of

  • Find a delete date for FI parked invoice?

    Hi, Can any one tell me how to find the date when FI parked invoice is deleted? Any help will be appreciated. Thanks

  • Communication between components

    Hi all, I have a webdynpro that calls to another webdynpro component. In the second component i want to choose some data and its data must be returned to the first component. I don't know how can i do it... may be i need to add the second component i

  • CS6 on High Resolution Screen Windows 8.1

    Hallo, I am using CS6 on a laptop with a 3200x1800 Screen.  Wonderfull for pictures  -  But, while Win8.1 enlarges the icons and menus in standard appclications all the icons in the CS UserInterface are so tiny it is hard to find them. Is there a pos