Add row Based Humman Task

page: JSF Based Human Task
<af:table value="#{bindings.AppointmentItem.collectionModel}"
var="row"
rows="#{bindings.AppointmentItem.rangeSize}"
emptyText="#{bindings.AppointmentItem.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.AppointmentItem.rangeSize}"
rowBandingInterval="0" id="t3">
</af:table>
java class :
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
DCBindingContainer dcbc = (DCBindingContainer) bindings;
DCIteratorBinding EmpViewIterator = dcbc.findIteratorBinding("AppointmentItemIterator");
Row rw = EmpViewIterator.getViewObject().createRow();
in run time EmpViewIterator null
I tested it table related DB it worked successfully
but when test related PBEL return null.
can suggest?

If DCIteratorBinding EmpViewIterator = dcbc.findIteratorBinding("AppointmentItemIterator");returns null you probably have spelled the iterator name wrong. Open the bindings tab of the page with your table on and select the iterator, click the pencil to edit the Iterator and copy the name from it with ctrl-c. Go to your bean and paste the name there.
If you can't find a misspelling you can check the DCBindingContainter for all iterator bindings using ArrayList list = dcbc.getAllIterBindingList();The list contains all iterators known by the binding container.
Timo

Similar Messages

  • Add row based on previous row in table control?

    Dear all,
    I have a table control with some rows. Every row contains one button. On button click i want to add another row with dirrerent data. I want to add content based on button text or another columns (ex text views text,) based on this text view, I have to add row. One button can click any no of times. On every click i want to add row, but desired position and content should be based on button click.  Any help in doing this??
    Cheers,
    Venkys.

    Refer to these old threads referring this table and button problem.
    Adding rows to table
    How to create different rows in table or in ALV?
    and for the current scenario what you can do is ...
    in the eventhandler of the button click .
    find out the row number by using the code to read index.
    then based upon that add the element in the node at the desired position.
    finding the row number
      data indx type i.
          DATA lo_el TYPE REF TO if_wd_context_element.
          lo_el = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
    indx = lo_el->get_index( ).
    and the adding the element at the desired position say n
        DATA lo_nd_zdealer TYPE REF TO if_wd_context_node.
        lo_nd_zdealer = wd_context->get_child_node( name = 'DEALER' ).
    data ls_str type  wd_this->element_dealer.
       ls_str-id = '00023445'.
       ls_str-name = 'sarbjeet'.
       ls_str-location = 'hosiarpur'.
       ls_str-status = '0001'.
       lo_nd_zdealer->bind_structure( new_item = ls_str
       set_initial_elements = abap_false
       index = n
    thanks
    sarbjeet singh

  • Adding rows based on current and next row

    I got some excellent help on multiplying rows based on start and end date in this
    thread, resulting in the query below. It helps me follow Vehicle activity and Vehicle allocation of our vehicles day by day. Now I would like to add another feature to the query, if it is possible.
    The problem is that in our database, only actual tasks are registered, which means that the time when the vehicle is between tasks is not showing. I could of course calculate total available time per vehicle and month, but that would not tell me where the
    vehicles are waiting, when during the day, etc.
    So I would like to insert rows for when the vehicles are standing still, and the logic would be something like this:
    If vehicle number on current row equals vehicle number on the next row and End (date/time) of current row < Start (date/time) of next row, insert row after current row. Set Start=End of current row and End=Start of next row. Set From=To
    of current row and To=To of current row. Set Vehicle activity to "Not active". Finaly copy all other fields from current row.
    Is this possible to achieve in Power Query?
    Brgds,
    Caj
    let
        Source = Sql.Databases("sql10"),
        SLM = Source{[Name="SLM"]}[Data],
        dbo_V_LKPI = SLM{[Schema="dbo",Item="V_LKPI"]}[Data],
        RenamedColumns = Table.RenameColumns(dbo_V_LKPI,{{"ActualDeparture", "Start"}, {"ActualArrival", "End"}}),
         Records = Table.ToRecords(V_LocoKPI),
          DateTime.IsSameDay = (x, y) => Date.Year(x) = Date.Year(y) and Date.Month(x) = Date.Month(y) and Date.Day(x) = Date.Day(y),
          Expand = (x) => List.Generate(
              () => Record.Combine({x, [End=Date.EndOfDay(x[Start])]}),
              (record) => record[Start] <= x[End],
              (record) => let
                  NextStart = Date.StartOfDay(Date.AddDays(record[Start], 1)),
                  NextEnd = Date.EndOfDay(NextStart),
                  ThisEnd = List.Min({NextEnd, x[End]})
              in
                  Record.Combine({record, [Start=NextStart, End=ThisEnd]})),
          Transformed = List.Transform(Records, each if DateTime.IsSameDay([Start], [End]) then {_} else Expand(_)),
          Combined = List.Combine(Transformed),
          Result = Table.FromRecords(Combined)
      in
          Result
    Csten

    Here's some sample code. Again, we use List.Generate to build either a record or a list of records and then use List.Combine to bring the results back together before converting them to a table.
    let
        CombineTwoRows = (x, y) =>
            let
                combine = x[Vehicle] = y[Vehicle] and x[End] < y[Start],
                added = Record.Combine({x, [Start=x[End], End=y[Start], Active=false]}),
                result = if combine then {added, y} else {y}
            in result,
        GenerateStandingRows = (table, combine) =>
            let
                Handle = (x, y) => {x, y},
                buffered = Table.Buffer(table),
                n = Table.RowCount(buffered),
                windows = List.Generate(
                    () => {1, {buffered{0}}},
                    (x) => x{0} <= n,
                    (x) => {x{0} + 1, if x{0} < n then combine(buffered{x{0}-1}, buffered{x{0}}) else {buffered{x{0}}}},
                    (x) => x{1})
            in
                windows,
        InsertInactivity = (table) => Table.FromRecords(List.Combine(GenerateStandingRows(table, CombineTwoRows))),
        TestData = Table.FromRows({
            {1, #datetime(2014, 2, 23, 13, 0, 0), #datetime(2014, 2, 23, 13, 10, 0), true},
            {1, #datetime(2014, 2, 23, 13, 20, 0), #datetime(2014, 2, 23, 13, 30, 0), true},
            {2, #datetime(2014, 2, 23, 13, 20, 0), #datetime(2014, 2, 23, 14, 0, 0), true},
            {2, #datetime(2014, 2, 23, 14, 20, 0), #datetime(2014, 2, 23, 14, 40, 0), true},
            {2, #datetime(2014, 2, 23, 16, 0, 0), #datetime(2014, 2, 23, 17, 0, 0), true},
            {2, #datetime(2014, 2, 24, 2, 0, 0), #datetime(2014, 2, 24, 3, 0, 0), true},
            {3, #datetime(2014, 2, 24, 1, 0, 0), #datetime(2014, 2, 24, 8, 0, 0), true},
            {3, #datetime(2014, 2, 24, 9, 0, 0), #datetime(2014, 2, 24, 10, 0, 0), true}
            }, {"Vehicle", "Start", "End", "Active"})
    in
        InsertInactivity(TestData)

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • Missing functionality.Draw document wizard - delete/add rows and copy/paste

    Scenario:
    My customer is using 2007 SP0 PL47 and would like the ability to change the sequence of the rows of the draw document wizard and delete/add multiple rows (i.e. when you create an AR Invoice copied from several deliveries).
    This customer requires the sequence of items on the AR invoice to be consistent with the sequence on the original sales order including text lines and subtotals. Currently we cannot achieve this when there are multiple deliveries.
    Steps to reproduce scenario:
    1.Create a Sales order with several items and use text lines, regular and subtotals.
    2.Create more than one delivery based on the sales order and deliver in a different sequence than appears on the sales order.
    3.Open an AR Invoice and u2018Copy fromu2019 > Deliveries. Choose multiple deliveries. Choose u2018Customizeu2019.
    4.Look at the sequence of items on the Invoice. How can the items and subtotals and headings be moved around so they appear in the same sequence as on the sales order?
    Current Behaviour:
    In SAP B1 itu2019s not possible to delete or add more than one row at a time on the AR Invoice or Draw Document Wizard.
    Itu2019s not possible to copy/paste a row on the AR Invoice or Draw Document Wizard.
    Itu2019s not possible to change the sequence of the rows using the Draw Document Wizard.
    Business Impact: This customer is currently spending a lot of time trying to organize the AR invoice into a presentable format. They have to go through the invoice and delete the inapplicable rows one by one (because SAP B1 does not have the ability to delete multiple lines at a time) and also has to manually delete re-add rows to make it follow the same sequence as the sales order.
    Proposals:
    Enable users to delete or add more than one row at a time on the AR Invoice or Draw Document Wizard.
    Enable users to copy/paste rows on the AR Invoice or Draw Document Wizard.

    Hi Rahul,
    You said 'It is not at all concerned with Exchange rate during GRPO...' If that is the case how does the Use Row Exchange Rate from Base Document in the draw document wizard work? Does this mean 1 GRPO : 1 AP Invoice so I can use the base document rate?
    How should I go about with transactions like these? That is adding an AP Invoice from multiple GRPO's having different exchange rates. What I am trying to capture here is that in the AP Invoice, base document rates should be used in the row item level and not the current rate when adding the invoice.  
    Thanks,
    Michelle

  • Help with OIE - Default Project Expenditure Organization based on Task

    Hi,
    I am extending OAF page in OIE and based on Task selected by user, Project Expenditure Organization has to be defaulted.. Page uses OAHGridBean, I tried to use OAHGridQueriedRowEnumerator, but OAHGridBean is always null..
    OAHGridBean localOAHGridBean = (OAHGridBean)paramOAWebBean.findIndexedChildRecursive("HeaderNodeRN");
    if (localOAHGridBean != null){
    OAHGridQueriedRowEnumerator enum1 = new OAHGridQueriedRowEnumerator(paramOAPageContext, localOAHGridBean);
    I tried to use vo.getCurrentRow(), but it is always null..
    Any pointers on how this can be resolved would be highly appreciated..
    Also following is the XML ..
    <?xml version='1.0' encoding='UTF-8'?>
    <oa:hGrid shortDesc="Additional Text" controllerClass="oracle.apps.ap.oie.entry.accounting.webui.AllocationsHGridCO" version="9.0.3.8.13_1550" xml:lang="en-US" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:jrad="http://xmlns.oracle.com/jrad"
    xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header: AllocationsHGridRN.xml 120.8.12010000.2 2008/08/06 07:33:51 rveliche ship $">
    <ui:contents>
    <oa:switcher id="ErrorExistsSwitcher" viewAttr="ErrorExistsSwitcher" prompt="Error" rendered="${oa.ExpenseAllocationsPVO.AllocationsHGridErrorColRender}">
    <ui:case name="ErrorExists">
    <oa:image id="ErrorExists" source="erroricon_active.gif" warnAboutChanges="false" destination=""/>
    </ui:case>
    <ui:case name="ErrorDoesNotExist">
    <oa:messageStyledText id="ErrorDoesNotExist" warnAboutChanges="false" destination=""/>
    </ui:case>
    </oa:switcher>
    <oa:tree id="HeaderNodeRN" usage="hGrid" text="Line">
    <members>
    <oa:nodeDef id="HeaderLine" viewName="AllocationsHeaderVO" viewAttr="Line" shortDesc="Additional Text"/>
    <oa:childNode id="LineNodeRN" viewLink="" viewLinkAccessorName="LinesAccessor">
    <members>
    <oa:nodeDef id="LineLine" viewName="AllocationsLinesVO" viewAttr="Line"/>
    <oa:childNode id="DistributionNodeRN" viewLinkAccessorName="">
    <members>
    <oa:nodeDef id="DistributionLine" viewName="ExpenseAllocationsVO" viewAttr="Line"/>
    </members>
    </oa:childNode>
    </members>
    </oa:childNode>
    </members>
    </oa:tree>
    <oa:messageStyledText id="ReportLineId" prompt="Report Line ID" adminCustomizable="false" viewName="AllocationsHeadersVO" viewAttr="ReportLineId" dataType="NUMBER" rendered="false"/>
    <oa:messageStyledText id="ReportDistributionId" prompt="Report Distribution ID" adminCustomizable="false" viewName="AllocationsHeadersVO" viewAttr="ReportDistributionId" dataType="NUMBER" rendered="false"/>
    <oa:messageStyledText id="PaymentMethod" viewName="AllocationsHeaderVO" viewAttr="ChargeType" prompt="Payment Method"/>
    <oa:flowLayout id="DateColumn" prompt="Date" cellNoWrapFormat="true">
    <ui:contents>
    <oa:messageStyledText id="Date" viewName="AllocationsHeaderVO" viewAttr="Date" prompt="Date" shortDesc="Date"/>
    </ui:contents>
    </oa:flowLayout>
    <oa:flowLayout id="ExpenseTypeLayout" prompt="Expense Type" cellNoWrapFormat="true">
    <ui:contents>
    <oa:image id="ChangedItemIcon" prompt="" shortDesc="Indicates changed items" styleClass="p_OraRequired" source="/OA_MEDIA/changeditemicon_status.gif" imageHeight="16" imageWidth="16" rendered="${oa.AllocationsHeaderVO.ExpTypeChangedRender}"
    adminCustomizable="false"/>
    <oa:messageStyledText id="ExpenseType" prompt="Expense Type" viewName="AllocationsHeaderVO" viewAttr="ExpenseType"/>
    </ui:contents>
    </oa:flowLayout>
    <oa:flowLayout id="ReceiptAmtColumn" prompt="Receipt Amount" cellNoWrapFormat="true">
    <ui:contents>
    <oa:image id="AmtChangedIcon" prompt="" shortDesc="Indicates changed items" styleClass="p_OraRequired" source="/OA_MEDIA/changeditemicon_status.gif" imageHeight="16" imageWidth="16" rendered="${oa.AllocationsHeaderVO.AmtChangedRender}"
    adminCustomizable="false"/>
    <oa:messageStyledText id="ReceiptAmt" dataType="NUMBER" viewName="AllocationsHeaderVO" viewAttr="StringReceiptAmount" prompt="Receipt Amount"/>
    </ui:contents>
    </oa:flowLayout>
    <oa:messageStyledText id="ReimbursementAmt" viewName="AllocationsHeaderVO" viewAttr="StringReimbursementAmount" prompt="Reimbursement Amount" dataType="NUMBER"/>
    <oa:messageStyledText id="Merchant" viewName="AllocationsHeaderVO" viewAttr="MerchantName" prompt="Merchant"/>
    <oa:messageStyledText id="Location" viewName="AllocationsHeaderVO" viewAttr="Location" prompt="Location"/>
    <oa:switcher id="AllocationReasonSwitcher" prompt="Allocation Reason" viewName="AllocationsHeaderVO" viewAttr="RenderAllocationReason" rendered="false">
    <ui:case name="Y">
    <oa:messageTextInput id="Y" viewName="AllocationsHeaderVO" viewAttr="AllocationReason" prompt="Allocation Reason" rendered="true" readOnly="false" columns="30"/>
    </ui:case>
    <ui:case name="READ_ONLY">
    <oa:messageStyledText id="READ_ONLY" viewName="AllocationsHeaderVO" viewAttr="AllocationReason" prompt="Allocation Reason" rendered="true"/>
    </ui:case>
    </oa:switcher>
    <oa:messageStyledText id="Justification" viewName="AllocationsHeaderVO" viewAttr="Justification" prompt="Justification" userCustomizable="true"/>
    <oa:messageStyledText id="ProjectsEnabled" viewName="AllocationsHeaderVO" viewAttr="ProjectsEnabled" adminCustomizable="false" prompt="Projects Enabled" rendered="false"/>
    <oa:stackLayout id="ProjectLayout" extends="/oracle/apps/ap/oie/entry/accounting/webui/ProjectLayoutRN" prompt="Project" rendered="false"/>
    <oa:stackLayout id="TaskLayout" extends="/oracle/apps/ap/oie/entry/accounting/webui/TaskLayoutRN" prompt="Task" rendered="false"/>
    <oa:stackLayout id="AwardLayout" extends="/oracle/apps/ap/oie/entry/accounting/webui/AwardLayoutRN" prompt="Award" rendered="false"/>
    <oa:switcher id="ExpenditureOrg" extends="/oracle/apps/ap/oie/entry/accounting/webui/ProjExpendOrgSwitcherRN" prompt="Project Expenditure Organization" rendered="false"/>
    <oa:formValue id="Kff" viewName="AllocationsHeaderVO" rendered="false"/>
    <oa:switcher id="RemoveSwitcher" extends="/oracle/apps/ap/oie/entry/accounting/webui/RemoveSwitcherRN"/>
    <oa:formValue id="ProjectId" viewAttr="ProjectId"/>
    <oa:formValue id="TaskId" viewAttr="TaskId"/>
    <oa:formValue id="AwardId" viewAttr="AwardId"/>
    <oa:formValue id="ProjectExpendOrgId" viewAttr="ProjectExpendOrgId"/>
    </ui:contents>
    <ui:tableSelection>
    <oa:multipleSelection id="multipleSelectionRN" viewName="AllocationsHeaderVO" viewAttr="Select" shortDesc="Select Expense Lines:">
    <ui:contents>
    <oa:selectionButton id="UpdateAllocations" text="Update Allocations">
    <ui:primaryClientAction>
    <ui:fireAction/>
    </ui:primaryClientAction>
    </oa:selectionButton>
    <oa:selectionButton id="Revert" text="Revert" shortDesc="Default line to original settings.">
    <ui:primaryClientAction>
    <ui:fireAction event="clicked"/>
    </ui:primaryClientAction>
    </oa:selectionButton>
    <oa:selectionButton id="MyAllocationsItem" text="My Allocations"/>
    <oa:selectionButton id="MyAllocationsApply" text="Apply" shortDesc="Apply an allocation to selected expense lines.">
    <ui:primaryClientAction>
    <ui:fireAction/>
    </ui:primaryClientAction>
    </oa:selectionButton>
    </ui:contents>
    </oa:multipleSelection>
    </ui:tableSelection>
    </oa:hGrid>
    Thank you.
    Vasu.

    Hi Anil,
    I changed the as suggested by you ..
    OAHGridBean localOAHGridBean = (OAHGridBean)paramOAWebBean.findChildRecursive("HeaderNodeRN");
    Still I it is null..
    OAHGridBean localOAHGridBean = (OAHGridBean)paramOAWebBean.findChildRecursive("HeaderNodeRN");
    if (localOAHGridBean != null){
    OAHGridQueriedRowEnumerator enum1 = new OAHGridQueriedRowEnumerator(paramOAPageContext, localOAHGridBean);
    while(enum1.hasMoreElements())
    Row row = (Row)enum1.nextElement();
    if (row.getAttributeIndexOf("SelectedFlag") != -1)
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "SelectedFlag != -1" , 2);
    if ("Y".equals(row.getAttribute("SelectedFlag"))) {
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "SelectedFlag = Y" , 2);
    if (row instanceof OAViewRowImpl) {
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "row instanceof OAViewRowImpl" , 2);
    ViewRowSetImpl rowSetImpl = ((OAViewRowImpl)row).findRowSetForRow(null);
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "localOAHGridBean.getDataAttributeName :"+localOAHGridBean.getDataAttributeName() , 2);
    paramOAPageContext.writeDiagnostics(this, "localOAHGridBean.getNumberOfRowsDisplayed :"+localOAHGridBean.getNumberOfRowsDisplayed() , 2);
    paramOAPageContext.writeDiagnostics(this, "localOAHGridBean.getRowHeaderViewAttributeName() :"+localOAHGridBean.getRowHeaderViewAttributeName() , 2);
    paramOAPageContext.writeDiagnostics(this, "localOAHGridBean.getViewAttributeName() :"+localOAHGridBean.getViewAttributeName(), 2);
    OAHGridQueriedRowEnumerator enum2 = new OAHGridQueriedRowEnumerator(paramOAPageContext, localOAHGridBean);
    while (enum2.hasMoreElements())
    Row rowToUpdate = (Row) enum2.nextElement();
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "After getting Current Row rowToUpdate.getAttribute(ReportHeaderId) :"+rowToUpdate.getAttributeCount() , 2);
    paramOAPageContext.writeDiagnostics(this, "After getting Current Row rowToUpdate.getAttribute(ReportHeaderId) :"+rowToUpdate.getAttribute("ReportHeaderId") , 2);
    //paramOAPageContext.writeDiagnostics(this, "After getting Current Row rowToUpdate.getAttribute(ReportHeaderId) :"+rowToUpdate.getAttribute("ReportHeaderId") , 2);
    //paramOAPageContext.writeDiagnostics(this, "After getting Current Row rowToUpdate.getAttribute(ReportLineId) :"+rowToUpdate.getAttribute("ReportLineId") , 2);
    }else
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "localOAHGridBean is null", 2);
    It prints "localOAHGridBean is null"..
    Regarding getCurrentRow() following is the code..
    ExpenseAllocationsAMImpl oam = (ExpenseAllocationsAMImpl)paramOAPageContext.getApplicationModule(paramOAWebBean);
    ExpenseAllocationsVOImpl distVO = (ExpenseAllocationsVOImpl)oam.getDistsVO();
    if(distVO!= null)
    //OARow oarow = (OARow)vo.getCurrentRow();
    if (paramOAPageContext.isLoggingEnabled(2)) {
    paramOAPageContext.writeDiagnostics(this, "before distVO.getFetchedRowCount(1) ", 2);
    paramOAPageContext.writeDiagnostics(this, "distVO.getFetchedRowCount(1) "+distVO.getFetchedRowCount(), 2);
    paramOAPageContext.writeDiagnostics(this, "distVO is not null", 2);
    paramOAPageContext.writeDiagnostics(this, "After getting expAllVO.getCurrentRowIndex() :"+distVO.getCurrentRowIndex(), 2);
    Output in log..
    [39]:PROCEDURE:[xxcep.oracle.apps.ap.oie.entry.accounting.webui.XxcepAllocationsHGridC26]:before distVO.getFetchedRowCount(1)
    [40]:PROCEDURE:[xxcep.oracle.apps.ap.oie.entry.accounting.webui.XxcepAllocationsHGridC26]:distVO.getFetchedRowCount(1) 0
    [40]:PROCEDURE:[xxcep.oracle.apps.ap.oie.entry.accounting.webui.XxcepAllocationsHGridC26]:distVO is not null
    [40]:PROCEDURE:[xxcep.oracle.apps.ap.oie.entry.accounting.webui.XxcepAllocationsHGridC26]:After getting expAllVO.getCurrentRowIndex() :-1
    Thank you..
    Vasu..

  • How can I select and delete rows based on the value in one column?

    I searched through the discussion board, and found a thread on deleting blank rows, but not sure how to modify it to work with my issue.
    I have put together a rather complicated spreadsheet for designing control systems, it calculates parts needed based on check boxes selected in a second spreadsheet.
    Since not all systems require all parts there are many rows that have a 0 quantity value, I would like to select these rows and delete them once I have gone through the design phase (checking off required features on a separate sheet).
    I like the way the other thread I found will gather all the blank rows at the bottom without changing the order of the rows with data in them.
    I don't understand exactly how the formula in the other thread works well enough to modify it to look for a certain column.
    I hope I made myself clear enough here, to recap, I would like to sort the rows based on a zero value in one (quantity) column, move them (the zero quantity rows) to the bottom of the sheet, and then delete the rows with a zero quantity (I can delete them manually, but would like to automate the sorting part).
    Thanks for any help anyone can provide here.
    Danny

    I apologize but, as far as I know, Numbers wasn't designed by Ian Flemming.
    There is no "this column will be auto-destructing after two minutes"
    You will have to use your fingers to delete it.
    I wish to add a last comment :
    if your boss has the bad habit to look over your shoulder, it's time to find an other one.
    As I am really pig headed, it's what I did. I became my own boss so nobody looked over my shoulder.
    Yvan KOENIG (VALLAURIS, France) mercredi 13 juillet 2011 20:30:25
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Insert new rows based on user selection on a table display on the screen

    Hi..
    In my requirement i need to display the line items of a PO# to the user on the screen for specific fields. Each row should also include an additonal checkbox when displayed for the user. When the user checks this check box or clicks on it a new row should be inserted below to that row with the existing data of that row being copied to newly inserted row and allowing the user to make any changes.
    The newly inserted row should also include a check box , so that when the user checks it again a new row should get inserted. Finally what ever data user enters on the screen, i should be able to update my internal table with those new values and records.
    Appreciate if anyone can guide me on how to proceed on this or any alternative approaches.
    Will reward helpful answers.
    Thanks.

    Hi ..
    Can you please be more detailed. First I need to know how to create the initial table display for the existing line items and then the techniques for inserting the new rows based on the check marks and finally add those news rows to my existing internal table..
    Appreciate ur help.
    Thanks.

  • Flex Table Add Row Issue with Dynamic Entry Lists

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • SQL Query of an OWB map (row based)

    If I trace a session, execute an OWB map (row based), will the trace file contain the actual SQL query ?
    The problem with me is that when I am executing this row -based OWB map, it is throwing me an error CursorFetchMapTerminationRTV20007 BUT ( plus taking a long time) when I am taking out the intermediate SQL insert query,it is working fine ( and also within a very short period of time)
    Execution status = COMPLETE
    message text = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    message text = CursorFetchMapTerminationRTV20007
    No. task errors = 0
    No. task warnings = 2
    No. errors = 1
    Since this OWB map (Truncate Insert)  is row based hence I cannot cannot get the back end query from the OWB generated pl/sql package so wondering if I trace the session, check the trace file, may be I will able to see the exact SQL query generated. But wanted to confirm the same.

    Yes, the actual SQL run in the session will be in the trace file.

  • Need to add row and set attribute value on pageload

    Guys,
    On my page based on the pageflowscope variable value, i need to add a row for master and one row for detail viewobject and set attribute values. (Some of the attribute are LOV and Checkboxes as well)
    I am using following code to create records.....records are being added but i am not able to set the attributes
    OperationBinding ob;
    ob = ADFUtil.findOperationBinding("Create");
    ob.execute();
    ob = ADFUtil.findOperationBinding("CreateInsert3");
    ob.execute();
    I am using following code to set the attributes value
    DCIteratorBinding dc1 = ADFUtil.getBindingIterator("firstiterator");
    DCIteratorBinding dc = ADFUtil.getBindingIterator("seconditerator");
    row1=dc1.getCurrentRow();
    row=dc.getCurrentRow();
    row.setAttribute("activest","A");
    row1.setAttribute("type","dc14");
    Anything i am doing wrong here or any suggestion to try is greatly appreciated....

    Vinod,
    Yes commit button is there and yes its also has entry in pagedef...
    When I open the same page on edit mode and i can edit regular record and save them
    Problem is that when i open the page on new mode and try to add rows on page load..... and setting values as described above.... save button somehow doesn't work...
    seems like after i add the rows on the fly, i need to refresh the binding?
    any help is greatly appreciated....
    thank you guys

  • Add Row on Tabular Form - column from read only to update/insert allowed

    APEX 4.2.2
    Newbie in the APEX forums, go easy please.
    I'm building a rather simple tabular form based on a table with a primary key (emp_number). Sounds like an Oracle tutorial but trust me, it's a real table. This table has, for this example's sake the following attributes:
    Table Name: EMP_EXCEPTIONS
    EMP_NUMBER      NUMBER (PK)
    UPDATE_EXEMPT VARCHAR2(1)
    I've used the Tabular Form wizard to create a nice looking tabular form page, all good and works as intended. Of course the primary key value is non update able by the wizard and that's by design - I've no need to update any primary keys. When I click the add rows button however, I'd like to be able to include the emp_number field as a input able field. At the moment, when I click the add rows button it inherits the property of the emp_number as read only. The user entering the new row would know the employee number and whether they were update_exempt or not. So rewinding my head in Oracle Forms, this would have been done by setting the row attribute as update allowed when the button is clicked. Is there such simple functionality in APEX and if so can you point me in the right direction?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • How not show duplicate rows based on one field

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Hello
    I have a query that looks for certain scripts that did not run on a particular day compared to what ran the same day a week ago. We want to include the start_datetime and end_datetime but when I add it to the select statement it brings up all instances of the jobs that run multiple times during the day. Is there a way to exclude the extra rows based on the script_name field?
    SELECT instances.script_name,
                             instances.instance_name,
                             REGEXP_REPLACE(master.description,
                                            chr(49814),  -- em-dash
                                            '-') description
                                            --instances.start_datetime
                      FROM   xxcar.xxcar_abat_instances Instances,
                             xxcar.xxcar_abatch_master  Master
                      WHERE  1 = 1
                      AND    TRUNC(start_datetime) = TRUNC(TO_DATE(:p_StartDate, 'YYYY/MM/DD HH24:MI:SS')) - (:p_NumOfWeeks * 7)
                      AND    Instances.SCRIPT_NAME = Master.SCRIPT_NAME (+)
                      MINUS
                      SELECT script_name,
                             instance_name,
                             NULL
                             --NULL
                      FROM   xxcar.xxcar_abat_instances
                      WHERE  1 = 1
                      AND    TRUNC(start_datetime) = TRUNC(TO_DATE(:p_StartDate, 'YYYY/MM/DD HH24:MI:SS'))

    MINUS does a set operation - removing rows from the first set that exactly match the second set.
    When you add columns to the first set, you want a more restricted filtering - try a multi-column NOT IN:
    To remove multiple runs, group and get min/max
    SELECT instances.script_name,
                             instances.instance_name,
                             REGEXP_REPLACE(master.description,
                                            chr(49814),  -- em-dash
                                            '-') description,
                             min(instances.start_datetime) start_datetime,
                             min(instances.end_datetime) end_datetime
                      FROM   xxcar.xxcar_abat_instances Instances,
                             xxcar.xxcar_abatch_master  Master
                      WHERE  1 = 1
                      AND    TRUNC(start_datetime) = TRUNC(TO_DATE(:p_StartDate, 'YYYY/MM/DD HH24:MI:SS')) - (:p_NumOfWeeks * 7)
                      AND    Instances.SCRIPT_NAME = Master.SCRIPT_NAME (+)
                      AND (script_name, instance_name) NOT IN
                    ( SELECT script_name,
                             instance_name
                      FROM   xxcar.xxcar_abat_instances
                      WHERE  1 = 1
                      AND    TRUNC(start_datetime) = TRUNC(TO_DATE(:p_StartDate, 'YYYY/MM/DD HH24:MI:SS'))
    group by instances.script_name, instances.instance_name, master.descriptionYou didn't give table definitions, and the query has schemas in it, so I didn't test it.
    regards,
    David

  • SALV - Hide rows based on certain condtion

    All,
    I have searched a lot in this forum this answer, but could not find any nearest one.
    I am using CL_SALV_TABLE (SALV) for an ALV report. I wanted to hide some rows based on some condition say for example
    in the ALV one of the column is MATNR say i wanted to hide rows that having MATNR less than 1000.
    How we can do this ?
    Thanks

    Good day, everyone!
    Ive faced the same issue - I either have to hide a row or to change subtotal line manually.
    Have anyone solved this already?
    PPShinde wrote:
    HI!
    > I think u first calculate total in internal table. save that totals into some veriable and then remove those lines which u dont want to show from internal table and then calculated total append into that internal table .
    > I thinks it will work!
    > all the best!
    I can't find anything that looks like a table for subtotals - they are counting somewhere inside SALV.
    Or, maybe, you know something that I dont?
    Clemens Li wrote:
    If people insist on the requirement, disable SUM and create your own total line.
    Add my own total line? How can I do this?

  • How can i add rows in a tabular form

    Hi,
    How can i add rows in a tabular form with out updating in database and after adding the rows one by one and after filling the data then iwant to submit them all at once.Please help me on this.
    Thanks

    Hello Leandro,
    In the Add_Rows page process, there is a box for "Number Of Rows". Change that value and you change the number of rows that get added. The default is 1.
    Don.
    You can reward this reply by marking it as either Helpful or Correct :)

Maybe you are looking for

  • Remote Desktop in Server 2012 is inaccessible from outside of LAN

    We have a server 2012 machine it was setup and accessible via Remote Desktop for months.  A few days ago we wiped it and did a fresh install of Server 2012.  Now we can not remote to the server from outside of the LAN, even though it is setup exactly

  • Temporary Profile on Windows 7 Pro Domain

    I have spent a couple of days reading through all of the threads relating to Windows 7 and temporary profiles, but I haven't found one that addresses my exact issue. I am a teacher and network administrator of 50 computers at a school. All belong to

  • What is the actual usable RAM in the 128GB Macbook Air?

    I'm considering purchasing a Macbook Air with 128GB of RAM, but want to know what the actual usable RAM is taking into account the OS and other installed programs?

  • Curve/Level RGB Doesn't Change Individual Channels

    Weird. When I adjust slider in Levels or point in Curves using the RGB master (default), and then go to the individual color channels, none of them have changed at all. Has anyone else seen this behavior?

  • Could some one please explain what the "Master P/W"

    I would be grateful if someone could explain why we have a Master p/w & an Admin p/w. What exactly is each needed for? I am really after clarification here to obtain a clear understanding of each one. I have a 2008 iMac, originally running Leopard no