How Come Deals/Potentials records retrieved using deluge integration functions don't contain 'Pipeline' value but API Get Recrods request DOES return Pipeline

How Come Deals/Potentials records retrieved using deluge integration functions don't contain 'Pipeline' value but API Get Recrods request DOES return Pipeline

Hello,

Seems like several places this question can be asked so I'll give it a shot here.

When using zoho.crm.getRecordById() deluge function and retrieving a record from the Deals/Potentials module the returned data does not include any info about the Pipeline value for that record but if that same record is retrieved using a request to the API to the Get Record endpoint, the Pipeline value is returned.

  1. x = zoho.crm.getRecordById("Deals", zID);
  2. info x.get('Pipeline'); // prints null, and there is no key present for 'Pipeline' at all

  3. y = invokeurl [
  4.     url: zoho_api_url + "Deals/" + zID
  5.     type: GET
  6.     connection: "zoho_crm_api"
  7. ];
  8. info y.get('data').get(0).get('Pipeline'); // prints 'Buyer Representation', as it should

Any explanation as to why this is?

It would be great to be able to use the deluge built in integration functions instead of API calls for obvious reasons.