Multiple conditions in Querey builder Help

I'm trying to have search form provide the customer with several items to search for. I would like to for example have a url that looks like this
?zone=3,4,5&cost=9,10,11
and have those results be read by the Querey and return all the records that have the number3, 4 or 5 in the zone table and all records that have 9, 10 or 11 in the cost table returned. most of the tables are csv's so i need to look for multiple numbers in each search.
This is a beginner problem I know but im stuck. any ideas?
<---------CODE
SELECT li_classification.classification_order, tool.tool_order, li_classification.classification_name, tool.tool_name, tool.tool_color, li_classification.classification_color, tool.tool_id, tool.tool_zone, tool.tool_cost, tool.tool_maintenance, tool.tool_slope, tool.tool_soil, tool.tool_climate, li_classification.classification_id
FROM (tool
LEFT JOIN li_classification ON li_classification.classification_id=tool.tool_LI_classification_id)
WHERE tool.tool_zone LIKE '%".$_GET["zone"]."%'
AND tool.tool_cost LIKE '%".$_GET["cost"]."%'
ORDER BY li_classification.classification_order ASC, tool.tool_order ASC
--------------->Code

Hi Ryan
sorry - forgot to mention
I dont THINK that QB can create a query with HAVING
can't test this - but my first guess would be
SELECT li_classification.classification_order, tool.tool_order, li_classification.classification_name, tool.tool_name, tool.tool_color, li_classification.classification_color, tool.tool_id, tool.tool_zone, tool.tool_cost, tool.tool_maintenance, tool.tool_slope, tool.tool_soil, tool.tool_climate, li_classification.classification_id
FROM (tool
LEFT JOIN li_classification ON li_classification.classification_id=tool.tool_LI_classification_id)
GROUP BY tool.tool_zone HAVING tool_zone IN (colname1) AND tool_cost IN (colname2)
all else fails email me the sql dump
tempforum_mail 'at' byte-design.co.uk
assume you are using Dreamweaver :)
Paul

