Skip to main content
Question

Codepage API_AddRecord

  • Oct 12, 2021 12:28 PM UTC
  • 0 replies
  • 33 views

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
------------------------------
This topic has been closed for replies.

RaziD
Forum|alt.badge.img+3
  • Qrew Cadet
  • Oct 12, 2021 2:02 PM UTC
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
------------------------------