Discussions

Expand all | Collapse all

Codepage API_AddRecord

  • 1.  Codepage API_AddRecord

    Posted 12 days ago
    I have a codepage where I am calling the API_AddRecord. I can get all of my data to add except where I have lookup fields. How do you add the data to the lookup fields in your api call.

    ------------------------------
    Aaron Cygnarowicz
    ------------------------------


  • 2.  RE: Codepage API_AddRecord

    Posted 11 days ago
    Hi Aaron;
    You need to update the Related field. If it is a lookup field, that means value depends on related record.
    So you need to update Related field with Record ID#(key field) of master table record. If  the key field is different than Record ID# field, then you need to use the value of that key field to update your related field.

    ------------------------------
    Razi Demirtas
    ------------------------------



  • 3.  RE: Codepage API_AddRecord

    Posted 11 days ago
    Thank you. That worked.

    ------------------------------
    Aaron Cygnarowicz
    ------------------------------