First Row automatically gets closed in PO

Dear Seniors.
Of late I've come across a problem, that, first row of all PO's gets automatically closed; that means gets greyed out; in database column LineStatus of Por1 becomes 'C';  while other rows remain active. What would be the cause this problem? What is the solution? Please advice.
Thanks in adv.
Best Regards
Anand
Edited by: anandchinnappan on Feb 3, 2011 8:19 PM

Hai Gordon;
Thanks for your response. My SAP b1 version details
SAP Business One 2005 B (7.40.248)  SP: 00  PL: 15
Please help.
Thanks in adv.
Regards
Anand.C

Similar Messages

  • In htmldatatable only one row is getting added... why??

    Hello everyone,
    I'm designing a htmldatatable. In that I'm putting 3 columns and 3 rows. But only first row is getting added not the other 2. Why is this happening??
    Here is my code....
    private HtmlDataTable table = (HtmlDataTable)app.createComponent(HtmlDataTable.COMPONENTTYPE);
         _table.setValue("table");
         _table.setVar("table");
    _table.setBorder(1);
         _table.setRows(3);
         int columns = 3;
    // Set columns.
    for (int i = 0; i < columns; i++) {
    // Set header (optional).
    UIOutput header = (UIOutput)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    header.setValue(headers);
    // Set column.
    UIColumn column = new UIColumn();
    column.setHeader(header);
    ValueBinding myItem = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{textBean.myList["+0+"]["+i+"]}");
    UIOutput output = new UIOutput();
    output.setValueBinding("value",myItem);
    column.getChildren().add(output);
    column.setId("col" + i);
    // Add column.
    _table.getChildren().add(column);
         getChildren().add(_table);
         setStyleClass( DEFAULT_STYLE_CLASS );
    This is the bean through which data is coming...
    textBean>>>
    public List getMyList() {
              String[] row1 = {"ID1", "Name1", "Value1"};
    String[] row2 = {"ID2", "Name2", "Value2"};
    String[] row3 = {"ID3", "Name3", "Value3"};
    myList.add(Arrays.asList(row1));
    myList.add(Arrays.asList(row2));
    myList.add(Arrays.asList(row3));
              return myList;
         public void setMyList(List myList) {
              this.myList = myList;
    Thanks...

    I have tried this also....
    UIOutput text =     (UIOutput)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    ValueBinding valueBinding = app.createValueBinding("#{textBean.myList["+0+"]["+i+"]}");
    text.setValueBinding("value", valueBinding);
    column.getChildren().add(text);
    UIOutput text1 =     (UIOutput)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    ValueBinding valueBinding1 = app.createValueBinding("#{textBean.myList["+1+"]["+i+"]}");
    text1.setValueBinding("value", valueBinding1);
    column.getChildren().add(text1);
    UIOutput text2 =     (UIOutput)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    ValueBinding valueBinding2 = app.createValueBinding("#{textBean.myList["+2+"]["+i+"]}");
    text2.setValueBinding("value", valueBinding2);
    column.getChildren().add(text2);
    _table.getChildren().add(column);
    Instead of----
    ValueBinding myItem = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{textBean.myList["+0+"]["+i+"]}");
    UIOutput output = new UIOutput();
    output.setValueBinding("value",myItem);
    column.getChildren().add(output);
    But not working.... :(

  • IN MY IPAD WHEN I OPEN SAFARI IT OPENS AND THEN GET CLOSED AFTER 2 SECONDS.

    IN MY IPAD WHEN I OPEN SAFARI IT OPENS AND THEN AUTOMATICALLY GET CLOSED AFTER 2 SECONDS.I TRIED EVERYTHING EXCEPT RESTORING.

    We're sorry to hear that Firefox is crashing when you open it. Please do the following to give us crash IDs that will help us understand more about the crash.
    #'''(OS X 10.6 or previous)''' Click the '''Finder''' icon in the dock. Your home folder will be selected. In the right side of the window, click the Library folder to open it. Then open the "Application Support" folder, the "Firefox" folder, the "Crash Reports" folder and finally the "submitted" folder.<br>'''(OS X 10.7 or above)''' Click the '''Finder''' icon in the dock. On the menu bar, click the '''Go''' menu, hold down the '''option''' or '''alt''' key and select '''Library'''. A window will open containing your Library folder. Then open the "Application Support" folder, the "Firefox" folder, the "Crash Reports" folder and finally the "submitted" folder.
    #Open the 5 most recent files with a text editor and copy the IDs.
    #Paste each ID with '''bp-''' into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • ADF Table with check box on each row  - First time selection gets unchecked

    Hi,
        The ADF Table has a check box in each, whenever a select box is clicked for the first time , it gets unselected automatically.
    Also if I select a row / click on a row and then select the check box, it is properly getting selected. I see there is some kind of autosubmit happens. Is there a way to handle this scenerio?
    Regards,
    Dhamo

    I had this same issue happen in 11.1.1.6.x  This is a bug involving an autosubmit when the checkbox is selected.
    After migrating to 11.1.1.7.0 on J Developer and Weblogic, the problem was fixed.
    One thing to check is to make sure you are using the jars from ADF 11.1.1.7.0.
    Hope that helps

  • First Cell value in the first row of the structure not getting displayed

    Hi Friends,
                     We've got one structure at rows level, there as per our requirement i've taken around 12 "New Selections", that's ok i'm getting everthing fine, but whatever the new selection i put on the top of that structure in that, the First Cell Value for the first column not getting displayed...
                       I'm really wondering, this is the first time that i'm facing this kind of problem... what might be the reason & what is the solution for that...
    just awaiting for your inputs...
    Regards,
    Balaji Reddy K.

    There is no declarative way to do this as the table rows are stamped. This means there is no way to can access a value like (row+1).attributename
    So there is some coding needed. Check http://lucbors.blogspot.de/2012/02/adf-11g-fancy-master-detail-or-how-to.html and http://lucbors.blogspot.de/2012/02/adf-11g-even-fancier-multi-master-multi.html which might help you to implement your case.
    Timo

  • Getting the first row for each group

    Hi Everyone,
    I have a query which returns a number of rows, all of which are valid. What I need to do is to get the first row for each group and work with those records.
    For example ...
    client flight startairport destairport stops
    A fl123 LGW BKK 2
    A fl124 LHR BKK 5
    B fl432 LGW XYZ 7
    B fl432 MAN ABC 8
    .... etc.
    I would need to return one row for Client A and one row for Client B (etc.) but find that I can't use the MIN function because it would return the MIN value for each column (i.e. mix up the rows). I also can use the rownum=1 because this would only return one row rather than one row per group (i.e. per client).
    I have been investigating and most postings seem to say that it needs a second query to look up the first row for each grouping. This is a solution which would not really be practical because my query is already quite complex and incorporating duplicate subqueries would just make the whole thing much to cumbersome.
    So what I really new is a "MIN by group" or a "TOP by group" or a "ROWNUM=1 by group" function.
    Can anyone help me with this? I'm sure that there must be a command to handle this.
    Regards and any thanks,
    Alan Searle
    Cologne, Germany

    Something like this:
    select *
    from (
       select table1.*
       row_number() over (partition by col1, col2 order by col3, col4) rn
       from table1
    where rn = 1In the "partition by" clause you place what you normally would "group by".
    In the "order by" clause you define which will have row_number = 1.
    Edit:
    PS. The [url http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions004.htm#i81407]docs have more examples on using analytical functions ;-)
    Edited by: Kim Berg Hansen on Sep 16, 2011 10:46 AM

  • How to get first row from view iterator programatically?

    Hi All,
    I am using Jdeveloper 11g Release 2.
    I want to fetch the first row of a view iterator in a bean. Can any one guide me through this use case.
    Any help will be highly appreciated.
    Thanks ... Best Regards
    Bilal

    Use the code snippet as below:
    *// 1. Access the binding container*
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    *// 2. Find a named iterator binding*
    DCIteratorBinding iter = (DCIteratorBinding)bc.findIteratorBinding("<ITERATOR_NAME>");
    *//3. Get the RowSetIterator Object*
    RowSetIterator rsi = iter.getRowSetIterator();
    *//4. Get the First Row*
    Row firstRow = rsi.first();
    Thanks,
    Navaneeth

  • How to get first row from View Object cache.

    hi,
    I am using Jdeveloper 11.1.1.6
    can we get first row from View Object cache??
    Thanks in Advance.
    Best
    Shashidhar

    Hi Frank,
    Thanks for reply!!
    My case is:
    I have a Query based ViewObject.
    One of the field is LOV and remaining fields are in ADF table. the LOV field is out side ADF table when i insert first record in ADF table and i choose LOV  filed the value is selected.
    when i create second row LOV value got refreshed because both are in same VO.
    I need to get the LOV value of first row and set same value to second Row.
    Shashidhar

  • Can't fetch XMLType after getting first row

    Hi - when I call OCIDefineObject in a sub function, after getting the first row of XMLType value, the program can't fetch subsequent rows and stops. If I call OCIDefineObject in the same memory space of where the fetch call locates, it works out fine. Somehow the persistency of xmldocnode can not last.
    Any clues? I can email out both working/non-working programs upon request.
    my environment is Oracle 11g on Solaris box.
    Sample Code: (fetch only the first row and stop)
    char orderNumData[4001];
    xmldocnode* xmlData = (xmldocnode *) 0;
    xmldocnode** xmlDatap = &xmlData;
    defineStr(define_orderNum, (char*)&orderNumData, 4001);
    defineXML(define_customerdata, xmlDatap );
    rc = OCIStmtExecute ( svc, stmt, err,
              1,
              0, NULL, NULL,
              OCI_DEFAULT);
    cout << "OrdNum: " << orderNumData << endl;
    displayXML (xmlData);
    while ((rc = OCIStmtFetch2 (stmt, err, 1,
    OCI_FETCH_NEXT,
    (ub4) 1,
    OCI_DEFAULT )) == OCI_SUCCESS)
    cout << "OrdNum: " << orderNumData << endl;
    displayXML (xmlData);
    void defineXML ( OCIDefine defineHdn, xmldocnode *xmlDatap )
    ociStatus = OCITypeByName( env,
    err,
    svc,
    (const text *) "SYS",
    (ub4) strlen((char *)"SYS"),
    (const text *) "XMLTYPE",
    (ub4) strlen((char *)"XMLTYPE"),
    (CONST text *) 0,
    (ub4) 0,
    OCI_DURATION_SESSION,
    OCI_TYPEGET_HEADER,
    (OCIType **) &xmltdo);
    ociStatus = OCIDefineByPos ( stmt,
    &defineHdn,
    err,
    pos,
    (dvoid *) 0,
    (sb4) 0,
    SQLT_NTY,
    (dvoid *) 0,
    (ub2 *)0,
    (ub2 *)0,
    (ub4) OCI_DEFAULT );
    ociStatus = OCIDefineObject( defineHdn,
    err,
    (OCIType *) xmltdo,
    (dvoid **) xmlDatap,
    &xmlSize,
    (dvoid **) &indp,
    (ub4 *) 0);
    Working one:
    Instead if I call OCITypeByName, OCIDefineByPos,
    and OCIDefineByPos right before the OCIStmtExecute() in the main,
    then all results can be returned.
    OCITypeByName(...)
    OCIDefineByPos(...)
    OCIDefineObject(...)
    rc = OCIStmtExecute ( svc, stmt, err,
    1,
    0, NULL, NULL,
    OCI_DEFAULT);
    cout << "OrdNum: " << orderNumData << endl;
    displayXML (xmlData);
    while ((rc = OCIStmtFetch2 (stmt, err, 1,
    OCI_FETCH_NEXT,
    (ub4) 1,
    OCI_DEFAULT )) == OCI_SUCCESS)
    cout << "OrdNum: " << orderNumData << endl;
    displayXML (xmlData);
    Thanks,
    Terrence

    void defineXML ( OCIDefine defineHdn, xmldocnode *xmlDatap ) { ...
    ociStatus = OCIDefineObject(
    defineHdn, err, (OCIType *) xmltdo, (dvoid **) xmlDatap,
    &xmlSize, (dvoid **) &indp, (ub4 *) 0);
    Instead if I call OCITypeByName, OCIDefineByPos,
    and OCIDefineByPos right before the OCIStmtExecute()
    in the main, then all results can be returned.I ran into this issue myself (was going nuts until a smarter colleague open my eyes on the issue). The problem is that you passing addresses of local variables in defineXML for xmlSize and indp, when the addresses you pass must remain valid for the whole fetch. (xmlSize is not written to apparently, by indp is for sure, so you are writing/corrupting your program stack...)
    To resolve this, I use a stack allocated helper struct whose lifetime extends the fetch, and which is referenced in the bind_object method. --DD
    struct ObjectBindInfo {
        void* p_value;
        void* p_indicator;
        ub4 value_size;
        ub4 indicator_size;
    static void insert_one_object(ub4 id) { ...
        sql_point pt(id);
        ObjectBindInfo pt_info(pt, &pt.indicator_);
        stmt.bind_object(conn, 2, pt, pt_info);
    ... void Statement::bind_object(
        Connection& conn, ub4 position, ..., ObjectBindInfo& obj_info
        // WARNING: Addresses passed to OCIBindObject MUST still be
        // valid after OCIStmtExecute, so cannot be addresses to local
        // (stack) vars. Thus the use of ObjectBindInfo...
        checkerr(
            OCIBindObject(
                bind_hndl, errhp(), tdo,
                (void**)&obj_info.p_value,     &obj_info.value_size,
                (void**)&obj_info.p_indicator, &obj_info.indicator_size
            errhp()
    }Of course, you've noticed that I talk about binds above, but the fact that you need to provide non-local var addresses to OCI applies to defines as well. --DD
    Message was edited by: ddevienne

  • How to get value from First Row in an REF CURSOR

    I have a REF CURSOR defind like:
    open out_RESULT_SET for
    select
    EVENT_UID,
    EVENT_DATE,
    EVENT_ITEM
    from
    EVENT
    order by
    EVENT_DATE ASC;
    I want to also set the value of a variable v_FIRST_EVENT_DATE to the value in the EVENT_DATE column of the first row.
    I know I could do a:
    select
    min(EVENT_DATE)
    into
    v_FIRST_EVENT_DATE
    from
    EVENT;
    But I would rather just use the REF CURSOR (I think).
    Thanks for the help.

    How would I get v_FIRST_EVENT_DATE set to the date of the first event in the REF CURSOR out_RESULT_SET?Normal fetch into associated local variables should suffice.
    Something along those lines:
    declare
       v_first_event_date   event.event_date%type;
       v_event_uid          event.event_uid%type;
       v_event_date         event.event_date%type;
       v_event_item         event.event_item%type;
    begin
       open out_result_set for
          select   min (event_date) over () first_event_date, event_uid,
                   event_date, event_item
              from event
          order by event_date asc;
       loop
          fetch out_result_set
           into v_first_event_date, v_event_uid, v_event_date, v_event_item;
          exit when out_result_set%notfound;
          do_something;
       end loop;
      close out_result_set;
    end;
    /

  • Selecting The First Row Of h:dataTable after getting new DataModel f

    Hi Friends
    If any one knows how to select first row of a dataTable on change of a DataModel it is representing please give the reply

    I haven't understood the answer of UlrichCech
    I am not using IRDA for my development purpose.
    and abt your reply ..
    I have already tried tht way but the problem is that
    whenever I selects different row page gets postback and selects
    the first row again and there is no way to trap posback event in JSF
    like ASP.NET
    I think my answer is some where related to DataModelListener..

  • Getting the index to the first row of an Internal table

    Hi,
            Assume that i have inserted five rows(fiiling contents for some fields) in an ITAB using Append statement.. Now if i want to fill the content for the remaining field from the first row , then how will i get it back to first row, If i still use Append it starts inserting from the 6th row, Instead of 6th row i want it from first row... Plss Help!!!!!!
    Thanks In Advance,
    Sanu

    lets say itab contains fields as f1,f2,f3,f4.
    one method is :
    LOOP AT itab into is.
      if sy-tabix = 1.
        is-f2 = 'asdasd'.
        is-f3 = 'gggg'.
        is-f4 = 'kjhjk'.
        modify itab from is.
        exit. " to come out of loop.
      endif.   
    ENDLOOP.
    another method is:
    clear is.
    read table itab into is INDEX 1.
    IF sy-subrc = 0.
      is-f2 = 'asdasd'.
        is-f3 = 'gggg'.
        is-f4 = 'kjhjk'.
      MODIFY itab from is INDEX 1. 
    ENDIF.

  • Getting the first row of a result set

    I need to get the first row returned from a select query that looks like this:
    SELECT DISTINCT parm1 FROM table1 WHERE parm1 > 10 ORDER BY parm1
    Can someone please show me how to do this?
    Alex

    Because you're only getting one row you don't need to bother with a DISTINCT clause. You'll need to order your data first and then nab the first row from that result set.
    SELECT parm1
      FROM (SELECT   parm1
                FROM table1
               WHERE parm1 > 10
            ORDER BY parm1)
    WHERE ROWNUM <= 1;

  • How to get first row in query output

    HI,
    query:
    select a.LOGIN,s2diq(a.created_t)
    from service_t a,account_t b
    where a.ACCOUNT_OBJ_ID0=b.POID_ID0
    and b.ACCOUNT_NO='80161001'
    and b.status =10100
    output of query:
    80161001     6/25/2011 2:00:43 AM
    80161001_1     10/16/2011 9:10:44 PM
    80161001_2     10/16/2011 9:36:02 PM
    80161001_3     10/16/2011 10:23:07 PM
    80161001_4     10/17/2011 9:41:34 PM
    80161001_5     10/17/2011 9:45:59 PM
    80161001_6     10/17/2011 10:26:27 PM
    how to get only first row only in quaery:
    Thanks
    Prakash
    Edited by: prakashdba on Apr 7, 2009 3:09 AM

    Then how about this
    select * from
         (select a.LOGIN,s2diq(a.created_t) secondcolumn
         from service_t a,account_t b
         where a.ACCOUNT_OBJ_ID0=b.POID_ID0
         and b.ACCOUNT_NO='80161001'
         and b.status =10100
         order by COLUMN_NAME) A
    where rownum=1;

  • NetWeaver get closed after 10-15 seconds automatically

    Hi ,
    I start my Net Weaver Developer studio, and every 10 to 15 seconds it gets closed automatically. i am not getting why this is happening. I am facing this problem since last day.It was working fine in morning but after some time it is not opening.
    Can any one help me on this. Looking forward for your positive response.
    Thanks ,
    Manas

    To my knowledge, there should be at least something in the log
    Nevertheless, some people claim the following procedure may work:
    - copy the workspace\.metadata\.plugins\org.eclipse.core.resources folder to a save location
    - open NWDS and after it is fully loaded, close it again
    - copy the org.eclipse.core.resources folder back to it's original location
    - start NWDS again
    Hope this helps,
    Robin

Maybe you are looking for

  • IPhone connects to secured WiFi network, but can't access Internet

    Problem: iPhone connects to my secured home WiFi network, shows WiFi strength bars at top of screen, displays checkmark, lock, power, and blue arrow on WiFi Networks screen; however, cannot access Internet, iTunes store, stocks, Weather or anything e

  • GRC AC- Workflow in CUP

    Dear All, We encountered an issue with one of our customers regarding the definition of WFu2019s path. The customer has a WF : START -> risk manager -> business manager 1 -> business manager 2  (**) -> auth. Manager -> FINISH (**) u2013 The second ap

  • Error starting remote server w. nodemanager

    All, Here is the error I am getting trying to start the remote server using nodemanager. http://172.24.0.81:8001 (admin) SATEST server does not exits on the remote server. Thank you for your help, appricate it. Let me know if you need further informa

  • Mail using MXTOOLBOX

    I have been using .mac mail for my personal email. My work using MXTOOLBOX for mail. All was fine, until about a 2 months ago, every time mail would try to get my new email, it would freeze my phone for a few minutes. Where once when emails were comi

  • Photos downloaded from emails accessed only through Finder

    When someone sends me photos attached to an email and I want to save them in iPhoto along with my own photos, I click on save and tell them to go to iPhoto Library. Then if I go to iPhoto, they are not there. The only place I can find them is go to F