Coldfusion generated dataservices don't work for insert or update.

What is supposed to go in "/* Enter value(s) for*/" item below.
Is this code generated assuming it is working with LCDS or BlaseDS??
There has got to be something else that needs to be done to make this work. But I have not been able to find out what that is supposed to be.
protected  
function button2_clickHandler(event:MouseEvent):void{
updateitron_rmasResult.token = itron_rmasService.updateitron_rmas(
/*Enter value(s) for */ item);}
Flex function.
protected  
function button_clickHandler(event:MouseEvent):void{
itron_rmas.id = parseFloat(idTextInput.text);
itron_rmas.rma = rmaTextInput.text;
itron_rmas.sentdate = sentdateDateField.selectedDate;
itron_rmas.closeddate = closeddateDateField.selectedDate;
itron_rmas.quotedate = quotedateDateField.selectedDate;
itron_rmas.so = soTextInput.text;
itron_rmas.customerid = parseFloat(customeridTextInput.text);
itron_rmas.Customer = customerTextInput.text;
itron_rmas.Qty = parseFloat(qtyTextInput.text);
itron_rmas.Notes = notesTextInput.text;
itron_rmas.estimatecost = parseFloat(estimatecostTextInput.text);
itron_rmas.estimatesell = parseFloat(estimatesellTextInput.text);
itron_rmas.hdpo = hdpoTextInput.text;
itron_rmas.serialnumber = serialnumberTextInput.text;
itron_rmas.description = descriptionTextInput.text;
itron_rmas.product = productTextInput.text;
itron_rmas.custpo = custpoTextInput.text;
itron_rmas.writtenby = writtenbyTextInput.text;
updateitron_rmasResult.token = itron_rmasService.updateitron_rmas(
this.itron_rmas);}
Coldfusion Function
<cffunction
name="updateitron_customers" output="false" access="remote" returntype="void" >
<cfargument name="item" required="true" />
<cfquery name="updateItem" datasource="mydb">
UPDATE itron_customers SET customer = <CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.customer#">, city =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.city#">, state =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.state#">, contact =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.contact#">, notes =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.notes#">, phone =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.phone#">, fax =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.fax#">, email =
<CFQUERYPARAM cfsqltype=CF_SQL_VARCHAR VALUE="#item.email#">
WHERE id = <CFQUERYPARAM CFSQLTYPE="CF_SQL_INTEGER" VALUE="#item.id#">
</cfquery>
</cffunction>

most likely the app developer havent made it compatible

