Creator -> CRM Deals
Creator -> CRM Deals
I have a form that creates an invoice, on the creation of this invoice I want to push data to CRM "potentials" I wrote the following code. (FYI, to debug I entered in the ACTUAL record ID for that field. but still seems to give me a 4401 error.
some pretext
- the date is in MM/dd/yyyy in both CRM & Creator
- attached is an image of the CRM module with * showing the required fields
- line 10 is a picklist, this is def not the issue as I can replicate this in other modules with no problems
- line 6,7,8 pushes the actual record ID for a look up. again never an issue doing this as I can do it in other modules without issue.
- error is
- "{"code":"4401","message":"Unable to populate data, please check if mandatory value is entered correctly."}
- //create map to push deal to CRM
- dealPUSH = Map();
- //puts info into MAP
- dealPUSH.put("Deals Name",input.Contract_Name);
- dealPUSH.put("Contact Name_ID","2262025000000228807");
- dealPUSH.put("Account Name_ID","2262025000000201051");
- dealPUSH.put("Deals Owner_ID","2262025000000109005");
- dealPUSH.put("Closing Date",input.Delivery_Date);
- dealPUSH.put("Stage",input.Order_Status);
- //deal response from CRM
- crmResp = zoho.crm.create("Potentials",dealPUSH);