How to add conditions when uploading contracts

Hi experts
I'm trying to upload contracts from a text file using BAPI BBP_PD_CTR_CREATE.
I'm not able to create conditions with the contracts. Can anyone tell me the mandatory parameters that have to be passed in the BAPI in its it_conditions table.
This is what I'm doing:
  wa_condition-guid = c_dummy_cnd.       "Dummy guid
  wa_condition-cond_type = l_condtyp.
  wa_condition-COND_PRC_UNIT = '0'.
  wa_condition-COND_RATE = l_condval.
  wa_condition-COND_CURR = l_condcurncy.
  wa_condition-COND_TAB = l_condtab.
  wa_condition-date_from = l_valstart.
  wa_condition-date_to = '99991231'.
  APPEND wa_condition to tbl_condition_ex.
Points will be rewarded...
Thanks

Hi Neelima
I tried with the code that you had provided but I still couldn't create the discount conditions.
Here is my code in more detail:
  IF l_condtyp = '01AG'.                                "Header discount
    l_condtab = 'SAP019'.                               "Table for header discount
    wa_condition-p_guid = c_dummy_hdr.                  "Dummy guid of header
  ELSE.
    IF l_condplant IS NOT INITIAL .                     "Location dependant item discount
      wa_condition-INVENT_LOC_ID = l_condplant.         "Adding location
      l_condtab = 'SAP068'.                             "Table for location dependant discount
      wa_condition-p_guid = c_dummy_itm.                "Dummy guid of item
      wa_condition-COND_UNIT = l_unit.                  "Unit of item
    ELSE.                                               "Location independant item discount
      l_condtab = 'SAP016'.                             "Location independant discount table
      wa_condition-p_guid = c_dummy_itm.                "Dummy guid of item
      wa_condition-COND_UNIT = l_unit.                  "Unit of item
    ENDIF.
  ENDIF.
  wa_condition-guid = c_dummy_cnd.                      "Dummy guid
  wa_condition-cond_type = l_condtyp.       "(01AG)
  wa_condition-COND_RATE = l_condval.    "(15-)
  wa_condition-COND_CURR = l_condcurncy.   "(%)
  wa_condition-COND_TAB = l_condtab.      "(SAP019)
  wa_condition-date_from = sy-datum.          "(also tried vper_start ie. start date of contract)
  wa_condition-date_to = '99991231'.
  wa_condition-time_from = '000000'.
  wa_condition-time_to = '235959'.
  wa_condition-UOM_DENOMINATOR = '1'.
  wa_condition-UOM_NUMERATOR = '1'.
  APPEND wa_condition to tbl_condition_ex.
  CLEAR wa_condition.
The importing table is still empty after the FM has been executed. There are no messages in the messages table either.
Please help me out here.
This is very urgent.
Thanks