Similar Messages

  • I had to buy a new keyboard but F10, F11 & F12 don't work for the volume. What can I do to activate it?

    I had to buy a new keyboard but F10, F11 & F12 don't work for the volume. What can I do to activate it?

    Hello,
    I think Spark cured this for another person and the same problem...
    http://www.shadowlab.org/Software/spark.php

  • Labview programers, for your safety don't work for holotpics in Switzerland

    Ni programmer, for your safety don't work for holotpics in Switzerland, the chairman is a bad guy:
    he swindles National instruments by buy matérial on the black market
    and he don't pay its employes and a lots of others bad things.

    Never heard of the company, but if they don't pay their employe(e)s, then there won't be anyone at all working there soon.
    Otherwise, NI, delete this stupid post please.
    Personal opinions of this sort are trash and deserve to be removed.
    Shane.
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

  • I can't update my apps even when I do App Store purchased select all...... It don't work for me

    I can't update my apps even when I do App Store>purchased> select all...... It don't work for me

    When you tap on All at the top. That shows all of you purchased apps. You still have to manually go through each letter (on the left side) and look through every page of apps in order to find the apps that need an update. It is a pain and its time consuming, but that's how you have to do it.
    Is that what you are doing and it's not working for you?

  • I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive it nothing happens.

    I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive touch it nothing happens.

    Thank you for that update.
    I would next backup your device to iTunes with this article:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    And restore it first as a new device, and verify that it works properly, then restore from your backup with the same article below to ensure that it is still working.
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    If it does not work correctly when you set up the phone as a new device, I would next seek service for your iPad:
    http://www.apple.com/support/ipad/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Hi i have iPhone 4S and some of the apps i've bought or downloade for free don't work after the last update iOS 6.0.1.Can you tell me why?

    I have iPhone 4S and some of the apps I've bought don't work after
    the last update iOS 6.0.1
    Can you tell me the reason?

    most likely the app developer havent made it compatible

  • Stored proecedure tutorial for insert, delete, update,select

    I want to integrate the stored procedure in my project
    i am using jsp,
    any one suggest me, stored proecedure tutorial for insert, delete, update,select
    thanx.

    Whether you are using JSP or not should not affect your decision (though I would recommend checking out the MVC pattern, and recommend against doing data access code from your JSP's).
    You simply need one tutorial on how to invoke a stored procedure. The stored procedure you write can have INSERT, SELECT, UPDATE, DELETE, whatever. You simply have to master the concepts involved in java.sql.CallableStatement. (And then you can get more fancy with vendor-specific extensions).
    However, I am a bit confused. You want a tutorial on stored procedures, but then you indicate very normal DML statements like INSERT, UPDATE and DELETE. All of these (queries, DML and stored procedures) fall under the general umberella of JDBC. So, it is always a good place to start with a plain ole JDBC tutorial.
    java.sun.com/docs/books/tutorial/jdbc/index.html
    www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
    - Saish

  • Mail rules work for some users, don't work for others

    Ready to pull my hair out over this one:
    Leopard to Snow Leopard upgrade went uneventfully, except for the fact that server-side mail rules (accessed via browser at FQDN -> Mail Rules) work for several users (two, to be exact) and don't for the rest (about 15 or so).
    The usual culprits have been reviewed: 'Enable Server-Side Mail Rules' is checked in Mail -> Settings -> Filters, 'Allow users to configure server-side mail rules' is checked in Web -> Sites -> Web Services, users can create vacation notices and email rules without issue via browser, permissions look fine on the contents of /Library/Email Rules and /var/spool/imap/dovecot/sieve-scripts, logs give no indication of any foul play (at least the Email Rules -> debug.log generates the same entries for both functional and non-functional users), etc.
    I have noticed that /var/spool/imap/dovecot/sieve-scripts contains only two items, which - you guessed it - line up with the GUIDs of the two functional users. Theoretically every user with a rule should be represented here.
    As suggested in this thread:
    http://discussions.apple.com/thread.jspa?messageID=11171395&#11171395
    I created both a vacation notice and an email rule for several users, thinking that may force the folder creation for those users, but no dice. I even manually created folders for a few users with their GUIDs as the folder names and assigned each user ownership and read/write access. Still nothing. Created a few new test user accounts just to rule out any legacy account weirdness (although it's worth noting that I completely redid the OD and recreated user accounts after the upgrade) and replicated the problem with these, as well. Lastly, used Inspector to compare OD attributes between functional and non-functional accounts, with no glaring differences.
    Help!

    Did you find an answer? I encounter the same problem on my new MiniServer. Deleted and created all users several times, but just for some accounts mail is working.
    Do you have the answer?
    (new to this site, read a lot already, but not found)

  • DBMS_FGA doesn't work for insert auditing

    I have a 10.2.0.3 database. I want to auditing the changes on my people table.
    create table sher.people (
    first_name varchar2(50),
    last_name varchar2(50),
    sal number,
    ocupation varchar2(50)
    begin
    DBMS_FGA.add_policy(
    object_schema => 'SHER',
    object_name => 'PEOPLE',
    policy_name => 'PEOPLE_CHK_AUDIT',
    audit_condition => 'sal>5000',
    audit_column =>'first_name,last_name',
    statement_types => 'INSERT');
    end;
    insert into sher.people values ('Joe','Adam',6000,'Student');
    commit;
    select * from DBA_COMMON_AUDIT_TRAIL ;
    no data row
    Why I don't get an insert row audited?
    Thanks a lot!

    I don't know why you didn't get but it worked for me nicely in 10201 on windows xp proff sp2 system.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  167772160 bytes
    Fixed Size                  1247900 bytes
    Variable Size              75498852 bytes
    Database Buffers           88080384 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    Database opened.
    SQL> conn aman
    Enter password:
    Connected.
    SQL> create table test(a number  , b number, c number);
    create table test(a number  , b number, c number)
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    SQL> create table fga(a number  , b number, c number);
    Table created.
    SQL> conn / as sysdba
    Connected.
    SQL> begin
      2  DBMS_FGA.add_policy(
      3  object_schema => 'AMAN',
      4  object_name => 'FGA',
      5  policy_name => 'P1',
      6  statement_types => 'INSERT');
      7  end;
      8
      9  /
    PL/SQL procedure successfully completed.
    SQL> conn aman/aman
    Connected.
    SQL> insert into into fga values(1,2,3);
    insert into into fga values(1,2,3)
    ERROR at line 1:
    ORA-00903: invalid table name
    SQL> insert  into fga values(1,2,3);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> conn / as sysdba
    Connected.
    SQL> select sql_text
      2  from dba_fga_audit_trail;
    SQL_TEXT
    insert  into fga values(1,2,3)
    SQL> select sql_text
      2  from dba_common_audit_trail
      3  where db_user='AMAN';
    SQL_TEXT
    insert  into fga values(1,2,3)
    SQL> conn aman/aman
    Connected.
    SQL> conn / as sysdba
    Connected.
    SQL> exec dbms_fga.drop_policy('FGA','AMAN','P1');
    BEGIN dbms_fga.drop_policy('FGA','AMAN','P1'); END;
    ERROR at line 1:
    ORA-01918: user 'FGA' does not exist
    ORA-06512: at "SYS.DBMS_FGA", line 55
    ORA-06512: at line 1
    SQL> exec dbms_fga.drop_policy('AMAN','FGA','P1');
    PL/SQL procedure successfully completed.
    SQL> begin
      2  DBMS_FGA.add_policy(
      3  object_schema => 'AMAN',
      4  object_name => 'FGA',
      5  policy_name => 'P1',
      6  audit_condition => 'A>5000',
      7  audit_column =>'A,B',
      8  statement_types => 'INSERT');
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> conn aman/aman
    Connected.
    SQL> insert  into fga values(50001,2,3);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> conn / as sysdba
    Connected.
    SQL> select sql_text
      2  from dba_fga_audit_trail;
    SQL_TEXT
    insert  into fga values(1,2,3)
    insert  into fga values(50001,2,3)
    SQL> select sql_text
      2  from dba_common_audit_trail
      3  where db_user='AMAN';
    SQL_TEXT
    insert  into fga values(1,2,3)
    insert  into fga values(50001,2,3)
    SQL>HTH
    Aman....

  • :*(  Form buttons don't work for all testers

    I created a form in Acrobat 9.1 using Forms> Add or Edit Fields. The form contains action buttons for next page and previous page, to clear all fields, and (with the generous help of a fellow forum member) to print the form and save it to disk. I optimized the form with compatibility set to Acrobat 8.0 and later, then enabled it for Reader. I sent this form to several users for testing.
    Those using Acrobat have no problems with it.
    Those using Foxit Reader have no problems with the action buttons or the form fields (except that date fields are finicky; Foxit doesn't convert the dates to the correct format the way Reader or Acrobat do). But, the yellow background that I created as a watermark -- so I could make it visible but not print -- is printing. That's not anything that Acrobat can help, but it is a very good reason to not recommend using Foxit. It would create a dreadful shortage of yellow inkjet ink.
    Those using Reader 8.0 to 8.1.2 are having several problems. For them, the action buttons don't work... except the "clear all fields" one. The buttons don't do anything; there are no errors, no messages, no activity of any kind except to change color when clicked.
    The buttons that don't work are all set up as Mouse Up actions executing a menu item... for example, "Go to page 2" is just View>Go To>Next Page. The "Clear all fields" button is, on Mouse Up, "Reset a form" with all fields selected... so it's the only kind of button that works for Reader users, and it's the only button that doesn't execute a menu item.
    Why is there a difference in actions these users can run? If it's a security issue... what possible risk is there in going to the next page, using a button instead of a scroll bar or Page Down key??? I can find no common sense here, especially because Reader users are the only ones barred from these form actions. Everyone else can use them.
    -- Also, these testers (Reader 8+) are having problems with the tab order. Some of the radio button groups (which have no more than three options, Yes, No and NA) at first appear to be tabbing correctly, because the Yes option receives focus in the correct order... but randomly, tabbing through several fields, suddenly the No option will get focus... in a radio button group nowhere near the current tab location. Tabbing is rendered useless, then, because these anomalies are unpredictable and it doesn't appear there's anything I can do to prevent this from happening.
    It's pointless to delete and re-add the afflicted radio buttons. That has no effect... and the radio button groups are already in the correct order anyway. I don't know how this could possibly happen... But it doesn't happen for the Foxit or Acrobat testers.
    • Why would Reader be the only app that can't use the buttons and can't tab through the fields correctly? I'd think Adobe's own software would work best with their own file format. •
    Is Reader 8 the problem --- should those users all update to the newest version? I don't have any Reader 9+ testers yet. Nobody seems interested in it. The testers all assume the problems are MY fault, so nobody's happy with me and no one wants to bother testing the forms because there's always something wrong.
    <hair-pulling> I seriously regret upgrading to Acrobat 9.1.  I know other forum members who agree this thing is catastrophically buggy -- I've wasted  weeks trying to iron out all the problems I've been having with these forms, forms that should have been quick and simple to create, and in past versions of Acrobat, would have been. Yet I'm still tearing out my hair over tab order! Worse, I fear I'm close to losing my job for all the time wasted and all the projects I've fallen behind in because of this. <no /hair-pulling in sight>

    I have no clue, but it might make a difference depending on the form being produced in Acrobat versus Designer. Acrobat will take you both places and one of them may have an issue with backward compatibility. I have not heard of that, but it is a possibility.

  • Pdf links don't work for imported text

    Hi.
    I imported some common sections located in their own frame file into three different books.
    I tried this by reference first because I want to make changes only once, to the actual file.
    When I make a pdf, the toc links to the imported reference text don't work. Nor do links within the text to other locations in the text.
    When I import by text, the links work. But import by text defeats the purpose of having one source for multiple books.
    I appreciate any help on this.
    Bibs

    Unfortunately, cross-references in FM files imported by reference into other FM files ("text insets") are not converted to PDF links -- this applies to all versions of FrameMaker and Acrobat.
    Limited workarounds are to (1) convert the text insets to regular text (on a temporary copy that is discarded after the PS/PDF is created; this can be automated using FrameScript) or (2) use hypertext links to create the PDF links (these are converted properly even when in a text inset).
    Shlomo Perets
    MicroType * http://www.microtype.com
    FrameMaker/Acrobat training & consulting
    "24 easy ways to improve your PDFs with FrameMaker-to-Acrobat TimeSavers/Assistants",
    http://www.microtype.com/ImprovePDF.html

  • DNG converter don't work for some RW2-files

    Hi,
    i found out, that there ist now direct support from CS4 to my new Lumix LX5. :-(
    In  some forums i got the hint to use the free DNG converter. that works  for most of the files, but some rw2's it can't convert. yesterday i made  10 pictures and the converter only identificate 7 of them. The only  thing i noticeed ist, that this files are "only" 7MB. The others are  10MB. When i use irfanview to look the rw2's are no problems. the  pictures are all very good. somebody an idea whats wrong with the 3?
    Thanks
    pittip
    sorry for my english, but i hope you understand me!??

    I don't know anything at all about your file format, but it sounds as if there is an option to create compressed raw files.  I know Canon has this option.  It may be that somehow you used this compressed option, assuming that there is one, and it may be that the DNG converter does not support the compressed raw format.  If not, maybe someone else will have a better answer.

  • Standard appraisal reports don't work for added goals

    the standard reports available from SAP ( 'Export to Excel' for instance) do not work for appraisal documents with free enhancements.
    I have a requirement to generate a report that will also include goals added by end-users using the free enhancement 'add new element'.
    more so, the report cannot be downloaded to Excel if the appraisal document contains more than 20 appraisal elements. This can easily happen in our case, since employees can add their own goals to the document.
    how can we report on appraisal documents with more than 20 elements and added goals?
    Tiberiu
    Edited by: Tiberiu Sasu on Jan 7, 2011 1:24 PM

    I confirmed with sap that this is a system limitation and sap has no plans to resolve it for now. more so, sap is planning to replace the export to excel functionality with an export to PDF function.
    my question - has anybody tried to remove this limitation? we need some guide on how to do this... (name of SAP program, code to be enhanced etc)
    Edited by: Tiberiu Sasu on Jan 7, 2011 4:59 PM

  • Symlinks don't work for app bundles?

    Anyone seen the following?
    I'm pretty new to OS X programming. I'm using CMake to help me build cross-platform code on OS X 10.5 (in addition to Linux). I'm using CMake's "MACOSX_BUNDLE" option for the executables. My GUI is created with the FLTK library.
    When I build application "foo", I get the expected bundle file tree: "foo.app/Contents/MacOS/foo".
    If I directly run ...../MacOS/foo on the command-line, the program works just fine.
    However, if I create a symlink *pointing at* ...../MacOS/foo, and execute the symlink, the program doesn't work right. The window appears, but it's not made the front-most window on the desktop, and the menus don't respond. This reminds me of how programs acted before I found out I was supposed to build them as application bundles.
    Does anyone know why symlinks aren't working for me?
    Thanks,
    Christian

    conveycj wrote:
    we'd need a really good reason to write OS X-specific GUI or IPC code.
    Writing good software isn't reason enough?
    So, you may be right that I'm asking something of OS X that it wasn't really designed to do. But given my cross-platform and small-code needs, I'm not sure if there's really a better solution.
    OS X can do whatever you want. You are trying to build a Mac tools with CMake, which I'd never heard of until a couple of weeks ago and which apparently can't built a Mac application if it had to.
    You are free to use whatever you want to build your application, but I strongly encourage you to bit the bullet and just try it on a Mac once. See how Xcode does it. Then, if you want to build it with some wacky tool, go right ahead. But you need to have a working example first. Even if you don't want to build your entire app in Xcode, at least do a simple "Hello World" app that can run with our without the GUI. Then hack up your CMake to build your app like Xcode built the HelloWorld app.
    I have done what you are trying to do in Xcode. All you have to do is look for the "-psn" command-line argument that indicates you are running in the GUI. If you have "-psn", you are in the GUI and you don't get any other command-line arguments. If not, you were launched from the command line, so parse away.

  • Parental controls in iTunes don't work for TV Shows?

    Using parental controls - i can hide/block Movies & explict music content - but doesn't appear to work for TV Shows marked "Caution" - any ideas?
    Help would be appreciated.
    thanks       

    I raised this in another thread ages ago - indeed it seems you can only include TV Shows marked caution, rather than exclude them. 
    Not much you can do other than raise feedback
    http://www.apple.com/feedback/iphone.html
    http://www.apple.com/feedback/ipodtouch.html

Maybe you are looking for

  • Hard drive formatting problem

    Hi there, I've been stupid and I'm looking for some advice.  What happened was I went and tried to install Windows 8.1 on my iMac, had a problem with the installation process and whilst in the Windows installer, I ended up screwing up a partition whi

  • Tecra A3 does not work after changing power settings

    I changed my power settings in my tecra a3 laptop and now it won't start properly. wants to start but just keeps going back to press F2 or F12 please help.

  • Movie Created with Windows Movie Maker

    I created a movie of our recent vacation with Windows Movie Maker and I am now trying to get it on my iPod. Can someone tell me the best way to accomplish this. Thanks,

  • Non-gui/swing event in java possible ?

    Dear Members : Is it possible in java to raise and catch business events, as is possible in other languages, I know. For instance - when I create a vehicle instance, that will trigger an event which will add that vehicle to vehicle_list(List) - somet

  • Detecting if a pdf has all fonts embedded

         I'm looking for some ideas on how to solve a problem we have in accepting pdf. We accept a user's pdf and we need to make sure that all fonts in the pdf are embedded. If the pdf does not have all fonts embedded then the user should get a messsag