Grow up items in tabular report

Dear All i have item in tabular report its grow up vertical as data enter but i need to grow up all field as this field grow up
any idea
Edited by: Hshihadah on Jan 14, 2010 8:20 AM

thanks for reply
some item expand vertical (upon there data) more than other item in report what i need expand other item as the largest item expand
thanks

Similar Messages

  • Tabular Report for Update a single column

    Hello Everyone,
    I have a tabular report which will display 1 column (apart from primary key),
    1. I will display a edit icon (on primary key)
    2. when the user selects this icon, this only row must become updatable (only one column must become text item, so that user can modify the value).
    3. Next this text item, i would like to display save button and cancel button so that user can click one of these buttons next to that particular row.
    Any help would be appreciated.
    Regards
    Anil

    There is no easy way to do this without some incredibly lengthy javascript. Tabular forms still do not give much declarative control to the developer.
    If you are looking to click a button and update one column on one row, it's easiest to change your design to two pages using report and form. Make the first page the report with an Edit button, click the button (nothing more than a link) and it goes to a basic form with only one updateable field. After submit, branch back to the first page. Easy.
    For the end user, there are no more mouse clicks involved in this than what you described originally so it's likely it'll be an acceptable application design change.

  • How do I reference items in a report region

    I've created a report. You can view the region attributes at http://i3.tinypic.com/wcn59h.jpg.
    I've changed the "Display As" attribute of one of the items (QUAN_ID) to 'Select List (query based LOV)'. I've set the "LOV Query" attribute on this item to the following.
    select quan.answer_txt
    , quan.id
    from vug_question_answers quan
    , vug_survey_questions suqu
    where suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    --and    suqu.id = :suqu_id
    order by quan.question_answer_seq_no
    The purpose of this LOV is to return QUESTION_ANSWERS that have a foreign key to the SURVEY_QUESTIONS record identified by the sufu_id. The bind-variable ":p33_surv_id" is a page item. I THOUGHT the bind-variable ":suqu_id" (referenced in the commented-out line) would be the name of a column item in my report region. However, the LOV doesn't return correct values if I uncomment the line containing :SUQU_ID.
    How do I determine the name of the report region column item so that I can reference it within the LOV of another item in the same region?
    Thanks,
    -Ken

    Ivo,
    That's it!
    My original tabular form query read as follows.
    select rean.id,
    rean.resp_id,
    suqu.surv_id,
    suqu.question_txt,
    quan.suqu_id,
    rean.quan_id, --this is the column I was adding an LOV to
    rean.entered_by,
    rean.entered_on,
    rean.updated_by,
    rean.updated_on
    from vug_respondent_answers rean
    , vug_question_answers quan
    , vug_survey_questions suqu
    where rean.resp_id = :p33_resp_id
    and quan.id = rean.quan_id
    and suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    I've changed it to the following.
    select rean.id,
    rean.resp_id,
    suqu.surv_id,
    suqu.question_txt,
    quan.suqu_id,
    htmldb_item.select_list_from_query
    ( 6
    , rean.quan_id
    , 'select quan.answer_txt, quan.id from vug_question_answers quan, vug_survey_questions suqu where suqu.id = quan.suqu_id and suqu.surv_id = :p33_surv_id and suqu.id = '|| suqu.id ||' order by quan.question_answer_seq_no') quan_id,
    rean.entered_by,
    rean.entered_on,
    rean.updated_by,
    rean.updated_on
    from vug_respondent_answers rean
    , vug_question_answers quan
    , vug_survey_questions suqu
    where rean.resp_id = :p33_resp_id
    and quan.id = rean.quan_id
    and suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    My screen now looks as found at http://i3.tinypic.com/wgq4g9.jpg. (Note that I've also changed the question since a previous post.)

  • Tabular report with return popups

    Hi,
    i have a tabular report in which, for each cell the user must enter a code. i want a popup to appear when the user clicks in the cell with a list of codes to chose from, and then i want the selected code to populate the cell. i dont care if the popup closes automatically, but that would be nice.
    i saw this site:
    http://spendolini.blogspot.com/2009/04/returning-value-from-popup-page.html
    but i don't know how to reference individual cells in a tabular report.
    this code works to create a popup using another page : onclick="popUp2('f?p=' + $v('pFlowId') + ':5:' + $v('pInstance'),250,600);" but i dont know how to return the values to a cell.
    thanks
    kester

    Hi,
    781759 wrote:
    but i don't know how to reference individual cells in a tabular report.Individual items in a tabular form have IDs like fcc_rrrr where cc is the field number and rrrr is the row number. For example:
    <input type="text" name="f06" size="16" maxlength="2000" value="2" id="f06_0002" autocomplete="off">
    For this example, just 'f06_0002' as 'that' in the $v_PopupReturn function.
    Luis

  • Tabular Report and Conditionals

    Hi,
    I have a tabular report with the following source:
    select
    "RISK_SEQ",
    "RISK_SEQ" RISK_SEQ_DISPLAY,
    "RISK_PRIORITY",
    "RISK_INFO",
    "RISK_MITIGATION",
    "ONGOING_FLAG",
    "RISK_DATE",
    "WEEK_GROUP_SEQ",
    "CREATED_ON",
    "CREATED_BY",
    "LAST_MODIFIED_ON",
    "LAST_MODIFIED_BY"
    from "#OWNER#"."RISK"
    What I'd like to do is create a conditional so that the items pulled are only items that follow this condition:
    WEEK_GROUP_SEQ = select week_group_seq from week_group where project_seq = :P14_PROJECT_ID and week_index = 0;
    So my question is when I set up my conditional is it similar to what I wrote above? I tried that with Expression 1 = Expression 2 but it didn't work, meaning it didn't return any rows.
    Thanks!
    Jon

    Jon,
    If it was me, I'd simply do it in the WHERE clause for your tabular form.
    Of course you're the only one who can decide how to handle when there is no value in your :p14_project_id item - show all rows or show none.
    For example:
    bq. SELECT "RISK_SEQ", \\ "RISK_SEQ" risk_seq_display, \\ "RISK_PRIORITY", \\ "RISK_INFO", \\ "RISK_MITIGATION", \\ "ONGOING_FLAG", \\ "RISK_DATE", \\ "WEEK_GROUP_SEQ", \\ "CREATED_ON", \\ "CREATED_BY", \\ "LAST_MODIFIED_ON", \\ "LAST_MODIFIED_BY" \\ FROM "#OWNER#"."RISK" \\ WHERE "WEEK_GROUP_SEQ" = NVL((SELECT week_group_seq \\ FROM week_group \\ WHERE project_seq = NVL(:p14_project_id, -1) \\ AND week_index = 0), \\ -1)
    This would show no rows when the item was empty, assuming the values can't be negative.
    Good luck,
    Stew

  • How to pass tabular report col reference in the onChange event of Txtfield

    Hi there
    I need to have Onchange event on Textfield Item.
    Whenever i change the text field value, the new value should go to particular column in my
    tabular report.
    So in the onchange event, i have to pass the tabular report column (target field) along with textfield value (this.value)
    something like this:
    onChange="javascript:changeColVal(this,rowid);"
    I have no clue how to pass row id / particular column of tabular report in textfield.
    Any pointers on this would be of great help.
    Thanks
    Vijay

    Hi Andy
    Thanks a ton for your reply.
    The above solution would work fine when we refer Text field within that tabular report.
    but if we refer text field Item from separate HTML region?
    I'm sorry, its my mistake for not providing OTN application for reference.
    I've come up with dummy application which shows you exact requirement.
    Please follow url: http://apex.oracle.com/pls/otn/f?p=47869:21
    login credentials:
    workspace: vsanthanam
    user: vijay
    pswd: apex_demo
    Application highlights the row whenever we move up/down or click the row.
    Here, i've NOTES in tabular report and Comments "text field" in separate HTML region.
    Whenever i type/update comments in textfeild, it should goto Notes column in Tabular report.
    so that when we move up/down the tabular report rows, it should show corresponding Notes in Comments text field.
    Approach i've took:
    1) Created a function hiliterow, that highlights the row clicked/move up or down and
    also displays the Notes Column of Tabular report into Comments Textfield.
    (this is to display Notes if already avail to that particular row, otherwise Null)
    2) Function passValues would assign the value we type in Comments Text field to
    Notes column of Tabular Report. (as of now, this is happening only when we click on that particular row after key-in the value in Comments txtfield,
    but this should happen when onChange event on comment textfield)
    3) In MoveupDown function, i'm refering the current row in var r. so i tought to have global var to hold current row, so that i can
    refer the same row in Onchange Event of Textfield. But this fails (please refer NotesToRow function)
    My requirement is to pass the Comments text field value to Tabular report when onChange event on Comments Text feild happens.
    I'm helpless in passing row reference to onChange function.
    Any pointer on this would be of immense help.
    Thanks
    vijay

  • Trouble with tabular report

    Dear Friends,
    Can we change data in a tabular report or do i have to create items first and then place data into the items then update them. At the moment i have a page where i can delete and insert but not update.
    Is is because it is a report.... i am really stuck and have been on this for four days! i have purchased a book but not arrived yet
    i have also recreated the whole thing on http://apex.oracle.com/pls/otn. However, noone seems to be able to help... Does it mean its not possible.. shall i go back to using oracle 6i forms??? It seems simple enough but it wont do it
    i just dont understand!
    Workspace :FIZLAR_WS
    User ID :[email protected]
    Password :bunala

    Have you manually created page 3?
    What do you exactly want to do on page 3?
    Do you want to see and update the data from the selected record in the single record view at the top of the page or
    do you want to change the data in the tabular form at the bottom? Because in that case you need a "Multi Row Update" process. Just create a tabular from with the wizard and you can see which processes normally exist.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Disable Item in tabular form in Apex

    I would like to disable items in tabular forms.
    If line status is Draft then all items of tabular form are enable other disable.
    How to write this condition and where should i write because in dynamic action tabular Item is not showing...
    Edited by: 926257 on Apr 9, 2012 12:53 AM

    hi
    926257
    you can do that using java script
    these links may helpful to you
    <a href>Tabular form: how to dynamically enable/disable columns and rows
    <a href>Tabular Form: Enable/Disable a field based on the status of a check box
    <a href>http://www.codetoad.com/javascript/enable_disable_form_element.asp</a>
    <a href>http://www.tizag.com/javascriptT/javascript-getelementbyid.php</a>
    thanks and regards
    pavan

  • Creating a tabular report comparing two measures based on accounts

    Hi,
    I'm trying to create a simple GL report but i'm getting stuck. Using BIP with OBIEE 10.1.3.4.
    What i have is some GL data: debit amount (De), credit amount (Cr) and account number (acc). I would like to create a simple tabular report, comparing debit and credit transactions based on accounts, like this:
    ___________LabelA____________LabelB______________ LabelC_______________ Difference(LabelA - LabelB - LabelC)
    Label1___Cr if acc=760___De if acc=400 and 401___De if acc like 30_____________________Calculated value (A-B-C)
    Label2___Cr if acc=750___De if acc=410,411,412___De if acc between 31 and 35__________Calculated value (A-B-C)
    Total (SUM) for A, B, C and Diff
    Sample XML file:
    <ROWSET>
    <ROW>
    <Acc>760</Acc>
    <Debit>7.8248741841E8</Debit>
    <Credit>8.9404379158E8</Credit>
    </ROW>
    <ROW>
    <Acc>750</Acc>
    <Debit>133217.03</Debit>
    <Credit>133217.03</Credit>
    </ROW>
    <ROW>
    <Acc>400</Acc>
    <Debit>4.096061012E7</Debit>
    <Credit>4.094870039E7</Credit>
    </ROW>
    <ROW>
    <Acc>401</Acc>
    <Debit>9018837.64</Debit>
    <Credit>9018837.64</Credit>
    </ROW>
    <ROW>
    <Acc>410</Acc>
    <Debit>1.472907204E7</Debit>
    <Credit>2.945814408E7</Credit>
    </ROW>
    <ROW>
    <Acc>411</Acc>
    <Debit>1.022005997E7</Debit>
    <Credit>1.022005997E7</Credit>
    </ROW>
    <ROW>
    <Acc>412</Acc>
    <Debit>4.908581602E7</Debit>
    <Credit>6.1676647725E8</Credit>
    </ROW>
    <ROW>
    <Acc>30</Acc>
    <Debit>241861.14</Debit>
    <Credit>240128.14</Credit>
    </ROW>
    <ROW>
    <Acc>301</Acc>
    <Debit>6344057.99</Debit>
    <Credit>6344057.99</Credit>
    </ROW>
    <ROW>
    <Acc>310</Acc>
    <Debit>1.4462687928E8</Debit>
    <Credit>1.4462687928E8</Credit>
    </ROW>
    <ROW>
    <Acc>312</Acc>
    <Debit>2.512200946E7</Debit>
    <Credit>2.511277993E7</Credit>
    </ROW>
    <ROW>
    <Acc>350</Acc>
    <Debit>1.4682048826E8</Debit>
    <Credit>1.4682048826E8</Credit>
    </ROW>
    </ROWSET>
    Is that possible? I would appreciate any tips.
    Thank you,
    Jandi

    Hi Luis,
    According to your description, you create a Reporting Services report using Analysis Service Tabular Model as the datasource, now what you want is sum the months value on year level, right?
    In your scenario, you can add the Month field to column group, add a parent group using Year Field and then add a Total on Month group. In this case, Reporting Services will sum the months value on Year level. I have tested it on my local environment, the
    screenshot below is for you reference.
    Reference:Lesson 6: Adding Grouping and Totals (Reporting Services)
    If this is not what you want, please describe your dataset structure, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to select LOV items from edit report / form?

    I'm new to ApEx 3 with very little web developer knowledge.
    I have a create record form (Page1) that uses single-select and multi-select LOVs and correctly inserts the data into a table.
    I have a basic report (tabular form) (Page2) that shows the records with the correct LOV information. When I click the edit icon for a row on Page2, Page1 displays row data for each field except the LOVs. There are no selections made in any of the LOVs.
    How do I make the connection between the tabular report and the edit form LOVs?
    Thx for your assistance.

    It turns out that the imported data did not match the LOV values. We changed the ETL processing, and now the LOV values are selected as expected.

  • Text item print in report???

    Hi all
    I have a problem in Report 6i
    I created a report there is many field and text item
    there is any possibility that if any field is empty related text item not print just like field.
    suppose:
    Text item data
    Name........:- abc
    Father Name.:-
    any possibility if field father name empty, text "Father Name.:-" doesnt print in report.

    Duplicate of the thread :
    text item print in report???

  • How to decrease the column size in a tabular report

    Hi ,
    How can i reduce the column size in a tabular report in oracle apex.
    my report is having 90 coulmns and i want that should come in once sceen so i want to decrease the size of columns as well as the font size of values + column_name..
    any suggestion ?
    Thanks
    Nitin

    Hello,
    Oracle APEX OTN Forum is here : Oracle Application Express (APEX)
    Regards

  • How to set the Background Color of a Text Field in a Tabular Report.

    Hello,
    I tried to set the Background Color of a Text Field in a Tabular Report.
    But I was not able to change this colur.
    In the report attributes --> column attributes
    I tried already:
    1. Column Formating -- >CSS Style (bgcolor: red)
    2. Tabular Form Element --> Element Attributes (bgcolor: red)
    but nothing worked.
    Can anybody help me?
    I Use Oracle Apex 2.2.1 on 10gR2
    thank you in advance.
    Oliver

    in "Report Attributes" select the column to move to the "Column Attributes" page. In the "Element Attributes" field under the "Tabular Form Element" region enter
    style="background-color:red;"
    I will also check if there is a way to do this via the template and post here again
    edit:
    in your template definition, above the template, enter the following:
    < STYLE TYPE="text/css" >
    .class INPUT {background-color:red;}
    < /STYLE >
    (remove the spaces after the < and before the >)
    change "class" to the class that the template is calling
    (I'm using theme 9, the table has: class="t9GCCReportsStyle1" so I would enter t9GCCReportsStyle1)
    A side-effect of using this second version is that ALL input types will have a red background color--checkboxes, input boxes, etc.
    Message was edited by:
    TheJosh

  • How to identify BOM items in the report

    Hi,
    I have a requirement from the user that they want to exclude all BOM items from the report which is showing all the Items.So how can i identify those items from the report query??
    Thanks

    SELECT DISTINCT
    DECODE (ooh.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', NULL,
    'DRAFT', NULL,
    'DRAFT_CUSTOMER_REJECTED', NULL,
    'DRAFT_SUBMITTED', NULL,
    ooh.order_number)
    Ord,
    ottt.name ord_type,
    ooh.ordered_date Order_Date,
    ooh.quote_number quote_no,
    ool.line_number LNum,
    ooh.flow_status_code Order_status,
    -- hca.account_number Customer_number ,
    ool.flow_status_code line_status,
    PAB.PARTY_NAME bill_Customer_Name,
    ACB.ACCOUNT_NUMBER bill_Customer_number,
    PAS.PARTY_NAME ship_Customer_name,
    ACS.ACCOUNT_NUMBER ship_to_Customer_Number,
    ool.unit_selling_price selling_price,
    ool.unit_list_price list_price,
    ool.ORDERED_ITEM pNum,
    ooh.booked_date Date_booked,
    ool.Actual_shipment_date Ship_date,
    ooh.header_id header_id,
    mtl.description pDesc,
    gcc.segment4 Revenue_account,
    -- ooh.shipping_instructions,
    REPLACE (ooh.SHIPPING_INSTRUCTIONS, CHR (10), ',')
    shipping_instructions,
    ool.schedule_ship_date SSD,
    DECODE (ool.flow_status_code,
    'BOOKED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_FULFILLMENT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN_DISPOSITION', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'ENTERED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RECEIPT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SHIPPED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_INTERNAL_REJECTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_SHIPPING', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'OFFER_EXPIRED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_I', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'XXMI_WAIT_MSA', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_SUBMITTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'LOST', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PO_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_E', ool.ordered_quantity,
    NULL)
    Qty_Remning,
    DECODE (ool.flow_status_code,
    'CLOSED', (ool.ordered_quantity * ool.unit_selling_price),
    NULL)
    INV_AMOUNT,
    ool.ordered_quantity - NVL (ool.cancelled_quantity, 0) qua_ord,
    (NVL (ool.ordered_quantity, 0)) * NVL (ool.unit_selling_price, 0)
    Ext_value,
    -- DECODE (Hod_def.Name,'Credit Card Auth Failure', 'Y','N',Hod_def.NAME,'Credit Card High Risk', 'Y','N',Hod_def.NAME,'Credit Check Failure', 'Y','N',Hod_def.NAME,'Credit Note Hold','Y', 'N') Credit_Hold ,
    ooh.cust_po_number PONUm
    FROM apps.oe_order_headers_all ooh,
    apps.oe_order_lines_all ool,
    apps.mtl_system_items_b mtl,
    apps.org_organization_definitions ood,
    apps.gl_code_combinations gcc,
    AR.HZ_PARTIES PAH,
    AR.HZ_CUST_ACCOUNTS ACH,
    AR.HZ_CUST_SITE_USES_ALL SUB,
    AR.HZ_CUST_ACCT_SITES_ALL STB,
    AR.HZ_CUST_ACCOUNTS ACB,
    AR.HZ_PARTIES PAB,
    AR.HZ_CUST_SITE_USES_ALL SUS,
    AR.HZ_CUST_ACCT_SITES_ALL STS,
    AR.HZ_CUST_ACCOUNTS ACS,
    AR.HZ_PARTIES PAS,
    apps.oe_transaction_types_tl ottt,
    apps.per_all_people_f papf
    -- apps.OE_ORDER_HOLDS_ALL ooha,
    -- apps.OE_HOLD_SOURCES_ALL ohsa
    -- ,apps.OE_HOLD_DEFINITIONS Hod_def
    WHERE ooh.header_id = ool.header_id
    AND ool.org_id = NVL (:p_org_id, ool.org_id)
    AND ool.flow_status_code != 'CLOSED'
    --and    ooha.header_id(+) = ooh.header_id
    --and ooha.line_id(+) = ool.line_id
    --and   ohsa.hold_source_id = ooha.hold_source_id
    --and ohsa.hold_id = Hod_def.hold_id
    --and ohsa.RELEASED_FLAG = 'N'
    AND ooh.attribute2 = papf.person_id(+)
    AND ottt.language = 'US'
    AND ooh.order_type_id = ottt.transaction_type_id(+)
    AND ooh.open_flag = 'Y'
    --and ooh.order_number = '40000791'
    AND ooh.SOLD_TO_ORG_ID = ACH.CUST_ACCOUNT_ID
    AND ACH.PARTY_ID = PAH.PARTY_ID
    AND oOH.INVOICE_TO_ORG_ID = SUB.SITE_USE_ID(+)
    AND SUB.CUST_ACCT_SITE_ID = STB.CUST_ACCT_SITE_ID(+)
    AND STB.CUST_ACCOUNT_ID = ACB.CUST_ACCOUNT_ID(+)
    AND ACB.PARTY_ID = PAB.PARTY_ID(+)
    AND oOH.SHIP_TO_ORG_ID = SUS.SITE_USE_ID
    AND SUS.CUST_ACCT_SITE_ID = STS.CUST_ACCT_SITE_ID
    AND STS.CUST_ACCOUNT_ID = ACS.CUST_ACCOUNT_ID
    AND ACS.PARTY_ID = PAS.PARTY_ID
    -- and SOH.CANCELLED_FLAG ='N'
    AND ool.inventory_item_id = mtl.inventory_item_id
    AND ool.org_id = mtl.organization_id
    AND mtl.sales_account = gcc.code_combination_id
    AND ool.org_id = ood.organization_id
    --and    ooh.salesrep_id       = jrs.salesrep_id
    --&LP_INCL_QUOTES
    GROUP BY DECODE (ooh.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', NULL,
    'DRAFT', NULL,
    'DRAFT_CUSTOMER_REJECTED', NULL,
    'DRAFT_SUBMITTED', NULL,
    ooh.order_number),
    ottt.name,
    ooh.ordered_date,
    ooh.quote_number,
    ool.line_number,
    ooh.flow_status_code,
    --- hca.account_number ,
    ool.flow_status_code,
    PAB.PARTY_NAME,
    ACB.ACCOUNT_NUMBER,
    PAS.PARTY_NAME,
    ACS.ACCOUNT_NUMBER,
    ool.unit_selling_price,
    ool.unit_list_price,
    ooh.shipping_instructions,
    ool.ORDERED_ITEM,
    ooh.booked_date,
    ool.Actual_shipment_date,
    ooh.header_id,
    mtl.description,
    gcc.segment4,
    ooh.cust_po_number,
    (NVL (ool.ordered_quantity, 0)) * NVL (ool.unit_selling_price, 0),
    ool.schedule_ship_date,
    DECODE (ool.flow_status_code,
    'BOOKED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_FULFILLMENT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN_DISPOSITION', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'ENTERED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RECEIPT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SHIPPED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_INTERNAL_REJECTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_SHIPPING', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'OFFER_EXPIRED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_I', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'XXMI_WAIT_MSA', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_SUBMITTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'LOST', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PO_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_E', ool.ordered_quantity,
    NULL),
    DECODE (ool.flow_status_code,
    'CLOSED', (ool.ordered_quantity * ool.unit_selling_price),
    NULL),
    ool.ordered_quantity - NVL (ool.cancelled_quantity, 0)
    -- DECODE (Hod_def.Name,'Credit Card Auth Failure', 'Y','N',Hod_def.NAME,'Credit Card High Risk', 'Y','N',Hod_def.NAME,'Credit Check Failure', 'Y','N',Hod_def.NAME,'Credit Note Hold','Y', 'N')
    -- (hz_loc.Address1||','||hz_loc.Address2||','||hz_loc.City||','||hz_loc.State)
    HAVING (ool.ordered_quantity - NVL (ool.cancelled_quantity, 0)) >
    SUM (NVL (ool.shipped_quantity, 0))
    ORDER BY 1, 2, 3;

  • Validation on Date Field in tabular Report

    Hi All,
    I have manually created the Tabular report and in that I have TWO DATE field
    1)Start Date
    2)End Date
    Now i want to put validation on start date as - Start Date Should Be More than sysdate.
    and validation on End date as - End Date should be More taht Start Date.
    How to put the validation ?

    Manish Jha wrote:
    What is the error you are getting ? Try executing the process in SQL workshop with hard coded values of apex_application.g_f03 and debug the error.
    Thanks,
    Manish
    >What is the error you are getting ? Try executing the process in SQL workshop with hard coded values of apex_application.g_f03 and debug the error.
    Thanks,
    Manish
    Hi manish ,
    I have Used the following code to validate end date should be more less than start date;
    DECLARE
    l_error VARCHAR2 (4000);
    BEGIN
    IF TO_DATE(apex_application.g_f05 (i), 'DD-MON-YYYY ') > TO_DATE (apex_application.g_f04 (i),'DD-MON-YYYY'
    THEN
    l_error :=l_error
    || '</br>'
    || 'Row '
    || i
    ||' ,TEST';
    END IF;
    END LOOP;
    RETURN LTRIM (l_error, '</br>');
    END;
    it's giving the error like :
    ORA-06550: line 16, column 6: PLS-00103: Encountered the symbol "RETURN" when expecting one of the following: begin function pragma procedure The symbol "begin was inserted before "RETURN" to continue. ORA-06550: line 16, column 24: PLS-00103: Encountered the symbol "BEGIN"
    Error ERR-1024 Unable to run "function body returning text" validation.
    What to change in the code?
    Edited by: N.K on Jun 23, 2009 11:43 PM

Maybe you are looking for