Similar Messages

  • How to "Add" Button to upload file in Notification PG?

    I have a question on Extending/Customizing notfn to have "Add" attachment button to upload a document (some stnd template that Our business has) on either NotifDetailsPG or /oracle/apps/fnd/wf/worklist/webui/MoreInfoPG when a Approver opens notification to APPROVE/Reject
    I'm wondering why Oracle didn't provide this feature of Uploading a file (along with Response input text area that they provided already) in NotifDetailsPG?
    Business Reason: Our Business wants to upload a doc when an approver Rejects the notification (our case: iExpense module filing Exp Report) telling employee to follow some protocals
    Question on OAF:
    Is it possible to extend NotifDetailsPG or MoreInfoPG to upload a file. So, that when it goes to requestor they can open this file back and read thru. I know we need to insert a record in fnd_documents and fnd_attached_documents and /or fnd_lobs...but i don't know how to retrieve it back....Any hints....
    Thanks
    Raghu Kulkarni

    to clarify again....
    In the WF notification during the time of "Reject"ion or "Approv"al, we want to upload a file and then perform Reject/Approve action. Can we extend the page to have Add button to upload file? Is that a lot of work?
    Please any one give some suggestions...Thanks
    Raghu Kulkarni

  • How to add inventory when inbound individual purchasing, not Cost of goods sold?

    Hi, Experts,
    I'd like to add inventory when inbound individual purchasing for sales order.
    Usually it adds cost of goods sold, but for client requirement, i hope i can change it to inventory instead.
    I've seen some description how to do it before, but i can't find it now...
    Could you help me or tell me where the description is?
    Thanks in advance.

    are you eventually looking for this one: Valuated Sales Order Stock Configuration - ERP Financials - SCN Wiki

  • How to apply condition when parsing XML using XMLTable

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    XML Response to be processed by stored proc:
    <TFSResponse>
    <TFS>
              <referenceNumber>39760</referenceNumber>
              <reqId>39760</reqId>
              <fromAccount>
                   <id>1550796</id>
                   <number>0003210011</number>
              </fromAccount>
              <toAccount>
                   <id>1550769</id>
                   <number>3199109643</number>
              </toAccount>
              <createdBy>
                   <userId>627892</userId>
                   <userLoginId>AAAAAA</userLoginId>
                   <userTypeId>1</userTypeId>
              </createdBy>
              </TFS>
    </TFSResponse>
    Register schema script:
    DECLARE
    l_schema CLOB;
    BEGIN
    l_schema := '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb">
    <xs:element name="TFSResponse" type="TFSResponseWSResponseType" xdb:defaultTable="TEMP_RESULT" />
         <xs:complexType name="TFSResponseWSResponseType">
              <xs:sequence>
              <xs:element maxOccurs="unbounded" name="TFS" type="TFSSummaryWSTO"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="TFSSummaryWSTO">
              <xs:sequence>
                   <xs:element name="referenceNumber" type="xs:string"/>
                   <xs:element name="reqId" type="xs:long"/>
                   <xs:element name="fromAccount" type="tns:AccountSummaryWSTO" />
    <xs:element name="toAccount" type="tns:AccountSummaryWSTO"/>
                   <xs:element name="createdBy" type="tns:userWSTO"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="AccountSummaryWSTO">
              <xs:sequence>
                   <xs:element minOccurs="1" name="accountId" type="xs:long" />
                   <xs:element minOccurs="1" name="accountNumber" type="xs:string" />
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="userWSTO">
              <xs:sequence>
                   <xs:element name="userId" type="xs:long" />
                   <xs:element name="userLoginId" type="xs:string" />
                   <xs:element name="userTypeId" type="xs:short" />
              </xs:sequence>
         </xs:complexType>
    </xs:schema>';
    dbms_xmlSchema.registerSchema(schemaurl => 'TFSWebService_schema.xsd',
    schemadoc => l_schema,
    enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE);
    END;/
    Object Type:
    CREATE OR REPLACE TYPE DOC_ROWTYPE AS OBJECT
    REFERENCENUMBER VARCHAR2(255),
    REQID NUMBER(12),
    FROMACCOUNTID NUMBER(12),
    FROMACCOUNTNUMBER VARCHAR2(35),
    TOACCOUNTID NUMBER(12),
    TOACCOUNTNUMBER VARCHAR2(35),
    CREATEDBYUSERID NUMBER(12),
    CREATEDBYUSERLOGINID VARCHAR2(12)
    Collection Type:
    CREATE OR REPLACE TYPE DOC_TABLETYPE IS TABLE OF DOC_ROWTYPE;
    CREATE OR REPLACE PROCEDURE SP_TFS_REPORT (LoginId IN STRING,
    requestedByUser IN STRING,
    result_cursor OUT SYS_REFCURSOR)
    IS
    SYSTEM_USER VARCHAR2(12) := 'SYSTEM';
    l_http_request UTL_HTTP.req;
    l_http_response UTL_HTTP.resp;
    l_string_request VARCHAR2(1024);
    l_result_xml XMLTYPE;
    docExtTable_XML DOC_TABLETYPE := DOC_TABLETYPE();
    docExtRecord DOC_ROWTYPE;
    BEGIN
    l_string_request := .....(prepare web service request here)
    l_http_response := UTL_HTTP.get_response(l_http_request);
    resp_in_xml := XMLTYPE(l_clob_response);
    INSERT INTO TEMP_RESULT VALUES l_result_xml;
    SELECT DOC_ROWTYPE (t1.referenceNumber, t1.reqId, t2.accountId, t2.accountNumber, t3.accountId, t3.accountNumber,
                                                 t4.userLoginId, t4.userId)
    BULK COLLECT INTO docExtTable_XML
    FROM TEMP_RESULT ltr,
    XMLTABLE('/TFSResponse/TFS'
    PASSING ltr.object_value
    COLUMNS
    referenceNumber VARCHAR2(255 BYTE) PATH 'referenceNumber',
    reqId NUMBER(12)                PATH 'reqId',
    fromAccountXML XMLTYPE PATH 'fromAccount',
    toAccountXML XMLTYPE      PATH 'toAccount',
    createdByXML XMLTYPE      PATH 'createdBy'
    ) t1,
    XMLTABLE('/fromAccount'
    PASSING t1.fromAccountXML
    COLUMNS
    accountId NUMBER(12) PATH 'accountId',
    accountNumber VARCHAR2(35 BYTE) PATH 'accountNumber'
    ) t2,
    XMLTABLE('/toAccount'
    PASSING t1.toAccountXML
    COLUMNS
    accountId NUMBER(12) PATH 'accountId',
    accountNumber VARCHAR2(35 BYTE) PATH 'accountNumber'
    ) t3,
    XMLTABLE('/createdBy'
    PASSING t1.createdByXML
    COLUMNS
    userId NUMBER(12) PATH 'userId',
    userLoginId VARCHAR2(12 BYTE) PATH 'userLoginId' ----- This value should be set based on a condition*
    ) t4
    OPEN result_cursor FOR SELECT * FROM TABLE (DOC_TABLETYPE);
    COMMIT;
    END SP_TFS_REPORT
    The condition is like this
    IF (requestedByUser = true and createdByUserType = '2') then
    CREATEDBYUSERLOGINID := SYSTEM_USER;
    ELSE
         Take CREATEDBYUSERLOGINID from XML value 'userLoginId'
    where 'requestedByUser' is the input parameter to the stored procedure and 'createdByUserType' is the value from XML.
    'userTypeId' is not required to be set in collection.
    Now my question is how to put that condition when doing the XML parsing.
    Edited by: 991900 on Mar 19, 2013 9:54 AM

    Add a projection for "userTypeId" in T4, then use a CASE statement in the SELECT clause :
    SELECT  DOC_ROWTYPE (
            t1.referenceNumber, t1.reqId, t2.accountId, t2.accountNumber, t3.accountId, t3.accountNumber,
                                            t4.userId,
            CASE WHEN requestedByUser = 'true' AND t4.userTypeId = 2
                      THEN system_user
                 ELSE t4.userLoginId
            END
    BULK COLLECT INTO docExtTable_XML
        FROM TEMP_RESULT ltr,
        XMLTABLE('/TFSResponse/TFS'
                   PASSING ltr.object_value
                   COLUMNS
                       referenceNumber    VARCHAR2(255 BYTE)        PATH 'referenceNumber',
                       reqId              NUMBER(12)                   PATH 'reqId',                                       
                       fromAccountXML      XMLTYPE                  PATH 'fromAccount',                 
                       toAccountXML        XMLTYPE                     PATH 'toAccount',
                       createdByXML       XMLTYPE                     PATH 'createdBy'                                       
                    ) t1,
        XMLTABLE('/fromAccount'
                   PASSING t1.fromAccountXML
                   COLUMNS
                       accountId              NUMBER(12)    PATH 'accountId', 
                       accountNumber     VARCHAR2(35 BYTE)  PATH 'accountNumber'                                       
                   ) t2,
        XMLTABLE('/toAccount'
                   PASSING t1.toAccountXML
                   COLUMNS
                       accountId            NUMBER(12)    PATH 'accountId', 
                       accountNumber   VARCHAR2(35 BYTE)  PATH 'accountNumber'
                   ) t3,
        XMLTABLE('/createdBy'
                   PASSING t1.createdByXML
                   COLUMNS
                       userId           NUMBER(12)        PATH 'userId',
                       userLoginId      VARCHAR2(12 BYTE) PATH 'userLoginId',
                       userTypeId       NUMBER            PATH 'userTypeId'
                   ) t4
        ;

  • How to get informed when PO / Contract changed to ordered / released status

    Hi,
    I am working on a program which sends SRM PO and Contract data to a non-SAP system, one of the requirements is to send SRM data immediately after PO / Contract's status changed to Ordered / Released ( workflow is used here ).
    I tried to used BBP_DOC_CHANGE_BADI, but noticed throuhg debugger that the last time this BADI get called, I still didn't see Ordered / Released status in the Status table.
    Is any way to know status change for PO / Contract ?
    Thanks a lot,
    Wayne Liu

    Hello Wayne,
    Solution 1:
    You can use the SRM Alert Mangament to know when a contract was released, specifically the following events RELEASED_AGAIN
    RELEASED_NEWLY.
    Check IMG Cross-Application Basic Settings-> Event and Event Schema for Alert Management
    For PO I could not find a similar event, but there is a APPROVAL_PROCESS_DOC_APPROVED event which can be used if the PO was approved after ordering.
    In any case you can create your own events and event handlers using the SRM Alert Management BAdi BBP_ALERTING.
    Solution 2: Only for Contracts
    You can use the existing Distribution mechanism to distribute contracts to Non-SAP systems.
    Distribution of contracts is triggered whenever significant changes are done to the Contract (like Release, Lock, Unlock).
    Implement function module NOR3_CTR_TRANSFER for this purpose.
    Edited by: Sushil Kumar on Mar 22, 2010 9:41 AM

  • COPA - How to add table when create new characteristic

    Hi all,
    I want to create new characteristic in COPA, that is batch (as currently, FG's price is manged by batch).
    I find that this value is maintain in table VBRP. However, when I create new characteristic, I dont is this table in current list.
    Please tell me how can I  add this table ?
    Step by step what I did is:
    1.KEA5: create new characteristic
    2. enter characteristic name
    3. choose "transfer from SAP table"
    4. because it doesnt have table VBRP in the this, so I type directly "Table Fields --> Table"
    5. Systems show mesg "Enter valid reference table"
    Please tell me how can I  add this table ?

    Hi Emily,
    Pls check the SAP Note 111232 which gives similar solution that of you are looking for...
    Follow the procedure...
    Please create a characteristic by transferring it from table VBRP and
    then change the automatically from system defined TKEZU entries like
    the note 111232 explains.
    The way to solve the problem would be to change the assignment
    table TKEZU by exchanging VBRP with KOMP in the table name:
    (1) Delete the following entry in table TKEZU (you can maintain TKEZU
    with view V_TKEZU in transaction SM30):
    Characteristic, B Tran, Table, Field name, Offset, Length
    (2) Add the following entry to table TKEZU:
    Characteristic, B Tran, Table, Field name, Offset, Length
    XXXXX KEDR KOMP BWTAR
    (3) Generate the environment of your operating concern.
    Pls revert with result...
    Srikanth Munnaluri

  • Show and Share: How to add thumbnail for uploaded by URL

    Hi all,
    I upload video by URL in Show and Share. Can I manually add thumbnail for video? and how to?
    Thank you very much.
    Bintasan Mokkamakkul

    As per docs, the default behavior for show and share is to assign a
    thumbnail based on the length of the video:
    Check out:
    http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_3/showandshare/user/guide/edit-delete.html#wp1079137
    TABLE:  Please match the # for each section:
    If your video is ... 
    1. less than 3 seconds long
    2. Between 3 and 8 seconds long
    3. 8 seconds or longer
    It uses this frame for the thumbnail...
    1. 0 seconds
    2. 4 seconds
    3. 8 seconds
    If you have a video that is longer than 8 seconds, but the title shot only lasts for 5 seconds, the automatically generated thumbnail may not contain your video title. Or, if you recorded a message, the system may have captured an unflattering facial expression for the thumbnail. Use this procedure to correct the situation.
    http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_3/showandshare/user/guide/edit-delete.html#wp1079137
    The procedure to modify the thumbnail is listed in the link above. You
    need to go to your uploaded videos and click "Edit Video" then follow
    the instructions above to move the slider where you want the thumbnail
    to be.
    Please keep in mind that video editing is only possible for some video
    formats:
    Table 6-1 Video Format Editing Support
    http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_3/showandshare/user/guide/edit-delete.html#wp1080725
    I hope this helps!
    Cheers!
    T.

  • How to add doctype when generating XML from an arbitrary data structure

    I was reading SUN's tutorial "Working with XML - PART IV: Using XSLT". Inside this tutorial, in 3, it talks about how to generate XML from an arbitrary data structure making use of a XMLReader and a Transformer. The example only shows adding elements. Is there a way to add DTD information in the XML generated, i.e. <!DOCTYPE ... >? What APIs can I use?
    Thanks,
    Alex

    The simplest way seems to me is to use a XSL file for that. The <xsl:output> attributes doctype-system and doctype-public generate the DTD declaration <!DOCTYPE YOUR_ROOT SYSTEM "yourDTDfile.dtd"> and <!DOCTYPE YOUR_ROOT PUBLIC "yourDTDfile.dtd">, respectively.
    When calling transformerInstance.transform() the XSLT processor performs the identity transformation - it just copies elements, attributes, content, processing instructions and comments to the result stream.
    If you're using an xsl file for your transformation already, simply add <xsl:output doctype-system="yourDTDfile.dtd"/> to your existing XSL file.
    If you're only using the identity transformation you'd need to change the line of code where you obtain the transformer instance from the TransformerFactory to:
    t_factory.newTransformer(new StreamSource("test.xsl"));
    and use this as test.xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       <xsl:output doctype-system="yourDTDfile.dtd"/>
       <!-- this is the identity transformation -->
       <xsl:template match="*|@*|comment()|processing-instruction()|text()">
          <xsl:copy>
             <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
          </xsl:copy>
       </xsl:template>
    </xsl:stylesheet>Good luck.

  • SQL2 | How to add condition on multi-value field?

    Hello,
    I am trying to perform a JCR query using SQL2 in CQ5.6. For one of the conditions, I wish to compare a multi-value field (E.g. cq:tags).
    How would that be possible? Currenlt, I only managed to compare my query item's cq:tags to a single value (e.g. WHERE page.[cq:tags]='mynspace:mytag').
    Also, is there a syntax reference for SQL2 queries? Currently I have only managed to find something tanglible here : http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/test/resources/or g/apache/jackrabbit/spi/commons/query/sql2/test.sql2.txt?view=markup
    Best regards, thanks in advance,
    K.

    Hi,
    Below is an example of SQL2 query based on your scenario. you can modify and use it
    SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([/content/geometrixx/en]) and (CONTAINS(s.[cq:tags], 'mynspace:mytag') or CONTAINS(s.[cq:tags], 'mynspace:mytagss1'))
    where root node path  and tags value you can change as per your need. Below is java formation
    StringBuilder query = new StringBuilder();
    query.append("SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([")
    .append(pathToYourPageArea)   //for example /content/geometrixx/en
    .append("]) AND (CONTAINS(s.[cq:tags],'mynspace:mytag') or CONTAINS(s.[cq:tags],'mynspace:mytagss1'))");
    Query compiledQuery = queryManager.createQuery(query.toString(), Query.JCR_SQL2);
    where 'mynspace:mytag' and 'mynspace:mytagss1' is an example and you can change it with variables
    I hope it will help you to proceed. Let me know if you need more information.
    Thanks,
    Pawan

  • How to add CCs when sending a document for e-signature?

    In this tutorial, learn how to use digital signatures or the EchoSign service to copy others when sending a document out for electronic signature. The cc feature is a way to allow others to see the electronic signature progress without signing authority.

    Hi,
    This one's tricky, so tricky that I think it's not possible using Oracle built-in XML DML functions.
    Even XQuery Update cannot do it (for now) because, likewise, the prefix is always redeclared at child level.
    The only thing I can think of is XSLT (or maybe DOM manipulation) :
    SQL> select xmlserialize(document
      2           xmltransform(
      3             xmltype('<A xmlns="namespace" xmlns:def="myns_namespace"/>')
      4           , xmltype(
      5  '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      6     xmlns:def="myns_namespace"
      7     xmlns:ns0="namespace">
      8    <xsl:template match="ns0:A">
      9      <xsl:copy>
    10        <xsl:element name="def:B"/>
    11      </xsl:copy>
    12    </xsl:template>
    13  </xsl:stylesheet>')
    14         )
    15        indent
    16      )
    17  from dual;
    XMLSERIALIZE(DOCUMENTXMLTRANSF
    <A xmlns="namespace" xmlns:def="myns_namespace">
      <def:B/>
    </A>

  • Close PO princing conditions when ref. contract

    Hi,
    I have the following question.
    I'm creating a PO referencing to a contract, some conditions are determined automatically from the contract, and the user is not supposed the change any pricing conditions.
    The question is: is there some way to close the pricing conditions in the PO, the problem is that I need to close only for this specific PO type.
    Thanks.
    Alexandre.

    hi,
    You can delete the condotions which are not required in the PO can be deleted in the aggrement itself.
    But however you can create a info record for the same and and if you update it, with the deleted conditions and you can create PO with deleted conditions.This can be one possible solution.

  • How to copy expenses when copying contract to contract in GTM

    Hi,
        In  GTM (Global Trading Management module), while doing contract to  contract copy only expenses are not getting updated.Could you please let me know if you are aware of any method or function module that will do the same.I really appreciate your help and thank you so much for all your responses.
    Thanks,

    HI,
    Could you please elabroate ...how the expenses are not update?
    are they not getting copied?
    regards,
    Yadesh

  • How to add condition in the create_rule?

    I need to only replicate the records with pro_id = 372. Because this table contains CLOB column, so I can't use add_subset_rule.
    So I use create_rule method, here is what I did.
    begin
    dbms_rule_adm.create_rule(
    rule_name => 'strmadmin.access_controls_dml',
    condition => ' :dml.get_object_owner() = ''DBUSER'' and ' ||
              ' :dml.get_object_name() = ''ACCESS_CONTROLS'' and ' ||
    ' pro_id = 372 ');
    end;
    It is ok, to create this rule, but when I run following
    begin
    dbms_rule_adm.add_rule(
    rule_name => 'strmadmin.access_controls_dml',
    rule_set_name => 'strmadmin.project_specific_rules');
    end;
    It shows,
    ORA-25448: rule STRMADMIN.ACCESS_CONTROLS_DML has errors
    ORA-00904: "PRO_ID": invalid identifier
    ORA-06512: at "SYS.DBMS_RULE_ADM", line 169
    ORA-06512: at line 2
    So I think the condition syntax I specified in the create_rule has problem, anyone know the correct syntax?? thanks a lot!!

    I tried it, but there is error, and I looked it 10 times, could not figure out what is the problem..any idea?? thanks.
    begin
    dbms_rule_adm.create_rule(
    rule_name => 'strmadmin.access_controls_dml',
    condition => ' :dml.get_object_owner() = ''DBUSER'' and ' ||
    ' :dml.get_object_name() = ''ACCESS_CONTROLS'' and ' ||
    ' ((:dml.get_command_type()=''INSERT'' and ' ||
    ' :dml.get_value('NEW', '"PRO_ID"')=372) or ' ||
    ' (:dml.get_command_type() = ''UPDATE'' and ' ||
    ' :dml.get_value('NEW', '"PRO_ID"')=372) or ' ||
    ' (:dml.get_command_type() = ''UPDATE'' and ' ||
    ' :dml.get_value('OLD', '"PRO_ID"')=372) or ' ||
    ' (:dml.get_command_type() = ''DELETE'' and ' ||
    ' :dml.get_value('OLD', '"PRO_ID"')=372))'
    end;
    ' :dml.get_value('NEW', '"PRO_ID"')=372) or ' ||
    ERROR at line 7:
    ORA-06550: line 7, column 40:
    PLS-00103: Encountered the symbol "NEW" when expecting one of the following:
    . ( ) , * @ % & = - + < / > at in is mod not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like
    between ||

  • How to add a random number to name when upload image

    I always rename the file when upload, the rule was {POST.rename}.{KT_EXT}
    <br />and I set a hidden field in the form with php code
    <br />
    <form>
    <input type="hidden" value="<?php echo date('YmdHis').rand(1000,9999);?>" />, does anyone have good suggestion to rename file as unique number.</form>

    don't include the id column in the import process, and create a before insert trigger on the table to populate the id with a sequence

  • When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    Add this one to the list of thinks that don't work on the Apple Job Board. It looks like Apple is using ADP's VE (Virtual Edge) technology to run this system, and I've been stupified by the number of features that are just broken, or so poorly thought out by ADP as to be unusable, (certainly for webkit and mozilla browsers at least: I didn't bother checking IE.)
    Here are a few highlights:
    "My Job List", list of jobs applied for, seems to max out at three. You can apply for more than that, but you can only see the first three.
    "Search Using Your Resume" feature yields few or no results, even when the pasted text contains only common, exactly matched words like 'Design' or 'Engineer'.
    The missing resume upload, described in this thread.
    "My Job Agent" seems to never flag anything, at least it hasn't ever for me despite pretty loose criteria.
    Agent's created using "My Job Agent" eventually just disappear, which is fine because they don't seem to work.
    When updating a profile, acknowledging the 'Terms' happens twice in a row. 
    Job seekers can only supply one cover letter despite being able apply for several jobs.
    Pagination for search results only appears at the top of the page, so it's necessary to scroll down through each page, then up to the top again to proceed to the next page.
    Well, I'm sure there are others, but you get the idea. I hope the Apple folks can fix this, (or twist ADP's arm to fix it,) so it better represents the quality of experience that Apple is so respected for consistently delivering.

Maybe you are looking for

  • Breakpoints not breaking in xcode

    When I set breakpoints in xcode by clicking in the gutter, the code runs right by them and does not stop. I am in debug mode, so it is not something that simple. When i start the code all the breakpoints turn orange. Is there some setting or somethin

  • Two Photoshops in Win 7?

    I am interested/suprised to find the result of downloading Ps CS4 into my newly acquired Win 7 64-bit PC. The download resulted in two versions of CS4 being available.....Ps 64-bit and the alternative, presumably 32-bit. I have two sets of plug-ins..

  • Can I burn rented movies to dvd?

    I rented a movie on Itunes is it possible to burn onto dvd, and if it is could you tell me how?

  • Reciving a serial number upgrade message

    downloaded acrobat xi and when i go to launch application i am getting a serial number upgrade message.  i have entered the serial number but i am getting a message "this serial number is not for a qualifying product"

  • Time Machine fails intermittently to start backup

    I am running MBPro Retina laptop with Mountain Lion 10.8.4, with all current updates (except for the new v. 6.3 for Airport Utility, which does not work right on my machine and many others). I am using a relatively new 2GB Time Capsule for backup via