salesId = zoho.crm.getRecordById("Invoices", input.invoiceId);
id = salesId.get("Sales Order");
field = salesId.get("Billing");
updating = Map();
updating.put("Updated field", field);
update = zoho.crm.updateRecord("SalesOrders", id, updating);
When I try to get the id variable, returns null.