Similar Messages

  • Need Help on using xdoxslt:ifelse multiple conditions

    Hi Experts
    I have a requirement with multiple conditions and not able to get this working e.g. if possible how to get the variable if condition then get_variable
    <?xdofx: if Group='X' and Price!=0 and ItemId='' then (xdoxslt:get_variable($_XDOCTX,'Price'), ' ')
    else if Group='Y' and ItemId!='' then 'Included'
    else if Group='Z' and ItemId!='' then 'Included' else '' end if?>
    Also I tried using xdoxslt:ifelse
    <?xdoxslt:ifelse((Group='X' and (Price)!=0 and ItemId=''),
    (xdoxslt:ifelse((Group='Y' and ItemId=''),Include,' ')),(xdoxslt:get_variable($_XDOCTX, 'Price'))?>
    Please help it is very critical
    Thanks

    Can you please explain a bit as to what you are trying to achieve?
    for example: if Group = X and Price <>0 and ItemID is null then what are you trying to do?
    You can use choose statements for your scenario.
    Example:
    <?choose:?>
    <?when:ReportStatus='Approved' ?>
    <?'Approved'?> <?end when?>
    <?when:ReportStatus = 'Closed'?>
    <?....?>
    <?otherwise:?>
    <?....?>
    <?end otherwise?>
    <?end choose?>
    Thanks,
    Bipuser

  • Table Rows with Multiple Conditions Not Showing Up in RH

    Hi everyone,
    I'm currently evaluating TCS2 (Framemaker 9 and RoboHelp 8 on Windows XP) and have come across the following issue:
    One of our FrameMaker source files contains a table in which one of the rows has multiple conditions applied. When one of the conditions is shown in Framemaker, and the others are hidden, the row is displayed in Framemaker as expected. However, when the file is then imported or linked into Robohelp, the same table row vanishes, even though the Apply FrameMaker Conditional Text Build Expression check box is selected in the Framemaker Conversion Settings > Other Settings screen. This only appears to affect table rows - when paragraph text is tagged with the same conditions, it is imported correctly into RoboHelp.
    For example, when Condition B is shown and Condition A is hidden in the Framemaker file, the content appears like this in Frame:
    Unconditional
    Unconditional
    Condition A and Condition B applied
    Condition A and Condition B applied
    Condition B applied
    Condition B applied
    Paragraph text with Condition A and Condition B applied.
    Paragraph text with Condition B applied.
    When the same file is imported into RoboHelp, the row with both conditions applied is absent from the table:
    Unconditional
    Unconditional
    Condition B applied
    Condition B applied
    Paragraph text with Condition A and Condition B applied.
    Paragraph text with Condition B applied.
    Installing patches 8.0.1 and 8.0.2 did not resolve the issue (and actually caused other, unrelated issues) and I see the same behavior regardless of whether I import or link the FrameMaker document.
    Has anyone else seen this issue? Any help would be much appreciated.
    Thanks
    DaveB

    It just seems that the items I select as align to top in the
    property inspector should force the items to the top of their
    cells, unless I'm missing something.

  • Applying SUBTOTAL to multiple condition SUMPRODUCT

    Hi
    I have created the following formula which works:
    =SUMPRODUCT(--($AG$10:$AG$1999<>0),$U$10:$U$1999/SUMIF($AG$10:$AG$1999,"<>"&0,$U$10:$U$1999),$X$10:X$1999)
    Column AG is a "type" filter where I've assigned 0 values to data I need to ignore when doing my sumproduct, U is my values column so the values I want to sumproduct with column X which is my return column. So this works fine to ignore my blank
    types and sumproduct the remaining values and returns to give me a total.
    However I'd like to extend this so that when I put a filter on my data the forumla holds.
    I've previously used the following for subtotals
    =SUMPRODUCT(X9:X1999,SUBTOTAL(109,OFFSET($U$9,ROW($U$9:$U$1999)-ROW($U$9),,1))/$U$7)
    but this doesn't account for the fact that I need to strip out the types that are blank which I do in the above via: --($AG$10:$AG$1999<>0)
    Is there anyway to combine these two forumlae???
    I'm trying to build the spreadsheet to be robust enough for new data to be pasted into cells A9:AG1999 each month and the required metrics pop out at the top so that others can use without having to update pivots etc. I need it dummy proofed so all they
    do is paste in new data and the forumulae do the rest!
    Any help would be greatly appreciated :O)  Happy to provide more detail if the above isn't clear!

    Try:
    =SUMPRODUCT(X$9:X$5129,SUBTOTAL(109,OFFSET($U$9,ROW($U$9:$U$5129)-ROW($U$9),,1))/SUMPRODUCT(SUBTOTAL(109,OFFSET($U$9,ROW($U$9:$U$5129)-ROW($U$9),,1)),--($AG$9:$AG$5129<>0)),--($AG$9:$AG$5129<>0))
    Solved by NVBC in the OzGrid Excel forum: tipost titled "Apply SUBTOTAL to multiple condition SUMPRODUCT inc SUMIF"

  • If Statement Multiple Conditions

    Using LiveCycle, FormCalc or JavaScript.
    I am trying to create an if statement with multiple conditions.
    a Sum field calculates a series of numeric input fields. I want the result in the Sum field to determine the expression in a final field. 
    If the Sum is <30MM then "50000" also if the Sum is >30MM but <60MM then "125000" also if the Sum is >60MM but <100MM then "250000" also if the Sum is >100MM but <300MM then "375000" also if the Sum is >300MM then "500000"
    I have only been able to figure out a single if then for the first condition but not able to include the whole set of conditions and the multiple results.
    Help would be much Appreciated!
    Thank you in advance.

    Tried a few variations of this and still seem not
    to be able to find a solution to this issue. I'm surprised my google searches are bringing up better examples because there seems to be an example of everything else.
    Any more detailed advive?

  • How can I pass multiple condition in where clause with the join table?

    Hi:
    I need to collect several inputs at run time, and query the record according to the input.
    How can I pass multiple conditions in where clause with the join table?
    Thanks in advance for any help.
    Regards,
    TD

    If you are using SQL-Plus or Reports you can use lexical parameters like:
    SELECT * FROM emp &condition;
    When you run the query it will ask for value of condition and you can enter what every you want. Here is a really fun query:
    SELECT &columns FROM &tables &condition;
    But if you are using Forms. Then you have to change the condition by SET_BLOCK_PROPERTY.
    Best of luck!

  • Mail step should be sent to all the users in multiple condition

    hi experts,
                      I have a requirement on invoice posting.Say if invoice amount is 1000 then person A can post the invoice.
    if >= 1000 person B can post the invoice.
    If >=2000 person C can post the invoice.
                                                                      what i have did is, created a multiple condition and then based on the inv amount assigned 3 methods for invoice posting.My problem is if a person posts an invoice amount of 1000.A mail has to be sent to Person B and C informing that an amount of 1000 is posted with user id.Same for person B, ie mail should be sent to person A and C informing regarding invoice posting.Now inside the multiple condition i cannot assign mail step.Coz based on the condition it will go to a particular user for invoice posting but where as mail should be sent to all the users.So how can i achieve this??.

    Hi Priyanka,
    I am getting 1 thing why you need need multiple conditions. No need to create any multiple conditions.
    1. Create a rule using transaction PFAC. (you can use the example as Rule: 0000168).
        a. Create an function module with table parameters as ACTOR_TAB (type SWHACTOR) and AC_CONTAINER (Type
            SWCONT). You can aswell copy the FM used in 168 rule and change it. check the logic mentioned below.
        b. In PFAC transaction, go to container tab and create 2 container elements.  For amount and Mail_indicator (type should be
            same as that of the amount field in your workflow) .
    2. Use this Rule in your workflow to send mail.
    Logic:
    ""Lokale Schnittstelle:
    *"       TABLES
    *"              ACTOR_TAB STRUCTURE  SWHACTOR
    *"              AC_CONTAINER STRUCTURE  SWCONT
    *"       EXCEPTIONS
    *"              NOBODY_FOUND
      INCLUDE <CNTAIN>.
      DATA BEGIN OF ORG_OBJECT OCCURS 0.
              INCLUDE STRUCTURE SWHACTOR.
      DATA END OF ORG_OBJECT.
      DATA: BEGIN OF NEW_AC_CONTAINER OCCURS 3.
              INCLUDE STRUCTURE SWCONT.
      DATA: END OF NEW_AC_CONTAINER.
      DATA: V_AMOUNT TYPE <AMOUNT FIELD>.
      DATA: V_MAIL_INDICATOR TYPE <FLAG>.
      REFRESH: actor_tab.
    Get the org-object under consideration. AMOUNT is the container name defined in your PFTC transaction
      SWC_GET_ELEMENT AC_CONTAINER 'AMOUNT' 'V_AMOUNT'.
    Get the org-object-type and the org-object id.
      SWC_GET_ELEMENT AC_CONTAINER 'MAIL_INDICATOR' V_MAIL_INDICATOR .
    Pass the org-object, the org-object-type and the org-object-id
    to a new container.
    The org object get a new name: ORG_AGENT.
      SWC_SET_ELEMENT NEW_AC_CONTAINER 'AMOUNT' 'V_AMOUNT'.
      SWC_SET_ELEMENT NEW_AC_CONTAINER 'MAIL_INDICATOR' V_MAIL_INDICATOR .
    check for V_AMOUNT and V_MAIL_INDICATOR.
    if the v_amount = 1000 .'
      if  v_mail_indicator = ' '.
        actor_tab-OTYPE = 'US'  .
        actor_tab-OBJID = 'SAPUSER1'.
        append actor_tab
      else.
        actor_tab-OTYPE = 'US'  . 
        actor_tab-OBJID = 'SAPUSER2'.
        append actor_tab
        actor_tab-OTYPE = 'US'  .
        actor_tab-OBJID = 'SAPUSER3'.
        append actor_tab
      endif.
    endif.
    Similarly write the logic for other conditions.
    This way you can use same for different purposes.
    If you pass the indicator that means you are sending mail to other approvers for information.
    Revert back if u need more help.
    Regards,
    Gautham

  • I need your expert opinion on how to create a map with multiple conditions.

    Hello.
    I need your expert opinion on how to create a map with multiple conditions.
    I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
    How can i create a cursors within the map?
    My function creates table and cursor.
    Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
    The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
    In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
    I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
    In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
    having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
    I would appreciate any help / advise on this.
    Thank you very much

    thanks a lot for your reply - i will look into this option :-)
    it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
    At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
    Anyway, thank you very much for your suggestion.

  • Multiple condition : Error when starting a SWITCH branch

    Hi,
    In our Z Leave Workflow,I am facing the errors listed below.
    Error when starting a SWITCH branch
    Error during CASE evaluation in SWITCH mode for node 0000000158
    Operator 'EQ': The value of the left operand cannot be determined
    Error in the evaluation of expression '<???>&REQ.STATUS&' for item '1'
    Unable to determine the value of component ''
    It gives error in Multiple condition Request Approved? which is similar to standard WF12300111 node number 158 (u can say copy of WF12300111
    This multiple condition works in some scenario But it gives dump at other scenario .
    I have checked the value of REQ.STATUS in runtime. It populates the value as 'POSTED' in runtime,
    Please suggest if any solution on this.
    Regards,
    Kalpesh

    Hi There was some problem with task which was comprising class CL_PT_REQ_WF_ATTRIBS and APPROVE method. This method is to change the status of particular leave workitem.After running this particular task ,the status was not changin instantly.This method locks particular workitem and was releasing the workitem once the WF gets completed.Hence I was getting REQ.STATUS as sent.
    I have changed that task with following code in new task...
    DATA:
          REQUEST_ID TYPE PTARQ_DEDUCTION-REQUEST_ID,
    request      TYPE REF TO if_pt_req_request,
        new_status   TYPE tim_req_status.
      SWC_GET_ELEMENT CONTAINER 'REQUEST_ID' REQUEST_ID.
    CALL FUNCTION 'ENQUEUE_EPTREQ'
        EXPORTING
          mode_ptreq_header = 'E'
          request_id        = request_id
        EXCEPTIONS
          foreign_lock      = 1
          system_failure    = 2
          OTHERS            = 3.
      IF sy-subrc <> 0.
        MESSAGE w058(hrtim_abs_req) WITH request_id.
      ELSE.
    CALL METHOD ca_pt_req_header=>agent->get_request
          EXPORTING
            im_request_id = request_id
          IMPORTING
            ex_request    = request.
    execute state transition
        CALL METHOD request->initiate_state_transition
          EXPORTING
            im_transfer_event = 'APPROVE'
          IMPORTING
            ex_new_status     = new_status.
    COMMIT WORK.
        CALL FUNCTION 'DEQUEUE_EPTREQ'
          EXPORTING
            request_id = request_id.
    ENDIF.
    This will create new status for leave item during WF processing.
    Apart from that also added Wait for  2 minutes after that task....
    Thanks for your help.
    Regards,
    Kalpesh

  • Multiple conditions in a filter of Bursting control file

    Hi All,
    I am trying to use multiple conditions in a filter of Bursting control file and it throws me an error.
    Can you please correct me on this.
    <xapi:template type="rtf" location="xdo://AR.XXRAXINVOPCO.en.00?getSource=true" filter=".//G_INVOICE[BILL_CUST_NAME='ABC COMPANY'] and .//G_INVOICE[BILL_CUST_NAME='ABC COMPANY']">
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I have made little progress and now I am able to connect to the printer but its not printing.It prints a blank paper saying this printer is not setup for direct PDF printing.Can anyone help?
    [073112_025517889][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] initConfig(): loading default properties :{TEMP_DIR:String=/usr/tmp, BUFFERING_MODE:Boolean=true}
    [073112_025517890][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :ipp_printer
    [073112_025517890][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
    [073112_025517890][][STATEMENT] status message:
    [073112_025517890][][STATEMENT] xdo.bursting.IPP_RESPONSE_CHECK_INTERVAL=null
    [073112_025517890][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Called
    [073112_025517890][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] setDefaultServerProperties(): Default properties of server 'xslcisd2' are loaded. {URI:String=ipp://xslcisd2.southernco.com/ipp, server-type=ipp_printer}
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] setDefaultServerProperties(): properties defined in this request.
    [TEMP_DIR:String] [usr/tmp/073112_025446100]
    [server-type] [ipp_printer]
    [ASYNC_CHECK_INTERVAL:Integer] [60000]
    [SERVER_NAME:String] [xslcisd2]
    [IPP_ATTRIBUTE_CHARSET:String] [utf-8]
    [IPP_DOCUMENT_FORMAT:String] [application/octet-stream]
    [BUFFERING_MODE:Boolean] [true]
    [IPP_USE_CHUNKED_BODY:String] [true]
    [URI:String] [ipp://xslcisd2.southernco.com/ipp]
    [IPP_HTTP_RESPONSE_CHECK_INTERVAL:Integer] [0]
    [TEMP_FILE_PREFIX:String] [dlvr]
    [IPP_COPIES:Integer] [1]
    [RETRY:Integer] [0]
    [RETRY_INTERVAL:Integer] [60000]
    [TEMP_FILE_SUFFIX:String] [.tmp]
    [IPP_USE_FULL_URL:String] [false]
    [ASYNC_TIMEOUT:Integer] [86400000]
    [IPP_NATURAL_LANGUAGE:String] [en]
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): BUFFERING_MODE is ON.
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): TEMP_DIR found, start document buffering : /usr/tmp/073112_025446100
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Starting document buffering.
    [073112_025517893][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Creating temporary file for buffering : /usr/tmp/073112_025446100/dlvr67s66bXmwi8695010679275918372.tmp
    [073112_025517894][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): 69429 bytes have been written to the temporary file.
    [073112_025517894][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] filterDocument(): Starting document preprocessing.
    [073112_025517894][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] filterDocument(): No native command found for preprocessing, exiting.
    [073112_025517895][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Finished document buffering.
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Start reading the buffered document file. : /usr/tmp/073112_025446100/dlvr67s66bXmwi8695010679275918372.tmp
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Calling DeliveryRequestHandler.submitRequest()
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Called
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Opening HTTP URL: http://xslcisd2.southernco.com/ipp
    [073112_025517904][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP request dump:
    IPP version: 10
    operation id: 02
    charset: utf-8
    request id: 3
    -- operation attrs --
    [1]attributes-charset:utf-8
    [1]attributes-natural-language:en
    [1]printer-uri:ipp://xslcisd2.southernco.com/ipp
    [1]document-format:application/octet-stream
    -- printer attrs --
    -- job attrs --
    [1]copies:1
    [073112_025517904][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): HTTP chunked mode : true
    [073112_025517904][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP request header length : 181
    [073112_025517905][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Opening HTTP client.
    [073112_025517905][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openRequest(request) called
    [073112_025517905][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openConnection() called - opening xslcisd2.southernco.com:80
    [073112_025517905][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openConnection(): Start non-SSL connection.
    [073112_025517908][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] generateRequestHeader() called.
    [073112_025517908][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] generateRequestHeader(): generated request header
    POST /ipp HTTP/1.1Host: xslcisd2.southernco.com
    User-Agent: Oracle XML Publisher 5.6.3
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: application/ipp
    <<<
    [073112_025517909][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openRequest(): using ChunkedOutputStream.
    [073112_025517909][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Writing the document to the server stream.
    [073112_025518090][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): 69429 bytes have sent to the server.
    [073112_025518090][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] submitRequest() called
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] submitRequest(): pIn.available(): 445
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] Constructor called
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse() called
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] pIn.available(): 445
    [073112_025518123][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [HTTP/1.1 200 OK]
    [073112_025518123][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse() 1st line of response header: [HTTP/1.1 200 OK]
    [073112_025518124][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Content-Type: application/ipp]
    [073112_025518124][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [content-type][application/ipp]
    [073112_025518125][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Cache-Control: no-cache, no-store, must-revalidate]
    [073112_025518125][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [cache-control][no-cache, no-store, must-revalidate]
    [073112_025518126][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Expires: THU, 26 OCT 1995 00:00:00 GMT]
    [073112_025518126][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [expires][THU, 26 OCT 1995 00:00:00 GMT]
    [073112_025518127][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Content-Length: 242]
    [073112_025518127][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [content-length][242]
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Server: Allegro-Software-RomPager/4.34]
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [server][Allegro-Software-RomPager/4.34]
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : []
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse(): end of HTTP header
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse(): HTTP response body ascii dump
    0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x03 0x01 G 0x00 0x12 attributes-charset 0x00 0x05 utf-8H 0x00 0x1b attributes-natural-la
    nguage 0x00 0x05 en-us 0x05 ! 0x00 0x06 copies 0x00 0x04 0x00 0x00 0x00 0x01 0x02 E 0x00 0x07 job-uri 0x00 ,http://xslcisd2.so
    uthernco.com/ipp/IPP_Job_8! 0x00 0x06 job-id 0x00 0x04 0x00 0x00 0x00 0x08 # 0x00 0x09 job-state 0x00 0x04 0x00 0x00 0x00 0x03 D
    0x00 0x11 job-state-reasons 0x00 0x04 none! 0x00 0x1a number-of-intervening-jobs 0x00 0x04 0x00 0x00 0x00 0x04
    0x03 <<<
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] Exiting Constructor
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() called
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() exiting
    [073112_025518133][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Closing HTTP client.
    [073112_025518134][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP response dump:
    IPP version: 10
    operation id: 01
    charset: utf-8
    request id: 3
    -- operation attrs --
    [1]attributes-charset:utf-8
    [1]attributes-natural-language:en-us
    -- printer attrs --
    -- job attrs --
    [1]job-uri:http://xslcisd2.southernco.com/ipp/IPP_Job_8
    [1]job-id:8
    [1]job-state:3
    [1]job-state-reasons:none
    [1]number-of-intervening-jobs:4
    [073112_025518134][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Exiting submitRequest()
    [073112_025518134][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() called
    [073112_025518135][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() exiting
    [073112_025518135][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Finished calling DeliveryRequestHandler.submitRequest()
    [073112_025518135][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Process done successfully. Exiting submit()
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • About case and switch in multiple condition step in workflow.

    i ve some information about case and switch in multiple condition in workflow.
    case - static determination
    switch - runtime determination.
    but i want brief explanation about case and switch and difference please help me.....

    hi velmurugan............
        in case,
               we can have only one value for comparison and can have any number of branches for it.
       in switch,
               we can compare any number of values and have any number of branches.
    eg:
         consider i am triggering a workflow for purchase order change and i am having a multiple condition step.
    if i am going for a case:
            i can have only on value (ie po number/vendor number.....) as a parameter and can check different values with it. ( eg vendor number < 1000
                                                                 vendor number > 1000.... so on)
            a branch will be created for each condition.
    if i am going for a switch:
            i can take any parameter needed. (eg: vendor number > 1000
                                                                    order type = 'NB' .... so on)
             so a single branch can have any number of comparisons with the help of 'and' and 'or' operators and i can have any parameter for my condition.
    ---regards,
       alex b justin

  • Multiple conditions and multiple derivation in a derived column, SSIS

    Hi I am trying fairly new to SSIS , and my task is to convert dates in string as given below to a datetime.
    These are my date of birth  in the source file (string data type):
    Source date of birth  (String)                                            
    Desired DOB (Date Time)
    1050101                                                       
    2005-01-01 00:00:00
    1060101                                                        2006-01-01
    00:00:00 
    470324                                                         1947-03-24
    00:00:00                                   
    320209                                                          1392-03-24
    00:00:00
    101                                                               
    NULL
    0                                                                    NULL
    I have this ssis expression,
    (([Drv DOB] == "0") || ([Drv DOB] == "101") ? NULL(DT_DBTIMESTAMP) : (DT_DBTIMESTAMP)(SUBSTRING([Drv DOB],1,2) + "-" + SUBSTRING([Drv DOB],3,2) + "-" + SUBSTRING([Drv DOB],5,2)))
    It handles all dates but except for 7 digit sting date of birth. How can handle such multiple condition. Help much appreciated.

    I tried to use your expression but I had to omit LEN("190000606")<8, then only I had the valid syntax.
    However, I changed my initial expression to this :
    [Drv DOB] == "101" || [Drv DOB] == "0" ? NULL(DT_DBTIMESTAMP) : (LEN([Drv DOB]) == 6 ? (DT_DBTIMESTAMP)(SUBSTRING([Drv DOB],1,2) + "-" + SUBSTRING([Drv DOB],3,2) + "-" + SUBSTRING([Drv DOB],5,2)) : (DT_DBTIMESTAMP)(SUBSTRING("20" + [Drv DOB],2,2) + "-" + SUBSTRING([Drv DOB],5,2) + "-" + SUBSTRING([Drv DOB],7,2)))
    now it handles length-7 date of birth, but doesn't handle length-6. All the DOB for length-6 are represented as NULL. Can you look over it?

  • Multiple Condition Issue

    Hi Experts,
    I have a problem of trying to utilize multiple conditions on a query. I have two conditions like this:
    keyfigure A < 0
    keyfigure A Bottom 10
    What is happening is that it is finding the bottom 10 values and then filtering out the values. So instead of displaying 10 values, I only get a few.
    I have tried changing the order of the conditions and such, but it doesn't seem to affect the results. I currently have the two conditions mentioned above in separate conditions. (My understanding is that this produces an AND effect.)
    Any thoughts on how to force it to do the filtering first and then order?
    Thanks in advance.

    Have you tried using a pre-query? That way, the first selection is forced to happen before the second.
    Here's the Help documentation... once you understand how to use it, its very powerful.
    http://help.sap.com/saphelp_nw04/helpdata/EN/2c/78a03c1178ad2ce10000000a114084/content.htm
    Points?
    PAtrick

  • Multiple conditions while taking export

    hi,
    when i'm trying to take export using multiple condition,
    < EXP query='where branch_code=0130 and loan_date> 01-jan-2005' file=d:\yyy tables=xxxxx>
    I get an error 'failed to process parameters'
    can anybody help me to solve this
    Regards

    hi satish
    this is the exact query
    EXP query='where branch_code=0130 and loan_date> 01-jan-2005' file=d:\yyy tables=xxxxx userid=zz/xxx@test
    server and client -9i

  • How to set a Multiple condition in a single CFL

    Hi everyone,
    Hey guys, i have a problem filtering a CFL (ChooseFromList)
    where i have to select records
    WHERE U_SalesmanCode = <ConVal>
    AND U_Status = <ConVal>
    So i've come up with an idea setting up multiple conditions on a single CFL.
    i have a function "SetCFLConditions" that will be called after the CHOOSEFROMLIST_EVENT was triggered. this will set the conditions on a loop method.
    the CODE works fine. but it only accepts the last condition.
    Public Sub SetCFLConditions(ByVal _chooseFromList As String, _
                                    ByVal _alias As String, _
                                    ByVal _operation As SAPbouiCOM.BoConditionOperation, _
                                    ByVal _condVal As String)
            Dim oCFLCollection As SAPbouiCOM.ChooseFromListCollection = _form.ChooseFromLists
            Dim oCFL As SAPbouiCOM.ChooseFromList = oCFLCollection.Item(_chooseFromList)
            Dim oCons As SAPbouiCOM.Conditions
            Dim oCon As SAPbouiCOM.Condition
            Dim asAlias() As String = _alias.ToString.Split(",")
            Dim asCondVal() As String = _condVal.ToString.Split(",")
            Dim i As Int16
            oCFL.SetConditions(Nothing)
            'oCons = oCFL.GetConditions()
            For i = 0 To asAlias.Length - 1
                oCons = oCFL.GetConditions()
                oCon = oCons.Add
                '//LOOP CONDITIONS
                With oCon
                    .Alias = asAlias(i)
                    .Operation = _operation
                    .CondVal = asCondVal(i)
                End With
            Next i
            oCFL.SetConditions(oCons)
        End Sub
    Pls. Help
    Thanks
    Roger

    Hi,
    This is how i add the conditions..
    Dim oCFLS As SAPbouiCOM.ChooseFromListCollection
    Dim oCons As SAPbouiCOM.Conditions
    Dim oCon As SAPbouiCOM.Condition
    Dim oCFL As SAPbouiCOM.ChooseFromList
    Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
    oCFLS = objForm.ChooseFromLists
    oCFLCreationParams = objSBOAPI.CreateUIObjectSAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
    oCFLCreationParams.MultiSelection = False
    oCFLCreationParams.ObjectType = "2"
    oCFLCreationParams.UniqueID = "CFL1"
    oCFL = oCFLS.Add(oCFLCreationParams)
    oCFLCreationParams.ObjectType = "2"
    oCFLCreationParams.UniqueID = "CFL2"
    oCFL = oCFLS.Add(oCFLCreationParams)
    oCons = objForm.ChooseFromLists.Item("CFL1").GetConditions
    oCon = oCons.Add()
    oCon.Alias = "CardType"
    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
    oCon.CondVal = "C"
    objForm.ChooseFromLists.Item("CFL1").SetConditions(oCons)
    objForm.ChooseFromLists.Item("CFL2").SetConditions(oCons)
    Hope it helps,
    Vasu Natari.

Maybe you are looking for