I am trying to set the "Type" field on new Leads created from Celigo, and have hit an issue. The import is complaining that I must provide a "Last Name". When I opened up Netsuite, I remembered that there is a flag for a Lead Type of either "Company" or "Individual".
I found the field inside of the Netsuite Records Browser. It's called "Company" with an internal ID of isperson, but the field is listed as a radio type with a "nlapiSubmitField" listed as "True"
Please disregard. I was able to determine that while the "Company" field is available from within Celigo, it cannot be set. There appears to be a separate "Individual" field in the rest API that accepts a True/False argument that appears to work.
Hi @phillipv - The best way to work with our Support team is to create a ticket, which ensures your case is assigned and tracked. Here in the Community you may also get advice from other customers. Thanks!
We show the field types based on NS metadata. For some reason, NS is giving us the wrong field type for this particular field. We'll try to override this in a future release so there is no confusion.
For now, you can try to use the `rate` field to determine the `discountype`. If the `rate` field is a decimal it is automatically considered as a `flat` type. If it ends with `%` it is considered to be a `percentage` type.
Eg:
10.00 -> is flat
10.00% -> is percentage.
You can add this using a handlebar expression in the extract part of your mapping. `{{{discount}}}%` or just `{{{discount}}}` based on your requirement.
Please try this out and if you're facing any issues please raise a support ticket with us we'd be happy to assist you.
Thanks for the suggestion Uma. Unfortunately the Promotions record does not recognize or automatically adjust between the 'decimal' or '%' . I'm using the handlebars below:
Unfortunately this also does not resolve the issue. Same behavior as before. The flat/fixed dollar discount will continue to be imported as a percent. I.e. $100 off will be imported to a NetSuite Promotion as 100% off.
I've opened a support ticket (97180) to seek additional help.