Method Community

 

MethodAPIInsert - Dropdown Problem

Last post 03-09-2012 8:49 AM by Method_Paul. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-20-2012 5:27 AM

    • luvboy
    • Not Ranked
    • Joined on 02-13-2012
    • Posts 3

    MethodAPIInsert - Dropdown Problem

    42455 Test Rajni - This is the Name in Customer Table, which i'm getting as result with MethodAPISelect_XML method

    when i try to insert into Opportunity table(MethodAPIInsert Method)...this is the error i'm getting

    Array ( [MethodAPIInsertResult] =>  42455 Test Rajni could not be found as a possible value to insert. Please check the spelling. )

    The weird problem is when i try creating the variable as

    $name = "42455 Test Rajni"; the record is then created

    I'm not able to insert into table with dynamic values ??

    How are the dropdown handled in PHP ??

    Any help please.

     

     

     

  • 03-09-2012 8:49 AM In reply to

    Re: MethodAPIInsert - Dropdown Problem

    Answer

    luvboy -

    Sorry for the delay.

    All dropdowns have their values stored in a separate lookup table.

    So you need to insert values into that lookup table first before inserting the record into your main table.

    Paul

Page 1 of 1 (2 items)